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