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