|
|
<DIV id=list>
: K! @+ m; [% s$ y e2 c+ [0 p<DIV id=lrc1 style="COLOR: #666666">[wmv=0] http://lzbj.ncedu.net.cn/uploadfile/20083923248279.mp3[/wmv] </DIV>7 R5 V: A; D# a
<DIV style="COLOR: #666666">|等一分钟|听到这首歌,觉得它很动听,旋律很优美,很是喜欢,传上来给大家听听。</DIV>
0 G( x" L" E H5 }/ Q4 @<DIV id=lrc2 style="COLOR: #666666">词曲唱:徐誉滕</DIV>
" D0 D9 S0 `. u7 D+ D2 M2 i/ w8 `' L<DIV id=lrc3 style="COLOR: #666666"></DIV>( m; H) p! B X( j) b5 t( `
<DIV id=lrc5 style="COLOR: #666666">如果时间 </DIV>
1 j% i# a% T6 H<DIV id=lrc6 style="COLOR: #666666">忘记了转 </DIV>
9 b: f. O. x6 g) p {: R3 A<DIV id=lrc7 style="COLOR: #666666">忘了带走什么 </DIV>+ ~3 Y6 N& B$ ~5 M
<DIV id=lrc8 style="COLOR: #666666">你会不会 </DIV>
( J3 n }5 \, F6 W0 T. d% S$ O<DIV id=lrc9 style="COLOR: #666666">至今停在说爱我的那天 </DIV>
* p/ k5 M( l1 ]5 Q2 }: f+ y<DIV id=lrc10 style="COLOR: #666666">然后在世界的一个角 </DIV>5 v/ A+ n& b6 ]4 d- m7 R4 P
<DIV id=lrc11 style="COLOR: #666666">有了一个我们的家 </DIV>
1 t7 X$ P* r) {' B: f+ B3 V3 U<DIV id=lrc12 style="COLOR: #666666">你说我的胸膛会让你感到暖 </DIV>
( f1 O+ j& O2 I<DIV id=lrc13 style="COLOR: #666666">如果生命 </DIV>9 u% N& Y0 V& Q; z1 |' V
<DIV id=lrc14 style="COLOR: #666666">没有遗憾 </DIV># b- v- ]8 B% U- z8 p
<DIV id=lrc15 style="COLOR: #666666">没有波澜 </DIV>
2 l+ u% x! a# f* I( e2 l; b4 P) E<DIV id=lrc16 style="COLOR: #666666">你会不会 </DIV>
3 Q/ j" n3 q+ S+ {5 a ?) p" I+ f<DIV id=lrc17 style="COLOR: #666666">永远没有说再见的一天 </DIV>' L3 ~4 \) Z7 x
<DIV id=lrc18 style="COLOR: #666666">可能年少的心太柔软 </DIV>
: o. `7 ` q" F' n* U# h<DIV id=lrc19 style="COLOR: #666666">经不起风经不起浪 </DIV>9 S) v9 c5 y S
<DIV id=lrc20 style="COLOR: #666666">若今天的我能回到昨天 </DIV>
$ p! N8 e3 `" N7 a' z$ d$ S6 _<DIV id=lrc21 style="COLOR: #666666">我会向自己妥协 </DIV>/ {* b* t1 A' {8 j
<DIV id=lrc22 style="COLOR: #666666">我在等一分钟 </DIV>1 A+ g6 R& @0 a8 a8 P @: t
<DIV id=lrc23 style="COLOR: #666666">或许下一分钟 </DIV>
2 N" k' k( M% b/ ]<DIV id=lrc24 style="COLOR: #666666">看到你闪躲的眼 </DIV>
/ F1 Z; A- Q) [* r' K `! _<DIV id=lrc25 style="COLOR: #ff3300">我不会让伤心的泪挂满你的脸 </DIV>9 N: ]: ?$ a8 f' T& W0 T, |' B0 y
<DIV id=lrc26 style="COLOR: #000000">我在等一分钟 </DIV>
5 `" N: G5 S1 \' e3 r: x& e. \<DIV id=lrc27 style="COLOR: #000000">或许下一分钟 </DIV>
/ F6 @% l; {% a6 X" _; N<DIV id=lrc28 style="COLOR: #000000">能够感觉你也心痛 </DIV>
/ ?7 s5 N8 ^! v<DIV id=lrc29 style="COLOR: #000000">那一年我不会让离别成永远 </DIV>3 x0 A2 @! P. G! \4 \
<DIV id=lrc30 style="COLOR: #000000">如果生命 </DIV>( k' \6 Z# K) h0 D, s. g
<DIV id=lrc31 style="COLOR: #000000">没有遗憾 </DIV>; G2 C6 t; S b1 a3 U y
<DIV id=lrc32 style="COLOR: #000000">没有波澜 </DIV>
9 d8 G7 l+ ?( `6 {: ?1 K<DIV id=lrc33 style="COLOR: #000000">你会不会 </DIV>+ b+ X; W+ H. ~ _: ]# U9 A8 b
<DIV id=lrc34 style="COLOR: #000000">永远没有说再见的一天 </DIV>
& i$ z2 \8 K& Z$ @4 C<DIV id=lrc35 style="COLOR: #000000">可能年少的心太柔软 </DIV>
- ]# J3 O& r& h$ _5 u) }0 ^<DIV id=lrc36 style="COLOR: #000000">经不起风经不起浪 </DIV>
/ W6 y) z/ _( n2 q<DIV id=lrc37 style="COLOR: #000000">若今天的我能回到昨天 </DIV>
1 z& V6 ]: O0 o# s9 e<DIV id=lrc38 style="COLOR: #000000">我会向自己妥协 </DIV>
- m0 c! k7 ^$ i2 G<DIV id=lrc39 style="COLOR: #000000">我在等一分钟 </DIV>
) M/ E$ t# j' ~! s<DIV id=lrc40 style="COLOR: #000000">或许下一分钟 </DIV>
7 `" _7 J$ } y7 {" X) R' D- I2 E+ [<DIV id=lrc41 style="COLOR: #000000">看到你闪躲的眼 </DIV> u8 u5 M3 i2 d n Z
<DIV id=lrc42 style="COLOR: #000000">我不会让伤心的泪挂满你的脸 </DIV>
% @7 f5 u5 |8 A1 u# t<DIV id=lrc43 style="COLOR: #000000">我在等一分钟 </DIV>- t& H& g& @, u7 [/ Z$ h
<DIV id=lrc44 style="COLOR: #000000">或许下一分钟 </DIV>. m% m; N2 F8 j8 o: v
<DIV id=lrc45 style="COLOR: #000000">能够感觉你也心痛 </DIV>* t( I* y& e& T
<DIV id=lrc46 style="COLOR: #000000">那一年我不会让离别成永远 </DIV>
$ c% ~. | s3 B# K; u& g4 z* c<DIV id=lrc47 style="COLOR: #000000">我在等一分钟 </DIV>( Z" ?# X( b* a& ^, Q% ]" t2 c* I
<DIV id=lrc48 style="COLOR: #000000">或许下一分钟 </DIV>
& Y% r2 ^8 K; X3 ]<DIV id=lrc49 style="COLOR: #000000">看到你不舍的眼 </DIV>
7 ?% g. ?6 d' z& ^<DIV id=lrc50 style="COLOR: #000000">我会用一个拥抱换取你的转身 </DIV>/ ?' L7 {# C8 X4 H* C6 [
<DIV id=lrc51 style="COLOR: #000000">我在等一分钟 </DIV>
5 R2 X* c' [/ G5 ]9 _7 I1 m' Y( f<DIV id=lrc52 style="COLOR: #000000">或许下一分钟 </DIV>
6 j0 Z2 Z; k/ x& b8 w9 Y" D<DIV id=lrc53 style="COLOR: #000000">如果你真的也心痛 </DIV>
* D# D" t, R' p. Z8 z<DIV id=lrc54 style="COLOR: #000000">我会告诉你我的胸膛依旧暖
% B* Z& M3 ~# f4 E<DIV id=lrc style="DISPLAY: none"></DIV>
9 Z8 }2 i! I, v) a7 _) |* w7 s<SCRIPT type=text/javascript>
0 c- ?2 b! [: N. y! W: c/ H4 Zdocument.domain="1ting.com";: U7 f: Y& V2 i) ?3 l9 D& L
var colorPasted="#666666";/ X0 Q' {6 H: y0 v: f2 r
var colorPlaying="#ff3300";
2 J" z( m" c. H. D- wvar colorNormal="#000000";( @; y0 g F* q5 D, p
$ = function (a,g){, r, p% n2 i6 g& _
var o = new Array(); % t' `. ^ ?; F, u6 _0 n% r# E
var c = new Array();
& k C( U0 D4 f) C# X5 @ var r;
9 G) j9 _9 _# }4 F var u;
3 [. T" h4 B$ t, t( J! O( f var a = a.split(';');
/ ^* ^% h3 R A8 S7 G) S ^' p
1 x4 s+ k3 f; H7 p# { var e = "keydowns,resize,load,dblclick,click,mouseout,mouseover,mousemove,mouseup,mousedown,inputchange,inputfocus,inputblur".split(",");2 J( r3 w4 @: ?* A H
for(var i=0;i<e.length;i++){/ z' n4 g0 k" h( d2 u' P( E4 s8 r
eval(e<i>+" = function (s){eval($event('on"+e<i>.replace("input","")+"'))}")/ n7 }* W' ~' s4 w0 O8 Q: y
}
* ~* G$ l0 q7 ^3 w% r& w7 u3 }. z+ Q8 m6 P6 @7 U
after = function (t,d,s){6 k7 b5 ^" w1 l# z$ o: y* B, C4 r
$after = function (){, A$ Z$ N/ l. S* G* I
var $n=document.createElement(t);4 f$ O7 F* M: P& g: u+ {" y
if(d!=null){
1 B1 u+ S, r. ^2 s# B8 ^( w1 F, U $n.id=d; / Y. L; ^ {5 u
}
1 L" H- S- f/ I- |! D( I9 E $ g. }( l/ I7 s# }+ k0 y
u.insertBefore($n,null)
( f& I' o) _3 R. J( v r = $n; ! Y7 }, s/ a/ W1 i
u = $n;
6 F$ ^5 L, _% A) M5 Q4 ?3 S/ g }0 o% g6 ~; q3 e) r4 o# Q, w i
$for(s,"$after")& h8 q6 ]0 S& Q! V9 d7 Z
}
0 b; z+ B/ `+ c8 v* y2 s# T1 g7 D
show = function (s){. Q3 G; @( M+ F
$show = function (){
; n1 h6 V6 d) Z/ b/ r u.style.display!="none" ? style("display:none") : style("display:block") ;
4 l* q v4 Z. k8 F2 V; Q1 D+ u }4 a# @ b* f! x: `; N
$for(s,"$show")
5 s; K5 T) Q( f ^; Y }
% |% n8 G2 X; S- C/ h) ]
: V+ F. E+ W+ f/ [7 |7 I8 B( I check = function (t,s){
# k0 Y4 k7 H" p $check = function (){
: t, A2 o1 n, S2 p" t% J0 i) m if(t=="2"){
0 l/ T3 n. E* {* h0 I5 l6 h if(u.checked){
" h# x6 z8 n* d u.checked = false;: A% I) u- ?/ O; p1 [
}else{
, E1 l. F2 `8 d, Z5 o2 t u.checked = true;* p6 a* s! G4 Y! y9 ]& o; V$ h
}, P$ Q% w% Q: L) A0 X9 C9 u
}else{3 J( B8 X3 W8 l3 D0 W8 N
u.checked = t*1 ;0 X0 T& e" {: B" z7 R
}
" B, f) v+ [- ^+ I' C T! x* S1 V* | }# M5 a% m4 z5 v7 X& i8 C
$for(s,"$check")- {! ?! s& U& I2 h/ n
}% L+ q! S& a0 _- ]8 j/ o
- v X6 o& H* q; ~% \) q
style = function (v,s){% i& _6 `2 A+ U% Q' t Y# h+ {6 @
$style = function (){
0 R; m1 q9 {! Y0 t/ Q var $n = v.split(",")
c' b3 q+ h- A' E( S# [ for (var i=0;i<$n.length;i++ ){0 L$ E& Z r$ @8 C6 z" F; l: |
var $m = $n<i>.split(":") 5 K0 Y: o* t! [
eval("u.style."+$m[0]+"='"+$m[1]+"'");
1 J# n0 t ]9 q. O0 A/ y- K! c }
$ O: ]* j. q% ?& G" b. T }; a; \: x8 N! P1 {
$for(s,"$style")/ x$ A( @0 d$ E3 z4 H
}* T1 M+ Q/ `5 ?& E" v+ N
; p/ n& x1 I' B) k( b# x
value = function (v,s){
: a4 k7 t) o. h3 z: { var $n= $this (v);# {" _) X9 `; T* t' ]
$value = function (){7 K* I( C, z- c& X5 _# n4 n
u.value = $n @! v8 H7 [2 w: {- X( l% `8 F' a0 C
}; Q& C7 ~- v% {
$for(s,"$value")
1 Y- F2 m8 H4 K, W }+ m; A; P) d! s3 e; C
% w% O# X. P5 R" N7 b text = function (v,s){
# O( p* x% s: I- E2 N6 ^8 l+ q var $n= $this (v);
% I. }7 i1 D; p8 R7 ?, w $text = function (){4 F0 E9 w3 _# m
$ L( E: |! s/ q5 F7 u# A
u.text = $n$ W: y: Y. T+ k; B! r$ O) l+ }5 [
}. Y# X, }( T4 \$ z
$for(s,"$text") , [' V } Z) v7 N% o- w8 E
}
) M0 X; E& W& J; ^
7 j% c1 d0 i5 h/ p innerhtml = function (v,s){; b" y, Z0 b8 {& l: t
var $n= $this (v);
' N! i5 F6 w0 j, S5 }6 ]5 O2 N. n $innerhtml = function (){
1 X \' \/ g4 M( i, c1 B u.innerHTML = $n
: k* ~" X( `: K+ K4 U7 N }
# l. Z9 i$ T* M1 Q: {$ F $for(s,"$innerhtml")# p& h; T( \( }% b
}
% y, `% }! H0 n6 z1 ?
& L3 A% C* Y5 x removechild = function (s){! w0 L# y4 ]: s5 e8 Q) P8 k& N
$removechild = function (){
1 z* f6 }8 \! @7 M1 s: J+ r u.parentNode.removeChild(u)3 h' Y* d; q# X1 Z
}+ }8 m5 |7 ~! z+ x1 f+ }4 L
$for(s,"$removechild")5 Z+ H- X. V6 p w
}; h* O# l$ |* s. k: r3 [
5 B7 q2 o* |1 [/ f- g
$this =function(v){
+ y+ ?- D7 I. H/ s) g if(v.indexOf("this") == 0){
7 Q7 ?' @8 s3 W) j2 u return eval(v.replace("this","u")). d( R1 R1 z: N5 r$ x
}
$ B/ R- l! Q8 Q% U" V return v;: w# S0 |5 S1 J F# o4 t
}& S+ [5 |9 j1 b8 O% T( ^. p' n- H
2 t; Q) T* d2 {+ v $event = function (s){* E0 w8 x* N+ a- }) ~) ]
var $n ="u."+s+" = function(){$work(this,s);}"
1 O F, z2 i) G. u, o return $n;6 _% t, H' M8 T7 m, k/ L. y
}
+ }/ ]. P# E# _( [0 e% Q+ ]
. f& W1 x& T4 W" w1 R) E8 } $replace = function (s){) c# c- t4 }, W4 x3 l1 f
$ `4 T. s K2 Q7 {) m: B* y
}
- v* r* l; \" t8 F' D h& c. y9 k: x. k7 q% [; g) b
$for = function (s,c){
( [; z- k/ _0 k7 T var $n="this."+c+"()" ;
, H& m3 Y( E5 L6 m6 W* p if(s!=null){2 ~+ `- R) g$ L# X7 V3 ~
var $m =$test(s);. Z$ j2 v: Q( u7 U
for (var i=0;i<$m.length ;i++ ){
' _, Y% {. U+ ~# x% X9 v; z( ` u = $m<i>;+ d1 ~* M1 \9 S5 f: I
eval($n);% p) q& h: Y3 Y, W+ l" X1 x
}$ g: |' i3 k. m) D( V l
}
& `$ w; q( R5 w2 C* ]6 Y else{) \0 W# M9 j) Z0 W/ V
eval($n);+ _/ [2 L: t% L/ {# [- q
}, Y% n$ t6 R3 Y$ u8 H+ f6 Y
}
9 N: S) u+ m3 y) Y, K; M
+ x6 E& p5 a5 _/ F $test = function (a){4 Z2 f8 F2 m+ a7 m* o: {
var o = new Array();$o(a.split(';'),o);: b7 e" c. y$ ?" \% @
return o;1 H$ j2 W2 W) L2 Q* l8 c# |5 W
}# \: H1 G% d0 c% @. \
0 R/ O7 h& r% z- H $format = function(s){- |! C) B- ]; V
while (s.indexOf("'")>0){9 \. u( X" t0 m- m+ e5 y# K
s=s.replace("'","\"");8 J2 ~7 k/ [6 K
}
, A: z3 O' W6 k4 g while (s.indexOf("][")>0){
/ O$ w( t' z; G4 ? s=s.replace("][","','")
5 G: @: ~" G3 X# s* Y4 { A4 q7 @ }
( }( I1 r% w7 B while (s.indexOf("[")>0){" }* _! C: `/ K+ p
s=s.replace("[","'").replace("]","'")" k8 h" B; D1 f. `7 i7 U. Z# m8 ]
} ( u. L+ f/ k7 ^' y2 l: ^: m. \
return s; Z+ n, Y; n9 A! G( F! h
}. _; _* ?# f( k$ G Q, D
" C, F4 {6 X) Z4 V $work = function(w,s){
; Q! l7 z/ V f1 } u=w;eval(s)
/ N" g- `7 G; n. F }
+ I" Z/ {! {' ^$ r6 S4 k& ^2 M4 R9 A D3 Y
$id = function (s){
! G$ G" b6 h \; L' W( g return document.getElementById(s);
% p" I6 a+ W* ~* G }
' j! Y/ o' Y' u3 k
, h& k, e: }7 v0 d6 m) _4 } $name = function (s){
* ?4 G, U3 w3 J/ R& |% {) `, }' b return document.getElementsByName(s);
- [1 O' d' [. @/ b7 ?% P }0 J, g% |& f" Z; a
; {" F; ?7 {& u- D
$tagname = function (s){
% L6 A, A0 G9 {" C& E2 ?' L& c return document.getElementsByTagName(s);8 y% t% [; V1 s6 k" ?+ A. Q/ n
}
- ?# K. T* _) t# x
+ l! |+ L2 J8 A7 w% X* F/ e, D $o = function (a,o,c){" s& Z: e( z# W% x) w* R; w, p3 N
$push = function (n) {; g$ T8 K" @2 P M2 y8 X0 i
for (var i=0;i< n.length;i++ ){
! n- w+ k+ `6 t9 t o.push(n<i>);
- a$ m5 y$ R' o$ s9 Z4 e: ~ }
, P/ h4 h1 ~: E$ a }& T; U# x/ l, L4 w
for(var i=0;i<a.length;i++){
2 P: e2 y( N) f% t) g# l. V! c if(a<i>.indexOf("(") >= 0){2 v2 \ c% v5 P5 J4 I
c.push(a<i>);' d0 s- ^' u8 {$ Y+ y% y! q( h9 Z. O
}
+ a- Y! @/ W, Y. ^7 |! @9 k+ O if(a<i>.indexOf("~") > 0){( x* M5 S4 ?0 z" k; }
try {/ H0 C: D, i2 `0 T' Q5 C
$push(eval(a<i>.replace("#","document.getElementById('").replace(" ~ @","').getElementsByTagName('")+"')"));% H, }9 f ^% @! B5 o0 R% B, y
}catch(e)' A) W8 t, E9 X, P. w7 ?
{} ; X/ ?, Y0 m; a( e4 y* A/ x! `
}
: ^& D0 X ?: r, k- j) ~+ {. ~ else{
1 a/ f4 |' @ ~; d8 w if(a<i>.indexOf("#")==0){
) @2 M) n6 `$ T o.push($id(a<i>.replace("#","")));2 h, P, A/ Z" A+ R
}
) A) Y; y% r1 g, D if(a<i>.indexOf(".")==0){' B/ G& n1 S0 y* c$ x. E" N2 @
$push($name(a<i>.replace(".","")));
J- ^+ i) s- I }( _$ K' E( ^3 _ h7 t2 ^
if(a<i>.indexOf("@")==0 ){2 o5 W; A& f( e2 W3 l
$push($tagname(a<i>.replace("@","")));
* x4 ?' k& l: N) ^ }
: j0 R9 x3 W+ k M, z& Y6 H e if(a<i>.indexOf("*")==0){; n% [2 c: l* y
$p= a<i>;
2 _$ V/ e8 h) H if($p.indexOf(".")< 0){ z, l" Y$ }+ v
$p = $p.replace("parent","parentNode"); P J/ n5 g+ O+ n+ }) n! t' M4 d
}, O) G, z& O) U9 H
var $p ="u."+$p.replace("*","");
! G, B- }; p9 Q) U3 g; z while ($p.indexOf("parent.")> 0){
z" i. q$ ?9 I3 ?" P( k $p = $p.replace("parent.","parentNode."); r9 O' O& Y1 s" l0 D. ]
}& G" @% U$ M- B1 z
while ($p.indexOf("child{")> 0){7 V, u* B$ P* M3 G
$p = $p.replace("child{","childNodes[").replace("}","]") x8 D @! Z+ U4 j+ }1 N1 F/ e
}
& V5 o- u- A. j8 m# f3 q o.push(eval($p));
" ^* l, \; U5 _$ B z }6 T5 U2 ]3 o8 f& D9 E
if(a<i>.indexOf("document")==0 || a<i>.indexOf("window")==0){
9 H5 V0 A! i* o$ Z o.push(eval(a<i>));
: e; k! Q) H9 j }1 {- N" n3 M1 q, B
}
% k. S- q. a6 n7 c8 I* r5 i+ E+ S if(g!=null){ 7 e$ z; D" | I; W+ y
o.push(g);g=null
4 ?+ D, v, `' X% u }
2 J- S# l6 \ n; l }5 s# b; b: H- B$ W$ ]
}
; p8 i( Z D0 i, c/ m
0 c7 }4 E9 I4 P+ |) @! l $o(a,o,c);
. W- @' d; E) r% O P" |, A* R2 u; j/ w5 z! i
for(var i = 0;i<o.length;i++){/ o- V3 F3 X: N f8 @4 _& p& P
for(var j=0;j<c.length;j++){9 A/ `3 N$ j- }$ i% a# r! e
u = o<i>;eval($format(c[j]));6 ] ? |6 W/ C' y- Z& F1 D' ~
}5 s+ Z+ y$ x/ n; o
}
2 e$ X& c! u" Q2 e1 k8 ^+ @4 y4 J" e: u7 ?
if(o.length == 0){0 d+ ~7 d9 [! X8 i+ \* [$ M, u9 E
for(var i=0;i<c.length;i++){3 A/ R* t0 b4 T0 G
eval($format(c<i>));
: n6 }9 s2 ]6 l }, D" q" h/ A; ]( O/ W# C
}
3 g8 e5 d- j$ v5 [9 m w ) d* ^' e% V6 f% Y7 `, ^; K3 D
if(r!=null){
& V% R# }2 \3 z& r return r;
! W4 J% \" d; f* ^: ~$ H }- @/ ^) l& U+ Z5 C( k" R3 A
& w+ X, }0 |, P# i! _1 y if(o.length==1){. i. R+ B# v, U% y
return o[0];
7 ]7 `3 P* V0 { }% W+ T: z( T/ Z" Y3 q( O
else{% m& o: P8 Y/ _
return o, p( t: f) A8 B! h. ~: }* L2 J
} % }8 H0 f3 S6 R( j6 j- }
- _& @/ b/ i2 L- W2 W# p }) u, Z! m( Q5 L* z
var lrc =$("#lrc;show()").innerHTML.split("[");
! o' c3 _7 }+ w# X8 l2 m% C$ Lif(lrc.length>5){
: U- ^. R* c7 r2 o% A4 a7 Y* B; gvar array = new Array();& ? u! _3 B; S- I) F2 i
for (var i=0;i<lrc.length ;i++ )9 X2 f$ ?" a$ ^ l
{2 ^) t, @( [$ \" P6 X, d. G
var g = new Object();* ~6 z! C3 X" b% K5 O6 }* _( |
t= lrc<i>.split("]");
' f, a2 a" U9 O3 B g.time = getTime(t[0]);! e8 G: K5 ~& u6 _
if(isNaN(g.time))" |, Q% _ H: o$ _) H
continue;3 B& Y% v7 n+ ^" e
g.c = t[1];
, i, s/ s& ? a6 \ if(g.c == "")8 c0 P" h& A( W: Q
g.c = getNext(i);. y, y1 S8 K+ K
array.push(g);) g0 M9 i% U& I" S! ~% y0 `
}
# q) f) i2 w" Tarray.sort(function(x, y) {; f$ S/ g& o0 N6 a- g; D8 ]# F0 i
if (x.time>y.time)
$ l3 I0 f8 I' v- | return 1;
& I" B, \4 t' w* j else if(x.time<y.time)
V$ w2 o6 R4 X' n9 i2 H return -1;
7 y9 \6 I G1 G else
4 b% J# \& K# g q8 d; G! G, b return 0;
- b5 E4 y! D0 ]6 l }
- h2 B) K: L v4 R+ d% r6 g);
$ K# ^- B5 @3 r3 W6 S+ Ifor(var i = 0;i<array.length;i++)
4 @' n3 I3 @& e; y' W+ w{7 n3 E7 i' l; [2 E' s/ R
var g = array<i>;
$ e/ @" t; o$ x R6 }1 ? if(!g.c){
( q0 j2 a2 Y* J8 \# c8 g9 n! a g.c="";
( Y" e2 @" X3 J( l1 J }
6 ^4 B. m7 o- Q c6 z $("#list").innerHTML+="<div id=lrc"+i+">"+g.c+"</div>";
' }/ F* m w) g}3 W3 o5 `" y/ F
var time = setInterval("lrcList()",500);
# s" p5 _- M; _ l3 v9 P}else{ o* K) l; M( K8 W+ { r
$("#list").innerHTML=$("#lrc").innerHTML;
* x5 Y9 Z: c: X( i}
# D' y9 B; D' H6 S I9 T' ~4 I! Jfunction getNext(i): b f1 S2 \, f; {0 v2 O& u4 e
{8 h8 z" d7 v1 ~5 j( \0 g1 {
var result = "";
' ~4 q) a1 \' q! _. g" I: v+ ` var i = i+1;
: }" T0 h. K8 w8 J& \' M t = lrc<i>.split("]");' F# o9 U( f! _. U2 k# M M# a
if(t[1]=="")4 w- u+ @6 M" v2 B0 Q
result = getNext(i);1 D3 x- B$ {0 l. n( S3 I
else
9 G, a& P2 O$ K& n. [7 o) f3 ~ result = t[1]) r4 f$ O% U5 p1 b
return result;& n/ }. }2 J: X' e( _" T
}
2 ~1 M* y$ G' F8 f" c4 Z7 U# w/ Z
function getTime(str)& Q: _1 Q- [8 W# s0 x
{; K0 f/ k, ~3 s& D c
var time =0;
5 _6 ^$ m6 s* h2 k, {# \& r5 p var ta = str.split(":");! i$ `6 w3 e) z' ~, i
if(ta.length<2)
2 d% k7 S% V. G/ ] return time;
, x' `. N- {+ T \6 D1 c0 \
# I/ I. K% ~8 a* d/ e7 k9 X5 r if(ta[1].indexOf(".")>0){$ |4 V9 j" W$ I$ g. N$ A: K( F
var tb = ta[1].split(".");
$ k9 B$ c6 d0 X, g time = ta[0]*60*1000+tb[0]*1000+tb[1]*10;' U; n1 o& E/ s% q& m7 f
}
0 h$ t# \4 \2 T( V! i% O% z4 B8 s else
9 M4 W5 z7 t% h time =ta[0]*60*1000+ta[1]*1000;1 X. |, b. w2 U" q) b# c8 _
return time;
, u! I. @! w' W+ y}3 w* }; V) c# q; _2 S: I" l
var preTime = 0;
8 G; s! w; ~8 b, s2 Avar nextTime = 0;& I. I) I1 w$ E0 x: H, m: K
var currIndex =0;
$ X' J1 q5 Q# ~% k1 J- ^9 {3 nfunction lrcList(){
( H* J5 c; V) u S; l3 A var s = parent.document.getElementById("MediaPlayer").controls.currentPosition;
9 R H1 Q) i( o. P( W: l s = s*1000;2 z2 v6 b2 ~! N
if(s==0){
! f- o% f+ a7 w9 } currIndex =0;8 t9 e- J* X2 U9 l5 \* w/ E
$("#list").scrollTop = $("#lrc"+currIndex).offsetTop-30;
; w; H( |! [2 e; R" j3 w$ M for(var i=0;i<array.length;i++){# [! o. l, K, u; \
document.getElementById("lrc"+i).style.color=colorNormal;
7 _" ?7 K6 h5 v6 i+ Z5 U$ @ }
( x6 L0 A- U, Y9 N, k1 c. ^5 E. w return;' M$ k* D8 t2 B
}: s& g% Z& D2 G6 v! e, W
if(s>0&&currIndex<array.length-1)
; t, h! b( i) K' H { . ?) [- \2 i: {3 R+ p/ @
preTime = array[currIndex].time;
' n' {. ~1 R# _; ?7 s$ E) z* i
8 i; V% @/ Z" n) O; D nextTime = array[currIndex+1].time;% W7 ?% f+ {! e9 g+ J
- B, e' q1 H0 h- t" m
if(s>=preTime&&s<nextTime){8 ~- `( V- R' h1 \
}: B' y7 i! F, ^' ?, U( s
else if(s>=nextTime)
4 i. f* N8 W9 c; ^9 ^$ C" L( K% S {
R' e8 @% y# q document.getElementById("lrc"+currIndex).style.color=colorPasted;
9 n: O N; A% F- o. y% d currIndex++;/ d- W' @/ l1 G2 n" y( t: P8 f
$("#list").scrollTop = $("#lrc"+currIndex).offsetTop-30;. I$ J; n! N! I% ~" h. D) g/ T
document.getElementById("lrc"+currIndex).style.color=colorPlaying;5 D8 g2 `, u$ O4 n2 m
lrcList();
1 D& g* G/ o% w+ Z" h }+ A/ s0 c; N/ @, }
else{# l6 U# }# w3 J: q- f) W0 b
document.getElementById("lrc"+currIndex).style.color=colorNormal;
% d' D+ Q. D1 q7 I8 ` currIndex--;
9 |) J6 ?- ]: k7 [7 a. L" m $("#list").scrollTop = $("#lrc"+currIndex).offsetTop-30;
: o4 u5 K0 U% l3 I document.getElementById("lrc"+currIndex).style.color=colorPlaying;
7 b( S- j: p4 E7 |0 _* u lrcList();9 {$ @) W0 d3 k2 Y& l
} . m. B4 b7 t+ r; o
}+ w- s- N; ]! d0 h$ ]6 u
else
: K6 b7 K5 O/ F& ?% C1 P. P {
: z) N/ n4 F" \: U: H3 b8 j; @ if(s<array[array.length-1].time){! C _# A/ p C$ p% ^0 W
currIndex = 0;
% Z) q5 n( ?) n; B+ f2 y( \ $("#list").scrollTop = $("#lrc"+currIndex).offsetTop-30;
' O$ @3 ~7 e0 a, h4 i7 O# l1 X for(var i=0;i<array.length;i++){
% J8 [* g6 j2 e% N) }2 L0 V$ l document.getElementById("lrc"+i).style.color=colorNormal;# e6 y2 E( ~. j# I
}
# {$ K O# z2 c0 _, M" F* E7 V lrcList();! ?; ]& @% S3 j+ P t6 a
}
0 x/ o7 U, S- H }7 S p8 p4 H8 R5 W4 D6 @. B0 d
}/ g9 q4 l G' x- B3 G$ w H5 W& r
</SCRIPT>% g! L# {' y) g
</DIV></DIV>" B% c' z! W; }4 t9 B6 t% g
0 Z {! b- M( {% o' Y* b& g* G4 U
[ 本帖最后由 幽谷兰 于 2008-9-18 17:36 编辑 ] |
|