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