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