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