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