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