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