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