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