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