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