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