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