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