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