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