|
|
<DIV id=list>
. J1 Z0 d: S6 X1 J$ u$ H% {<DIV id=lrc1 style="COLOR: #666666">[wmv=0] http://lzbj.ncedu.net.cn/uploadfile/20083923248279.mp3[/wmv] </DIV>: {% e8 Y4 Y6 t% ?0 s
<DIV style="COLOR: #666666">|等一分钟|听到这首歌,觉得它很动听,旋律很优美,很是喜欢,传上来给大家听听。</DIV>: U' z( m6 j; ?, b2 A( J1 n
<DIV id=lrc2 style="COLOR: #666666">词曲唱:徐誉滕</DIV>
" j0 [- @7 d; ~1 l- l/ R' ~4 i0 B<DIV id=lrc3 style="COLOR: #666666"></DIV>9 m% U8 u- l& P, F9 W6 {
<DIV id=lrc5 style="COLOR: #666666">如果时间 </DIV>
7 }' o% e# Z q<DIV id=lrc6 style="COLOR: #666666">忘记了转 </DIV>
' c3 ~+ i6 g* T7 B( M4 O w0 {% J<DIV id=lrc7 style="COLOR: #666666">忘了带走什么 </DIV>
4 V5 \: j% p5 Q2 x! n3 H* n<DIV id=lrc8 style="COLOR: #666666">你会不会 </DIV>7 I l( ~; m; n: S, L$ g; o- N
<DIV id=lrc9 style="COLOR: #666666">至今停在说爱我的那天 </DIV>0 P( }, J. Z; }
<DIV id=lrc10 style="COLOR: #666666">然后在世界的一个角 </DIV>1 t' i' w8 L4 J0 E. v0 D/ V
<DIV id=lrc11 style="COLOR: #666666">有了一个我们的家 </DIV>9 f5 ~5 o1 I: F* b3 m0 [% D
<DIV id=lrc12 style="COLOR: #666666">你说我的胸膛会让你感到暖 </DIV>
: a% v% g0 M5 ~8 t7 k<DIV id=lrc13 style="COLOR: #666666">如果生命 </DIV>
0 }- m4 V* G# I+ x, q/ l6 a<DIV id=lrc14 style="COLOR: #666666">没有遗憾 </DIV>+ S0 X' A# Y6 ^
<DIV id=lrc15 style="COLOR: #666666">没有波澜 </DIV>
5 F9 c1 P8 }1 x- q: Q2 g7 f& }$ c<DIV id=lrc16 style="COLOR: #666666">你会不会 </DIV>
6 }' D2 |2 O& D" }+ Q# S% ?<DIV id=lrc17 style="COLOR: #666666">永远没有说再见的一天 </DIV>4 y! u0 }4 x) D" O# i! r( M' ?+ S
<DIV id=lrc18 style="COLOR: #666666">可能年少的心太柔软 </DIV>7 E" Q' ^6 C& ?
<DIV id=lrc19 style="COLOR: #666666">经不起风经不起浪 </DIV>
! j; F- Z1 N, j3 p" j; a<DIV id=lrc20 style="COLOR: #666666">若今天的我能回到昨天 </DIV>9 Q2 k6 x$ P( P( ~, b( j+ m
<DIV id=lrc21 style="COLOR: #666666">我会向自己妥协 </DIV>
7 W. p+ B0 C3 g2 q& E0 O<DIV id=lrc22 style="COLOR: #666666">我在等一分钟 </DIV>) M% X: \( ?3 i7 S& ^
<DIV id=lrc23 style="COLOR: #666666">或许下一分钟 </DIV>1 _1 v: K8 Q+ C0 H s% L
<DIV id=lrc24 style="COLOR: #666666">看到你闪躲的眼 </DIV>
0 K' b* Q" V$ s1 y1 X! Y/ T<DIV id=lrc25 style="COLOR: #ff3300">我不会让伤心的泪挂满你的脸 </DIV>
7 E0 U7 F, ?4 |$ J<DIV id=lrc26 style="COLOR: #000000">我在等一分钟 </DIV>0 K, z0 D; T: J
<DIV id=lrc27 style="COLOR: #000000">或许下一分钟 </DIV>$ z; z$ k5 M$ {8 X
<DIV id=lrc28 style="COLOR: #000000">能够感觉你也心痛 </DIV>! B2 C9 K7 [& Z' t0 e+ Q
<DIV id=lrc29 style="COLOR: #000000">那一年我不会让离别成永远 </DIV>
! ?3 A9 r; Q9 d% N: c1 v<DIV id=lrc30 style="COLOR: #000000">如果生命 </DIV>
% @! c+ A0 r# z5 Z<DIV id=lrc31 style="COLOR: #000000">没有遗憾 </DIV>: z- O F$ h% T8 P5 F5 d: m
<DIV id=lrc32 style="COLOR: #000000">没有波澜 </DIV>9 U6 {2 g$ z |% c
<DIV id=lrc33 style="COLOR: #000000">你会不会 </DIV>6 i; K! h2 V6 _4 i$ P0 x9 e
<DIV id=lrc34 style="COLOR: #000000">永远没有说再见的一天 </DIV>
' C' j: m( p9 p3 }<DIV id=lrc35 style="COLOR: #000000">可能年少的心太柔软 </DIV>
( `* j9 r4 ]. e<DIV id=lrc36 style="COLOR: #000000">经不起风经不起浪 </DIV>5 D' q7 S$ a8 a5 a* r( n
<DIV id=lrc37 style="COLOR: #000000">若今天的我能回到昨天 </DIV>7 s) B( ?0 q# [- W
<DIV id=lrc38 style="COLOR: #000000">我会向自己妥协 </DIV>
. }0 p" R- `) X; O/ e9 i ]<DIV id=lrc39 style="COLOR: #000000">我在等一分钟 </DIV>2 b" w: k5 N& J3 p1 I
<DIV id=lrc40 style="COLOR: #000000">或许下一分钟 </DIV>
" ^0 H0 G6 y1 ?& e* K<DIV id=lrc41 style="COLOR: #000000">看到你闪躲的眼 </DIV>0 P4 ]# g* z/ _
<DIV id=lrc42 style="COLOR: #000000">我不会让伤心的泪挂满你的脸 </DIV>" b- o- i* v1 p* {! a
<DIV id=lrc43 style="COLOR: #000000">我在等一分钟 </DIV>
* L" S" E% N& E3 K" L# Q<DIV id=lrc44 style="COLOR: #000000">或许下一分钟 </DIV>
; X4 B' Z) Z: J0 h7 n) S+ k" S8 T- p<DIV id=lrc45 style="COLOR: #000000">能够感觉你也心痛 </DIV>
, \9 S: a7 H8 i3 a! \<DIV id=lrc46 style="COLOR: #000000">那一年我不会让离别成永远 </DIV>
0 Z3 K. e! f8 f0 j0 E<DIV id=lrc47 style="COLOR: #000000">我在等一分钟 </DIV>( [6 Y1 M! d. T2 k7 X/ }: M
<DIV id=lrc48 style="COLOR: #000000">或许下一分钟 </DIV>
; p$ I9 |8 b# q! T. o# q; t<DIV id=lrc49 style="COLOR: #000000">看到你不舍的眼 </DIV>* O4 b8 S& F" S3 y: V
<DIV id=lrc50 style="COLOR: #000000">我会用一个拥抱换取你的转身 </DIV>
X8 Z$ u9 p/ y4 d/ c7 Q' E+ U<DIV id=lrc51 style="COLOR: #000000">我在等一分钟 </DIV>
4 I6 j7 j# ?5 Q0 _# Q' x<DIV id=lrc52 style="COLOR: #000000">或许下一分钟 </DIV>
4 R0 v6 ~' a1 W% B- {6 P<DIV id=lrc53 style="COLOR: #000000">如果你真的也心痛 </DIV>
) u( [; s, p4 G$ X, f6 {<DIV id=lrc54 style="COLOR: #000000">我会告诉你我的胸膛依旧暖 $ D5 }* u9 U5 C5 l; b* C0 y( ~' A# G
<DIV id=lrc style="DISPLAY: none"></DIV>
7 ~$ ]# H- Z) B) k* b5 ^( h2 F0 f0 J<SCRIPT type=text/javascript>* h+ T- v a* G3 [6 P Y2 B8 A1 \; [3 q
document.domain="1ting.com";
V1 h% e8 J4 [var colorPasted="#666666";8 @0 G! ?4 K( G& K# S! `) U" W
var colorPlaying="#ff3300";
. ?( U3 _2 a: G3 W2 V* Rvar colorNormal="#000000";5 _0 T2 @8 Q/ d; N& y$ w
$ = function (a,g){7 W, d4 u+ @4 \& e- S' d- G
var o = new Array(); + ~8 \8 R( l9 j
var c = new Array();
; v+ j* X/ A) x2 W var r; ' c( `/ l& [/ z8 k! _
var u;
I: `, H7 H" H6 ?# e var a = a.split(';'); 4 h. _) t- O1 [7 F9 M0 c3 J" D
/ Y; C% ^* x# T: u& B var e = "keydowns,resize,load,dblclick,click,mouseout,mouseover,mousemove,mouseup,mousedown,inputchange,inputfocus,inputblur".split(",");
, X a. o& T' h p for(var i=0;i<e.length;i++){% M) a5 [9 K: Q
eval(e<i>+" = function (s){eval($event('on"+e<i>.replace("input","")+"'))}")/ M( s7 i. k. A
}
$ @' J2 D9 |. S1 _% O& z+ P% k6 a* A0 l2 P9 f5 L/ A
after = function (t,d,s){1 I# B( _- u: F# V7 c) }2 ?
$after = function (){8 }# B c. R# f! l
var $n=document.createElement(t);
! u4 \" X, P) i! Y# ~ if(d!=null){1 \7 f' e I/ d }2 @
$n.id=d; ) l. `- r, z6 v+ Z- [6 D$ y. S$ {
}5 z$ z( d# j! Z0 ~' p: F4 U. c, E
/ D9 g6 I+ o# P' p' ?( D+ z, ^ u.insertBefore($n,null)
* B7 L, C+ i" Z3 n0 W r = $n; / c* \' U* F% y7 q
u = $n;
' |$ n& b0 E' g; {" T% u# X; _ }
, I0 d! ?, z! p" A) G4 V $for(s,"$after")
7 A v! D+ Y% \/ D2 i: m }
5 K3 f+ T3 E1 |) s- z% v9 p, C( d3 z- r* A9 f
show = function (s){1 S8 n* E) E2 B! H7 }
$show = function (){ h( P, W7 U7 k- E, M3 u4 w9 k
u.style.display!="none" ? style("display:none") : style("display:block") ;( E, g5 V! X4 A6 ]$ t! v( i% k
} f' y+ \$ H3 ~ `2 O
$for(s,"$show")
$ S! U* C* u c }0 {4 g0 e: a0 A! x4 w- G' y
5 s+ r1 D4 o9 {2 S# x check = function (t,s){
: [5 W+ p2 Y4 _ f9 h: H! u. _4 P, \1 B $check = function (){
, P8 x K* ^8 w5 }' n/ O if(t=="2"){; {7 v2 c0 S; u& F+ ^
if(u.checked){* i# A; @9 Q# k. q, x- a# Y. J) Q
u.checked = false;* e* q$ p9 _# n8 x4 p, f0 T
}else{
/ l+ ]: L K! O" n i u.checked = true;* u# ~5 y2 ?! m, Q h
}! U* X1 o: S7 q
}else{- X) \% d+ a! F( y- N7 F
u.checked = t*1 ;
! ?$ G/ m! O! B) D# Q" J R: W }
) n: A0 Q2 F' K- E }
( A: w0 a s2 G1 o $for(s,"$check")
8 Z& F/ ]! y, E0 m# b }
& E& }6 T4 d( X
" d" O9 ^1 U' `- C: Z! A+ H* g# W* V style = function (v,s){
8 T, |4 ~/ G6 i# {$ a- } $style = function (){' ]+ [# W8 k- {% C# \3 f3 i
var $n = v.split(",") & P& v; |0 w+ G
for (var i=0;i<$n.length;i++ ){
' ? b$ z4 h0 }$ [& d5 P var $m = $n<i>.split(":") 6 W+ ]- F" y, g+ Z% _
eval("u.style."+$m[0]+"='"+$m[1]+"'");( h$ V; R6 Z; U$ E& b
}
8 [, _( G# A, A2 ` }6 H8 X2 z) D7 y: l4 c+ T& T
$for(s,"$style")
) G2 Z6 t5 L" I( Z0 c2 h- ~% j3 Z }
9 d( |9 a7 e6 G7 t3 T+ V+ `
* w) g3 Q: b* W) Z i value = function (v,s){4 S7 F1 E s# q U: ?5 c# b
var $n= $this (v);" w$ `) o* w, S0 m5 R" k$ `
$value = function (){ C7 K x+ C. k! X
u.value = $n
0 L# }: C0 l+ |5 m( J) _ } V+ q! Q, d2 |3 {
$for(s,"$value")
1 C/ a0 V# w3 W4 o( ]: \ }# l. {" `4 j, ?7 _) R
5 a5 k# ^, X* H. L
text = function (v,s){
' |3 N5 z# o* ?$ r9 c8 t5 \$ S3 l var $n= $this (v);
2 @7 | l4 K! t, c& M5 W $text = function (){
& s2 h7 I+ U, [* j
; p/ k; T1 }5 O4 n3 N9 b u.text = $n6 {8 _8 ~& n( w- ]: O7 N% e* a
}
2 X {. ]6 c$ c1 C( w5 Y9 B* p $for(s,"$text") + W: I* U/ `& i/ n9 g# ]
}0 E `: v* B- a: V- K/ _" k
% ^& A3 u+ C$ U6 t M
innerhtml = function (v,s){
# f* \ i; r( J t5 M# r var $n= $this (v);( \' ^3 l! t- }; |1 u" Z
$innerhtml = function (){7 \" H8 O* g) w
u.innerHTML = $n2 Q, R, T) ~9 V5 Q" E) q. ?& Z- m$ B3 f
}
3 h0 T( t% H( O4 t* b {6 z- N! ` $for(s,"$innerhtml")8 }2 y7 M! M/ K; g6 v
}# f7 }6 p- E& t, I: I
; H& d1 N5 j- y6 L# e
removechild = function (s){
( q/ i/ v0 p1 y. X $removechild = function (){; T" s3 q. @# x7 N a
u.parentNode.removeChild(u)
! Y$ [5 h3 s* w( |) l/ ` }
( \, V6 i2 A/ j- Z $for(s,"$removechild")4 V% Y- V( k( d# D" M- l- W
}" H9 g7 m) y9 g( V
" D& G2 O4 v) {3 O& e
$this =function(v){+ s# A/ @! t; g5 h
if(v.indexOf("this") == 0){0 b% s& M+ T Y% P* I6 ?
return eval(v.replace("this","u"))! E5 B3 H+ p8 X9 [* N- H: h
}
" I6 B- Z0 L' i4 E return v;( i A/ ~3 C. i! z& |0 y7 x. V
}
2 P3 G& i* D x/ S+ X" k; n
8 K- T7 X; k3 Q $event = function (s){9 c6 a' |& B# R% ^+ {
var $n ="u."+s+" = function(){$work(this,s);}"
. P7 U9 R: m$ H i return $n;
# @- I+ I8 s- [0 f( v9 ~7 f6 P4 F }
( R1 W% K. [6 f& A" Q2 R. M5 s P5 A$ M9 i; P
$replace = function (s){
9 l0 V3 b5 ~" A# Z: R! I) }7 ]" A$ m( O8 a7 s7 e5 C! i
}
. x8 J" j% a) \8 _0 T3 l: M5 h9 a6 B. t$ L# T( _
$for = function (s,c){" V1 e& H0 ]- X: G' K; u ^/ M
var $n="this."+c+"()" ;& d' I6 e; F2 y4 o4 v. w0 U: b. F
if(s!=null){( Q; y5 K3 Y" K( T# c: n* p
var $m =$test(s);' v7 J6 Y5 |0 v: z: u# a4 P6 |0 P
for (var i=0;i<$m.length ;i++ ){' U9 p" p4 h7 _" V/ _) d. i
u = $m<i>;
# A9 R' j0 W8 A4 X+ ]; V* k eval($n);
: k" q$ {, i1 l5 L }5 o% \% p* G- ~% `0 ~' o8 I2 Z
}
" l3 y' h" b+ w4 _ else{
1 u3 n* R5 V7 R4 f# f- f2 j+ q( _ eval($n);
& x$ ?0 ?- J) {; B9 n }
: O2 S- s5 w6 d' ~ }+ s& U2 ]* d7 N8 K+ r# @% j8 l
1 M( l/ e1 y6 ]$ h1 f
$test = function (a){
& p3 T1 J% r; R" x" `8 Q( | var o = new Array();$o(a.split(';'),o);
2 M; ?' c7 Q& x0 D% j7 N1 e/ m return o;
' I) f" r/ ^; x6 f# l }
% @7 }% Q v( a0 @2 D; m% C3 e- J. e. ]- g- {+ U1 _
$format = function(s){" X' r# v2 ^3 _
while (s.indexOf("'")>0){, w9 p, n2 l* ^4 w1 y( Q9 B
s=s.replace("'","\"");& W* R# \) \1 P8 l" J
}7 G3 w6 ?6 j1 X
while (s.indexOf("][")>0){
, R; Q1 D) C& `* ^# ~/ [ s=s.replace("][","','"). j8 J2 {8 L+ C- ?) A/ M% ]
}* L! U6 q) D7 d$ t% ~% P8 P
while (s.indexOf("[")>0){3 R' V/ A& \0 d. p1 a: I0 \
s=s.replace("[","'").replace("]","'"): h+ Z5 C* ^8 |3 I; J
} 5 n; x1 z c) U) l: j; s) ^+ }
return s;) t) P6 k) p8 b6 X. V3 b
}# w+ P2 K5 m# S
* `: F- ^0 Z( X' F% z $work = function(w,s){3 C5 v+ y; ~6 Q- b
u=w;eval(s)( y* I( u v, y' }) t$ A
}# \4 u4 x7 X1 u4 A+ J4 K* v
* n1 Z4 e% A( O) }) V$ F$ R# n7 B7 } $id = function (s){. X6 z1 Q6 `4 X2 s% J
return document.getElementById(s);8 A0 v% o8 m8 F/ q) I
}
2 ] | f, @) k9 V/ j, E8 U9 D# j
$name = function (s){/ A" v! ]: V$ j H
return document.getElementsByName(s);
. O. Y# m% Q( J0 N2 z }
% h; t8 S5 | F3 u$ X' o
9 T ?4 |- {* y& i: y: e $tagname = function (s){
: Q/ A+ J* p6 t$ S0 x9 A return document.getElementsByTagName(s);
# a7 y2 s: w# ^+ P/ G0 l7 w, D' H }
% M) ?% u/ L8 Q( v( `- Q/ X9 |6 w$ r$ l, U2 J
$o = function (a,o,c){
- B0 T S+ T2 W $push = function (n) {
+ d g* I! N/ M0 F for (var i=0;i< n.length;i++ ){
, B8 ?8 U$ D+ {0 N, p T o.push(n<i>);
' P6 h; M! G7 \- Y }
: N# x3 ~+ a3 F }
6 X: U8 q8 x) i6 |! @3 t for(var i=0;i<a.length;i++){6 ]+ I5 R+ f3 N
if(a<i>.indexOf("(") >= 0){
$ c* w7 ^+ [8 @: k/ p) a- L, F* I: ? c.push(a<i>);
7 h! N1 M% a/ P) [' C# D( D }
& c; d4 t, e$ G$ l( C1 E if(a<i>.indexOf("~") > 0){' {2 b% I, M+ E6 Q2 s
try {& w& j T ~. {7 q' \
$push(eval(a<i>.replace("#","document.getElementById('").replace(" ~ @","').getElementsByTagName('")+"')"));$ D0 r& c) ]9 ?" e' j9 k
}catch(e). w/ t# D2 b7 t5 _! E$ Z Z, n
{}
: z) n! _7 j& X6 A) @& |; w }7 L: \2 `# d8 m4 D6 u
else{
. x0 o$ n, H4 a h if(a<i>.indexOf("#")==0){
4 h5 ^- f' E+ ^& o# _: \ o.push($id(a<i>.replace("#","")));6 Z* I0 J6 E f. J& ~! z- `0 ~5 R
}
5 w# R' @( o# Z2 {5 V" c3 h- q if(a<i>.indexOf(".")==0){2 i2 a2 `5 p: f t# c( q1 B
$push($name(a<i>.replace(".","")));7 J8 }) [; h4 i6 p" H) a
}- a9 O! j* ?# c0 v3 {, [' ~
if(a<i>.indexOf("@")==0 ){1 u9 v1 c7 i. G8 U0 `% {$ U
$push($tagname(a<i>.replace("@","")));
3 [+ e! I* o! p% h5 ^ \ }
! z: V, Z% ^. x' A, I* \) U* z if(a<i>.indexOf("*")==0){/ _; `9 m3 T1 @
$p= a<i>;6 M, C; k i) E0 M* ~1 F( N1 Y) L2 R
if($p.indexOf(".")< 0){
+ Y& A0 F! h8 L7 V2 o6 { $p = $p.replace("parent","parentNode")
O9 @! j# M8 ` }
+ {. S6 I/ ^0 q/ Z5 w# ~ var $p ="u."+$p.replace("*","");( d' Z( J2 x! |& \8 S' T
while ($p.indexOf("parent.")> 0){
: N% J0 s9 t+ X, s& M $p = $p.replace("parent.","parentNode.")' m6 q, I- o$ M! i/ ?
}
8 S9 y; b( j. p. I, v while ($p.indexOf("child{")> 0){
. s2 N- w( Y; ]; [ $p = $p.replace("child{","childNodes[").replace("}","]")- Y0 y4 i$ Z1 u U H. K
}; q, d) A' h/ \, d
o.push(eval($p));9 C- p4 k) \% |1 i; V
}
; ]0 y4 t! C- o if(a<i>.indexOf("document")==0 || a<i>.indexOf("window")==0){* C/ F& N* x9 c, W, H, Z8 d
o.push(eval(a<i>));0 O S! x# f; o2 p
}, h5 j1 E9 T& R+ D. a
}
: R0 C; \" Z" r+ L* Q) P if(g!=null){
! t4 N, ^: v! z% k& d o.push(g);g=null& z7 j/ c% U0 F0 t/ W) K
} 4 l; \0 H" U6 Q4 b5 p8 u
}
" Q' ]( H3 C, {4 a/ q. ^# p }* {, ?" X3 v& N' i" @
' g! Q9 k8 |# E2 e! Z: A $o(a,o,c);
" {) R# S- w3 z9 E, ?7 b5 W7 N+ r
for(var i = 0;i<o.length;i++){6 e7 ~# ^/ e& q
for(var j=0;j<c.length;j++){. W* H* J/ o5 V# c
u = o<i>;eval($format(c[j]));
$ ?/ G& c4 {" D( r3 `6 f s! V }
; o, M+ }/ R; A& O+ ^3 I1 g. ? }
# x, a+ x3 X$ H8 [
1 E3 f% a' Q: W+ U( r c if(o.length == 0){
) t. r" }& s- _. N: ~ for(var i=0;i<c.length;i++){
& N! R/ ^: o) M3 o' x3 f+ y" i7 s/ G eval($format(c<i>));# Z0 N/ A$ X. W7 }0 k
}
8 ?- Z& _) }9 r: x0 y) a3 U( | }
# i6 W! }5 [8 A( ] 0 |- ?* G6 }; t u/ Z
if(r!=null){
2 ?/ h+ x* i4 e return r;' j: o# ]+ ]0 P! x, e6 N3 K# d
}+ L* L5 j v' b# _; [3 S
5 n8 O7 V/ G; ^ if(o.length==1){# J2 w, H$ T- R: n% K B
return o[0];! A9 s( k* |* }3 ?# D
}
' ]/ Q+ n* W7 k/ d else{
- i6 F- F3 K4 k9 |! D6 g return o7 I$ e; o, e0 @! ?, ~
}
% X- I% ^5 L1 F, y( `+ w8 R+ a
! c2 u! [; p) U) f }
( g8 ~% v' ~* {) ^, o* Gvar lrc =$("#lrc;show()").innerHTML.split("[");
$ Z: m+ e9 B' K% H) {8 A8 }, \if(lrc.length>5){# b5 i6 |/ j: @) S! a/ ?1 A
var array = new Array();
: p! K) M! s% T" k! Pfor (var i=0;i<lrc.length ;i++ )
; y# ^5 f* ]* h8 t0 `" @' o: y5 V{- ]$ r. p; B$ V7 ~5 D
var g = new Object();
' e3 V% d% H+ c0 G t= lrc<i>.split("]");3 t! p4 W8 k8 D( D
g.time = getTime(t[0]);
/ I6 r! @$ `7 p# r1 |/ m+ g' G) ]/ d if(isNaN(g.time))3 P7 K+ [8 N) E
continue;, u1 ]6 A2 f0 h# @: M; A, |& {* T
g.c = t[1];
( H- z# z4 u- `, E7 Y" I if(g.c == "")
8 s* ~- O; z1 r$ S4 ?% Q g.c = getNext(i);9 t/ ? P e; m" O2 E. X
array.push(g);1 h8 r6 f1 f5 B* \) s
}# w& h9 p5 k. H t6 |
array.sort(function(x, y) { @9 M0 @4 c) m9 W5 s/ U
if (x.time>y.time)
, m. `# ~0 `5 w, h' B/ U/ ~ return 1;
4 J% M9 |! D8 q$ w else if(x.time<y.time)( f+ S- n# L2 H4 X2 a
return -1;
6 g7 x" @5 F1 A7 _' Y else6 H6 R& g* |1 E4 V6 w
return 0;4 A0 {( A/ h) x4 q% [& A- f6 R0 f" W
}
) k) v. Z8 r4 x- Q+ L);. A6 ]5 \9 ^/ c% J; w. s4 t
for(var i = 0;i<array.length;i++)
! E6 ]! ^* S$ a r% T7 t{
5 J5 [# [; |6 d+ N var g = array<i>;2 E: [$ N& S! F- f
if(!g.c){
' \( q- t0 Z- r/ W4 E g.c="";
: y. a2 e$ f7 g0 b! O% q) G }3 Z+ O& ~7 {7 G& s$ L
$("#list").innerHTML+="<div id=lrc"+i+">"+g.c+"</div>";
2 r% r# C5 A- k! H: @' Q& {1 ~}
5 U4 d) I3 }- n- d1 ivar time = setInterval("lrcList()",500); 3 _7 B2 Q8 u. l2 d& T# w3 |: h4 k! U
}else{" X/ n' ~& C: Z
$("#list").innerHTML=$("#lrc").innerHTML;
2 |' R6 k- P0 s, _+ n; U}( |7 D" \1 D; w) p# H
function getNext(i)
; U7 X7 i! N* e+ R( O{
2 [/ w" @, k* a+ P; b3 ^8 O var result = ""; K- v ?) }6 e3 X6 N1 w+ ^
var i = i+1;
+ A3 l7 n$ @6 B t = lrc<i>.split("]");, o) Z( ]* _2 J# f [
if(t[1]=="")
) J7 k5 r3 n+ ^3 N result = getNext(i);/ V( U, }) C/ {" W. n
else
3 M4 B" m% c q8 O" ` result = t[1]
( U# a* f% \: P return result;3 x2 O$ r& ]4 V
}
" t0 N7 A9 y5 s' c3 {
. W+ `" T) Z. C$ Y- ifunction getTime(str)
0 }2 z& S- G, j{
1 ?5 J8 h* u! O: D var time =0;
9 {2 b: f0 x% d0 d var ta = str.split(":");1 R2 j# x4 D, k M) E! p
if(ta.length<2)
8 I |# J8 N" C0 F/ J! N return time;
! n3 _- _$ p1 f. n6 q
4 f7 K5 |5 \9 L2 n& P if(ta[1].indexOf(".")>0){" i% A4 Y0 e1 e5 E8 j% ~2 i
var tb = ta[1].split(".");
0 B9 D& f1 k; s time = ta[0]*60*1000+tb[0]*1000+tb[1]*10;* m6 q5 ?; O g
}
8 r* A1 }" m$ w2 a else
- R3 ^! U" M6 a% v1 P, P time =ta[0]*60*1000+ta[1]*1000;: I* P1 E( ?" c. m$ \
return time;
. U6 ], s. ~5 z% v$ s/ I! m B}
1 D, w! N6 P, `. |var preTime = 0;
* V( v0 a# N( t. n! z" l6 ^var nextTime = 0;! O" }4 f( t. O! s7 z4 m9 @
var currIndex =0;- x- _" K, h9 o4 r+ [$ a# S5 R
function lrcList(){& m- Z( y- h0 C [; k" m
var s = parent.document.getElementById("MediaPlayer").controls.currentPosition;" q- M4 W8 e6 k2 P8 i1 N
s = s*1000;
# i5 y4 X2 N6 `8 m! u if(s==0){1 V! e& c# e1 B* L9 e) E8 `# |* |
currIndex =0;
; K8 L% J; t, h6 P3 h" u+ k6 _7 z A; L3 D $("#list").scrollTop = $("#lrc"+currIndex).offsetTop-30;) z2 b1 ]9 V" Y: K7 K: p5 L
for(var i=0;i<array.length;i++){8 z( {1 r3 p. \8 ~0 N+ J3 S
document.getElementById("lrc"+i).style.color=colorNormal;
4 t7 Z* r9 G- w& b$ S, U }
( m J- R: w7 T- U+ c return;
/ P! T! q: U) R, ]2 ~7 x }
( f$ X. s" }4 z4 M0 B if(s>0&&currIndex<array.length-1)& C) K9 _8 m! \) x
{
2 a4 U5 R% [8 @ C$ d6 _* D preTime = array[currIndex].time;8 d# ]4 @3 i* ]! H; t g* L
% B2 H! s: X- L
nextTime = array[currIndex+1].time;, R' a. z* v) G; P! w2 z3 o
) {- g1 G% N1 ^; w: _! l0 Q
if(s>=preTime&&s<nextTime){
/ ~0 G/ @4 Z9 W# n! f0 h7 x$ F- o }
5 J; D; a) Z4 |9 l+ P/ Z0 a else if(s>=nextTime)$ h& X$ W. A& J5 K7 z
{0 K% ?8 g- o# I" c* k; ~
document.getElementById("lrc"+currIndex).style.color=colorPasted;' A2 }+ |1 K6 q7 A) _4 m
currIndex++;
~9 C. M6 H: f) q9 H4 G $("#list").scrollTop = $("#lrc"+currIndex).offsetTop-30;/ a* v9 U% R: p( \* q E+ k2 Z
document.getElementById("lrc"+currIndex).style.color=colorPlaying;( f U/ ]; G: Q+ ~# | d1 _& a
lrcList();2 Q4 J, j3 O( N9 A6 b5 C( O
}! w6 |5 v. S* g
else{
; y5 g% Q# G# ] document.getElementById("lrc"+currIndex).style.color=colorNormal;* Z2 v7 ]/ ]7 A# P
currIndex--;( K3 o: r$ a5 v. c/ J% h4 {
$("#list").scrollTop = $("#lrc"+currIndex).offsetTop-30;2 j- _) |) |$ l. ?6 X" K, `$ _0 U
document.getElementById("lrc"+currIndex).style.color=colorPlaying;8 c" s7 i: t5 |, }. A1 \( x
lrcList();6 T) n K! f) k" s: |- ~
}
4 p! N& E- `3 O1 u' Z; ?: U }3 O2 u" S& A( M# V" @2 w" s+ N
else
) X; \8 v" w2 @. l' c$ D# } {- R: I1 D- }6 L# Z
if(s<array[array.length-1].time){
" \9 c0 C& z' e6 m% q$ h8 F currIndex = 0;
' z: E1 g' z9 l $("#list").scrollTop = $("#lrc"+currIndex).offsetTop-30;. W/ _9 P7 ~" H C
for(var i=0;i<array.length;i++){
; d& B3 o5 _9 s7 X/ K9 B document.getElementById("lrc"+i).style.color=colorNormal;! w( ?) \3 b$ g2 D, C
}# {& Y; w1 c; w
lrcList();) {+ V8 N1 r# ~" V; o
}
_4 F9 F" u8 d2 k5 V }- j1 ^, y- R. s( p. N- n0 K
}
( \. g" Z. E' P- t. H+ H</SCRIPT>- V# B" ^8 o& |8 j% ^, e
</DIV></DIV>
$ F. e/ A/ i: s; ?+ g3 V
7 S5 e. M q7 @( T5 z" j! p+ G[ 本帖最后由 幽谷兰 于 2008-9-18 17:36 编辑 ] |
|