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