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