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