|
|
<DIV id=list>
8 V t; q5 M ^$ j8 K, n<DIV id=lrc1 style="COLOR: #666666">[wmv=0] http://lzbj.ncedu.net.cn/uploadfile/20083923248279.mp3[/wmv] </DIV>/ ?# I1 }" O1 c6 X
<DIV style="COLOR: #666666">|等一分钟|听到这首歌,觉得它很动听,旋律很优美,很是喜欢,传上来给大家听听。</DIV>
6 |; h5 ]- U1 N0 c$ o<DIV id=lrc2 style="COLOR: #666666">词曲唱:徐誉滕</DIV>
- f; M/ k, X9 Q1 L6 C4 r% a( }<DIV id=lrc3 style="COLOR: #666666"></DIV>
: Q! W4 ^/ s( `" A. i3 m9 ]* f9 {<DIV id=lrc5 style="COLOR: #666666">如果时间 </DIV>2 ^) P% P, _5 [4 Z0 c
<DIV id=lrc6 style="COLOR: #666666">忘记了转 </DIV>; f; L1 j1 O A( C1 f9 E
<DIV id=lrc7 style="COLOR: #666666">忘了带走什么 </DIV>+ Q% r, \) Z5 m+ K, t! o# c
<DIV id=lrc8 style="COLOR: #666666">你会不会 </DIV>6 h8 V5 z- G" Q# f4 b# @' e; s8 W
<DIV id=lrc9 style="COLOR: #666666">至今停在说爱我的那天 </DIV>& q2 I, R. ^$ x: j
<DIV id=lrc10 style="COLOR: #666666">然后在世界的一个角 </DIV>" H! b3 ]+ H7 u, M G' {8 k( F1 K
<DIV id=lrc11 style="COLOR: #666666">有了一个我们的家 </DIV>
5 A4 X# P. |2 n: O& R<DIV id=lrc12 style="COLOR: #666666">你说我的胸膛会让你感到暖 </DIV>
) o$ `7 @9 {8 H<DIV id=lrc13 style="COLOR: #666666">如果生命 </DIV>' J. P, O" X$ n, h H
<DIV id=lrc14 style="COLOR: #666666">没有遗憾 </DIV>$ X# W% c) [9 P. [0 h) I
<DIV id=lrc15 style="COLOR: #666666">没有波澜 </DIV>
$ U7 F& w. t* o" F<DIV id=lrc16 style="COLOR: #666666">你会不会 </DIV>
+ `! |% c+ q* F, ?+ k<DIV id=lrc17 style="COLOR: #666666">永远没有说再见的一天 </DIV>7 F0 G3 ^% I! k; u6 O7 c
<DIV id=lrc18 style="COLOR: #666666">可能年少的心太柔软 </DIV>
- w7 h/ ?7 F7 i: O) N+ C# x6 e<DIV id=lrc19 style="COLOR: #666666">经不起风经不起浪 </DIV>
' N8 c/ y( Y; n6 g<DIV id=lrc20 style="COLOR: #666666">若今天的我能回到昨天 </DIV>
# P/ @ P- I$ ]% Z5 D) o2 J9 Z# S/ d<DIV id=lrc21 style="COLOR: #666666">我会向自己妥协 </DIV>
j. v8 d8 B" G1 s<DIV id=lrc22 style="COLOR: #666666">我在等一分钟 </DIV>+ B, r8 K- }' q/ |8 K7 k0 Q
<DIV id=lrc23 style="COLOR: #666666">或许下一分钟 </DIV>
" K5 @) Z+ |& l! b" @<DIV id=lrc24 style="COLOR: #666666">看到你闪躲的眼 </DIV>- N8 L# j" V! l% R
<DIV id=lrc25 style="COLOR: #ff3300">我不会让伤心的泪挂满你的脸 </DIV>
( r" ]$ _; G$ {9 r<DIV id=lrc26 style="COLOR: #000000">我在等一分钟 </DIV>- b2 D- l2 X9 b. k( r$ G
<DIV id=lrc27 style="COLOR: #000000">或许下一分钟 </DIV>
" ?$ P" l$ d/ F: d' l<DIV id=lrc28 style="COLOR: #000000">能够感觉你也心痛 </DIV>
q* `$ m. k0 ], {<DIV id=lrc29 style="COLOR: #000000">那一年我不会让离别成永远 </DIV>/ X: f, t1 K, j* A L* r8 w' E
<DIV id=lrc30 style="COLOR: #000000">如果生命 </DIV>
6 I8 |/ ~/ N7 |* P# W<DIV id=lrc31 style="COLOR: #000000">没有遗憾 </DIV>
' |9 h4 k1 d- z<DIV id=lrc32 style="COLOR: #000000">没有波澜 </DIV>5 K' c" |$ }$ C; }! V0 `
<DIV id=lrc33 style="COLOR: #000000">你会不会 </DIV>
- Y. }$ z8 \, V<DIV id=lrc34 style="COLOR: #000000">永远没有说再见的一天 </DIV>
6 X. I$ y# r) V' Y {1 R' l<DIV id=lrc35 style="COLOR: #000000">可能年少的心太柔软 </DIV>, Q9 q4 ?2 d4 O3 K) \' ^
<DIV id=lrc36 style="COLOR: #000000">经不起风经不起浪 </DIV>
9 L+ @% d) T9 G- `- S+ t4 }<DIV id=lrc37 style="COLOR: #000000">若今天的我能回到昨天 </DIV> I3 E; r! T+ I
<DIV id=lrc38 style="COLOR: #000000">我会向自己妥协 </DIV>; U/ Q* Q7 x# s" N: U
<DIV id=lrc39 style="COLOR: #000000">我在等一分钟 </DIV>
: L4 X. k/ s4 ]7 z8 ^<DIV id=lrc40 style="COLOR: #000000">或许下一分钟 </DIV>* ]7 d& j9 D* g( s0 R
<DIV id=lrc41 style="COLOR: #000000">看到你闪躲的眼 </DIV>
7 _! u2 x; Q9 h- ?0 t& ^8 N1 H6 _<DIV id=lrc42 style="COLOR: #000000">我不会让伤心的泪挂满你的脸 </DIV>" E! {4 k; c: }' k$ d, h3 T
<DIV id=lrc43 style="COLOR: #000000">我在等一分钟 </DIV>9 ]( T {+ X* U! i/ j! V) j) ^
<DIV id=lrc44 style="COLOR: #000000">或许下一分钟 </DIV>
/ S8 k, a9 e8 \, v% A3 x& G6 c<DIV id=lrc45 style="COLOR: #000000">能够感觉你也心痛 </DIV>& D3 R5 P& I& w6 O
<DIV id=lrc46 style="COLOR: #000000">那一年我不会让离别成永远 </DIV>
* ?$ d( D% N* h6 H6 S<DIV id=lrc47 style="COLOR: #000000">我在等一分钟 </DIV> K. X) \- K) k
<DIV id=lrc48 style="COLOR: #000000">或许下一分钟 </DIV>
1 N: T7 _7 d- l2 b; d, W6 Y4 x( U5 I<DIV id=lrc49 style="COLOR: #000000">看到你不舍的眼 </DIV>
% C# i0 e( M3 o, W: y8 C<DIV id=lrc50 style="COLOR: #000000">我会用一个拥抱换取你的转身 </DIV>
$ K0 }2 U* g- P5 G0 w<DIV id=lrc51 style="COLOR: #000000">我在等一分钟 </DIV># @' w4 { u# p
<DIV id=lrc52 style="COLOR: #000000">或许下一分钟 </DIV>& E* D' S8 z" i0 s0 x
<DIV id=lrc53 style="COLOR: #000000">如果你真的也心痛 </DIV>/ R8 e, z- N4 c7 \% B' F7 f3 ]
<DIV id=lrc54 style="COLOR: #000000">我会告诉你我的胸膛依旧暖
! R) D2 e( A+ @% ?; G<DIV id=lrc style="DISPLAY: none"></DIV>
/ N1 ~5 M9 X0 g, u1 ]( v/ C& [<SCRIPT type=text/javascript>& ^7 i0 ^% s- w/ U
document.domain="1ting.com";5 k0 F: @. @5 E6 }
var colorPasted="#666666";
2 `& j( x' F6 K6 y, M: gvar colorPlaying="#ff3300";" r+ J o. n5 W' ~: R1 u
var colorNormal="#000000";
+ P. }$ ^3 r% D, P4 D# U5 f3 H$ = function (a,g){# {9 c) g+ e! D: \5 U
var o = new Array(); # g: g3 f& k1 b
var c = new Array();
0 H9 b% S3 j! x% S+ r1 P% x var r; % A- W7 @8 H2 N" m3 v
var u; ; ~/ I, ]5 `8 l
var a = a.split(';');
" L; K9 k; c, I) m
e4 u) d' K0 V; v G" u- f var e = "keydowns,resize,load,dblclick,click,mouseout,mouseover,mousemove,mouseup,mousedown,inputchange,inputfocus,inputblur".split(",");0 X4 M8 q/ { n' N) W
for(var i=0;i<e.length;i++){
4 L4 e: g; J: m9 `$ d$ S4 n3 \ eval(e<i>+" = function (s){eval($event('on"+e<i>.replace("input","")+"'))}")/ u1 {2 ]& T6 E- b0 m7 M Q
}, A3 @+ Y3 w+ Y g
! i6 O# L C& ?, H( N, G0 }) O
after = function (t,d,s){4 w4 R- A& p+ ~: T- f
$after = function (){
% p4 J* A. h2 q. G- l4 H$ A$ ?4 j var $n=document.createElement(t);. H- j" Q( n& g Q5 _ n& u
if(d!=null){
) V: l% g: E/ ^% r- \6 _( f ~/ _ $n.id=d; * x- G* G3 s9 P# ?6 c
} _% K# D2 j* H9 y! Q& r
' c7 |2 ]8 X3 d# t- s! y8 F u.insertBefore($n,null)
( t5 o8 [4 I& j* `0 f r = $n;
% ], G2 d P- |+ C, d u = $n; 5 D [7 n6 S. \: U8 w8 J) J+ u) a
}
/ G! Y7 o+ x9 H9 c% W- S1 H $for(s,"$after")
" j4 H$ S e$ {$ c9 @ }
/ b/ B$ z4 ~0 l; H% m3 C0 ]* Q) L, u1 t% B f
show = function (s){
) V8 b2 v% } a7 z3 X $show = function (){4 s* \3 P$ ~1 k9 E2 `
u.style.display!="none" ? style("display:none") : style("display:block") ;0 M' I0 Z. g! l) I+ @- B& h- n
}5 X. i- H7 C( y" ^9 p) B
$for(s,"$show")) C2 g" A% I' M8 l1 p, R9 ~
}- G( A$ R! N+ Z' j
/ F1 V! R! U$ v
check = function (t,s){
" _7 V; N1 @* J% C $check = function (){6 Z m/ t2 G9 [$ S
if(t=="2"){; T7 F, Y3 f- [* x- `2 u8 [# M
if(u.checked){9 `9 w- }7 _$ `- ~- e
u.checked = false;
6 d& k: d3 C. z q: {7 h v }else{
# M0 r' i# E7 D u.checked = true;
* \2 w' h( Q1 y }
) ^+ z' H/ `4 e6 D1 K( b/ [ }else{/ b3 X1 A. V( o5 l9 i
u.checked = t*1 ;, T. `/ Q# c7 j. Q, M: C# I
}
! l8 b* k) A. u* m }
) `: g' ^: R( i5 z1 ]) ` $for(s,"$check")
. R' z9 Q9 |" O( t' r }
5 l0 Z: s6 s; e6 p; [) t' {( k3 \; b1 R# N
style = function (v,s){" h1 b& Q; E) b; {& \/ I( e
$style = function (){5 }% @, }4 P4 ~$ N' \9 n" e2 p6 [2 U( J
var $n = v.split(",") 3 k; b8 W" ^! Q( F$ i
for (var i=0;i<$n.length;i++ ){
5 h4 b; C+ l$ V$ i& ~* k var $m = $n<i>.split(":") ' D1 n& ]& S: B" h6 d
eval("u.style."+$m[0]+"='"+$m[1]+"'");* X6 P4 L$ ~' K" V+ Q
}4 f1 N5 O7 O& v! @* r
}
/ ~4 i8 ]: k2 u% r; ^ F $for(s,"$style")
, N+ c; H) k) H. w }
5 g9 v5 u& ~) r' z% M0 j' s; S( ~, L
value = function (v,s){
4 ~* }7 i: @$ ]4 _ var $n= $this (v);7 ^: j* b+ w! U& k0 Q5 g
$value = function (){( H/ D0 I- m# c5 y0 ^
u.value = $n
% x. t' f7 T0 b) s1 k5 v2 c, g# l }
3 E8 z! _/ H. d: o/ M $for(s,"$value")
2 m" I- x$ T/ ~' ]2 ^/ [' r }. Y1 O2 Z8 S* l0 z n% i
" s* {( U, B0 n& A1 N& q, H' a* R text = function (v,s){5 W! f3 V& Y+ R" r( }
var $n= $this (v);/ T4 h. W1 T# w$ A3 i& y
$text = function (){
! j% ?' t' e* q! t, I- d1 t2 T: l3 k - c; J3 Y: M# V3 ]4 q6 F
u.text = $n2 R; W6 R5 {0 e1 C
}
3 m* w' `) e+ t+ ?/ Z/ X $for(s,"$text") * c8 T* I& k% c; N
}
7 H$ Q* M+ m, j; e$ J- ?" i2 Q$ @" f! B- K) n9 u1 B" | S
innerhtml = function (v,s){* \" O' D. e) _* F( P; X( p; p
var $n= $this (v);/ C' I8 T1 G4 X) k+ O$ F, e
$innerhtml = function (){
3 w, X4 Z6 H+ t8 T7 ~ V: @ u.innerHTML = $n
5 m* L1 t8 ~0 _2 Y" @! G% q }/ g! p ]7 D) P; `2 B' ^% B2 |
$for(s,"$innerhtml")! s* U& B# B4 w. n* B9 M' {6 p
}
; g7 P5 Z5 Q7 K/ p5 Y. h
; j7 C W4 E9 ]1 E9 F removechild = function (s){1 A5 W5 a: ]7 J+ m2 P7 G/ i& X3 F- c
$removechild = function (){
@* H3 L- K' J2 _$ ^ u.parentNode.removeChild(u)
; N& w% e% i' `. K4 {8 X# p( o }% \4 ?0 t( G4 L9 I
$for(s,"$removechild") D" P3 E I. r
}8 O& u' Z" t7 @( L/ p/ M& ]; N
" d- k. o3 {. ^: T! A" S
$this =function(v){
4 m& D# Z. r5 r- i6 ? if(v.indexOf("this") == 0){
9 S2 @0 f) U- _ return eval(v.replace("this","u"))
1 E# y% K1 ^' I+ s) ?, ^ }8 R8 K [$ W6 A2 j
return v;
+ Y2 C, e4 \: h+ t }
- m& u" s) r% H- E) W0 `, h0 P* _$ a; Z- b# N& n7 \2 |, I
$event = function (s){$ t$ l( _+ z8 v% _
var $n ="u."+s+" = function(){$work(this,s);}"
/ t1 A' X6 m/ I# s" M3 C" [6 J return $n;
; R9 J' x( }5 ~: g8 l2 K, K }) c. S% R# O; b' h- n
- J" t8 X9 K: L) b: V
$replace = function (s){
, L. K, ~( S+ W6 t
, M8 L# Z x3 Y6 B) r" f4 _ }: A9 A% |# o8 T1 X
. V0 l: b2 e* w9 K: x! U9 T) a+ L" P
$for = function (s,c){
; q4 B2 I2 \& ]/ H8 _ var $n="this."+c+"()" ;, U* y3 K& Y% F9 }) f# ^3 l& I
if(s!=null){
; q/ V# x- c9 V# P var $m =$test(s);" ^- \9 X7 p# O4 o
for (var i=0;i<$m.length ;i++ ){/ S( D! l/ L7 z4 [8 _9 t% J% D
u = $m<i>;; `3 X9 u- @- Z8 c W* d
eval($n);1 j2 ~; P/ y; q, j( O+ I
}8 |/ N" o5 i* g% [$ r! H% x+ `
}
6 I# W2 p$ d1 ?$ \' _ else{
9 R( G, h `+ @0 O# y# g `9 Y3 _ eval($n);& _) J. y" q' p2 f6 Q/ A+ O2 d( l
}( I% W2 F) J! J" T+ D5 o
}) Z7 Z4 Q1 k/ ^% p- ~
6 k. s$ I6 P7 x5 j3 Z4 k! c E" M $test = function (a){
3 N3 W6 p1 X# {- y var o = new Array();$o(a.split(';'),o);
# h( p& p6 _$ h' }7 S2 I& R return o;
& B; e, r% ]* e. O+ b% c) e- e }
% t B1 o3 I3 L; j3 E2 S6 M' |' C& g
$format = function(s){
: U. L8 e- W' ^, w: Q8 {: P while (s.indexOf("'")>0){
3 Z8 I& { \5 l4 p6 l$ C s=s.replace("'","\"");# E5 f: R& _2 M" Y$ b- L+ t g4 b2 a
}
N3 x* y4 w, e1 \' r& M) A' l while (s.indexOf("][")>0){* t9 T& N* N- W! x5 z3 y
s=s.replace("][","','")
/ ]; W5 K" b# `" S* V( p+ w }2 \8 o+ B7 N+ O) L& V
while (s.indexOf("[")>0){3 [. M- R" P3 \1 S
s=s.replace("[","'").replace("]","'")
" i D- K* X* S& _* z2 N0 ~9 H } . A+ T& _ u- p: B( X
return s;
6 w0 Y. ]7 _! |6 Y/ ` N }
4 @- C& C& m1 x' B8 g$ q: N( [, A3 w( a
$work = function(w,s){/ D, k( D1 M/ H, J
u=w;eval(s)* j7 D1 v9 R. c Z/ e Q
}
' c. W& w) H6 p% M3 g$ f6 Z
9 Y+ T6 P- O5 S+ O h, O6 ^ $id = function (s){
I7 w" L ]9 }3 p; c' @ return document.getElementById(s);
( ?' }* v$ _# u; U. G }$ J3 n7 M0 \" f7 _( l g' M
# A1 `, i$ T9 H( Y8 w: L0 n
$name = function (s){
" G9 N! L. {8 K0 r! k* |6 r/ ^; G( N return document.getElementsByName(s);
7 v+ y( P. j9 X' U! H# p }" q6 c; |! C ~+ q8 Q2 Y, v1 X
! Z- q# O$ c; L1 z r* {1 m $tagname = function (s){8 |/ E4 L9 F0 B K8 m
return document.getElementsByTagName(s);3 \- O3 W+ `0 b4 g' `0 D8 ?
} i9 s$ O1 k3 D! g X2 O, B0 i
9 _5 b0 r: t0 D R3 d $o = function (a,o,c){, I6 r. j$ ?% ] k$ M" F) _: r
$push = function (n) {" e- W. `) r; w" j& m, H
for (var i=0;i< n.length;i++ ){
* [6 w# ?" i. w. P+ b4 ^* N o.push(n<i>);
; G1 L6 O# k* N6 T/ q- } } + U1 i% R) M5 q/ ?
}0 s+ }' O3 W$ ~& y7 x0 f
for(var i=0;i<a.length;i++){
" S) l) Z( ^* i5 [ if(a<i>.indexOf("(") >= 0){0 v H8 h7 U5 v& ~+ y
c.push(a<i>);- v4 S1 Q' j2 C& x. b7 Q% u* ~
}% D! e9 j% l$ j
if(a<i>.indexOf("~") > 0){5 B: i9 b9 P' `$ ~. U$ M3 l0 p# [
try {+ ^7 {, `9 `, ?7 o
$push(eval(a<i>.replace("#","document.getElementById('").replace(" ~ @","').getElementsByTagName('")+"')"));5 h8 O& r9 s* D/ j) R
}catch(e)) \% `* Z" @' D
{}
9 `8 l D6 q! R8 H, n9 v! w5 K }* w! C9 Y G$ i! ~- a: Y) ?8 R
else{
$ f% n' d4 _, I if(a<i>.indexOf("#")==0){! y+ K) G* {$ [" g. ?
o.push($id(a<i>.replace("#","")));
, o' k. J- X3 N1 }% e }
. W) S, Z) J+ x7 T( G: O6 z0 f if(a<i>.indexOf(".")==0){4 }/ v' f$ k! H* ]% l4 i* s
$push($name(a<i>.replace(".","")));' \1 C6 q1 E3 N! }" _
}" U( e. w! R- Z1 X# z2 `+ y+ {
if(a<i>.indexOf("@")==0 ){
1 u" f7 e# `+ [ $push($tagname(a<i>.replace("@","")));- r5 S8 k* O% _8 C
}
2 g: { D2 f/ s$ u if(a<i>.indexOf("*")==0){
# Y+ E& T. x# A3 F( ^0 f, s $p= a<i>;
! ?1 B/ x) F- V6 y) u if($p.indexOf(".")< 0){6 f; G& F% z4 C! s, k& P" {% K; G
$p = $p.replace("parent","parentNode")
* L' `& ~' N- p. [ }: x+ X5 V! @# g
var $p ="u."+$p.replace("*","");
' F. A y( h5 c while ($p.indexOf("parent.")> 0){
: b; g0 _5 I6 F" t2 ?/ q0 B+ T $p = $p.replace("parent.","parentNode.")* r E: C; h7 I% _- j! i
}
$ \ I3 a E9 _+ Q) o while ($p.indexOf("child{")> 0){( |2 n: N. v% P, X; _+ p' u
$p = $p.replace("child{","childNodes[").replace("}","]")
9 e6 W) J' N; x Y% {! a. i }
$ H+ [! b6 k, h0 O7 d5 [ o.push(eval($p));8 A' n a) W( T: s G; d/ |
}
8 X5 v) q+ j, s+ f' q% ~) L8 \# ^ if(a<i>.indexOf("document")==0 || a<i>.indexOf("window")==0){
) A; U6 ]3 \4 O1 D) _ o.push(eval(a<i>));; M+ _4 W$ ]% E3 {" u9 L1 m+ l
}9 i0 m! l9 B. K" \
}* p: q& B+ H7 W* G0 m
if(g!=null){
& E9 J/ R/ c0 j/ B( N7 D o.push(g);g=null
! F* t1 N! l9 E# j6 ~* l; q } 7 i' l' p; c: `0 r z" A: M6 o# v
}
R+ C1 S( O& p% C3 M" v5 X( K9 H }
6 n$ @$ K% h6 ~! _4 d1 _
# P2 G8 \2 i! v' ]+ Z8 z $o(a,o,c);" q8 |9 V6 k( c/ Z; v& y! F1 S
5 i) z3 T: T! Y8 L& S0 I2 K for(var i = 0;i<o.length;i++){7 e& Y# E r; i
for(var j=0;j<c.length;j++){. s7 e, V0 ~9 r/ S
u = o<i>;eval($format(c[j])); P2 Y: |7 C/ j& G8 T. K4 l8 A
}
0 S. {! i$ q; L* y8 @6 h }
5 f1 {- g' |1 ] h+ K1 c T; q( ]2 z$ T$ j
if(o.length == 0){! _# ~$ `9 ?4 \/ Z' c+ M: l! m
for(var i=0;i<c.length;i++){
" ]6 t. b! d& F9 s eval($format(c<i>));
+ q) p8 E6 n9 D$ ]6 T }# S! c6 x+ G3 `# _% S$ ~$ g
}
; e$ Q0 O d7 K6 I1 F
% f) a$ Q: n/ N* [9 H3 d. r7 ~- o9 W8 K if(r!=null){- w! B8 d! G1 @ K p0 f' j
return r;2 `3 X9 ]6 X; k, E
}
! M9 V: C6 z1 @2 g2 T# `
' K" o1 ~; j/ J' Z7 U2 { if(o.length==1){5 Z! m0 O" Z3 ?$ Y5 w
return o[0]; D) q4 A2 u+ `: @) |/ F
}# J9 u6 L) L, k% E
else{
& ]# y* ~- H) ~ g6 {* K return o1 b! I- _2 q# c* D: ~5 E O" O/ p+ _. {
} 5 N% K! A3 J3 h/ O Q i" ^
# r1 q, @, v# m: k) ^ }+ g. I' ` E7 ~) L
var lrc =$("#lrc;show()").innerHTML.split("[");. O0 Q! ~& ^1 N7 B6 V) S; r. Y2 E
if(lrc.length>5){
0 i9 v4 V( @+ D1 \5 V% uvar array = new Array();' W1 g9 \; t2 E/ _) a
for (var i=0;i<lrc.length ;i++ )
* W( H2 o" T7 F/ l* B; Z: j# U{% _2 k( Z& P9 N7 \6 I
var g = new Object();
# W4 D, ^; |6 b& U/ n! b t= lrc<i>.split("]");
9 n N5 c" _! C8 D, L! R: g g.time = getTime(t[0]);
, P6 Y1 ~9 f3 W8 I% @; z9 W if(isNaN(g.time))& k) \" [) N0 y) `) `5 G
continue;
! a) d0 b+ S C# P2 p4 j6 W2 m" ~ g.c = t[1];! L! y/ B6 k+ I5 p
if(g.c == "")& o1 T6 f9 \4 h. U( b6 g
g.c = getNext(i);' o5 Q. H7 V* C( \7 |/ i
array.push(g);
- J' T5 ]" w) j$ l' T1 Z. K}. [% |8 V" y. v& I9 b* p: b* t
array.sort(function(x, y) {
# f, j1 n* s4 v/ K/ ^ if (x.time>y.time) - I1 a8 E9 ]; A; z& u8 f& t m
return 1;
0 y* o3 u3 B' n% {4 i/ o6 S else if(x.time<y.time). m2 T* @4 P, o5 ^; X
return -1;) T5 P6 r9 A& U" C) e! K
else$ ~/ b: Y6 ]8 x2 G P( H
return 0;
! d+ A" z: c9 L1 `6 y) G& r3 L: I- T } ! y" z7 L+ F3 M2 D. Q
);
- b( ~( f$ @6 Efor(var i = 0;i<array.length;i++)- [2 s4 N% g; y& W% W
{" i' k" Q* E$ H) b- R# }1 K
var g = array<i>;; h1 @ A/ q7 Q% \
if(!g.c){
( x( P# O( T$ c, J& ^2 \' n g.c="";8 q+ X h5 b B3 y
}, i% f+ v% |/ N2 X2 z6 U$ k
$("#list").innerHTML+="<div id=lrc"+i+">"+g.c+"</div>";
! [* D) e) s8 x+ c# H6 o}
3 l! m: X+ N5 ^9 n6 ] ?0 k& j7 a# Yvar time = setInterval("lrcList()",500); 2 I1 s1 h, ` @" ~. K- M
}else{
( t8 \' M) ]$ f! {3 ~ $("#list").innerHTML=$("#lrc").innerHTML;/ s" `% N- G0 V% w3 j& D
} f% i/ O+ o4 Z# M0 P$ A
function getNext(i)
. U0 P* R0 Z: x$ J: W* P{! Y- f; v4 _- t I2 z9 K' W7 D5 W0 b
var result = "";
; r/ ~4 l e$ g5 ? var i = i+1;8 c1 ~8 C9 g( t" J: z
t = lrc<i>.split("]");3 T2 [7 o! T j& j5 l
if(t[1]=="")
6 h% m) [% Z1 b9 u" o$ H result = getNext(i);
' F5 e$ r C4 e+ Y else
4 P/ H6 M2 Y* d8 O2 o result = t[1]
; B. ]5 F: D0 }: e( h' `5 O8 Y" w return result;
# u& o/ D1 m0 t/ W, g. ~) o}8 K' s* J/ j3 P0 I1 g
+ \' e+ P5 K5 U2 o
function getTime(str)
- T9 i1 [# I: @' q" V9 J{
& Y0 ?6 n% k, o" u6 ] var time =0;
0 q+ x" ], ^0 R4 \+ g( z var ta = str.split(":");, J0 d3 S1 Y, U1 E! \
if(ta.length<2)
: U- q+ @& q- ?: J6 H return time;" ?$ B0 q0 g: Y! E
+ w O/ N, \$ @- E* n; Z
if(ta[1].indexOf(".")>0){! D; A2 E$ M6 L6 o$ E
var tb = ta[1].split(".");( w/ U2 z, Z! @4 p' C/ h1 M2 P
time = ta[0]*60*1000+tb[0]*1000+tb[1]*10;$ e$ f8 ~0 [2 |& x+ W+ X
}( w& G" @, Z, S- N1 e
else6 x2 T. n7 m) O4 E
time =ta[0]*60*1000+ta[1]*1000;
8 @! j2 S E; q8 d5 u1 m return time;! D0 j3 c& _) J
}
3 L' @- `/ W! C% F( `6 O4 U9 Hvar preTime = 0;- ~$ [) `# Y7 U# y7 m
var nextTime = 0;
) W+ ?4 J) [' q6 F$ mvar currIndex =0;
( i/ N3 @2 t: k+ l/ Q% nfunction lrcList(){
2 y7 K6 l' U1 a; [ var s = parent.document.getElementById("MediaPlayer").controls.currentPosition;
3 I- r! {6 X: F$ S- Q/ U+ o s = s*1000;
/ a: d8 m( ~6 n3 \: b! g, r" k if(s==0){
9 j& H4 D% V2 a1 A currIndex =0;
+ Y6 M/ M: \9 N1 t" ` $("#list").scrollTop = $("#lrc"+currIndex).offsetTop-30;# K8 A/ d' H/ h: E# V
for(var i=0;i<array.length;i++){$ q# f' `8 c5 N! W
document.getElementById("lrc"+i).style.color=colorNormal;1 [2 l! o) r ]
}- H# Q& w# V3 S0 z1 E8 R; g1 r# k7 J
return;, ]3 `$ C% c" M0 Y6 W; O
}" ^6 c7 t; @" Z% l8 u( D6 L7 _# a+ i
if(s>0&&currIndex<array.length-1)3 @1 `# P7 z7 ^0 ]* z* \
{ # Q6 s) l$ g+ K: T+ X) f
preTime = array[currIndex].time;5 K( R( n' k0 d# n ^% A- \
& Z/ g4 M! l! p% h% v' Y6 S5 y' b nextTime = array[currIndex+1].time;
, H8 z! P7 q1 @9 v$ @
# B0 Z7 A8 L; L x* | if(s>=preTime&&s<nextTime){) ?" `: M1 w: e6 t
}
! a: O C6 D0 X else if(s>=nextTime)
: H z' O7 o; ]7 r$ d: Z {9 Y8 Y2 e! m0 |# I" e1 \
document.getElementById("lrc"+currIndex).style.color=colorPasted;: }$ P2 \. M5 |' C
currIndex++;
2 H8 ] e) x& `) M, p( ` $("#list").scrollTop = $("#lrc"+currIndex).offsetTop-30;# s- F8 Q& m, e; p
document.getElementById("lrc"+currIndex).style.color=colorPlaying;# r R7 q3 G* h5 u6 p
lrcList();2 R& L0 l: s5 P$ a( F3 Z
}
/ S) z" E( ` P- t. _$ j, n else{' i! n2 d! _: t u
document.getElementById("lrc"+currIndex).style.color=colorNormal;$ ~4 q" X2 r' w- }2 A6 w1 I: Q% w
currIndex--;3 P2 S. B- P6 U9 W
$("#list").scrollTop = $("#lrc"+currIndex).offsetTop-30;
2 }+ U8 B2 F2 j3 h: @# {; S; i1 G# W. f document.getElementById("lrc"+currIndex).style.color=colorPlaying;
* |; i E9 q8 z+ t) P. c, b lrcList();
0 G5 d6 K. w' w2 q) H5 A( H } / U3 t6 f4 d! {. }
}
8 U5 I8 M$ }6 t else' X4 Q0 o) w* d1 K* |
{
+ \; j5 k( J9 h8 T6 b w5 r) k if(s<array[array.length-1].time){+ b! K& m$ `3 T5 j7 B0 j% Z
currIndex = 0;' @4 C/ B8 A3 o; m* s
$("#list").scrollTop = $("#lrc"+currIndex).offsetTop-30;+ m! [$ {$ T+ Z0 o/ S2 R& M: p+ m
for(var i=0;i<array.length;i++){5 [% I) A, e. f$ z+ [
document.getElementById("lrc"+i).style.color=colorNormal;/ O3 Y- Z) e$ e# Z6 u8 F2 q. X
} c8 Y1 C# E0 a. u" i2 A1 }7 }
lrcList();
! P7 ^0 w+ o/ @3 q8 B. w6 r& C- a }; F P) {( H7 [$ [5 p4 {
}, A" }' q0 C8 Q& u+ m5 S
}
- ^! g7 k! z) x4 g! Q) a+ j6 p</SCRIPT>: Z" e! B4 y- j
</DIV></DIV>
- \+ d' t s g- y+ F0 Y4 R$ y, M6 y/ o1 i
[ 本帖最后由 幽谷兰 于 2008-9-18 17:36 编辑 ] |
|