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