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