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