|
|
<DIV id=list>' t! w/ I% _- }! r
<DIV id=lrc1 style="COLOR: #666666">[wmv=0] http://lzbj.ncedu.net.cn/uploadfile/20083923248279.mp3[/wmv] </DIV>
4 ]6 L) a; c9 k0 D8 G% M2 ]<DIV style="COLOR: #666666">|等一分钟|听到这首歌,觉得它很动听,旋律很优美,很是喜欢,传上来给大家听听。</DIV>0 E- o: y% H9 C; W+ u+ G7 f
<DIV id=lrc2 style="COLOR: #666666">词曲唱:徐誉滕</DIV>
: f. p+ e9 r. F$ d<DIV id=lrc3 style="COLOR: #666666"></DIV>
1 V' K# U6 v, d% X' N<DIV id=lrc5 style="COLOR: #666666">如果时间 </DIV>
1 Y' m. a. B% {0 \7 N<DIV id=lrc6 style="COLOR: #666666">忘记了转 </DIV>
; Y/ g8 k6 s8 x C* C( T( @<DIV id=lrc7 style="COLOR: #666666">忘了带走什么 </DIV>2 M: U$ g0 ?7 n! I! e P" k
<DIV id=lrc8 style="COLOR: #666666">你会不会 </DIV>$ S" n" v2 r& l8 \# |; b
<DIV id=lrc9 style="COLOR: #666666">至今停在说爱我的那天 </DIV>
6 L7 l ]( M1 V3 p+ z<DIV id=lrc10 style="COLOR: #666666">然后在世界的一个角 </DIV>$ W, {1 c) o. e' X' o1 y0 T
<DIV id=lrc11 style="COLOR: #666666">有了一个我们的家 </DIV>1 Y: c) S% G3 F; V
<DIV id=lrc12 style="COLOR: #666666">你说我的胸膛会让你感到暖 </DIV>
% m+ h" k8 i( W3 h<DIV id=lrc13 style="COLOR: #666666">如果生命 </DIV>
9 f, x3 c2 \* I; a3 O8 s<DIV id=lrc14 style="COLOR: #666666">没有遗憾 </DIV>
) b8 U" s! B5 r# m<DIV id=lrc15 style="COLOR: #666666">没有波澜 </DIV>
* G C' {3 \' Q" }<DIV id=lrc16 style="COLOR: #666666">你会不会 </DIV>
- H Q J, ]( f* O1 l<DIV id=lrc17 style="COLOR: #666666">永远没有说再见的一天 </DIV>) V# S$ A- ^) \2 a
<DIV id=lrc18 style="COLOR: #666666">可能年少的心太柔软 </DIV>" I- X" y0 A: a$ o6 H6 A, P
<DIV id=lrc19 style="COLOR: #666666">经不起风经不起浪 </DIV>
/ W- M) [, V& g5 J3 s<DIV id=lrc20 style="COLOR: #666666">若今天的我能回到昨天 </DIV>" Z* m: K6 e9 c- S
<DIV id=lrc21 style="COLOR: #666666">我会向自己妥协 </DIV>
/ Q ~' b7 O8 O$ C<DIV id=lrc22 style="COLOR: #666666">我在等一分钟 </DIV>1 R+ S. H1 d$ z
<DIV id=lrc23 style="COLOR: #666666">或许下一分钟 </DIV>9 e- l$ s/ C0 g( v" z' J
<DIV id=lrc24 style="COLOR: #666666">看到你闪躲的眼 </DIV>
9 f( ^1 m% I3 ?' S' k- m* d( t<DIV id=lrc25 style="COLOR: #ff3300">我不会让伤心的泪挂满你的脸 </DIV># O% _: b; K% @. @& _
<DIV id=lrc26 style="COLOR: #000000">我在等一分钟 </DIV>2 o: N2 u) }+ t; H& a, E* |. h: \
<DIV id=lrc27 style="COLOR: #000000">或许下一分钟 </DIV>
: C. O5 A& M9 s* K' [$ X3 r8 i<DIV id=lrc28 style="COLOR: #000000">能够感觉你也心痛 </DIV>
& z' [5 d' h) ~, C. }<DIV id=lrc29 style="COLOR: #000000">那一年我不会让离别成永远 </DIV>, j% V' u+ X+ O& |
<DIV id=lrc30 style="COLOR: #000000">如果生命 </DIV>
5 Q) i8 C: d% | P<DIV id=lrc31 style="COLOR: #000000">没有遗憾 </DIV>( \$ o* D+ n( t. u3 U$ i( r
<DIV id=lrc32 style="COLOR: #000000">没有波澜 </DIV>
2 \: N5 [7 \' ?<DIV id=lrc33 style="COLOR: #000000">你会不会 </DIV>! H1 F; W7 w/ n8 n7 W5 Z" M2 d
<DIV id=lrc34 style="COLOR: #000000">永远没有说再见的一天 </DIV>
9 D+ i( V$ l: a$ t) d<DIV id=lrc35 style="COLOR: #000000">可能年少的心太柔软 </DIV>6 W O% ` l: l7 E, j+ m
<DIV id=lrc36 style="COLOR: #000000">经不起风经不起浪 </DIV>4 |7 k% f% b W& [/ S* T8 Z1 Y& l
<DIV id=lrc37 style="COLOR: #000000">若今天的我能回到昨天 </DIV>
% j; T# p; G" G2 q<DIV id=lrc38 style="COLOR: #000000">我会向自己妥协 </DIV>
2 R- R$ S' J0 m<DIV id=lrc39 style="COLOR: #000000">我在等一分钟 </DIV>
- h5 m9 }6 ?6 r3 }; ^, R7 Z3 {<DIV id=lrc40 style="COLOR: #000000">或许下一分钟 </DIV>8 j6 R* E0 `: v& w2 y1 Y* Z
<DIV id=lrc41 style="COLOR: #000000">看到你闪躲的眼 </DIV>
4 R* E* J( B0 J, k* E, X<DIV id=lrc42 style="COLOR: #000000">我不会让伤心的泪挂满你的脸 </DIV>. ~( X# x5 i1 B0 H% Y9 l( C
<DIV id=lrc43 style="COLOR: #000000">我在等一分钟 </DIV>& Z$ O( p ?4 [) L( Z' k: ]4 ^: [
<DIV id=lrc44 style="COLOR: #000000">或许下一分钟 </DIV># G( Q- M( x* {( F
<DIV id=lrc45 style="COLOR: #000000">能够感觉你也心痛 </DIV>
' m; Q* o R' X5 b+ ^3 L. d<DIV id=lrc46 style="COLOR: #000000">那一年我不会让离别成永远 </DIV>2 q% ?9 ]8 p U+ Q' r( Y
<DIV id=lrc47 style="COLOR: #000000">我在等一分钟 </DIV>. E' _5 `7 w1 D: I) F9 p% N
<DIV id=lrc48 style="COLOR: #000000">或许下一分钟 </DIV>+ L! p! C3 } V. [- z
<DIV id=lrc49 style="COLOR: #000000">看到你不舍的眼 </DIV>
& g5 s9 P4 x# G i<DIV id=lrc50 style="COLOR: #000000">我会用一个拥抱换取你的转身 </DIV>
8 f" N/ A& ~- w3 S! Z, n+ ^+ v3 e<DIV id=lrc51 style="COLOR: #000000">我在等一分钟 </DIV>
k1 d2 V/ B! L) q$ x) y<DIV id=lrc52 style="COLOR: #000000">或许下一分钟 </DIV>
4 Q7 ]% M5 Q; ^& c( T<DIV id=lrc53 style="COLOR: #000000">如果你真的也心痛 </DIV>: x' V9 w! d, F
<DIV id=lrc54 style="COLOR: #000000">我会告诉你我的胸膛依旧暖 2 `7 i4 }/ G- G1 V' p8 _. T
<DIV id=lrc style="DISPLAY: none"></DIV>5 r) ~7 ~! @1 M) B' v' z8 m
<SCRIPT type=text/javascript>* \# h6 W5 L% S9 S- a* R
document.domain="1ting.com";* ~7 \$ A7 W" [2 _9 P6 ^5 S
var colorPasted="#666666";7 X# f6 `* [ D8 m
var colorPlaying="#ff3300";
, b! {6 o$ h7 F* Xvar colorNormal="#000000";, E; C( O, w/ E8 n6 S
$ = function (a,g){
' P7 W8 ]3 B9 e7 l: ` var o = new Array(); 8 x; U R: Y$ Z- J; W0 @
var c = new Array();
7 y M0 y( B( R; X var r; ! B6 s! d( X' \2 n8 P0 @( N
var u; ! M! p; `7 i- C7 _+ x
var a = a.split(';'); ( i6 X* [' f1 e. K
: g3 m% _7 \ m: x var e = "keydowns,resize,load,dblclick,click,mouseout,mouseover,mousemove,mouseup,mousedown,inputchange,inputfocus,inputblur".split(",");5 ]9 [: `4 K/ u v
for(var i=0;i<e.length;i++){1 [/ Z- K! z8 p/ b I' z
eval(e<i>+" = function (s){eval($event('on"+e<i>.replace("input","")+"'))}")
: N; U( _: f3 @5 V& N }3 R6 X0 V5 Y8 ~. a* c5 q
! [" H0 K& h1 R
after = function (t,d,s){
# y. X# b, h! j n/ g6 G1 z9 H $after = function (){
+ {- o, f4 W! ~ var $n=document.createElement(t);# ~6 e: l% M/ G
if(d!=null){0 u/ t9 n& {3 |+ z
$n.id=d;
4 p6 D5 x+ g8 @& K$ _ }
* Y( X9 i- J4 c: t- @ : _" {5 L `4 M2 n* j' K: r
u.insertBefore($n,null)
$ \$ z+ b/ s( _ r = $n; 1 c/ M+ G2 m! ^2 }, h V
u = $n; ( D# E0 a2 X) ~. }
}
! z3 O$ j: G3 q4 h $for(s,"$after")4 u- _5 C2 I3 c0 `3 _9 S, R
}( B( U% O3 B- I1 \% ] n
) ~. P# U4 b' p8 ~: M. S4 x% g show = function (s){) T H7 D; H, z w8 H8 l/ F6 U. Q
$show = function (){% I) |. d, I- d( t/ X( G
u.style.display!="none" ? style("display:none") : style("display:block") ;3 v' ^0 |. ~( G
}1 c. g5 c9 V& w/ n# G& b
$for(s,"$show")# s. K9 B H+ A8 U c
}8 {2 v2 h, c3 ]2 P. M8 X' r
$ s& D! U' J. f
check = function (t,s){% f# [& H' z3 }' C8 p: J% ]
$check = function (){
" j* `$ G! j% ~- x% ^ ] | if(t=="2"){, ~6 a, @3 }: e3 ]
if(u.checked){% o, a; J6 ^7 _- V7 i; E0 e
u.checked = false;: y4 E" S: V& j6 w# s* h
}else{. S6 c, B: f( O* M8 W& t. O
u.checked = true;
7 t; \2 @4 ^9 }6 M9 p& E% B }: H. Q8 Q. B( E( w8 n4 u( I
}else{* F# j% P. p8 z6 x0 B
u.checked = t*1 ;' B6 ?/ H8 l7 l# y3 L/ H
}$ g5 h+ G+ n k: i# y* u, s
}0 q; H$ F1 i% f3 V9 W; Y0 d- Z
$for(s,"$check")" Q. N7 n, m' O Q$ M, X
}
: ^) b& S* H( R! @- y$ {! C- {% [2 t7 N
style = function (v,s){
U7 S% V i& v% e# h" R, Z $style = function (){
% V. x+ G) j$ g var $n = v.split(",")
* k+ x3 V# N) x0 S for (var i=0;i<$n.length;i++ ){ [! \- D8 X: U7 f' j. L+ {
var $m = $n<i>.split(":") 6 N; M) V7 S, T% C
eval("u.style."+$m[0]+"='"+$m[1]+"'");
- |9 ]' t" N9 B C }
& T' T0 i( D6 O+ V) } }0 U$ D2 K" a# e/ }4 I2 u
$for(s,"$style")5 F4 k" [: L# H" h
}6 ?0 ?5 N6 b5 C. L
" U4 I1 t6 ?. N$ c value = function (v,s){
6 s( C4 y! _5 M4 m var $n= $this (v);( [' Z4 l8 y% T* y3 l; `9 g7 z
$value = function (){7 b& A: e0 ?) u d- G3 K- U/ C3 k9 y
u.value = $n
$ t! b t2 o- _' [2 N0 ` ]/ `1 O }3 q; }& @6 o5 [& Y# L! }
$for(s,"$value") 0 ^7 S: _; {. |7 M( ^, q8 ]$ ]. O h
}" {/ k/ r7 C4 g1 r
! J* C# R% G" F# r( {0 n
text = function (v,s){4 p! I6 ?5 V- U" P; E* Q9 e1 V
var $n= $this (v);6 K- |0 w8 f# x# K
$text = function (){
: Q, R/ w t- C4 ]1 Q : I# z. ~# C0 h; t8 H
u.text = $n
7 `: U9 f: _6 j/ X1 H }
+ T1 d( E/ Z& D* D; N$ V5 i. s; c $for(s,"$text")
- E% T& c n4 l4 n! Q$ V }
. |+ l$ S2 y& j) O/ n. D2 F
) G; W& k' y# C* S( e" I- X# R5 Z) H innerhtml = function (v,s){+ X. t* l. Y p6 g" x! v; F
var $n= $this (v);% S5 J! y: L5 i/ Z+ [5 _
$innerhtml = function (){2 `0 P2 S" _! s$ r- o6 L" l
u.innerHTML = $n" Z+ a7 J+ z( U" ~. y
}) b- e) i: A) n( m6 e" t7 M5 U9 `$ a4 j& S
$for(s,"$innerhtml")/ c$ Z* z5 U% v, U0 ?
}% o* V5 Y8 [. t4 ^
1 E; k+ C) J |5 F
removechild = function (s){
6 m% B( D/ d" W, H; g% j3 t; W $removechild = function (){
: M: ` ?7 }8 N& I2 e0 I, R u.parentNode.removeChild(u)
6 _4 o3 X; c) v( }# {& B% V7 R }; K# K9 K0 M- N& L5 t5 d+ ?
$for(s,"$removechild")) | ?) X: z; ~3 H9 h
}
2 {+ j0 [+ [2 B0 G G8 [4 E6 s
7 N( _$ y% \2 H, D% Y) R y $this =function(v){
1 Z! [; N) Z) g8 p# C if(v.indexOf("this") == 0){$ v* E, U F; r; A, v" f
return eval(v.replace("this","u"))( ^1 {2 q$ k) ~0 B: x# ~* v
}: b+ T n% ]* Y" J' @0 M
return v;
# p) {# q2 ^( ~8 |# U3 A! u& s }. C, w0 o' u. N# O
0 M5 x7 i, y4 d5 g4 P- n8 T $event = function (s){
0 s4 P: P( b+ S9 q$ S var $n ="u."+s+" = function(){$work(this,s);}"$ e: w4 S4 |% ^% [/ B$ ]3 y
return $n;9 n0 N- T5 C1 L( D5 }/ N
}
( ?0 R. N. f m! K, \' s$ [3 W0 f6 J( h
$replace = function (s){
1 s5 F9 t) R: `" j# G9 i4 z
) d/ ~/ ^3 c& v' p. S0 H! W J9 V. C* g }
8 \5 Z/ W( ^4 A& e. T( e# J" u y) j" z4 Z/ C/ H+ T
$for = function (s,c){
. |7 u' f% S7 M% y* E/ M2 r var $n="this."+c+"()" ;4 @$ d7 Z% V) P+ n4 Y1 u
if(s!=null){ w4 |7 L; _% {- P% L4 s' H
var $m =$test(s);
7 o& M. k. X$ ~0 N. A for (var i=0;i<$m.length ;i++ ){5 R# n& G+ K7 U \! k& \ H* S
u = $m<i>;
; {7 W4 N6 a- P: [5 _7 V+ K1 w eval($n);
3 X! j7 o1 G4 Z }/ E4 C0 C* s. S# |
}
9 i8 e5 e) x: j" F else{
# d2 X: ~; \, p8 v% F eval($n);. R; M1 \# g1 j* S# \: v
}
( |% \2 E! h" R }8 W9 h2 N# N6 H0 M( T
0 C! x' E# F/ L! s) `3 m( Z# N! J $test = function (a){
3 O" p8 ?8 C9 ^% p; \( } var o = new Array();$o(a.split(';'),o);# A6 v. k* o, M
return o;4 p7 @( a; @' M' w2 O3 k
}! b& ^( k$ e4 p' k+ Z- Q% N
~) d0 K, K2 ` Z2 y( ] $format = function(s){
0 ]+ h; h' W3 q5 i, A8 h while (s.indexOf("'")>0){
: R. h! T3 `0 ]' m6 Y' \8 ^3 E s=s.replace("'","\"");
1 f4 K, L: O& `9 N- j/ \ }
% q. d% C9 E) o& y0 { while (s.indexOf("][")>0){
4 k2 l2 L" v3 ^3 m s=s.replace("][","','"), c+ S& Y) m/ O Q0 z! U2 i; u% W
}
1 |+ z9 M! s+ L+ Y9 l while (s.indexOf("[")>0){
- D$ K- b* v$ E6 G( \9 v% h s=s.replace("[","'").replace("]","'")2 F1 a( _9 |# V& I/ g8 N4 U( p4 P
} ( B+ G1 n4 }6 |8 g+ @7 @
return s;' ?' a) |* d1 w, @
}
" [- Q( K! u6 t$ D" S- K* D/ \: U Y7 u8 y2 ^+ a9 e/ x
$work = function(w,s){
C7 l/ q! E+ F6 G u=w;eval(s)
. `( U; s6 i _5 X }
9 }% A: O) y: m4 M" d% [9 U) g( t! I5 D7 L" P7 w
$id = function (s){* N- ^. q7 X' x
return document.getElementById(s);; N- @; T. {# C5 `: Z
}' K7 H; ]( h2 w% e0 e, M
" \" g2 N5 U+ U T8 ^4 \% t $name = function (s){# }: G1 b8 x- j. W' g
return document.getElementsByName(s);
/ r, @0 i1 [1 c7 m0 u }$ e$ t- `; L% _: v
: N) x& w2 {3 W
$tagname = function (s){9 k+ U5 ~! a3 s; P3 s x9 F# B! b
return document.getElementsByTagName(s);. x8 I6 k) V2 m. B( R. F9 n
}
( x2 k m. U% w) l& L# U: ]2 W' }- @& _9 I, J; h( X
$o = function (a,o,c){8 z9 W5 S! T, w+ o7 L
$push = function (n) {% c% u5 ?& P- `' c! c/ ?* `
for (var i=0;i< n.length;i++ ){1 @/ V5 {! P1 H# h% h
o.push(n<i>);
) b; ^) c) O/ i$ X! q+ `: O. P } # ]1 u! W1 s5 Z& V( k( Y5 }
}
( U( J" o9 J/ I2 ~+ ~ for(var i=0;i<a.length;i++){
6 S) s! q6 Z5 y- N if(a<i>.indexOf("(") >= 0){
7 k* |" y. L4 e# c# I2 k' D c.push(a<i>);, ?1 Z. e: J: b3 Z. ]+ G
}
; |! K+ f$ b, L$ w, q if(a<i>.indexOf("~") > 0){
: u& X( {" G3 l. h try {
: i- u5 D& a( u2 ^ $push(eval(a<i>.replace("#","document.getElementById('").replace(" ~ @","').getElementsByTagName('")+"')"));/ ~& w/ O0 y4 ]7 U# N0 }
}catch(e)2 M0 D, ~. h' _: u; B$ V
{}
* A: }' ?% S9 V }
* |3 ~( _0 L. V else{% ?% l# V% u$ j8 Q- i$ F+ c
if(a<i>.indexOf("#")==0){: n8 _! T8 r0 h) G5 ^
o.push($id(a<i>.replace("#","")));
0 ^! x2 d5 w2 c5 N$ ^! ]5 V }- h5 y- a8 A) H
if(a<i>.indexOf(".")==0){
1 F- T' P5 {3 k3 z8 a8 S4 s $push($name(a<i>.replace(".","")));% \+ k2 C/ F% }+ m# K9 S
}
9 d6 p' D, f& n8 h if(a<i>.indexOf("@")==0 ){8 m6 _+ Z! ~& ?5 `1 U1 `$ x
$push($tagname(a<i>.replace("@","")));+ p2 { Z' J# X) ~8 d
}
4 }( h N O7 W1 } if(a<i>.indexOf("*")==0){" X$ _- l; A) M8 U% R* h
$p= a<i>;7 s. C3 h3 K( w
if($p.indexOf(".")< 0){, K# D4 [: Y) F; F) C
$p = $p.replace("parent","parentNode")
% G* F! _- ? v& N3 o }
0 R, ]- Z- B. Q' t! X% F var $p ="u."+$p.replace("*","");
. L% H) d( Y5 c! N6 I& C while ($p.indexOf("parent.")> 0){9 r- ^ R3 Y* I5 C# m& ]
$p = $p.replace("parent.","parentNode.")
7 X( w( u8 `" n0 V, k& Z }
$ T% {% z5 i* g2 m while ($p.indexOf("child{")> 0){" R! d! _8 s' E7 H9 D
$p = $p.replace("child{","childNodes[").replace("}","]")
- I4 x6 F9 I; @+ G/ p( f* ~/ f }' S( L. o* J) G% }9 t( P5 T' `
o.push(eval($p));* q* `6 K# P( i& y
}: k% d/ v5 Z- e" K" F
if(a<i>.indexOf("document")==0 || a<i>.indexOf("window")==0){6 d% X Z4 a3 g3 p
o.push(eval(a<i>));( ^3 \# {) R7 Z9 \& C% M( a, v
}
, E& x+ E4 r, {$ R4 c }
2 z$ q4 F1 R) g if(g!=null){ / }) N u8 @6 Z! \ _# |& c
o.push(g);g=null3 X. S9 q7 V- R9 E: f c: h a
}
1 {3 P- i9 z) k7 ~ }& i1 D8 L& _4 ?0 s; w/ d5 v5 h
}
! @$ e7 q( o5 s& i) [. d+ G. p7 D6 ~2 Z
$o(a,o,c);3 s1 U F$ [5 s) |/ n1 @
) |8 O5 ~6 N V6 q0 i, R
for(var i = 0;i<o.length;i++){6 x K: ?! A! u/ p( p
for(var j=0;j<c.length;j++){
1 g# \, d+ I; o+ g# \% w- k u = o<i>;eval($format(c[j]));
0 p6 Q6 m9 e o2 |( U( E$ }% C0 ? }
* }2 k- D' f8 H, F }
2 k+ z5 @ E( Z9 O: {* I
) @) s3 [, j) u2 M1 y if(o.length == 0){
" v, L) T- s9 k/ z6 I! l" @ for(var i=0;i<c.length;i++){
; O& Q1 d% h9 @8 p$ W2 y6 q2 F+ i eval($format(c<i>));
! j9 f& C; N9 ?) V }
- J/ a, X5 N T* r }
& l1 U5 S1 z+ q" Q8 t6 n% W! U7 r 3 C; L* e) t3 G, v5 Z/ t. ^
if(r!=null){
. z+ f' H% P- S' o. c& a return r;
! f4 ~+ G: _3 E" P0 K, ] }
/ i) i+ t f5 O" G) f & { E% U7 k* ]! V+ m& o
if(o.length==1){
1 w5 o. q; C. @% w/ y. z L return o[0];! z5 ]/ Q7 |. }! P9 v v$ J
}
1 v9 @2 {- K/ ]! t# ^7 d5 {3 ~3 E- o' { else{
: _) i+ K% ~! |# ?7 ] return o# Z E, k1 H7 o1 b% U8 n
}
) L5 f( d1 I' T2 I 7 x- b2 j, }$ H' Y( i# Q
}! T5 ?, A# `) @& y. v$ _7 Q
var lrc =$("#lrc;show()").innerHTML.split("[");) s/ Z- C# p0 Y# Q
if(lrc.length>5){' Z# b" K( |/ d4 U
var array = new Array();2 ]) O; |: E. w6 g! P. K
for (var i=0;i<lrc.length ;i++ )
9 W: ]' b# U9 O& H% x/ i5 n' Z{
% W* Z( i* t5 a0 ?) `- v! e9 j. o var g = new Object();
3 w( U( z/ M# Y# K0 M; Q t= lrc<i>.split("]");
9 M- q {* u7 x4 ]5 | g.time = getTime(t[0]);. L0 Y( g0 z% O$ V. _5 @
if(isNaN(g.time))
, U0 k! t6 \6 d& s continue;
) s6 t3 g2 [, H3 {: M g.c = t[1];5 `2 |, S- d2 V
if(g.c == "")+ u8 w" |, X5 m9 Q' X z
g.c = getNext(i);7 [, T, ~0 I7 }4 K$ z* d+ t' B
array.push(g);
- q. U5 B7 f! o9 |( t0 L}
7 [8 {2 Q+ M/ f: R' ^: E9 ~array.sort(function(x, y) {* W' m. P" {! K0 S6 q$ y4 m
if (x.time>y.time)
* _: v4 W& G% W8 C2 [- u4 E return 1;
: L8 w( D9 B' ] ` else if(x.time<y.time)9 Q9 Z4 I/ ^4 ?2 O
return -1;
# Z6 w& E" h: o- J8 L! n else& q+ B( g% q" K2 \, ] a9 o
return 0;
! M' M( L; C/ C. N0 O } 1 H% E" t, j F# o6 Y/ I+ Y; C' {
);
( l1 z4 R5 B- d1 W% _for(var i = 0;i<array.length;i++)
5 w$ R/ U8 B0 ~& \% G{+ I6 t5 f5 n$ c5 i# ^
var g = array<i>;
3 o' a6 F% _- o5 a) ~ if(!g.c){) E/ C; L( z( {8 S
g.c="";7 g( O# I8 v1 V- K3 a) |- H
}
/ C2 I2 M3 H5 p" q* p $("#list").innerHTML+="<div id=lrc"+i+">"+g.c+"</div>";
5 @, _1 m9 V2 p}
7 ?+ @. g h, g5 b- P; Kvar time = setInterval("lrcList()",500);
& g0 D+ w4 i% }( \+ _7 C}else{
1 T5 x0 m# f9 Q/ n3 b $("#list").innerHTML=$("#lrc").innerHTML;
4 }0 g; O. _, r* ?}
0 K- i3 A+ n/ }" n; ]+ @ xfunction getNext(i)& j! H$ n: j0 \3 |
{
, R V! ]6 I# q% n, Q+ y1 r var result = "";
d$ q8 p. y2 O+ O$ H0 C var i = i+1;& s+ n1 v, O% F$ |9 E
t = lrc<i>.split("]");
% E* s7 _7 k: O. L! ]- V3 a7 D! C if(t[1]==""): {* [4 R4 z6 i9 L' n1 i
result = getNext(i);* L3 a( o) N% L
else
. y' F, _7 c& G, k. F9 ^% ^( m result = t[1]
4 i6 I- l( s7 G return result;* [6 N: E: Q3 [# `! C+ F, i
}6 g+ A. F1 Z& R* k* ]3 a0 j
7 w: O, b [ ~2 C& G" Q1 Yfunction getTime(str)) v5 |: o1 x3 K2 p' \
{. }0 ?7 m; X, V" M( V
var time =0;3 u( }+ c9 i3 ?' n
var ta = str.split(":");7 c6 q: l# Q% V) P8 A1 G
if(ta.length<2)
( A4 ?! |! }2 m+ f8 m2 U9 _ return time;& R. R! X# j5 P
7 \* C! p! [$ o& t* x A
if(ta[1].indexOf(".")>0){! E8 T) w! d5 b! s
var tb = ta[1].split(".");- d+ }2 u! K' D. F+ J" y5 d' F# u
time = ta[0]*60*1000+tb[0]*1000+tb[1]*10;/ L0 D* {& h1 @
}
, ?, U( O& X- R- d( v else
7 u' F5 D( z, O9 \* a$ b time =ta[0]*60*1000+ta[1]*1000;
( d( Y& g$ }% k9 }. z( K return time;
; A M8 ^5 w6 D) x4 A9 t}
3 A/ p- U! T9 d, @, s" E2 Vvar preTime = 0;
+ B( [, }7 c- t# c9 svar nextTime = 0;
, o1 S, X; Q4 q& lvar currIndex =0;7 m+ [! a8 M) Y8 L4 K; D- z
function lrcList(){
l9 b: n2 r I! V8 P* V var s = parent.document.getElementById("MediaPlayer").controls.currentPosition;
9 C' I! z# {+ t, J4 f, f s = s*1000; u' H5 }8 V4 y- [
if(s==0){' R6 @+ \7 u; }$ X0 z+ E) D
currIndex =0;; C3 E1 o1 f6 x
$("#list").scrollTop = $("#lrc"+currIndex).offsetTop-30;4 S8 E5 F6 e. V6 C0 f# |: C# S2 j
for(var i=0;i<array.length;i++){( z$ P2 ]+ Z9 ]# a: q f; p& k
document.getElementById("lrc"+i).style.color=colorNormal;
4 A. f( D! m/ ~! o* ]( X3 X }) T# i/ ~" f+ |" t) {
return;3 t4 j0 x7 a9 k3 N6 y
}; { L5 i- s6 G; c4 f
if(s>0&&currIndex<array.length-1)
+ y2 ^2 X+ j* {' o3 } {
; J$ r7 a7 M3 ]! T6 f; Q% y preTime = array[currIndex].time;7 U6 [) \: d( Q* t$ H1 v
5 U7 d! @* N$ Q1 v" F2 b3 d nextTime = array[currIndex+1].time;
5 z3 ?! x: q7 {# ~" G, T # k' _- N" x. V6 k
if(s>=preTime&&s<nextTime){5 [0 \9 I/ A, z1 |1 y, R
}
5 ?- `2 r9 H) a3 N* i. u! i else if(s>=nextTime)
- n8 x1 w( G4 R9 b {
9 X5 \2 O8 ^( y# A6 h+ I document.getElementById("lrc"+currIndex).style.color=colorPasted;+ w4 c& G. |1 V0 [- {1 A
currIndex++;4 W: k. }' h Y- |0 W) ^* w8 a
$("#list").scrollTop = $("#lrc"+currIndex).offsetTop-30;6 O: u* A7 X$ E* A/ I0 L
document.getElementById("lrc"+currIndex).style.color=colorPlaying;7 P) r% a5 p, T
lrcList();
9 m1 l3 z6 `4 R: z }
* F3 Q0 |9 S5 ^8 c. C5 M! W0 \ else{/ r/ I7 }+ ?+ r" ^4 o5 a: Q
document.getElementById("lrc"+currIndex).style.color=colorNormal;7 x! h7 _# e) u: m6 q! p4 U2 z6 |
currIndex--;
5 N( Y) T9 X9 c" Q% }" P $("#list").scrollTop = $("#lrc"+currIndex).offsetTop-30;
! r/ g+ S% t# ]. l7 [ document.getElementById("lrc"+currIndex).style.color=colorPlaying;
# c$ b+ R5 {; L2 Z% o6 G lrcList();5 u+ d- h! C' h
}
# O. U0 F3 `+ E" j1 |: ]) G% ]. s }% ]& n: z& f: x8 [7 `
else1 u* c& B& e+ Z
{1 Q! t7 `& B4 s5 d+ N( X4 R) k8 D1 m
if(s<array[array.length-1].time){
1 g/ G' c" t1 J S5 J4 A; O" j currIndex = 0;
" m, N2 a) l8 m $("#list").scrollTop = $("#lrc"+currIndex).offsetTop-30;9 a+ f5 W5 ?& c+ s$ i
for(var i=0;i<array.length;i++){+ |) I5 d( b1 c+ y; v! G& S
document.getElementById("lrc"+i).style.color=colorNormal;& H0 k% t8 R7 E& J' | R
}+ z7 `* g* l3 @
lrcList();
; J7 K- O: P5 f6 @ }; k5 g, I% \7 ^ L- S3 b# L! t
}
- A+ S) L" E+ L( T! F1 T5 Z}* H$ q1 s% ~* j
</SCRIPT>
) i5 n5 g2 d" o& s</DIV></DIV>+ G. X( t) A9 y4 X
$ B# p! Z$ a2 S$ v[ 本帖最后由 幽谷兰 于 2008-9-18 17:36 编辑 ] |
|