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