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