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