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