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