|
<DIV id=list>0 i" L- M! l! N- S9 ~9 W3 E
<DIV id=lrc1 style="COLOR: #666666">[wmv=0] http://lzbj.ncedu.net.cn/uploadfile/20083923248279.mp3[/wmv] </DIV>. h1 a3 L A* C5 W- o' k, u' J
<DIV style="COLOR: #666666">|等一分钟|听到这首歌,觉得它很动听,旋律很优美,很是喜欢,传上来给大家听听。</DIV>
) e+ }% e# z& B4 J/ e& _- X0 E+ L2 Y<DIV id=lrc2 style="COLOR: #666666">词曲唱:徐誉滕</DIV>* A) x. v$ p5 r- D8 U
<DIV id=lrc3 style="COLOR: #666666"></DIV>
: E3 q q: t T; `" f<DIV id=lrc5 style="COLOR: #666666">如果时间 </DIV>3 h) c- {. ?" \* I) e
<DIV id=lrc6 style="COLOR: #666666">忘记了转 </DIV>9 n. f2 a% B7 a5 l v ~' {1 ]
<DIV id=lrc7 style="COLOR: #666666">忘了带走什么 </DIV>
% H. T) N2 T. j( H3 j+ s<DIV id=lrc8 style="COLOR: #666666">你会不会 </DIV># [( y$ X5 F8 t! ?; E
<DIV id=lrc9 style="COLOR: #666666">至今停在说爱我的那天 </DIV>
4 |+ t) {' s4 f4 Q+ y, Z6 m4 t<DIV id=lrc10 style="COLOR: #666666">然后在世界的一个角 </DIV>
+ ?: ?% J: O; ^+ L' ?<DIV id=lrc11 style="COLOR: #666666">有了一个我们的家 </DIV>, I1 j8 j/ U6 f( G1 W
<DIV id=lrc12 style="COLOR: #666666">你说我的胸膛会让你感到暖 </DIV>
1 A! w/ r" i r) K$ [4 v<DIV id=lrc13 style="COLOR: #666666">如果生命 </DIV>8 Y; d# q# _, }, d" z$ p
<DIV id=lrc14 style="COLOR: #666666">没有遗憾 </DIV>7 @" o2 {( ^) N7 z% X
<DIV id=lrc15 style="COLOR: #666666">没有波澜 </DIV>, N ]7 Y6 z7 t. t
<DIV id=lrc16 style="COLOR: #666666">你会不会 </DIV>$ M0 T, F6 S6 ?5 v! P
<DIV id=lrc17 style="COLOR: #666666">永远没有说再见的一天 </DIV>9 [# ?* n5 c: W5 U& M$ _
<DIV id=lrc18 style="COLOR: #666666">可能年少的心太柔软 </DIV>- O/ G# e! a- s0 E% t, Q
<DIV id=lrc19 style="COLOR: #666666">经不起风经不起浪 </DIV>8 L% r6 e- X$ ?4 y0 m2 q$ w& Y
<DIV id=lrc20 style="COLOR: #666666">若今天的我能回到昨天 </DIV>
) {2 i9 [7 |0 D* @4 w<DIV id=lrc21 style="COLOR: #666666">我会向自己妥协 </DIV>
# _2 j( E9 t( U0 ?5 L P+ U<DIV id=lrc22 style="COLOR: #666666">我在等一分钟 </DIV>* r/ f, l4 K. d3 F7 Z0 B
<DIV id=lrc23 style="COLOR: #666666">或许下一分钟 </DIV>
P n4 ~+ `: [" ]5 S<DIV id=lrc24 style="COLOR: #666666">看到你闪躲的眼 </DIV>
* N$ J# K% p5 ~( c<DIV id=lrc25 style="COLOR: #ff3300">我不会让伤心的泪挂满你的脸 </DIV>: m- M8 z8 k! ~
<DIV id=lrc26 style="COLOR: #000000">我在等一分钟 </DIV>) A) g' W+ r* M4 A, ?: _
<DIV id=lrc27 style="COLOR: #000000">或许下一分钟 </DIV>
* n; Y: J4 G5 C7 d<DIV id=lrc28 style="COLOR: #000000">能够感觉你也心痛 </DIV>9 V G! i9 {0 r
<DIV id=lrc29 style="COLOR: #000000">那一年我不会让离别成永远 </DIV>$ B& Q, m: E! ~+ W; @- r: x
<DIV id=lrc30 style="COLOR: #000000">如果生命 </DIV>
& d5 c- A; o' X<DIV id=lrc31 style="COLOR: #000000">没有遗憾 </DIV>1 U5 F/ \! p3 d9 N
<DIV id=lrc32 style="COLOR: #000000">没有波澜 </DIV>0 P) N+ Z8 @' ?: N* j0 b+ z6 j9 h
<DIV id=lrc33 style="COLOR: #000000">你会不会 </DIV>
, M7 s5 Y6 C5 |1 S$ T<DIV id=lrc34 style="COLOR: #000000">永远没有说再见的一天 </DIV>9 @1 n, @. w; S* ~
<DIV id=lrc35 style="COLOR: #000000">可能年少的心太柔软 </DIV>
) Z! G; D2 v* Q; q) w w( [4 K+ d<DIV id=lrc36 style="COLOR: #000000">经不起风经不起浪 </DIV>9 B* O! \" c: h: ~- s
<DIV id=lrc37 style="COLOR: #000000">若今天的我能回到昨天 </DIV># H) K( B3 }% L; E2 D
<DIV id=lrc38 style="COLOR: #000000">我会向自己妥协 </DIV>* }8 l" y; O/ {
<DIV id=lrc39 style="COLOR: #000000">我在等一分钟 </DIV>7 F, l+ i% _' {' M: `% j+ \* J% d6 n
<DIV id=lrc40 style="COLOR: #000000">或许下一分钟 </DIV>) H6 c5 U# z. A9 {
<DIV id=lrc41 style="COLOR: #000000">看到你闪躲的眼 </DIV>
" y" [& r" q. C! U<DIV id=lrc42 style="COLOR: #000000">我不会让伤心的泪挂满你的脸 </DIV>
: c& _% n: g, S) H" B<DIV id=lrc43 style="COLOR: #000000">我在等一分钟 </DIV>
" m+ y+ X+ P; A2 f' c' N<DIV id=lrc44 style="COLOR: #000000">或许下一分钟 </DIV>
, y- A$ F6 C7 C; s x<DIV id=lrc45 style="COLOR: #000000">能够感觉你也心痛 </DIV># Z; K% c( w0 a2 H
<DIV id=lrc46 style="COLOR: #000000">那一年我不会让离别成永远 </DIV>
# i, f3 t+ T2 N<DIV id=lrc47 style="COLOR: #000000">我在等一分钟 </DIV>
4 Y, Q7 V# z0 @9 J<DIV id=lrc48 style="COLOR: #000000">或许下一分钟 </DIV>
% N$ a3 Z/ x& \5 a<DIV id=lrc49 style="COLOR: #000000">看到你不舍的眼 </DIV>0 O% x1 u' J: W* h4 w
<DIV id=lrc50 style="COLOR: #000000">我会用一个拥抱换取你的转身 </DIV>. q- E1 t) h. n( U7 j$ E% E
<DIV id=lrc51 style="COLOR: #000000">我在等一分钟 </DIV>: }9 l& ~% D3 p" c$ T
<DIV id=lrc52 style="COLOR: #000000">或许下一分钟 </DIV>; @/ e0 t2 t" {% u6 C
<DIV id=lrc53 style="COLOR: #000000">如果你真的也心痛 </DIV>2 S7 r" s' e8 b# [7 V" D8 Q
<DIV id=lrc54 style="COLOR: #000000">我会告诉你我的胸膛依旧暖
, J5 K1 m5 d: S$ `4 D6 w' K<DIV id=lrc style="DISPLAY: none"></DIV>
, _4 F8 Z' B" E<SCRIPT type=text/javascript>, {+ Q8 h0 `$ f" T( c- M6 L" F( A
document.domain="1ting.com";
; g2 C& i P' B1 `2 }* Evar colorPasted="#666666";, u) m" ?# v! M0 d
var colorPlaying="#ff3300";
5 _- ^+ d& U1 B: Z$ nvar colorNormal="#000000";
. G& r0 p7 g f3 `. U7 @$ = function (a,g){
, p4 V2 I. F. g& e* }+ Q8 Z var o = new Array(); ' W1 E1 \9 ?' ~0 _: Z. `
var c = new Array(); 5 ?3 v! K" w. t: w3 q9 o& @ z
var r; 0 y G. W, g7 @
var u; & X/ Q. a& Z. E8 ?+ f; Z. b
var a = a.split(';'); 3 ?! {7 V ?' p1 ?' d4 z j9 i7 k
! y2 B0 f6 u6 {' c5 L3 E8 ^ var e = "keydowns,resize,load,dblclick,click,mouseout,mouseover,mousemove,mouseup,mousedown,inputchange,inputfocus,inputblur".split(",");# V0 T$ S0 L* N6 b
for(var i=0;i<e.length;i++){8 E N5 @) ^6 O( R! f2 v8 X
eval(e<i>+" = function (s){eval($event('on"+e<i>.replace("input","")+"'))}")
k; R \* l* B }! d! r1 ]& t: D& Y2 ~
" m" D/ Z0 G W- p, f' m after = function (t,d,s){9 s( K3 D; [# g2 B; c: w6 ^
$after = function (){
+ k: p7 E$ _0 X9 ~ a var $n=document.createElement(t);
: _2 q' I9 K% p. R9 W8 e if(d!=null){
" J# ^6 z5 }- x: c $n.id=d;
0 H0 \, E$ P+ r- [. Q }
- `6 Q( t% a s$ d2 N
$ e2 s, z" ^7 [' j) H4 ^( v' v/ c% e* K u.insertBefore($n,null)
6 f% E. a8 x/ o& a& A- W r = $n;
0 g# b4 G6 E( a- S" q: e/ v/ Q u = $n; $ ?3 S5 ^; C9 c# p9 }- q& I* R' x0 |
}* ]0 P% c5 w. N' x, g! I+ r% G
$for(s,"$after"): I, Z" \5 [8 w+ y5 `4 z
}
! y6 e1 x J6 l3 X- m
4 V8 Q# j' e' Q% P1 V/ W- H show = function (s){
# n0 B/ G# ~8 }- C& z3 v' f4 d $show = function (){' b: ^1 t) Q5 L" Q
u.style.display!="none" ? style("display:none") : style("display:block") ; t9 l4 o% s, Y7 _& \- F6 ~) H
}
# b* Q- c0 X/ f" x' L1 \6 q $for(s,"$show")
5 }- N0 I. x* p, _& C2 Q: w }8 y" @3 i. {; \8 |
0 Y2 f$ }5 D5 E- j) q- E7 _$ w+ v
check = function (t,s){' ~% h. m4 w6 ~# z, u
$check = function (){3 h$ O; e4 q( m- b& L, u, d
if(t=="2"){. N; Q2 d' C* F! u
if(u.checked){
7 z2 ]' i, ^+ D$ Q* {" T u.checked = false;3 V0 ]' |# |, }0 I# r! D
}else{
- C( ~2 k/ n) ^3 c/ N+ l4 l# x u.checked = true;/ H3 |9 ?& R& l8 y
}& F3 ?" f M- c5 }
}else{) c+ c1 h+ O* H; d7 w+ K( u
u.checked = t*1 ;; ], Z+ _ v) x3 Z
}+ c& B" R; ]9 R7 }4 g# P. I
}
6 k* d/ c V8 l* i $for(s,"$check")4 N! d4 n0 X( x
}5 ~; H# |- U- w. h, a
0 q7 ]& y' c6 A* X
style = function (v,s){
" R3 B, [8 O- y0 g4 z6 M $style = function (){
" h3 _* z9 r" k2 C; ], u0 y var $n = v.split(",") " K5 ~" U# _+ V: }. @! m$ f
for (var i=0;i<$n.length;i++ ){+ [# g) S) y# G% d8 q- k! y
var $m = $n<i>.split(":")
! e* {+ q/ [ u/ m3 q+ N8 w, } eval("u.style."+$m[0]+"='"+$m[1]+"'");
7 m+ g+ `' s+ y! h) E! T }
$ p6 U; ?7 r! U }: g3 t) R$ N, H; y. P/ p5 c. N
$for(s,"$style")
) g2 x7 f9 ?% N& f }
: _; @/ _+ Z8 s
+ Q) j' B8 x- L7 ~. Z' q value = function (v,s){
9 Z6 @% d8 U2 f0 e1 c, w8 K) I var $n= $this (v);
+ J5 b7 L* |' `8 P# h( {6 n $value = function (){
- z% b0 N Q4 j% A u.value = $n
0 a* g+ c' V9 D% u d; s; { }
& k) x! Q1 @2 ^3 W, X8 @ $for(s,"$value") 9 T j5 F7 y5 r' T& E/ j1 c+ H% S
}3 ?0 _* _7 C+ P
n+ `0 o/ }0 d9 k2 R" c
text = function (v,s){
8 O! D. b. ~, i- k% |0 f3 k8 ~0 v var $n= $this (v);. A2 D# H4 z1 o0 q7 W2 y
$text = function (){9 G! b2 z5 j" p
* Z* ]" S2 I8 `& m! m' q. {, q& i u.text = $n
. L: d% s& Q# f8 x- z5 R }- t& ~, L" E+ c) x& m- E# Q4 C
$for(s,"$text") $ S) H' ?0 w6 M1 g! d1 I
}
{. y1 D& [- a B" {% V0 T4 y
+ |6 V6 o$ I# O$ ^/ ~2 H5 S innerhtml = function (v,s){8 R& `( H( g+ v8 K( L* i
var $n= $this (v);
/ `9 j- _: P# l2 s- i3 N- x9 p $innerhtml = function (){
- A( R9 y' _3 h1 O# U' I u.innerHTML = $n
+ [# Q/ [. l' D; d0 @6 V* t* B: j }
. q& H+ L3 g/ h& O, N $for(s,"$innerhtml")" z' q* ^1 E; j9 z- q1 @- Q
}
+ C& X9 Y, v8 P) f [% L / e4 W" ^2 d4 H
removechild = function (s){* W3 Z2 N% a: |' y1 z; p. [
$removechild = function (){$ |" m1 u. t* t- k
u.parentNode.removeChild(u)
/ [2 F2 N3 A4 Y `& { }
: a o+ A# P5 l: i9 a2 g$ T5 K $for(s,"$removechild")- \( a8 D: o' S3 c* Z: e6 N+ q
}
7 X+ L5 A4 Z0 |6 O+ u: z
7 q; C2 A6 d1 A0 e $this =function(v){3 {/ c# ^* u* `2 Y
if(v.indexOf("this") == 0){8 `. ~ l8 K, O9 f. ?
return eval(v.replace("this","u"))
- X5 Q5 d4 I+ [5 `: ~+ s ?( T6 y: g3 q } Q9 V3 x e7 N1 V+ ^5 K
return v;& F E& q, W- b& h7 _6 R1 r- F
}% Z9 c1 z3 o$ n6 s" V: H
# x" T0 [- l4 r/ T1 I $event = function (s){
I2 c# b# o0 s# X var $n ="u."+s+" = function(){$work(this,s);}"$ t& [* ^5 A# N6 }- p8 S$ u5 ^' ^; R
return $n;1 V, _6 l5 U: _& }) W- u+ E
}) E8 g+ {9 V% x8 Q
9 a( h' a* v" Y! c7 [( @3 t# o $replace = function (s){- g( s6 z9 y5 N K
0 d& ~: E: @7 F" u9 Z }/ C* z- N4 S/ b
6 i' l$ v8 I1 b k+ t) m' X
$for = function (s,c){. s- { j( A0 {1 M$ B
var $n="this."+c+"()" ;
. ?5 |& v6 H. {/ h; s if(s!=null){7 ?, F6 }* k& X7 z0 @$ N* R
var $m =$test(s);9 R/ {( } ~" w. R& y
for (var i=0;i<$m.length ;i++ ){
# D; A; k+ D7 O u = $m<i>;
+ U D2 Y# G9 M5 B$ A( c. I eval($n);- y. V* L- X4 K9 L: K, W& B( _ a9 v3 A
}. L% u4 g' d7 K# z
}6 K, I4 M& g$ D( D
else{! ~, L: C4 i/ c0 W2 }0 w+ n
eval($n);; N( p1 H7 e* X5 m4 @' ], W- z
}
( ~. T& p* K; l m" C& @, n, {$ j }
# y/ \ ?: z, P; c; l( c& r9 K1 P& W
; g9 n7 W0 @; s' T $test = function (a){9 o0 W' F4 j' ~0 I) Q/ c: e
var o = new Array();$o(a.split(';'),o);2 _4 t" L5 i& P0 Y! o6 m% W) K
return o;, h# M: m5 `8 G% g1 }+ t2 t
}
1 Q5 s9 R6 ]9 s0 Q$ P5 \! K8 v; H! a* D9 @9 |
$format = function(s){
; x$ U* u4 P# b/ B7 _( z while (s.indexOf("'")>0){8 s3 Q3 n: E0 K
s=s.replace("'","\"");
7 ^1 h, I4 @7 T' B5 O }7 Z8 F: U9 W5 [
while (s.indexOf("][")>0){
6 {7 n! d5 q5 j, C( n1 d- q5 p4 M' n8 z s=s.replace("][","','")7 f; O- a: k* L8 {: }
}
- {/ }; W6 ~# _( c) u3 r: W while (s.indexOf("[")>0){5 I9 }3 _5 f1 M2 Z; ?
s=s.replace("[","'").replace("]","'")# |* \. e. Z8 w/ T
}
+ X) H* k h# U9 ]) }# s) Q return s;. a+ D# O$ s* s5 j
}, |, D2 {0 n) B" ]2 {
2 K3 X/ b) |2 j
$work = function(w,s){* d" q5 M& n4 U+ [9 s% D+ d& f) q ^
u=w;eval(s)
6 u; ?9 d: ~: M p }
3 M+ |4 Q! D& A/ f: U- P8 h& A+ }2 I( }* P {6 m
$id = function (s){) u* ~( K" B$ |9 c3 J+ V
return document.getElementById(s);
3 @$ p2 Q' D) ]. _& `: ` }
8 s3 B( Z+ i5 }* `2 `# h7 w; y& g# E/ p- z* m8 F; j' i$ Z/ Z
$name = function (s){& T) g# A, v/ n7 M
return document.getElementsByName(s); V& U4 M1 E3 ]4 V
}" }4 F1 \$ X7 d
& I i$ b& w6 \. Z
$tagname = function (s){( v1 _5 n. v5 k6 W
return document.getElementsByTagName(s);
3 V! |/ \) E1 q) @ @! W/ V }
* a; |: }7 R4 h
- r4 H2 [2 A" e: F: ]' n8 | $o = function (a,o,c){
, X! m; ]* K; c5 G/ | $push = function (n) {
. `/ V0 r% K0 | t1 g- ]% F for (var i=0;i< n.length;i++ ){' i% @. i5 E& k, w
o.push(n<i>);0 i# j' K6 f1 V, m# h
} ; S5 {+ H) |+ x/ z8 l
}- P3 B" E5 U. s3 p# N, |* p
for(var i=0;i<a.length;i++){: h6 D3 t, y, ?4 j
if(a<i>.indexOf("(") >= 0){
. [% f4 y2 c5 S9 X c.push(a<i>);! a$ l0 j8 T- o8 V/ K) O
}
' ]" N9 s* }1 v! Y# n if(a<i>.indexOf("~") > 0){
5 M: W$ g0 W3 K7 b3 |7 v try {' w# C1 X4 a1 K' S
$push(eval(a<i>.replace("#","document.getElementById('").replace(" ~ @","').getElementsByTagName('")+"')"));
. w/ }" H7 B; O+ S" _0 x r }catch(e)' m3 B; Q7 R+ o7 ^" V% \ n, n) y+ F1 I
{}
: _$ }: y9 C& B* h8 i5 B5 v }# T! M- G( o& i6 Y6 o+ X( u' _! Z4 _
else{
_* p7 U, S( i) l if(a<i>.indexOf("#")==0){* H+ t7 |) _$ ?, a5 ` o3 `
o.push($id(a<i>.replace("#","")));# L ?' e1 w: m% N
}2 h" z7 t+ L: c) s/ a. N
if(a<i>.indexOf(".")==0){
5 S5 z2 p7 n% f4 z $push($name(a<i>.replace(".","")));
! a8 p; I# @$ V1 I5 S% N, a }$ a5 v' x8 F6 [8 x, w: D/ s* N# v! B
if(a<i>.indexOf("@")==0 ){6 T* J& ^$ }: l6 ?
$push($tagname(a<i>.replace("@","")));" s/ a3 X( V3 p# v* t" b
}
. Y2 P& ~% p- K' g if(a<i>.indexOf("*")==0){- K( P8 Y; T4 _0 j( f
$p= a<i>;
; B; a3 i# W0 h( p& `/ ~9 X if($p.indexOf(".")< 0){
% e3 K" A3 Z( p9 U. a $p = $p.replace("parent","parentNode")% b6 S* ^( _4 M/ m
}
9 p3 W7 b& J8 n var $p ="u."+$p.replace("*","");
1 W8 n* F$ b: V$ T4 _) u, \ while ($p.indexOf("parent.")> 0){
3 c5 A( W( d) ] $p = $p.replace("parent.","parentNode.")
, q' ]. ?& J# N; ~& T7 ~2 c4 R }
8 T" Q8 d$ c3 P0 A while ($p.indexOf("child{")> 0){
' ]3 ^. q0 u: N9 w $p = $p.replace("child{","childNodes[").replace("}","]")
4 M+ t4 Y, r% x) E/ G3 m9 x }; @/ |7 X5 e/ `3 } `$ w' r
o.push(eval($p));
, C7 P p4 N a9 s }" Q( A) `& p3 \7 ^9 N+ B
if(a<i>.indexOf("document")==0 || a<i>.indexOf("window")==0){& K; {6 g8 k* u/ _9 m9 G7 U: v
o.push(eval(a<i>));
. t( Z# \. ?: ]" }2 v& s }
y2 L* d1 Q. O f }* L5 W; c. a/ ^( k2 [3 a* r
if(g!=null){ / x8 x8 m S2 k* V. ^ G. F
o.push(g);g=null/ _9 G! r8 n( J
} " r8 w$ |& D: ^/ D; S# T$ W
}( a2 ^$ G4 ?# a& ?7 ~
}' Y: O/ ?- [3 p( [
- |7 b3 M1 w k+ U8 O7 G
$o(a,o,c);& \) Y; J, r* z4 h
: D5 I0 t# H" D# ~8 a- u5 n- W for(var i = 0;i<o.length;i++){9 N' w) ?' M: O& k Y
for(var j=0;j<c.length;j++){9 @2 ~# [, y' B% w' U2 @, o( K
u = o<i>;eval($format(c[j]));
1 b( x, x6 x" ^# K8 ]( n" F0 w9 F }
g2 c4 }' @; D8 W7 m% W }0 ~# F# C; B5 a3 I+ ~- P5 E- G
. Q" j: x) ^& h3 m" u
if(o.length == 0){
* V ]$ }6 h; ~3 q2 | for(var i=0;i<c.length;i++){: M8 k& f& C/ n
eval($format(c<i>));# j! }( J- }" J" p V! @
}2 q6 e% @% x5 c# i
}0 s) A# l' I! y! h* t& G7 {7 x1 M
+ E2 e) ?5 ~! x2 c" d; ^" e if(r!=null){
/ \8 D% ]) k4 M# `6 q( T return r;- E. Z) b8 ^+ k
}
* O K v. R B/ L
9 _/ q# z/ D' c if(o.length==1){1 d- f* s/ u+ d
return o[0];6 I7 Z: V, U9 ]; @0 m
}
- \! I# i& j' E" L, W5 r8 o else{
R0 u8 B. o: K1 q4 I+ t return o3 m) X: g! }- p+ s8 u ~; S, s
} - `( M/ }8 c, N4 G+ s* l# W
. ]! r, k1 v: b3 W+ J% L
}
7 z* I( n B4 x* D9 `8 ~var lrc =$("#lrc;show()").innerHTML.split("[");& S! ~" t6 Q! b, Q
if(lrc.length>5){5 F* S! j/ \2 t2 I1 E
var array = new Array();
( `4 W) B5 p! afor (var i=0;i<lrc.length ;i++ )
$ d" D! X5 Z& k9 [6 I7 {* y/ W5 ~5 T{0 J+ c# C2 j: K7 x
var g = new Object();
! k- r( Q% |5 _4 X2 \8 A& f t= lrc<i>.split("]");
( B! z- V0 ^/ @ g.time = getTime(t[0]);
" B1 X( {' a1 \ if(isNaN(g.time))
$ z5 l4 q }9 x+ N( k continue;
! C: g, v/ i- F! R g.c = t[1];8 R& B( u) s0 f! j) m+ o
if(g.c == "")+ W1 |1 D( u2 d* `/ T
g.c = getNext(i);
1 z1 N6 o9 h) s array.push(g);
% X c0 Y8 n% m}
0 G! ]/ N4 t" f" Z2 y7 garray.sort(function(x, y) {2 D5 e A. \1 D* |
if (x.time>y.time)
+ O" v- \( [' c3 D% y1 o return 1;$ M! ^; f# Y* m( M
else if(x.time<y.time)
0 e2 S- T/ X% T4 V6 e return -1;
: U( {9 f- C) W7 C* n" t+ D else
% |- K% \) ~7 a return 0;4 X$ z# G0 ~/ U$ M, C; T
}
% ?& k0 f1 c' k R8 i) E);% i) N' K$ p1 g% t0 l9 V
for(var i = 0;i<array.length;i++)
7 G+ B7 O, G' z# @{% q" ^& H8 J, X" W# N8 k, ^( r2 D
var g = array<i>;9 P+ e% I5 Y& i( z" q
if(!g.c){
1 w; q. x- p/ n6 q5 v% Z g.c="";
+ J; _/ S$ [6 G; n, U( ]' y0 B }
, H' N3 A3 Y$ {4 m$ _, T $("#list").innerHTML+="<div id=lrc"+i+">"+g.c+"</div>";8 k0 N5 n' o3 Z. j
}
/ k2 P5 H7 B# Jvar time = setInterval("lrcList()",500); ( u5 Y+ ^: {$ m* }
}else{
/ Q2 E V/ ]( U3 J4 X3 l $("#list").innerHTML=$("#lrc").innerHTML;& P4 q* ]2 b$ r/ t8 v
}
8 _4 X( J, E+ ~, }. k" e# g* efunction getNext(i)/ M2 y$ r+ O) o' O6 e* N- s
{
5 X7 [, }! \ A. p* j var result = "";
. F/ v4 F' N% C: U. Y var i = i+1;
0 Q& [; \7 K6 Q2 o t = lrc<i>.split("]"); C9 A, C+ l T. d
if(t[1]=="")# K* ~% `3 u2 F, q6 j+ [
result = getNext(i);
f: ]: y6 U- T" D" g L else/ P! a. v' z' O. i& |8 m9 b
result = t[1]/ D- D$ X& X) ^& k" p1 z
return result;+ d6 o; ~. B5 Q5 R+ Z4 C
}
6 T; ]2 z A- I: b! s7 I& L' B3 f! ^4 _: [+ J1 v4 ?
function getTime(str)
9 N& `. w! k- t4 q) N" d' w- O! f! b{ U+ o4 S! n' c3 L4 |* q* P" X
var time =0;5 I8 f6 V6 a9 ^6 M( u& k3 I
var ta = str.split(":");! A6 a) E8 s* X3 |0 w8 B; f
if(ta.length<2)
% r; N7 N! A3 V+ ^/ G( j8 W return time;
8 k+ W- p8 v: G# q j" Q6 O' [/ `' E+ q- d9 F- ]2 U( x8 Z6 U( E6 A
if(ta[1].indexOf(".")>0){
: [0 `* g3 N! s, c0 B) ^) W var tb = ta[1].split(".");8 ?7 n* f8 v2 d( D/ _% C
time = ta[0]*60*1000+tb[0]*1000+tb[1]*10;) B8 l. K0 y" k
}4 U" M& }3 `& w" N0 {
else
* ]5 z$ ~: e P( K+ Q time =ta[0]*60*1000+ta[1]*1000;8 T# v& D% S% d" g3 ^
return time;. U( ~$ [: e& R; \
}
5 i7 \% p9 Y) X: \2 ivar preTime = 0;: H! Z# h0 ^9 t: {* v
var nextTime = 0;* Z) ~6 z! X8 T4 J2 x2 I% m# w
var currIndex =0;0 y9 C! c1 R- \! q- n
function lrcList(){+ ?+ J. L2 d7 p
var s = parent.document.getElementById("MediaPlayer").controls.currentPosition;3 b l+ V! I$ R1 M1 M: W' X. d
s = s*1000;
7 o% ~/ o/ `# u3 C9 P if(s==0){
! U0 e& r* D# u9 H! d' N currIndex =0;
/ j1 ^5 [* d! C3 T/ L" s( o $("#list").scrollTop = $("#lrc"+currIndex).offsetTop-30;% @3 P+ ^3 N# B
for(var i=0;i<array.length;i++){
& x/ W/ H7 Q$ t+ s5 d document.getElementById("lrc"+i).style.color=colorNormal;
( ~. B5 h8 J6 R& y }
, f6 h3 D, y3 f) ^ return;
* H9 [8 T. {( ]$ ?! o6 W }
* J, u5 F6 E! ?( o, R' T7 Q. s. ^# x if(s>0&&currIndex<array.length-1)
, @$ Y" l8 ]* p; [ { 2 S0 A2 Z# D5 J1 t( ^: f
preTime = array[currIndex].time;! W# [: ]9 p6 W9 J* F( W
- o3 z: `! S3 d$ o# A
nextTime = array[currIndex+1].time;
, @4 w3 j0 H# P( I, x- l, v # \. } Q$ F/ {% a4 ~4 k0 x
if(s>=preTime&&s<nextTime){
( u0 z. b$ h8 p }3 m S: u7 d- j2 y5 @, \+ ~
else if(s>=nextTime)
& t& s4 [2 P9 T# W" U {& o+ h; O# ^" i' q
document.getElementById("lrc"+currIndex).style.color=colorPasted;
0 M% \ ?- `4 _: N, ] X/ s currIndex++;
* C; h0 U- S, {+ M $("#list").scrollTop = $("#lrc"+currIndex).offsetTop-30;, D- Q4 ~; Z9 ^% n1 _. F
document.getElementById("lrc"+currIndex).style.color=colorPlaying;
% n$ f s% B6 h: T! K6 T& z6 h lrcList();. s8 a2 T/ o& N3 w2 N$ a
}
: h' V( N% t, ?3 \ else{( Q* m9 \6 ]2 Y! ~1 ~* M- U
document.getElementById("lrc"+currIndex).style.color=colorNormal;
2 a0 p; z \3 i# j/ k( t; L8 ^ currIndex--;& [" k* l' i2 S7 T1 y
$("#list").scrollTop = $("#lrc"+currIndex).offsetTop-30;
6 W- |) x/ G! S document.getElementById("lrc"+currIndex).style.color=colorPlaying;
1 O& ~ F* C) A% j' \1 m lrcList();# T' u- {* W8 N/ M# r- R+ B
}
% A- X, q8 @4 l% D }7 c* ~- p) v: g) F8 R
else7 \9 [6 |+ K; a7 {% u
{( p3 p1 k$ X# q/ l8 X
if(s<array[array.length-1].time){' u l+ n; g* x* a
currIndex = 0;
! G8 ~% c" S1 Q0 R $("#list").scrollTop = $("#lrc"+currIndex).offsetTop-30;
J3 l2 X% L+ ` y; n& m for(var i=0;i<array.length;i++){
2 Q& @1 I5 O- f9 b% N1 w* m document.getElementById("lrc"+i).style.color=colorNormal;1 y2 T8 s2 Y+ }) L+ H; f2 v
}
* @& W8 q- e: v lrcList();
" t9 r/ B# y8 ^# s& q G }" a+ ], _: O7 P+ l
}
' W6 S, c' k% S% K$ i}
! i0 c$ x" w9 R</SCRIPT>8 r; h' C2 B" i' K- ^6 e3 w& S
</DIV></DIV>
$ `* s" k& w( m; ^/ _. ?" z
9 ~0 m6 i w2 j' d4 k[ 本帖最后由 幽谷兰 于 2008-9-18 17:36 编辑 ] |
|