|
<DIV id=list>+ c5 k* f" o2 l+ B# o
<DIV id=lrc1 style="COLOR: #666666">[wmv=0] http://lzbj.ncedu.net.cn/uploadfile/20083923248279.mp3[/wmv] </DIV>1 A5 { i0 L; H- [2 p; @
<DIV style="COLOR: #666666">|等一分钟|听到这首歌,觉得它很动听,旋律很优美,很是喜欢,传上来给大家听听。</DIV>& N/ E: D% [. {# U0 H2 W9 `5 P
<DIV id=lrc2 style="COLOR: #666666">词曲唱:徐誉滕</DIV>
1 s7 L( l! ]* g( i8 m<DIV id=lrc3 style="COLOR: #666666"></DIV>8 D W: ], W9 o% C
<DIV id=lrc5 style="COLOR: #666666">如果时间 </DIV>- W. q0 E/ {( n7 E: U; @% }- `* O& o
<DIV id=lrc6 style="COLOR: #666666">忘记了转 </DIV>
. w9 Q$ H* [2 K<DIV id=lrc7 style="COLOR: #666666">忘了带走什么 </DIV>
) R0 m0 S! [, G3 O; K1 X8 Y<DIV id=lrc8 style="COLOR: #666666">你会不会 </DIV>
; H6 A+ D' k" z) z T% c% r<DIV id=lrc9 style="COLOR: #666666">至今停在说爱我的那天 </DIV>
) J" z5 c- k* B. n<DIV id=lrc10 style="COLOR: #666666">然后在世界的一个角 </DIV>
1 N* M. b8 u A( Y! b4 C3 e<DIV id=lrc11 style="COLOR: #666666">有了一个我们的家 </DIV>; S0 U' W5 z y4 y5 I5 x0 M2 {0 o
<DIV id=lrc12 style="COLOR: #666666">你说我的胸膛会让你感到暖 </DIV>: b+ [1 w$ E5 Z8 l
<DIV id=lrc13 style="COLOR: #666666">如果生命 </DIV>
% a* h9 ~, J9 ^: f, @5 `<DIV id=lrc14 style="COLOR: #666666">没有遗憾 </DIV>
4 V! m% Q' x' @/ T& s: M<DIV id=lrc15 style="COLOR: #666666">没有波澜 </DIV>
$ ~$ g' M% L7 A<DIV id=lrc16 style="COLOR: #666666">你会不会 </DIV>( ?, |7 K- P `" \
<DIV id=lrc17 style="COLOR: #666666">永远没有说再见的一天 </DIV>
! o; {9 B) c9 V7 P; t" w% S<DIV id=lrc18 style="COLOR: #666666">可能年少的心太柔软 </DIV>
* W; H$ J" P% [) w% n/ s+ Q1 _<DIV id=lrc19 style="COLOR: #666666">经不起风经不起浪 </DIV>5 i( X. W. G8 p" _7 w% ]
<DIV id=lrc20 style="COLOR: #666666">若今天的我能回到昨天 </DIV>
, `, X% X) ?$ ~9 Z<DIV id=lrc21 style="COLOR: #666666">我会向自己妥协 </DIV>
* }. G z; w/ `$ ^& q<DIV id=lrc22 style="COLOR: #666666">我在等一分钟 </DIV>( {3 W' ]& M; ]4 S( S$ U7 u
<DIV id=lrc23 style="COLOR: #666666">或许下一分钟 </DIV>
0 a& @& [2 c9 O* B<DIV id=lrc24 style="COLOR: #666666">看到你闪躲的眼 </DIV>
5 u- Z# i2 i+ q& U, G& P" E<DIV id=lrc25 style="COLOR: #ff3300">我不会让伤心的泪挂满你的脸 </DIV>4 ~3 ?/ L3 F1 |
<DIV id=lrc26 style="COLOR: #000000">我在等一分钟 </DIV>1 [4 A) }, S% J \' k' V
<DIV id=lrc27 style="COLOR: #000000">或许下一分钟 </DIV>
" a& X# P8 o6 q& g B. \<DIV id=lrc28 style="COLOR: #000000">能够感觉你也心痛 </DIV>* d) ] t" s, y# f6 c. ^
<DIV id=lrc29 style="COLOR: #000000">那一年我不会让离别成永远 </DIV>
3 ]! i3 ]$ P+ i/ u9 G7 r6 j<DIV id=lrc30 style="COLOR: #000000">如果生命 </DIV>
% I& m, `: ^7 ]; }4 T<DIV id=lrc31 style="COLOR: #000000">没有遗憾 </DIV>
) Z& {, x" B, J<DIV id=lrc32 style="COLOR: #000000">没有波澜 </DIV>
/ d- q: I# d2 p* w- e. @: _ ?& I<DIV id=lrc33 style="COLOR: #000000">你会不会 </DIV>4 S5 u% c5 V4 C3 ]2 Z7 ?
<DIV id=lrc34 style="COLOR: #000000">永远没有说再见的一天 </DIV>: I& G4 u3 ?# E1 F5 ?2 m2 \
<DIV id=lrc35 style="COLOR: #000000">可能年少的心太柔软 </DIV> W5 v W" g/ k) j
<DIV id=lrc36 style="COLOR: #000000">经不起风经不起浪 </DIV>5 A" z- Q( _& Q- x
<DIV id=lrc37 style="COLOR: #000000">若今天的我能回到昨天 </DIV>
& r, Z0 ?, w; R7 r; O$ f) I<DIV id=lrc38 style="COLOR: #000000">我会向自己妥协 </DIV>
; X- b; z2 f3 R; M<DIV id=lrc39 style="COLOR: #000000">我在等一分钟 </DIV>" q2 x3 v7 M+ ^5 g
<DIV id=lrc40 style="COLOR: #000000">或许下一分钟 </DIV>! G- c+ w$ ?3 A* e c
<DIV id=lrc41 style="COLOR: #000000">看到你闪躲的眼 </DIV>
) k( ?! F# u% e4 g& ^( z/ B2 m! z<DIV id=lrc42 style="COLOR: #000000">我不会让伤心的泪挂满你的脸 </DIV>
7 X4 w: ^1 f; \0 }2 c E I<DIV id=lrc43 style="COLOR: #000000">我在等一分钟 </DIV>6 \( W+ `8 D$ P: G7 i% [! J# z
<DIV id=lrc44 style="COLOR: #000000">或许下一分钟 </DIV>
8 ^/ h. ~3 b. \0 d. [1 }' H/ }<DIV id=lrc45 style="COLOR: #000000">能够感觉你也心痛 </DIV>' k5 q. ?* J }# Y- M: x: q
<DIV id=lrc46 style="COLOR: #000000">那一年我不会让离别成永远 </DIV>
! S, V! o& u# E, a/ W6 R! w<DIV id=lrc47 style="COLOR: #000000">我在等一分钟 </DIV>
) j$ y) `( m) m3 i<DIV id=lrc48 style="COLOR: #000000">或许下一分钟 </DIV>
& ^7 x! o* y7 T9 O8 u1 Q+ v<DIV id=lrc49 style="COLOR: #000000">看到你不舍的眼 </DIV>
' S7 K% H6 }( O7 j- n3 ]<DIV id=lrc50 style="COLOR: #000000">我会用一个拥抱换取你的转身 </DIV>
, s# N/ X2 l s( M- M! Z<DIV id=lrc51 style="COLOR: #000000">我在等一分钟 </DIV>$ T* B# A* K; d4 ]
<DIV id=lrc52 style="COLOR: #000000">或许下一分钟 </DIV>
0 L6 w# f" {/ d/ P& A/ D<DIV id=lrc53 style="COLOR: #000000">如果你真的也心痛 </DIV>4 ?: H. {3 n8 f+ D5 T7 L
<DIV id=lrc54 style="COLOR: #000000">我会告诉你我的胸膛依旧暖
$ s6 L: T# F8 D: w+ H<DIV id=lrc style="DISPLAY: none"></DIV>
8 h" m: R: P" R" V0 L<SCRIPT type=text/javascript>
: d* S, G0 [0 Fdocument.domain="1ting.com";
/ S6 a/ q# I0 A- Yvar colorPasted="#666666";6 S$ b3 @4 w9 H d+ U4 g5 g
var colorPlaying="#ff3300";
* j# l! B, Z' u5 B6 r3 `var colorNormal="#000000";6 g6 @- d* v8 D
$ = function (a,g){
4 _3 [9 W5 r4 L3 V var o = new Array(); - u W4 Q; R8 o6 f# {
var c = new Array(); 7 B9 l& W. U! {6 I! x
var r;
+ |+ v, O8 o$ X3 k6 V0 [- `! X var u; l- V- i. R! }+ X5 d
var a = a.split(';');
% R+ h* P7 e4 a7 R& C) d' q! D
8 {+ y& B; e' W( x var e = "keydowns,resize,load,dblclick,click,mouseout,mouseover,mousemove,mouseup,mousedown,inputchange,inputfocus,inputblur".split(",");
" ^2 ~! b7 F: q9 R B for(var i=0;i<e.length;i++){
2 N$ Y- X& Y/ L/ E eval(e<i>+" = function (s){eval($event('on"+e<i>.replace("input","")+"'))}")) _; _) A8 p6 h9 }
}
+ x0 q3 i0 h) {2 a) p( `! K! p6 }; M1 y2 V2 y* a4 }* X0 a
after = function (t,d,s){
5 F- _6 N0 n5 c) s! s $after = function (){% }9 r F' i) G2 o& p4 u8 f9 x; Z
var $n=document.createElement(t);, a' W4 b7 J$ x: P X$ a
if(d!=null){
/ h n& X7 J% D4 A6 | $n.id=d;
0 `6 l; F! |- ]) } }
. y/ |( o7 B& ^+ k. z( ?5 y
/ Q" S! c2 Q% ~7 ?6 f: |# } u.insertBefore($n,null)
3 l0 {8 P$ Q& w" w6 i, Z/ N r = $n;
7 z* p+ _# e0 ]. a+ ^ u = $n; " u1 t6 g2 d7 }- r" _9 P
}
- ~6 P3 L- e! j. ?& k9 Y $for(s,"$after")3 q" a* f% E! {1 O5 d. J1 m
}
+ v: @/ t/ r% f: q% q6 M
) H! g: ?$ |4 ]; {* e. ~- t$ s show = function (s){
- K+ Q6 ]( `+ Z3 J( n $show = function (){
4 {* M9 f/ |$ e1 S+ h% w O u.style.display!="none" ? style("display:none") : style("display:block") ;
! H1 S* W, k% H2 z" X3 `0 y | }
' K1 L' u# G+ C& C3 U $for(s,"$show")
( F$ \' b; i ?4 \/ j }4 _8 J/ x9 {% @& ?, R
# T( X8 D/ R% l) o check = function (t,s){
& x) A z3 S% w4 x' I& l: K $check = function (){8 D h, }4 L- O
if(t=="2"){' _) K Y% k$ R
if(u.checked){
; e; m, D% G8 p7 L$ [ u.checked = false;# S" T# Y+ p; o8 ^- Z; n( x4 Z
}else{
3 m2 I q+ y3 X5 s' g- @ u.checked = true;
* G) v# [9 N% ~# K/ {" U }3 v0 |2 |0 [6 o+ q& ~4 |
}else{1 @4 k, R8 w# ^3 N- @6 E
u.checked = t*1 ;! t9 h0 A# e. N) N$ q: f; B
}
# _% C% I: X, A* Q }
* t4 V% z" Q" i) N7 O1 c $for(s,"$check")
( M- y9 w) [* ~( A8 G }
# a A; ^$ p1 m% f, ?* g- P% F) {& j) l g& g3 e3 C T3 U. {2 C
style = function (v,s){) _( V3 G u( f; m/ w* V
$style = function (){" R! I: s0 S8 h3 s# _, a, D- H" K
var $n = v.split(",")
0 L6 {( i( P& Y( R# ^ for (var i=0;i<$n.length;i++ ){
0 k. y1 U7 d) W) k; ^4 y, \ var $m = $n<i>.split(":")
) E9 B/ K# f1 p* C2 q# b eval("u.style."+$m[0]+"='"+$m[1]+"'");
, I& R! Z: U- j% ]5 n }6 e; M' e3 K% _8 O( N) h
}: Z' ~7 r5 f2 _3 S& A2 r! I. y7 d- y
$for(s,"$style")
* N/ `& V- d9 W }
3 v9 s2 w. Z, a/ X @2 s8 u1 s2 O; ?) u' u; i' }
value = function (v,s){5 g0 @% _, [& L3 C7 ^: R2 t
var $n= $this (v);
! i y! J, S+ E Y& r* { $value = function (){' T4 Q, P8 e7 {' q
u.value = $n
7 B/ M6 D {! m$ H1 L' f% a }
8 u; Q- ^. L* y' {0 [ H; E $for(s,"$value") ' G3 P0 n% ]- r( E( [! q* F
}9 e1 y) s# ~: q4 e/ @. X; i9 n) Z' h3 H
2 {4 b* E& J5 T; z
text = function (v,s){8 v- \% J( b; k" ~
var $n= $this (v);" a& B! |. q7 h. d" p5 z
$text = function (){
& Z. g- P- R1 U1 e0 i: m3 @$ q' }, { : r. y5 c, V. n( A; E9 q
u.text = $n5 k* P4 I+ Y9 R( n& ?
}
% a4 R# |1 s; [( T/ H $for(s,"$text")
! t! I4 n% t* t3 b }3 _+ F! ? t! a, N' u. B
6 Q0 g+ L1 o- X. F
innerhtml = function (v,s){
7 n9 L( e7 W3 C! t var $n= $this (v);( d' U) B9 T/ h5 d- O9 R( Z
$innerhtml = function (){
* }& O m# f0 D% s* @* }! ? u.innerHTML = $n
# I: Z* C' B$ L }
7 k' q7 i* u# i) _7 h $for(s,"$innerhtml")
$ ?% _# B4 q% ? }; g Y( X. L9 a+ Z$ S0 O
5 A$ e& \/ S; p1 ]
removechild = function (s){: O& M6 Y" t- W" s7 T. @+ I
$removechild = function (){
( a/ h# \' w5 ]0 |8 D0 G. L' L u.parentNode.removeChild(u)9 @5 E1 d9 M% n* D( M/ R4 O8 j
} l, U' g0 p! N' I" R
$for(s,"$removechild")
# u( l$ f- T% m' D; T: o }
) \% U G- z' ]& W' d
5 F. Z0 l4 h! v $this =function(v){: K' Z* _4 b' B
if(v.indexOf("this") == 0){
( g' [) D$ T2 n9 O return eval(v.replace("this","u"))7 k" Z# A" v( t0 O6 c- n8 `
}# d: M. R( n- e' Y
return v;
, L7 }, b* |4 ^, m/ G. H5 T% a+ m }/ [. X, l- t# |0 u, G& W3 b
: o6 c4 {* m+ [% r3 g; v $event = function (s){. w% s$ d+ S, o1 f, n
var $n ="u."+s+" = function(){$work(this,s);}"
: V/ S- a" j+ r. f/ ?: k3 N' H. t return $n;
9 b6 J6 |) B9 `: ? }- x* e8 \- d2 D; {% V; @( ?7 N D
5 [5 h" z+ H' u
$replace = function (s){
/ n, {/ J% j1 O
( h7 H, C( P1 {3 h8 M* J }/ {: o/ @( h1 P; b! ]4 j: U4 Q8 X
1 @6 G% X2 u0 F1 I! |- l5 ~8 P $for = function (s,c){
: \& Q* C) i0 P) Z: y+ T var $n="this."+c+"()" ;
, j _0 s, T% E if(s!=null){
- S5 K( u3 C/ }: U7 O& e* o2 p var $m =$test(s);" R# W* W5 s4 u: o+ @
for (var i=0;i<$m.length ;i++ ){$ U9 U+ @) p4 R
u = $m<i>;
& f7 m9 X( `; n5 q: X eval($n);3 J3 b$ t$ R0 ]1 e
}
. F1 Y( b5 V5 W. c }, v9 l! s; j1 |( k0 e
else{" u! z6 F3 G; ^/ S
eval($n);
! @) W; Y. ]& x5 f" F, e& N }1 O! [! Y2 j ]0 g6 V
}
4 H* e* _) x, c5 H
6 Q8 I: b( r4 C" o $test = function (a){1 D( D3 D3 F/ m x
var o = new Array();$o(a.split(';'),o);4 |7 v2 G1 B' p5 d& c" v3 ]
return o;
% E$ V4 x; [0 u4 U8 n) B }. K3 r4 V( V9 X/ w4 }
4 w T; E9 P0 t6 Z
$format = function(s){
! Y o2 P' L; V while (s.indexOf("'")>0){ g( g; x0 D" }! t3 u! t* r' F! @+ E
s=s.replace("'","\"");( {8 A$ s) v' x; s0 ?* A$ P0 d
}
" P/ |0 k2 @; D while (s.indexOf("][")>0){5 F* ~. `, s4 W$ `
s=s.replace("][","','")
+ _- r2 N8 P, x% G5 | }
5 ?" K. W# U6 P# v( U* | while (s.indexOf("[")>0){2 \, C2 f$ z! P
s=s.replace("[","'").replace("]","'"): I* g9 j' D& H* x- t: x7 o
}
- \- q- s. @) r# N2 r1 Y' z return s;" U/ T3 J( D$ L% {. K
}1 X' y m4 W1 W, r D* u0 u$ b5 }2 W, z
/ P: W) n( }) ~& j
$work = function(w,s){! T8 v/ H3 M. H* g! s
u=w;eval(s)
. _$ S* p9 r% `) Q' u% F }
+ \6 u* N0 ^; n( @
. L6 K; }9 R! m9 z $id = function (s){) V2 y! C2 {' J7 K2 k9 k
return document.getElementById(s);
1 p; A+ q. z4 n. ?/ m }6 U X' S; ?1 o) N
' V3 q+ K9 `0 t
$name = function (s){# E3 v* S7 `( }1 B3 j
return document.getElementsByName(s);' P' c a5 J+ I/ q
}
" x4 o+ [" s w: g
; { O1 x* M; V $tagname = function (s){
+ w+ U2 \% @0 [) } return document.getElementsByTagName(s);6 a: Q4 E6 n, r) p
}
U- j# h' I$ N7 ~$ B. W
1 `$ a, A) a K. g" g2 b8 q $o = function (a,o,c){3 c1 `( h3 v5 _6 M4 h! g; a
$push = function (n) {8 P C. e1 u8 |+ x+ ], y4 c( H
for (var i=0;i< n.length;i++ ){
+ {0 r6 _& m" m# u3 J o.push(n<i>);0 |5 |5 z( M% N) `; h
} 0 a' ]( I% C5 f
}& z% Y/ I* v8 v' X S
for(var i=0;i<a.length;i++){2 r y5 a) X2 H. L! }
if(a<i>.indexOf("(") >= 0){
6 s6 x1 H2 x" m( ~& ^ I% X c.push(a<i>);! Q1 M' n2 n: O# ?- V+ [4 q
}
" l2 g4 M% G+ p if(a<i>.indexOf("~") > 0){: Q. ^9 i# e4 m3 y5 M3 i
try {
; P) J8 ?- J, N- o $push(eval(a<i>.replace("#","document.getElementById('").replace(" ~ @","').getElementsByTagName('")+"')")); g+ Z$ a, {, S
}catch(e)
3 c& N; Y8 g) v# ^ {}
, T) L/ w9 Q5 ~: D }( l" ]2 D3 J' d v; D3 F8 I
else{
+ x) Q; n6 q2 ~: Q* Z! p if(a<i>.indexOf("#")==0){5 ?3 j. [' G, N Z$ V
o.push($id(a<i>.replace("#","")));' ^8 }; }' o. T1 Y6 e b+ s
}
, t, {. p5 @1 H7 t- j. Y if(a<i>.indexOf(".")==0){2 [! ]; Z+ `, |) H
$push($name(a<i>.replace(".","")));
$ R/ {$ g: u; ~2 Y0 d }
9 ? C2 S! ^3 J) @- x: `; t: G5 ^ if(a<i>.indexOf("@")==0 ){
/ s+ E6 h* L& x. t) a7 P1 i' p4 b) | $push($tagname(a<i>.replace("@","")));
) Q6 \, I9 Z+ B }
L* C/ v5 d3 A. x# @) ? if(a<i>.indexOf("*")==0){
% A2 i y4 L" b% H" C $p= a<i>;
- u' s/ ? ~9 } if($p.indexOf(".")< 0){ C6 V, v8 D; N% r" q, O' p; \9 B
$p = $p.replace("parent","parentNode")
2 @( Q/ Q' z" l8 t- N7 b7 T }
% J' V8 J7 m' {: P9 l+ k5 _ var $p ="u."+$p.replace("*","");( i$ X* _! b1 S, V+ l/ Z
while ($p.indexOf("parent.")> 0){
4 I/ X% p F. J" M3 \ $p = $p.replace("parent.","parentNode.")- Y% ]: ^: X- e8 n& g( c5 F; E
}
! W1 o4 B' T7 u; T( K3 L9 c' n while ($p.indexOf("child{")> 0){& b9 x% v/ i* n$ G5 a9 Y
$p = $p.replace("child{","childNodes[").replace("}","]")
- ?' G Q% \0 U! C* k }8 x2 w8 ~$ i" k B8 G7 ~5 E
o.push(eval($p));( I0 L" c& L% |( [4 D( N; H: c0 F
}
- a) E8 ]" _4 e: |" Q) x1 S if(a<i>.indexOf("document")==0 || a<i>.indexOf("window")==0){) Z5 U( l9 Y9 x# |3 j7 u y$ Y
o.push(eval(a<i>));
" s7 i, u5 q, Y3 u4 Z5 E }
: d' A, h6 u L- |. G9 `( n }
4 x2 z* P# r, f! K if(g!=null){
3 o0 }! G0 k% m o.push(g);g=null
4 C n& e0 y& k& U2 }% V0 ~( o } ) G) p" g4 q7 o8 k# Y$ [1 \. {' m1 w7 Q
}: i" q4 ]; P7 e6 f4 h
}( `2 W5 m8 {; P
5 X! V* l4 q5 L+ D6 }7 `2 Y8 ^ $o(a,o,c);
9 U. i4 [( D, H8 B) t2 w' q/ Y: L% {. W( }) Z% y
for(var i = 0;i<o.length;i++){
8 ~' v# ?: w, ~% [& A for(var j=0;j<c.length;j++){5 [# R$ ]8 d4 m( s( D
u = o<i>;eval($format(c[j]));9 |( e5 X/ {7 ]+ J% N
}1 c; T- _/ e8 v- _; s0 c
}
! l' S* B" ]& D$ g
2 u; D, Z+ ?% f if(o.length == 0){
7 b& R/ Z' R1 [$ U( s; v. t: q' S for(var i=0;i<c.length;i++){
4 A3 c, C) c; C6 \9 ~8 v" w; ] eval($format(c<i>));) J B1 Q, Y5 z* l6 n& h4 n8 B
}
+ t* N4 v" w' N) m# }$ M }$ M# }7 Y9 P6 h8 a$ E7 ^ u: O$ O) U
* ^+ [, x/ _+ E b" c" V/ @ if(r!=null){0 ?8 I' I6 ^9 Z' W3 x
return r;$ A4 q" E. {0 U j
}- Q+ f3 g- ^: d0 m3 j, g
$ a. ^, ^( Y9 D' n. R7 B& j if(o.length==1){* M: a) M& a/ W4 P2 z' q) @: u& U
return o[0];( k7 k/ `1 |& z7 S9 s0 t
}
. c$ l5 o% ~2 v- U4 u else{
2 ~1 {5 r7 n% T6 L return o
% H, Z: m+ x( I/ K- s } , n5 h! w( y* h1 T5 H" U
9 d' R: x, O1 S& x% ? }0 m5 {" O6 n/ e+ U' K5 z% }
var lrc =$("#lrc;show()").innerHTML.split("[");) K5 c0 y! N8 V5 E1 I
if(lrc.length>5){
& A8 K) L+ A$ \- H9 T: fvar array = new Array();
6 Q b V% n" z5 P3 C$ J" kfor (var i=0;i<lrc.length ;i++ )
4 j% u! ] A& Z$ X' u{
; \) M& p; S. F8 H var g = new Object();
5 {; W9 i( h( @& {' Q: C& q t= lrc<i>.split("]");* a. W& b0 S6 y8 i: k- o4 W
g.time = getTime(t[0]);
: X2 r4 ?* n! [. r% u2 c if(isNaN(g.time))
1 s% d& n3 N* M& m9 P) d) Y8 @ continue;& C$ u6 j& @4 W# W- v, j4 V1 V
g.c = t[1];" A" w2 M* H( [* \
if(g.c == "")
$ f& p& A' v# L" j e- h6 ?4 x g.c = getNext(i);
9 w; A& \8 e' z2 r array.push(g);; ?; c2 H4 \0 D. D2 q, F5 I1 F
}
( s8 C9 r- y# _array.sort(function(x, y) {7 z |) m8 f3 w3 c. ]
if (x.time>y.time) 1 y2 _9 m/ X5 J
return 1;% M& C" [5 X2 {) Y! w
else if(x.time<y.time)) Z: ~7 x9 ?& y$ P; G
return -1;* s2 ]0 S h7 ^7 q0 n h q
else
. a- W+ K9 x" e z0 @ n% y$ J, L; L return 0;& F: X8 T7 q6 ?/ f7 J" u+ d+ H/ g
}
: \/ B* k D# Q* v5 r);/ o% x8 M. ]' t s, K% d$ Q; p
for(var i = 0;i<array.length;i++)1 x% B8 T; l, k `" o) v! m
{
1 s1 i; u2 g" F var g = array<i>;
+ ^$ I% }9 _7 P if(!g.c){
L& @& D! w1 S% }$ @, @ g.c="";
; X( U# Y$ h' A7 { }1 R) d4 Z% Z1 _, q, d0 A
$("#list").innerHTML+="<div id=lrc"+i+">"+g.c+"</div>";* @0 T/ M. D" G0 K
}6 n' a) D& E3 |5 `# g
var time = setInterval("lrcList()",500); 1 x8 S0 o5 N! D% `" _2 ]$ U; P3 W
}else{; u, {/ [- E G1 c! m+ O2 l0 C* c
$("#list").innerHTML=$("#lrc").innerHTML;
& [. D+ Z* G; ]( u}
8 q! w* |# T% {; Q3 n4 Z8 c' `function getNext(i)7 `4 I1 n; z6 g B6 y' m( V) z
{
/ F6 Y" q) v! i var result = "";8 F0 R( m7 ^$ k0 ]: L; H) f
var i = i+1;+ V0 p/ a* y$ a- O" G
t = lrc<i>.split("]");
7 g3 f* l2 y9 Y. w" t if(t[1]=="")
" I u& y9 r2 a result = getNext(i);
7 f+ k2 |- i: h a else
( b7 f" k- D: T v/ E result = t[1]: j9 q; y2 h, y g' m
return result;
8 Y4 M9 H; a/ y}4 f; n | q: Q% y2 X ^" p! z6 D
0 I2 L! Q" ^7 g- }- {- ~7 \# ]function getTime(str)$ K2 K. V$ l, g5 a
{
) \+ w: V2 y5 a var time =0;
I1 j: s2 ], A! a$ E var ta = str.split(":");
+ c6 E. n6 N5 z) H2 ^/ g if(ta.length<2)2 Q2 l) U: q3 |/ d: C9 L" J( s9 M
return time;
; R* c' H) x" f- x9 b' w [1 ~5 J8 l. k6 {
if(ta[1].indexOf(".")>0){
5 W. V, ^+ R8 E- b# I var tb = ta[1].split(".");
" B: u; g/ J$ @ time = ta[0]*60*1000+tb[0]*1000+tb[1]*10;5 `2 R- e# e: t9 L5 {+ r. B
}1 j5 k3 c5 l& s$ J8 A+ K
else% M1 U N; K7 ^4 Z5 J" @1 @
time =ta[0]*60*1000+ta[1]*1000;
: I5 ]3 d8 U# G- E# I( x return time;
5 v3 Z' b" s- O}8 e1 i. G, E$ q
var preTime = 0;
' I" B3 I: r: y% J6 q( A, B8 Rvar nextTime = 0;
1 V; E1 Z" g; V* M$ f p, @1 R4 C9 Vvar currIndex =0;
; f; n9 l; F% R7 zfunction lrcList(){' L: O$ k, n! @" f2 ~" N0 H% \2 F
var s = parent.document.getElementById("MediaPlayer").controls.currentPosition;
1 E0 }5 S0 V8 k( k9 t4 T s = s*1000;
5 I1 x6 u* A. }8 o$ Q ]( S. K if(s==0){
) o$ a8 j, U1 |+ M currIndex =0;
% C( N& p6 c. k. F $("#list").scrollTop = $("#lrc"+currIndex).offsetTop-30;
L" Y$ |$ H1 |; l4 E7 B0 h3 r( c+ T for(var i=0;i<array.length;i++){
7 N# `2 y' E5 Y/ A! m! w document.getElementById("lrc"+i).style.color=colorNormal;$ ~) R: Z$ a( P r3 |$ o
}
$ ^2 j: T/ x* } return;* q0 K& j9 N; O0 r
}/ d5 M2 Z( V; J+ @/ z
if(s>0&&currIndex<array.length-1)
. L+ [! a6 X6 h7 N3 k& F+ q# c { 1 t I% c- `0 |9 J: g5 {, I5 R
preTime = array[currIndex].time;! H/ }+ g5 D, m; p! q! X) z4 D
6 K7 E8 R2 e+ j5 r
nextTime = array[currIndex+1].time;! \7 B8 k; f3 H$ h! v$ c5 K
+ J8 i+ X }+ x- f7 r5 i+ ?. q if(s>=preTime&&s<nextTime){! g! J: c) @7 r5 p; N0 m+ |
} z& F% ^# B/ D2 m, ~
else if(s>=nextTime)& _# @: q4 [7 p' `! K: s- ]- ~
{
C6 z2 D' [6 W5 [ document.getElementById("lrc"+currIndex).style.color=colorPasted;
- y$ G# |- Q' A% w& c currIndex++;
6 y# `# G- E8 O- C/ A$ T" T6 L9 ] $("#list").scrollTop = $("#lrc"+currIndex).offsetTop-30;" \5 Y& s7 D( y& e2 o- k* i
document.getElementById("lrc"+currIndex).style.color=colorPlaying;( y6 J2 K6 F9 Y5 v: }6 l% P, c* p
lrcList();, Y2 T' O6 q: _* s2 U
}
1 o8 g; i5 m" v- o4 I" r4 @ else{( g1 B( K+ g( x* X
document.getElementById("lrc"+currIndex).style.color=colorNormal;$ C/ ?+ k2 v; S" Y( V
currIndex--;
% Z; K) x Z! h+ F4 G6 o $("#list").scrollTop = $("#lrc"+currIndex).offsetTop-30;
4 r2 m, Q8 w4 {% f$ Q document.getElementById("lrc"+currIndex).style.color=colorPlaying;0 x$ F# x- D9 S3 C, U
lrcList();
9 i K6 V5 N9 d( ~ } 7 l: B8 v( ]. o# E( i
}
' ?5 A' V2 k/ H4 \8 p c else4 S; _$ L$ S+ `8 y2 G
{
; p% |8 o' y4 i/ X) M6 | if(s<array[array.length-1].time){
% X% k' l0 E7 c* p4 M currIndex = 0;
8 \ @: K/ x6 P5 m $("#list").scrollTop = $("#lrc"+currIndex).offsetTop-30;6 d' i$ }; j8 \) Y1 N; Q
for(var i=0;i<array.length;i++){: h5 _! h7 L0 A; P4 b p
document.getElementById("lrc"+i).style.color=colorNormal;
% [9 u/ H& { U; k* u1 C* C }1 _7 j/ \; X- F4 I3 n' G# `
lrcList();$ T2 F0 w# H3 T, u) `$ H. K) \+ h
}9 ?( B( O6 j" x: h
}; P" {+ y- Z: C2 f* u
}" |( l' L& l) B% K1 N
</SCRIPT>
4 t: J5 i2 q9 O9 }7 i, C/ T</DIV></DIV>: ?7 J# f) j* Z1 W6 ^
0 s2 U" N( A0 F% A% o3 d[ 本帖最后由 幽谷兰 于 2008-9-18 17:36 编辑 ] |
|