|
|
<DIV id=list>2 ?6 R* i" g5 z7 u" w* ~0 b2 d
<DIV id=lrc1 style="COLOR: #666666">[wmv=0] http://lzbj.ncedu.net.cn/uploadfile/20083923248279.mp3[/wmv] </DIV>
8 n/ L) J" G3 Y) C/ \<DIV style="COLOR: #666666">|等一分钟|听到这首歌,觉得它很动听,旋律很优美,很是喜欢,传上来给大家听听。</DIV>
: n- A0 |" t) o u<DIV id=lrc2 style="COLOR: #666666">词曲唱:徐誉滕</DIV>
3 z7 Z6 X6 F, B% q2 E! |<DIV id=lrc3 style="COLOR: #666666"></DIV>4 @3 O6 `) _! Q. T2 }" r; v
<DIV id=lrc5 style="COLOR: #666666">如果时间 </DIV>
' V) |' y) x; E6 y0 J9 G1 y; D. ^<DIV id=lrc6 style="COLOR: #666666">忘记了转 </DIV>$ d) V4 V; p; [% v5 R
<DIV id=lrc7 style="COLOR: #666666">忘了带走什么 </DIV>
& |+ I" b/ _6 @4 `1 v<DIV id=lrc8 style="COLOR: #666666">你会不会 </DIV>- w/ D0 G: D p+ `7 l0 C
<DIV id=lrc9 style="COLOR: #666666">至今停在说爱我的那天 </DIV>
, O8 K: C j( _) N<DIV id=lrc10 style="COLOR: #666666">然后在世界的一个角 </DIV>; y. I2 u6 ~- v3 |+ }5 f. F
<DIV id=lrc11 style="COLOR: #666666">有了一个我们的家 </DIV>
( L& j! V2 K' d e% R/ x/ v<DIV id=lrc12 style="COLOR: #666666">你说我的胸膛会让你感到暖 </DIV>
/ J' H& ]* R2 J9 o# d+ I, q6 E<DIV id=lrc13 style="COLOR: #666666">如果生命 </DIV>
) g( p) ~0 F4 \. Y. T<DIV id=lrc14 style="COLOR: #666666">没有遗憾 </DIV>- S' u: I$ X/ |1 J A+ e: j
<DIV id=lrc15 style="COLOR: #666666">没有波澜 </DIV>& z& w& E. S% Z, _5 }/ T. J
<DIV id=lrc16 style="COLOR: #666666">你会不会 </DIV>
; }# S3 R* m, g- M<DIV id=lrc17 style="COLOR: #666666">永远没有说再见的一天 </DIV>
5 P- t, b8 v1 } e<DIV id=lrc18 style="COLOR: #666666">可能年少的心太柔软 </DIV>
$ {" I% {! q+ V% k% _9 A# h# C<DIV id=lrc19 style="COLOR: #666666">经不起风经不起浪 </DIV>
9 Q. S7 R! e5 ]0 J4 g7 [4 }<DIV id=lrc20 style="COLOR: #666666">若今天的我能回到昨天 </DIV>
) r, O+ @1 P! Y3 x/ U5 a, V<DIV id=lrc21 style="COLOR: #666666">我会向自己妥协 </DIV>
* _* M+ |; g" }9 R<DIV id=lrc22 style="COLOR: #666666">我在等一分钟 </DIV>
$ \0 `6 v: s! ]1 Y<DIV id=lrc23 style="COLOR: #666666">或许下一分钟 </DIV>/ e6 T8 }* D$ N5 z9 S4 g. s8 b
<DIV id=lrc24 style="COLOR: #666666">看到你闪躲的眼 </DIV>9 L; t$ k; I+ J: k# ?( v
<DIV id=lrc25 style="COLOR: #ff3300">我不会让伤心的泪挂满你的脸 </DIV>5 {2 W: s4 Q0 k% L
<DIV id=lrc26 style="COLOR: #000000">我在等一分钟 </DIV>0 ^& z3 O4 [4 d J% k1 A
<DIV id=lrc27 style="COLOR: #000000">或许下一分钟 </DIV>
' J6 X6 U( m. k( Y; s [( c$ g<DIV id=lrc28 style="COLOR: #000000">能够感觉你也心痛 </DIV>
7 c! D7 e! Q$ c s% k2 h6 r" c<DIV id=lrc29 style="COLOR: #000000">那一年我不会让离别成永远 </DIV>, m7 v$ p( V/ {" U( J$ W
<DIV id=lrc30 style="COLOR: #000000">如果生命 </DIV>9 m0 H8 Z/ _- H0 j7 o/ E
<DIV id=lrc31 style="COLOR: #000000">没有遗憾 </DIV>
! D! A1 m/ T- ]( Q; L) a<DIV id=lrc32 style="COLOR: #000000">没有波澜 </DIV> J0 [% V$ X+ M: y: U
<DIV id=lrc33 style="COLOR: #000000">你会不会 </DIV>; e* U$ {, j2 f, y2 W
<DIV id=lrc34 style="COLOR: #000000">永远没有说再见的一天 </DIV>3 ~, p& U+ L1 a4 U( N }
<DIV id=lrc35 style="COLOR: #000000">可能年少的心太柔软 </DIV>
. n# D( \; M! J7 H<DIV id=lrc36 style="COLOR: #000000">经不起风经不起浪 </DIV>6 ~6 E- `9 O& I/ f' W; ^
<DIV id=lrc37 style="COLOR: #000000">若今天的我能回到昨天 </DIV>$ q: L/ V ?% k) {5 K9 B
<DIV id=lrc38 style="COLOR: #000000">我会向自己妥协 </DIV>
, b5 m) y7 h2 V9 @+ Q0 s<DIV id=lrc39 style="COLOR: #000000">我在等一分钟 </DIV>4 s& Y& _, t8 B1 O2 ^
<DIV id=lrc40 style="COLOR: #000000">或许下一分钟 </DIV>
$ [( {* A# o8 D( c4 J<DIV id=lrc41 style="COLOR: #000000">看到你闪躲的眼 </DIV>
0 @( @6 k) ~7 }, [9 h! y<DIV id=lrc42 style="COLOR: #000000">我不会让伤心的泪挂满你的脸 </DIV># }1 c6 u; `8 v, c* D/ `
<DIV id=lrc43 style="COLOR: #000000">我在等一分钟 </DIV>
+ ?, G5 e& }4 [+ l( E<DIV id=lrc44 style="COLOR: #000000">或许下一分钟 </DIV>6 |5 u. b$ h3 h% b
<DIV id=lrc45 style="COLOR: #000000">能够感觉你也心痛 </DIV>" |- r! B9 J9 O3 @% o& [( f- J' r; v6 y
<DIV id=lrc46 style="COLOR: #000000">那一年我不会让离别成永远 </DIV>
6 r$ _0 q- [, H5 i, f- K% ~; S<DIV id=lrc47 style="COLOR: #000000">我在等一分钟 </DIV>
c3 r7 P5 D0 x9 [# {1 ^1 r- D<DIV id=lrc48 style="COLOR: #000000">或许下一分钟 </DIV>
4 P2 o* M. o3 D2 X<DIV id=lrc49 style="COLOR: #000000">看到你不舍的眼 </DIV>4 c8 E }, i$ I! Y' z, h
<DIV id=lrc50 style="COLOR: #000000">我会用一个拥抱换取你的转身 </DIV>' a% D7 o5 f2 M2 o8 N
<DIV id=lrc51 style="COLOR: #000000">我在等一分钟 </DIV>; s5 R+ _' Q1 G9 G) P
<DIV id=lrc52 style="COLOR: #000000">或许下一分钟 </DIV>3 r8 k6 I8 r1 H5 _1 R1 ~
<DIV id=lrc53 style="COLOR: #000000">如果你真的也心痛 </DIV>1 H( F. R+ ^6 K" g7 ]2 ^
<DIV id=lrc54 style="COLOR: #000000">我会告诉你我的胸膛依旧暖
1 y p+ @+ X. A, R0 L( s6 \<DIV id=lrc style="DISPLAY: none"></DIV>
9 ~4 z3 y0 t/ ~2 _! {7 j2 I( u<SCRIPT type=text/javascript>
( V9 K: M$ V% V' |4 a8 J+ S# udocument.domain="1ting.com";
7 t. Y: }* u1 J0 U, ^! mvar colorPasted="#666666";
2 O q" R6 p" Z4 U% w9 F5 g) evar colorPlaying="#ff3300";+ e: t* `; A% ^8 e9 v4 y
var colorNormal="#000000";0 \" o8 I5 i' P
$ = function (a,g){1 c% |) _5 o: O3 y& M. y+ P
var o = new Array();
' b5 h7 r3 |/ R- e) A) ]( d# m var c = new Array(); 9 F! L. [; K. {: N3 T4 H
var r;
' f6 T: C) o H; ^* k var u;
, @5 k5 C/ n1 K9 K) A1 F G' i& P var a = a.split(';');
# N7 f: K1 i" I* n, h/ M0 R
/ q; L% q2 c- V# ]$ W; @% C var e = "keydowns,resize,load,dblclick,click,mouseout,mouseover,mousemove,mouseup,mousedown,inputchange,inputfocus,inputblur".split(",");, U# V# [- h, w- |' b
for(var i=0;i<e.length;i++){% M, d2 B# E) [
eval(e<i>+" = function (s){eval($event('on"+e<i>.replace("input","")+"'))}")9 b+ ?& R7 d' z% O8 T. ]4 I
}
+ Y B6 \9 w5 m& P# ^( F. |2 Q @' D! i2 j6 }1 x
after = function (t,d,s){ D# i, _% C2 F& }8 b' G* W$ H
$after = function (){
4 p& L( D. N$ Q0 k6 v. _7 g% P var $n=document.createElement(t);' G* ^' R# E. p4 x- b" o, c% _
if(d!=null){
6 y' _8 a+ [' o" V: w3 L; ? $n.id=d;
+ N8 b( a3 B$ }: T# w7 F+ Y9 w1 r }
* _$ h- }& ^. ~- J . I% l# q K; E9 \" S& ~! N/ m% m4 c g
u.insertBefore($n,null) 7 S @0 j: Z: |( P. \# }
r = $n; - x8 j* d, C2 g8 {1 d: Z+ d
u = $n; ! W- W) v/ `* o6 y# ~- }
}2 U3 g y2 ^- S7 [6 }/ A
$for(s,"$after")- D- ~4 y' C6 W# F% j5 ]5 u) q
}" T2 E, p/ C; M; Q7 o b5 ~
' m3 e0 s& D+ \ show = function (s){& v- x/ c' k8 R8 Z* Y; J# M
$show = function (){
- [% C: r) p. d2 X1 H/ w2 B5 w/ b% G u.style.display!="none" ? style("display:none") : style("display:block") ;
( m p Y# _; J- D3 u# ]. D }
7 I! J4 K' m8 O) d" M f $for(s,"$show")3 O/ Q! r2 y* D( j3 e, n8 {8 X
}, [! G' g' b7 @) B
9 A! L; O! P4 ?& T& y, M U
check = function (t,s){* v! W Q* \0 M8 g }* P) I9 y
$check = function (){
9 o6 x9 j0 b7 ]5 z2 v9 y. Y if(t=="2"){
9 T7 h: [$ a. R0 j. W$ S; k0 w if(u.checked){
! x, t& u: j+ k ]: S$ `7 y7 e u.checked = false;( X- V2 s# a1 r6 w+ ^
}else{
3 _' Z; J' e* P: R u.checked = true;
: S {- ^& k9 ^0 g }
! q# R0 q+ [8 t) H9 a }else{
H4 C* l1 G7 `% O! h u.checked = t*1 ;% [2 ^0 n. k4 L
}) I( z2 z6 V6 U" e* Q
}6 N& _4 r. i" U5 d" K
$for(s,"$check")
; X A* q. I8 ?1 ]* h* p }
' X) j1 g ^+ g, u, z- [7 R2 c; v4 x
& x" ] I! }8 X/ E2 M) x d0 G style = function (v,s){ ?# r: r: x5 [; [
$style = function (){" Y( j" T; ?' a% l. O, l
var $n = v.split(",")
" ]. w' i, [9 b2 E6 v for (var i=0;i<$n.length;i++ ){
f! } o. u' ^& b l: A var $m = $n<i>.split(":")
- a" j3 m" z+ |, Z4 W, r eval("u.style."+$m[0]+"='"+$m[1]+"'");, j" j/ N9 P! J- h0 u2 ]
}- y+ L$ d$ p8 g7 e9 L3 d1 o; J
}
/ `1 V+ a. b6 H. @! y% ~ $for(s,"$style")
* B. F( b8 u+ r }
2 J( o4 z0 m2 X5 ]0 y
4 z# X- v v: z% q( \% J* L4 T% s value = function (v,s){
) k( e; o+ p, J7 f7 |' a2 A var $n= $this (v);: E' M" \' N; d: B
$value = function (){- V: x4 f& S1 B/ K8 v8 P0 E
u.value = $n
+ o0 Z# G M9 V; G+ A6 J) c }, ?' f7 v& {; W) K2 W# \
$for(s,"$value")
# u! S0 |! U5 d }8 p) L& i9 B2 Y* K/ c- w2 ]
' N A! `5 |+ H) m# \ text = function (v,s){
# w- d" X3 `( m# a var $n= $this (v);3 U% |9 d( e' E" P7 x& _1 }
$text = function (){
2 g% [, ]1 f2 n* ? ' H- B9 { l6 M% d( P& d b
u.text = $n; _, j8 \- r( q8 M4 Y# a$ |. l3 @
}
% O* `7 I# X; f9 S% { $for(s,"$text") 1 y: W3 g F% }; v
}
, A8 L. m1 Y. R8 {# _( Y* l% W( h( D2 g" [! }
innerhtml = function (v,s){
4 V* Y! O8 G, Q/ P+ z var $n= $this (v);
+ r) w, O5 C8 T" Z. V $innerhtml = function (){/ ^/ v q0 A% @7 f0 K3 V" _
u.innerHTML = $n# K& P- w9 p. z" B; E5 T' q/ L/ Z3 z
} M: k# {+ w% H
$for(s,"$innerhtml")0 n7 x4 h/ o* n
}
+ E$ o3 K ^- B Z8 t; T2 m4 @" `
3 T* }& }$ U; i9 ?# { removechild = function (s){! `6 ^! J3 d$ r) k
$removechild = function (){! ^: ~1 \5 f* k' K0 L
u.parentNode.removeChild(u)
- e$ i, n( b. x/ q2 b+ v, c }& J; }0 b3 l$ o: @4 Y0 H7 [
$for(s,"$removechild")6 q% E4 v8 R. u% h, w! J" Z
}) R( a& G6 H0 y
' a0 M# }5 p( P" S# Y
$this =function(v){) M$ @0 d7 K0 m4 z0 V% Q
if(v.indexOf("this") == 0){5 f' } P/ z# v( S; H
return eval(v.replace("this","u"))3 {4 b* j* |5 B; e4 |2 x* O
}8 g1 l8 q( v& }# }' g
return v;% o- v+ z( B# X* X6 {: X( n& X2 e
}
6 @ V9 N, R& A
( Z% R l% r( n# S6 e; I $event = function (s){% \. \4 k% z# r) Z k; i
var $n ="u."+s+" = function(){$work(this,s);}"
4 D4 _3 Z# u7 [4 f return $n;
( i- E3 _7 j( A0 n }
# a8 G$ x0 \. [/ C- t2 S5 ^/ k8 L- C+ N) ]7 l$ i7 A
$replace = function (s){7 c3 k1 S8 N9 Y. i
: Y' s( y) l" U" j! i3 Q }# c* w* N! T! ~( j
* w. }+ ?' j& M $for = function (s,c){2 C% c* W7 v% F/ Z( t2 c2 [
var $n="this."+c+"()" ;4 W( x9 r2 D5 S5 C' m( u
if(s!=null){
& U2 K. D2 _) k) \ var $m =$test(s);! f0 ]' R; P6 |: h* k( U- o. _
for (var i=0;i<$m.length ;i++ ){/ P/ S$ Q" j2 x) l! L
u = $m<i>;; j6 w% u: z- i- u+ t- i5 F
eval($n);( q5 p8 |) K6 S+ @- ^
}
, a1 x% L% b3 @( c9 s4 L }
% V9 |2 q" ?+ g+ \% ^3 I& L else{$ I; v! q. Z0 c( x1 L3 O9 J
eval($n); v0 w, c6 k+ @% E" B3 \" H: L- [
}) S9 L) `* e9 ?1 J( I/ G4 o k/ `. P
}5 t. F' O" v4 `
. _4 d% f' H5 K* c2 m9 `: x $test = function (a){; \2 U. l& O# A1 p" i
var o = new Array();$o(a.split(';'),o);
0 W; ~1 ^9 ~* w! p$ [) n2 y9 D1 c return o;. Q2 n( d( ~2 Q/ J3 S$ ~
}
5 H7 _' ]* _0 k1 }
' F; P1 E ^$ b $format = function(s){$ Y! w2 S% x( }# r5 m9 N; {( V
while (s.indexOf("'")>0){
8 w* ?2 p; e+ h5 e8 c s=s.replace("'","\"");5 g! X6 L5 {# j; w% p5 P( C% M
}
4 u" Q" \6 o3 B, ?4 p% | while (s.indexOf("][")>0){
: K; {/ S9 c: m4 w s=s.replace("][","','")+ B1 n' {" L5 d+ `
}! N6 D/ N6 [: t* x# ?5 Z0 i6 N
while (s.indexOf("[")>0){6 ~5 [6 C/ N' r' I$ r n
s=s.replace("[","'").replace("]","'")- K9 S( n( k, k3 Q
} s( c- s& V1 |3 C8 M' d4 q
return s;# T8 ~5 ?9 h' g3 S" }9 z$ E4 O
}
1 m; q/ y/ U, n. o. {. O! r3 X2 Y% z( S# G) M6 h, i2 d, `7 ~
$work = function(w,s){% X7 g) v f7 b8 Z+ v' Y; [6 V
u=w;eval(s)
& y( }" x I/ C( q4 v% w }
5 ?) c: h) }. [5 J2 i6 q4 P' n: M! z+ a! ?$ ]; W5 Z) y
$id = function (s){$ g$ Y: ~ i* ]7 r
return document.getElementById(s);( g, A- N- m1 j: k$ q
}1 W0 U8 z; z0 \/ k% s
5 p% z0 S& z1 y9 o8 V $name = function (s){" O$ m5 h2 G% I* s
return document.getElementsByName(s);- j0 I; D- p) ~
}( B6 i; p8 `! V( r0 V( `# j
* ]" D7 Y7 I' K5 b $tagname = function (s){
4 K* j: i: r! s& j return document.getElementsByTagName(s);
- o8 E; w% s( P9 U: t, X }# U- g$ t* T1 G) W& M3 k, ]
0 D) |% F1 y$ U1 |4 U9 j/ D8 P7 P' U
$o = function (a,o,c){: p8 H8 i2 q$ x0 v( s0 R- v
$push = function (n) {
' I8 s8 f; B/ V6 ~' _" I for (var i=0;i< n.length;i++ ){
2 s- L3 \( J: l; v0 v* q o.push(n<i>);4 U _2 s/ F& C0 D3 c. N9 N
}
2 h7 q7 V/ h4 T) W( R" y& s P1 Q1 H! N }4 I2 ^5 L5 G% z& a; v4 l
for(var i=0;i<a.length;i++){+ y9 W3 H5 p* ?, @ E5 N
if(a<i>.indexOf("(") >= 0){
7 U6 l+ t, Z* ?( A4 X% x. _5 i& a: n c.push(a<i>);
4 d* `/ u- U! V; x+ n }' J$ ^8 ^8 R! c8 r& Z4 U
if(a<i>.indexOf("~") > 0){
0 C8 j9 e1 H" |% y: O/ C try { M) d# ^; a ]/ g
$push(eval(a<i>.replace("#","document.getElementById('").replace(" ~ @","').getElementsByTagName('")+"')"));
1 L M6 n1 Q4 ~: M6 W }catch(e)
- j( h5 O x2 [4 `& g$ n/ E2 F {} 5 ^, @1 j& ^! W
}) ]( R; ?$ r# a& s* |
else{$ R. i: ]* b* g/ q r9 i" s' A" r6 ^
if(a<i>.indexOf("#")==0){' C7 ~$ p$ x6 ^4 [# |& F8 n/ K
o.push($id(a<i>.replace("#","")));& w) o% {/ x: \! d& H8 w2 s$ W
}
% y* A# T# O2 ^ if(a<i>.indexOf(".")==0){
) \& M. M( L* C/ M; v; p $push($name(a<i>.replace(".","")));
' F \" Z d9 @ _ \- y }
6 }8 A8 u+ r4 y) @0 s& D6 @( S7 @' f if(a<i>.indexOf("@")==0 ){
. u" P- R# Z: y5 F) i% P $push($tagname(a<i>.replace("@","")));
& v' _+ `1 q3 O1 a5 G' T }1 F8 p' u- u2 V
if(a<i>.indexOf("*")==0){" `' n2 x4 ~' Z- A6 c1 E
$p= a<i>;
; @* }& b4 o6 K if($p.indexOf(".")< 0){" M, y* k4 B4 |% e R1 N
$p = $p.replace("parent","parentNode")
+ r) o( a, m5 b1 T }6 \8 s& n3 x/ O. ^9 I0 n
var $p ="u."+$p.replace("*","");$ }& W* ?. R" S
while ($p.indexOf("parent.")> 0){
" S2 q' z& L {+ X' c- O $p = $p.replace("parent.","parentNode.")
: K6 W3 t O3 V$ X- x2 a0 d" B5 H& J }
C2 w: D* N6 @; P% C. a) ^ while ($p.indexOf("child{")> 0){
1 i0 ?) a3 A& e% I0 n $p = $p.replace("child{","childNodes[").replace("}","]")8 Q& H% Z1 W* `) B+ Z/ f/ t
}
; ?2 z+ G( K2 \: s0 O o.push(eval($p));- m; [! ^0 o: O# h$ w- Y4 M; u, n- |$ s
}1 e# I' o N3 y8 E
if(a<i>.indexOf("document")==0 || a<i>.indexOf("window")==0){' i; v: I% V. K$ B( v y9 p
o.push(eval(a<i>));7 l$ L# a. H; u* Z$ E0 E
}3 w" i) z1 E0 S4 f
}, Z$ j% m! H0 U* t
if(g!=null){ & q$ x* n7 C0 T' { {5 y
o.push(g);g=null9 |& _6 y) h9 V& S0 [
} Z0 N( `9 `7 u$ Z0 x
}
9 k) S# H$ B$ U0 W% Q/ t$ d& _ }3 D5 u6 \5 t. e
+ e# J( W- y9 ^9 ] A $o(a,o,c);+ E! ~6 T# L5 m( }( h- M# s
6 S7 x$ }# ?2 Y
for(var i = 0;i<o.length;i++){8 K' `8 Z0 v( i
for(var j=0;j<c.length;j++){4 Q4 [# Z8 q5 g8 ?( ?$ E6 h" C; Y, X
u = o<i>;eval($format(c[j]));
4 C" c5 B. o# m/ L' U }
9 p7 e* d5 N, F% a' c+ l }' D! @/ P0 i3 I
# G7 j" u/ |$ }
if(o.length == 0){1 F( l% a. Q2 {( K9 u) r
for(var i=0;i<c.length;i++){
( \7 X! {$ c" [ eval($format(c<i>));. y2 f% I# i. K5 F# D+ c' p
}4 V9 y, [" p0 e( ]+ K+ Q+ j
}
: Q4 b" X$ G. _2 h* `% L ~! \0 @8 F' i: Y8 k& U; T1 Z
if(r!=null){
! E7 t% w" C: X1 g7 _7 a0 C return r;5 W2 Z# R3 f4 {- g, `% _6 C; g
}1 Y) |: m! G$ G4 i# X
a) P; b2 j! G% u" ?8 H
if(o.length==1){* ?# l F! X. R# a2 d( W, d
return o[0];) b. ?" Z+ A [1 H" e4 ]
}* ], Q& f. J r0 X9 d, ]# ~
else{
; n2 V1 [0 A* f: Z return o
+ M7 }/ B# b# _6 D8 l& b: | }
7 b! H7 d8 c- T! L8 R
% i: o3 L, h- X6 Z3 R }3 |8 x& v4 j6 o8 L1 e
var lrc =$("#lrc;show()").innerHTML.split("[");6 t D" @/ G% H1 W4 {1 c$ M' ?' Y+ M
if(lrc.length>5){! }. s, P* x- S
var array = new Array();
# x) T3 F+ I6 C8 dfor (var i=0;i<lrc.length ;i++ )
4 g9 G5 O7 l- f3 u. K" [{3 @: `" K- I% O( i; K
var g = new Object();9 G" K( T8 }$ B+ D6 m
t= lrc<i>.split("]");5 A) H/ t X3 X, M4 q( I
g.time = getTime(t[0]);/ S9 P7 ~8 w% g9 v/ z6 G3 ^5 p J9 O
if(isNaN(g.time)). f3 k" j _. G' @' a: s% f7 R
continue;
, N: `; p, m3 b g.c = t[1];
7 s% |& X% e$ N5 @6 P! a- O if(g.c == "")
5 y- k4 v( Y6 q% d8 `5 `+ O1 r# f- I g.c = getNext(i);
t. K0 U& j! D array.push(g);6 @7 u) M% b( @" ], J: Z. z' r% l& w
}
9 a! d# x o* z, Barray.sort(function(x, y) {7 d [) `0 a/ H8 D5 K1 [9 m- \
if (x.time>y.time)
" C. G: }2 Y0 s return 1;- W" O* i2 _4 A
else if(x.time<y.time)) i& L7 b9 o" Y1 X6 b9 [
return -1;0 v+ L1 e1 M, [! {
else! ]/ T' \! C* ~2 \! n6 @9 X
return 0;3 {- s w9 l8 M- r4 D
} 0 w- _8 T. U4 a
);/ A$ ?6 J* L- b/ g- A2 D
for(var i = 0;i<array.length;i++)* g7 W! v1 R8 G; V; I- {& q' C
{
. P8 ~/ V9 ?0 N# L( A var g = array<i>;, R2 e0 G: i& S( [0 r
if(!g.c){
& Q0 q) s3 K, a/ ~5 Y l g.c="";# w2 P3 m' m- M# o
}) m/ b' \& T" R- {: _( T! U
$("#list").innerHTML+="<div id=lrc"+i+">"+g.c+"</div>";+ p. q' R: N! \8 a6 ~# c
}
/ E; B- g1 ?0 U; Y+ G* \# e: Avar time = setInterval("lrcList()",500);
2 P/ e% S' M' o8 u X: L3 R1 v+ w}else{: T, G# D( t; g x0 X6 e1 _' H
$("#list").innerHTML=$("#lrc").innerHTML;+ k9 |2 U0 n' c3 Y& G) E4 }3 N
}
" b/ b# E! |; c. `' E0 Q7 Qfunction getNext(i)
% T5 v7 b; g* x{
! S- z+ N5 _8 O q var result = "";4 y j1 S+ u! Q! o& f& P. e% G
var i = i+1;$ s( y( f/ a3 I8 }' S" _ e
t = lrc<i>.split("]");0 m6 G1 b/ `/ \' e8 [9 t# t7 W
if(t[1]=="")6 } M' D) C5 ? B1 B7 ~5 |* }. j
result = getNext(i);4 B- y% f! d1 P* E8 t
else
# |8 |9 A' R! G% A4 S1 C result = t[1]
" ?0 `7 w z" r) r5 D9 Y( C- K return result;* ]! L* Q$ ^& B- U9 X! F
}
3 b4 k" Y* W5 Y1 E: H" B+ S U( r
function getTime(str)$ j u, b. H- Y! S6 h
{) h# S/ U. D- R" E. W: E
var time =0;9 ^0 p- @4 v" A$ Y+ s
var ta = str.split(":");
/ |$ w8 A* _; L3 {6 f$ s if(ta.length<2)
$ |7 D6 y! V* m3 d! k) ^, v1 Y return time;
, C. X, Y4 w$ G/ T0 B9 o
8 Y1 U: t/ l5 `4 {! ^! j0 \ if(ta[1].indexOf(".")>0){
$ q- x) V% G6 L1 R" G$ J- Q( } var tb = ta[1].split(".");) H9 L4 S, y# B* C; m
time = ta[0]*60*1000+tb[0]*1000+tb[1]*10;% r7 u: _7 T8 V9 U
}
% B4 E/ h5 a9 G else5 [+ w D, I) P) F. \- a) C4 P
time =ta[0]*60*1000+ta[1]*1000;, B1 z6 F: O! n3 |8 I2 W* R9 @, F9 Q
return time;
) `# S2 O. h5 P, e& \}
$ W/ Q, Q/ c1 l: o$ V$ f: a, y \ m( Fvar preTime = 0;
8 M$ |+ | O" N. r, O, dvar nextTime = 0;* t' I" n: A+ c
var currIndex =0;( @7 Q) b1 T: U' _' M' p
function lrcList(){( ]# ^ T" |, @5 l+ M
var s = parent.document.getElementById("MediaPlayer").controls.currentPosition;4 R3 b6 {$ V" |
s = s*1000;# I1 k0 l! D5 E! i
if(s==0){- L% \, V4 R: n8 k$ {- V* A% F) D: F
currIndex =0;
4 L0 {; }, U! T9 D3 h" V4 K8 V7 ` $("#list").scrollTop = $("#lrc"+currIndex).offsetTop-30;' I* y& y! `/ i+ Y6 R7 S
for(var i=0;i<array.length;i++){
' m, w4 I4 f T' r( Z* j document.getElementById("lrc"+i).style.color=colorNormal;
( @' \" ?7 Y, M% B; z4 ] }5 L9 {% P. k, E# `+ C% h' B) T4 k: C
return;$ i- y% N e5 C$ H
}7 J4 [7 u9 L! J1 D, C! T: y2 u$ ?6 C
if(s>0&&currIndex<array.length-1)# i0 T" v q& y4 Y6 P8 G
{ ( F. w" A3 i$ E, D) V3 w, G7 W
preTime = array[currIndex].time;, ]2 m( H* T2 w- l; z' w- @2 K
, ^3 Z8 S9 h! {$ E" P& P5 g
nextTime = array[currIndex+1].time;, r( z1 f7 ?4 k/ n: t1 m* E3 J
& c9 Z* \: Q4 P) y if(s>=preTime&&s<nextTime){# R5 Q/ j7 t- |( u* V" |
}. @9 e8 K& m3 Y& E3 B
else if(s>=nextTime)2 K& \8 [+ I; p: {
{/ v! {1 `, T9 N) b* |2 |, ]/ W7 D% e; w
document.getElementById("lrc"+currIndex).style.color=colorPasted;
6 @6 a1 f, K* j& z) I4 E% I currIndex++;* D8 x8 h. l7 R7 e
$("#list").scrollTop = $("#lrc"+currIndex).offsetTop-30;& C, r& C0 o2 Y) Q8 q( O. ?6 n6 @
document.getElementById("lrc"+currIndex).style.color=colorPlaying;
# H* U5 L; y3 C9 Q# I lrcList();8 G1 u7 t( g: I! G2 W
}5 n& |; Q& S* Q5 G) J
else{
9 K; T4 K. m3 M document.getElementById("lrc"+currIndex).style.color=colorNormal;
, [- s- b! j9 K) g( g# l1 j currIndex--;
: e* R; i% U1 [) z5 e' Q+ e7 m $("#list").scrollTop = $("#lrc"+currIndex).offsetTop-30;# Q, R; _: P- }% J. L
document.getElementById("lrc"+currIndex).style.color=colorPlaying;* G- j; d, ]' e( l$ i I p
lrcList();
( S: ?0 A+ P" v% q: R } 4 q. c: z3 y9 w3 ~% ^+ w
}
" q& y" \% \2 h% O else
! o. q/ ~- Z! r* I7 I5 L {& b1 |, B$ c3 j; _
if(s<array[array.length-1].time){' C, ^4 L* D' L1 j: [$ d! J* q0 ]# F
currIndex = 0;1 ]: t N6 R! \
$("#list").scrollTop = $("#lrc"+currIndex).offsetTop-30;- e- H4 y `) G
for(var i=0;i<array.length;i++){
+ h7 f' |: t, ^0 d& P( ?" K document.getElementById("lrc"+i).style.color=colorNormal;6 M- s3 `! f4 \( z
}
& u, r, D. N' s7 r' n, \ lrcList();
0 _9 j k( U% h0 l) v. S }
6 q: n$ p7 A1 R }
( H' W0 I% _1 r6 P$ V}
X! e# K! c; |' ?* P</SCRIPT>
2 \0 \- T8 B% E [</DIV></DIV>
2 H3 I# M/ d) v/ m% y
5 J9 Z1 R3 J( L# b X[ 本帖最后由 幽谷兰 于 2008-9-18 17:36 编辑 ] |
|