|
|
<DIV id=list>
5 k" N. y* u8 h4 _<DIV id=lrc1 style="COLOR: #666666">[wmv=0] http://lzbj.ncedu.net.cn/uploadfile/20083923248279.mp3[/wmv] </DIV>$ L6 r/ [9 i' T7 U7 b- d
<DIV style="COLOR: #666666">|等一分钟|听到这首歌,觉得它很动听,旋律很优美,很是喜欢,传上来给大家听听。</DIV>' z+ W& t/ ^1 J/ q5 N* w
<DIV id=lrc2 style="COLOR: #666666">词曲唱:徐誉滕</DIV>
( f, n$ c' s8 ]( f2 L<DIV id=lrc3 style="COLOR: #666666"></DIV>/ A6 R2 _% m ~7 J, C6 O, j
<DIV id=lrc5 style="COLOR: #666666">如果时间 </DIV>! i# X6 v6 L' O; U; L
<DIV id=lrc6 style="COLOR: #666666">忘记了转 </DIV>
3 q* i( z5 ^2 C+ ~- e7 v<DIV id=lrc7 style="COLOR: #666666">忘了带走什么 </DIV>: T0 G% r" Y- \, \# ?
<DIV id=lrc8 style="COLOR: #666666">你会不会 </DIV>3 n! d8 e$ ^' n& l6 C. d
<DIV id=lrc9 style="COLOR: #666666">至今停在说爱我的那天 </DIV>% j: D' D6 z9 ?5 ^' R2 Z
<DIV id=lrc10 style="COLOR: #666666">然后在世界的一个角 </DIV>1 @( `2 v. |2 t
<DIV id=lrc11 style="COLOR: #666666">有了一个我们的家 </DIV>4 q$ _9 D5 @& `
<DIV id=lrc12 style="COLOR: #666666">你说我的胸膛会让你感到暖 </DIV>- ]5 Z0 |$ p( Q# Y1 ^( F
<DIV id=lrc13 style="COLOR: #666666">如果生命 </DIV>/ r$ L2 g/ ? {8 g. I
<DIV id=lrc14 style="COLOR: #666666">没有遗憾 </DIV>
P) b, B/ b1 c4 l2 m<DIV id=lrc15 style="COLOR: #666666">没有波澜 </DIV> Z# V+ C% _" e; j( x' Y
<DIV id=lrc16 style="COLOR: #666666">你会不会 </DIV>
( V6 S9 g+ Z" S( h0 x# l$ K<DIV id=lrc17 style="COLOR: #666666">永远没有说再见的一天 </DIV>
8 }' l3 f0 \0 |<DIV id=lrc18 style="COLOR: #666666">可能年少的心太柔软 </DIV>% N/ `9 f2 U$ u& n0 t1 U; l
<DIV id=lrc19 style="COLOR: #666666">经不起风经不起浪 </DIV>, I5 ?* T& x# c" `& J
<DIV id=lrc20 style="COLOR: #666666">若今天的我能回到昨天 </DIV>
: h/ S( M( z3 j! {( R<DIV id=lrc21 style="COLOR: #666666">我会向自己妥协 </DIV>
; T6 G9 Q+ {0 c# Z2 U. J<DIV id=lrc22 style="COLOR: #666666">我在等一分钟 </DIV>, q; v2 S! U" {- N1 p; Q
<DIV id=lrc23 style="COLOR: #666666">或许下一分钟 </DIV>
* Z4 G3 s; v& W5 g$ B( B' M<DIV id=lrc24 style="COLOR: #666666">看到你闪躲的眼 </DIV>
. v% U0 ^. R& B1 v+ X) l! I/ x6 D<DIV id=lrc25 style="COLOR: #ff3300">我不会让伤心的泪挂满你的脸 </DIV>+ h; Y$ m1 p, ?+ m
<DIV id=lrc26 style="COLOR: #000000">我在等一分钟 </DIV>- P h/ N& j: B# K
<DIV id=lrc27 style="COLOR: #000000">或许下一分钟 </DIV>
8 y# o! L( M0 A5 k$ I* G<DIV id=lrc28 style="COLOR: #000000">能够感觉你也心痛 </DIV>8 M+ x: o. S# W Y
<DIV id=lrc29 style="COLOR: #000000">那一年我不会让离别成永远 </DIV>
" v9 l. ^& K6 x8 J# q1 `<DIV id=lrc30 style="COLOR: #000000">如果生命 </DIV>6 r& I( s. f7 C- k( r; d
<DIV id=lrc31 style="COLOR: #000000">没有遗憾 </DIV>* [ W# L* x- ?+ U
<DIV id=lrc32 style="COLOR: #000000">没有波澜 </DIV>$ K; E4 g6 D% U# j* Q
<DIV id=lrc33 style="COLOR: #000000">你会不会 </DIV>! x( {2 {: j9 T$ ]% ?1 `
<DIV id=lrc34 style="COLOR: #000000">永远没有说再见的一天 </DIV>) k4 o' ^8 A2 M/ h4 X6 G& V6 N
<DIV id=lrc35 style="COLOR: #000000">可能年少的心太柔软 </DIV>
0 @+ u" q) }7 }" |- @1 g7 x<DIV id=lrc36 style="COLOR: #000000">经不起风经不起浪 </DIV>
~3 l) _- B% y% p% Y<DIV id=lrc37 style="COLOR: #000000">若今天的我能回到昨天 </DIV>
a* S' m Q4 r$ R" j M<DIV id=lrc38 style="COLOR: #000000">我会向自己妥协 </DIV>, O. D) G; M$ t+ g' X
<DIV id=lrc39 style="COLOR: #000000">我在等一分钟 </DIV>$ z c& F& i/ {8 C! B! E
<DIV id=lrc40 style="COLOR: #000000">或许下一分钟 </DIV>, O% \+ m& a8 \ b( H+ a0 z+ F
<DIV id=lrc41 style="COLOR: #000000">看到你闪躲的眼 </DIV>! j g: @9 _6 Z* Z6 d+ _! T- B
<DIV id=lrc42 style="COLOR: #000000">我不会让伤心的泪挂满你的脸 </DIV>
- h! W, I- f$ Y# Z# F# H$ C( K p<DIV id=lrc43 style="COLOR: #000000">我在等一分钟 </DIV>! p6 a: p6 @, o1 C: M. \6 q9 T
<DIV id=lrc44 style="COLOR: #000000">或许下一分钟 </DIV>
3 [) L& D/ _9 p* w. w: d1 g<DIV id=lrc45 style="COLOR: #000000">能够感觉你也心痛 </DIV>
* x; i# |6 M$ |: U2 P5 S( }5 q<DIV id=lrc46 style="COLOR: #000000">那一年我不会让离别成永远 </DIV>- ?; G& |9 s- ^7 i/ @
<DIV id=lrc47 style="COLOR: #000000">我在等一分钟 </DIV>7 }0 y) H2 ^, g# {. X
<DIV id=lrc48 style="COLOR: #000000">或许下一分钟 </DIV>
0 t0 b" v+ O% T. y( u<DIV id=lrc49 style="COLOR: #000000">看到你不舍的眼 </DIV>
, T2 ^( E8 l6 B7 @% T1 R<DIV id=lrc50 style="COLOR: #000000">我会用一个拥抱换取你的转身 </DIV>$ E7 c/ S5 a/ y2 U! a% @
<DIV id=lrc51 style="COLOR: #000000">我在等一分钟 </DIV>
0 E0 B# J1 K: `- c, K- y/ I" ^<DIV id=lrc52 style="COLOR: #000000">或许下一分钟 </DIV>0 s! J' H& B- ^! j
<DIV id=lrc53 style="COLOR: #000000">如果你真的也心痛 </DIV>$ A. x9 Y; o3 d! q4 H3 b: L
<DIV id=lrc54 style="COLOR: #000000">我会告诉你我的胸膛依旧暖 $ [. v7 M2 V6 R* ~' c! q6 H
<DIV id=lrc style="DISPLAY: none"></DIV>
7 u/ V# L7 K9 l: y9 F<SCRIPT type=text/javascript>, C; R h' W( F( c
document.domain="1ting.com";3 B! q! r+ o/ {( s& ~
var colorPasted="#666666";
@: w3 s, j( B# cvar colorPlaying="#ff3300";& `; C& b% R |
var colorNormal="#000000";
1 p& Z7 x9 ` o0 T$ = function (a,g){& E# O2 R9 m& R; J, p" U+ T0 y, @
var o = new Array(); R# W/ Y$ B: W/ k" R Y- x
var c = new Array(); - u4 L' R g: b
var r; 1 u$ |5 Z- a3 Q- d
var u;
6 ?1 u# s! q& R. R6 G var a = a.split(';'); ' j4 p3 D/ m4 ]8 L1 t
0 D8 G8 o8 t8 q: u u) x
var e = "keydowns,resize,load,dblclick,click,mouseout,mouseover,mousemove,mouseup,mousedown,inputchange,inputfocus,inputblur".split(",");
, K0 v. L8 ^8 a, T/ C- D! v4 b for(var i=0;i<e.length;i++){
: g, o- R/ S/ n0 U2 d7 i7 h+ S eval(e<i>+" = function (s){eval($event('on"+e<i>.replace("input","")+"'))}"); @, Z; I- G6 Q7 |/ a
}2 {5 P" M$ j& K+ y; ~
& X( g) s( X, Y5 Y) q
after = function (t,d,s){" r9 m4 K/ V' m7 U! b+ v; z
$after = function (){8 V& Y- j6 F; _- i, ~3 }
var $n=document.createElement(t);% F' F# F4 Q$ S0 v; |1 i S4 X1 m
if(d!=null){
7 ~( }+ r- ]: A& M$ Z $n.id=d; 5 z: Q5 C2 g- d2 s
} u# `; e7 i5 R/ C, ~2 ^5 j4 f
5 w1 F8 y- b7 n+ ]* q! A% w7 j
u.insertBefore($n,null)
" L7 G6 g0 w8 q8 w4 N r = $n; 1 v9 Q: I0 l' j" O, f) m
u = $n; & B1 p5 Q5 M4 a a' m; ]. `
}8 h9 [2 n' }! }
$for(s,"$after")) o- n @. ]& S
}
2 V4 N% E3 M. Q) i7 [# k$ W7 W* ~
! D/ \: a& f a3 j+ Y; p+ p9 f show = function (s){
5 O+ q8 M8 p# v& g4 O# m $show = function (){
7 }: X& K) D+ a/ D) u u.style.display!="none" ? style("display:none") : style("display:block") ;7 [% C) T) P7 f
}
) o; U* M; C! w/ s# l $for(s,"$show")& \6 q! h8 C( E$ b3 Q8 A
}' h7 d3 m* o3 c- }, E
) R+ \& {! u d) R. Z9 a check = function (t,s){
5 P, A |( o9 f) t! j8 [. i $check = function (){' o) U7 j4 o+ X: L. p
if(t=="2"){
0 N i$ g8 m0 Z( ]. R if(u.checked){; q7 ^6 {" m& L
u.checked = false;8 g" W( a! R# V7 \6 M4 N* r
}else{
/ r6 f. {3 g6 T; c u.checked = true;1 E7 {1 u& X; ~5 r( e
}5 O% k, m8 q( ^$ f; v+ T
}else{
: {$ \ q! M' N, V; X [ u.checked = t*1 ;
: r( d x! D% x9 E }2 {3 L N! {" P
}/ H7 x C0 H5 H
$for(s,"$check")
6 g6 |# j" g! E0 \ }
9 |0 ~9 D) R; r% D; w6 {( b' K. U" W% Z0 m2 x
style = function (v,s){
) y- O, P4 J! {& j5 t+ L$ ? $style = function (){
8 \; M o) F4 a" l var $n = v.split(",")
" p6 [/ N. y Y0 s/ t8 Y1 C for (var i=0;i<$n.length;i++ ){. [0 ]+ N( w# g" B/ R" R" P6 n
var $m = $n<i>.split(":") 9 b5 E# N# w8 U0 |: `& j
eval("u.style."+$m[0]+"='"+$m[1]+"'");
, u5 n8 k( ^% r }
7 l+ u) C0 r% N% D8 i3 a8 Y/ Q m& G }/ I4 K4 K8 E% ?+ [' f' J( T8 H
$for(s,"$style"). F. C$ p1 Y( S/ K, v
}
( F9 ~ e( t6 s/ t6 x" V; T
) i! p- k# F# p- q1 X% o) P. g value = function (v,s){
7 ]( d$ i$ m5 q1 [% E% K; f) ~ var $n= $this (v);3 S" g! E4 p% b' g6 k$ B
$value = function (){; `, I) E3 o5 j" f$ v
u.value = $n
" s' n; t) R( H7 |5 K( f }6 G0 O) O; H1 y% C
$for(s,"$value") ( D5 R" R1 y8 M g& ?
}
& Z U2 P$ \$ k8 i& d
5 s- z9 d2 G& ` text = function (v,s){
! Z7 s% o: v8 v Z( g1 o5 ` var $n= $this (v);
7 n* y5 x4 y" A- } $text = function (){1 H% R+ q2 e5 N% k: x0 Y: v% [! ?! E
4 K# H5 C) Q/ \( k u.text = $n# T/ p3 q2 [& e8 c2 z. N( D/ c/ g
}
+ b1 |! G# y$ h- ` $for(s,"$text")
, G( T: u) a. [6 D. W/ Y8 s, t }# I z4 |( |+ y2 ?4 }
/ O% P9 m! `7 Q innerhtml = function (v,s){
& A# v/ {7 x7 z+ z7 i var $n= $this (v);9 X7 s1 z! t1 z3 {& `6 E8 r% j' T
$innerhtml = function (){
) X( `# X4 M7 \& m7 u u0 \ u.innerHTML = $n D, l. q) p+ D$ z
}* R1 D, G- h* j
$for(s,"$innerhtml")
5 ?6 g4 \% ?0 d1 p6 d4 Q6 n0 i }
! Y. A. Q! K1 Z- {& B
+ e% _- s+ O `) x: b+ q0 L removechild = function (s){, G' x9 ~. E' e u
$removechild = function (){
o4 c; r6 Y! d6 q6 G: w0 h. W u.parentNode.removeChild(u)( Z# ^6 A& h2 Q# I) @2 p3 t5 g+ |
}
6 r0 x+ j& E: e+ k $for(s,"$removechild")
! }' r9 o8 G+ p- w: E. Q% } }
6 x0 t7 T# S4 C/ ~. \( s' d: C
9 m, Y( M# K. h0 @ $this =function(v){
. ~ a' w* N7 d" h if(v.indexOf("this") == 0){
7 H2 r% S- M) n8 p return eval(v.replace("this","u"))
- Z( S1 D$ m) E. D }
; f: V) m9 ^1 \* c+ w return v;
2 f7 F/ E( }$ c# R% k8 D- u }
9 Y, P6 k9 T8 A$ k A: m
+ _) Q e" @: | }5 T$ h2 V $event = function (s){
. R' m6 M! P/ b( M( Q var $n ="u."+s+" = function(){$work(this,s);}"
; G; i: \6 n4 u' Y! Y return $n;4 Z% x! {, Y x% p
}# ~5 q, ~$ H! l j5 A
. F ~5 V# a5 _
$replace = function (s){
+ f4 ~- d' [9 O% J1 M
9 H8 q2 w7 H* T5 Y, a! v3 A+ A }
X+ f2 Z6 _* y! J: s* ]9 D+ ]2 K- D; J2 ?) T
$for = function (s,c){. l( m; e! |& }. p+ y ?# `4 z
var $n="this."+c+"()" ;( B- y1 ~3 {, y4 V5 }* n
if(s!=null){8 }. ?- `1 y6 L6 Z; ~- \( Q1 X
var $m =$test(s);
5 \% r) P2 D/ U5 x7 \- b: B for (var i=0;i<$m.length ;i++ ){4 `+ T6 t+ E: m- }% I
u = $m<i>;
. m/ ^' b$ ^9 j. K# g eval($n);; H. F5 a* r1 C% A' X$ a8 p( @5 K
}$ a: t6 I- j, l5 \6 M0 y
}, d! }. W- v% w4 u' {) b L
else{+ y7 } f; c5 K
eval($n);
* u' C p) S; [, [' |$ j6 |& t } I* I# [/ a, Q
}
" r+ @- ?6 x: Z) s0 g8 E# x 2 j2 F+ V! W: Y# ~6 W6 Q6 B. S
$test = function (a){" I2 X: U" s, Z, K) Q- h! `
var o = new Array();$o(a.split(';'),o);
: e" k" M/ c0 O4 i/ W9 T return o;' x: V* o* m6 Z$ U4 U& h
}4 S# o2 j2 E9 ^9 D/ p
0 ]: p8 V. Y( h
$format = function(s){
% ]% }# m8 q1 k- V" k3 W while (s.indexOf("'")>0){
M$ y8 y0 G, N* G4 \/ i s=s.replace("'","\"");
1 @1 h; V7 f; ?+ _; R }
; L( W- B# ?& y8 s while (s.indexOf("][")>0){* @" {3 e% Z/ U; |" V+ F0 V
s=s.replace("][","','")& i6 I3 m9 g8 j2 M) n0 J [, M
}
/ H M: P7 {! O3 u while (s.indexOf("[")>0){
# o2 J+ {. {" U s=s.replace("[","'").replace("]","'")
& I# X/ `# d6 f2 ?% M }
) ~, I( f9 f3 u4 f* B! x return s;
9 w! t3 a$ Z+ K }
1 d4 j: [/ b, A) y& ]
( N# c: ?: S- J7 q2 O: Z6 ]) j* _' D" q, W3 E $work = function(w,s){
/ n+ p0 p" o: q0 R7 b* V/ t u=w;eval(s)3 m8 u) _7 K6 s
}
3 s4 S8 m2 x/ T0 B* N$ E) |7 \% @% H- r. ]) D+ v) p
$id = function (s){/ j/ G! l9 g+ a- b! N
return document.getElementById(s);/ L7 r* G/ l; H$ B4 X
}* h: e& Q6 ?$ a: c$ Y% j3 H
9 W3 D5 K u. y' b" v3 M5 p
$name = function (s){( w' Z6 D9 K6 l# I/ }% Z
return document.getElementsByName(s);+ T+ m ]3 y% |" F# p8 F9 \/ q1 q4 p
}/ Z3 t3 ]! H7 a* N4 p
7 S& V' I% i: L4 f0 d5 U
$tagname = function (s){
6 A% f9 o2 ]: s3 h3 U7 | return document.getElementsByTagName(s);
+ L) T' R, d; \: {/ L: t3 W }) K- ]9 a; K8 z c+ U0 z8 h
# L9 {# b( C" A" I
$o = function (a,o,c){5 [+ C/ O- y& C5 \, Y+ `5 ?4 S
$push = function (n) {! N7 `! ~& X( F* ^8 e1 h
for (var i=0;i< n.length;i++ ){
( T5 d* C1 [5 [" ?% v o.push(n<i>);% ^- V; e1 v4 m7 y c+ n$ R
}
% i @3 M$ M6 g+ W }
3 d% P7 q9 Z$ L3 @, E# l0 w for(var i=0;i<a.length;i++){4 t6 s" H) J# C
if(a<i>.indexOf("(") >= 0){- }1 x0 S, ^. C8 q
c.push(a<i>);
! n( n8 \3 r: X: N* I# L! [: h3 k" g }
, H, z7 R- v: d* r7 P! W if(a<i>.indexOf("~") > 0){3 R8 i6 M. w7 y7 I6 E
try {
: c8 m0 v! g9 m $push(eval(a<i>.replace("#","document.getElementById('").replace(" ~ @","').getElementsByTagName('")+"')"));. Q; a$ e$ I' y
}catch(e)0 H$ z- L+ J7 ~. t
{} % Q3 {" ~2 O$ J" m
}8 R# S3 f2 M% H( ]# q8 [3 E
else{/ x: F+ o9 a8 A+ O) b
if(a<i>.indexOf("#")==0){
* r( `9 u B- B$ ` o.push($id(a<i>.replace("#","")));/ g* ]6 j$ ` R$ N1 L8 l
}3 X( Z: b* |6 G% {
if(a<i>.indexOf(".")==0){
1 Z* K0 O& ?& C/ A8 H% ^ $push($name(a<i>.replace(".","")));
/ G" M7 M3 G& d/ Q" L0 t2 N8 S }
" `9 K; W$ k" V3 H: U* ~' b if(a<i>.indexOf("@")==0 ){, F6 c; p/ z; r { k2 \3 M
$push($tagname(a<i>.replace("@","")));. |* X# w6 [% e2 @6 A! k! Y
}
' w4 v x; w; s! i! \! {. ~7 f if(a<i>.indexOf("*")==0){
9 ]1 l H. o; B* f: \) H. g $p= a<i>;! k* U y: }; V3 B4 ]) R: S
if($p.indexOf(".")< 0){
7 h: L, Z9 \# I) u' o/ z" W $p = $p.replace("parent","parentNode")
$ _% q3 Q& p- u# s8 D0 ?5 G }4 g0 l: O, t3 l* K: \* Z! X; x( ?% L
var $p ="u."+$p.replace("*","");; n; _" i4 \6 I2 Y' P
while ($p.indexOf("parent.")> 0){5 m8 ? }6 j* d' o% Q3 \5 x
$p = $p.replace("parent.","parentNode.")! O2 S( Y% L4 r
}) E* w8 y1 {) n# w
while ($p.indexOf("child{")> 0){5 Y7 _, }) [! x
$p = $p.replace("child{","childNodes[").replace("}","]")1 [. ]% t3 `& }
}, m: z- B3 s) B" x* P4 @" y
o.push(eval($p));
( r9 l R; Q3 n. {6 [/ V! K& G/ \ }
) Z- h0 w! M2 k w; B if(a<i>.indexOf("document")==0 || a<i>.indexOf("window")==0){
9 i9 v8 U5 k c( h9 {: B o.push(eval(a<i>));
2 I8 U- z/ ~4 E% y9 D p' a2 h }
- L- {4 ?( v% a0 o }
/ s; i, F6 V& `, _( E! u if(g!=null){ + o. Z% U: m& y0 d5 L" h% u
o.push(g);g=null
# v* n: E. h. B# x' w" L" A }
; a% N1 {1 s6 U$ z: I }
0 C1 x1 l. Z7 h. D$ j7 u }/ ~. t7 C2 V/ ?" D$ `& `* l
% T" C; o# k, p $o(a,o,c);
2 |, v: D- Q5 U& n& T$ T% C
$ K. ?# g- O& O for(var i = 0;i<o.length;i++){
6 S0 V9 t9 Q' I$ U$ ~1 e1 b* p z for(var j=0;j<c.length;j++){
# Z( b" T, f* Y/ R' o u = o<i>;eval($format(c[j]));
6 z5 Q8 f. j) H' U5 ~ }+ E, ^7 i, o2 [5 _! ?$ C
}8 I2 G b2 k3 X+ G0 J* l- E' B# B
# a/ w0 ~$ e/ [4 W* u; w! @ if(o.length == 0){
. E# S+ u" X- g& x" x% n% ~ for(var i=0;i<c.length;i++){
% v! F3 H/ E4 u eval($format(c<i>));" H% {+ Z x, F( d* `; `
}! j# r, c% \) \7 E- ]( N; U
}+ I9 Q( f x8 l/ v, H$ `# D E
/ y" B M n1 K$ K& c9 E0 t if(r!=null){
: c& f5 k; _' W& y# G6 C# k. ~- U return r;% b7 P6 u5 D2 g2 J
}
, V, k. L/ d. W8 M# R. l1 p# b9 X ' z$ i) Q6 S# X
if(o.length==1){8 i: _7 l. [7 c/ @6 ~$ p
return o[0];
, D- G7 W; R, d }( ?% K' e* T( E- t4 d" V
else{
. e6 H" f- H# } return o# [4 D: z- l3 e5 e: ~% j7 F
}
# z# q( d6 p$ ?/ D0 t. s" n ( {$ P9 e) Y( i# Z
}
% d5 ?* Z7 e2 y! Gvar lrc =$("#lrc;show()").innerHTML.split("[");9 @0 l. `, p, x
if(lrc.length>5){& E+ p( q, C& e+ l# O6 I- g+ @& l
var array = new Array();/ G; L/ t/ h& n
for (var i=0;i<lrc.length ;i++ ). I" h8 R( [) k5 S* j. C; e8 {3 y
{
4 l: I5 i1 P4 a8 v1 j2 x8 f var g = new Object();6 z8 k) b* g; J! I2 b" k
t= lrc<i>.split("]");3 v( m- k4 g* R8 U) W. s9 E
g.time = getTime(t[0]);. J2 @8 @/ ~2 L0 g: @
if(isNaN(g.time))
) ^9 X% I9 M* r" M) a5 @& z continue;! p0 \: b' q, V% l
g.c = t[1];
* K4 f' d6 D% G8 h if(g.c == "")
2 v( C# s8 \( Z( o$ i! ?2 V g.c = getNext(i);; }' F1 C- p% y4 I
array.push(g);
1 c, b" \1 s8 i+ H% `}
1 S- @" m+ {8 L9 t6 w. p* ~3 Harray.sort(function(x, y) {- B+ H- O' A/ G. W
if (x.time>y.time) , O* ~3 _. j+ M& m0 [) b
return 1;
1 Y# @) @. m# @( y- L* E" y9 r8 a else if(x.time<y.time)5 @- s8 v" D+ L( ?0 _1 r( k9 q( F; t
return -1;: s" [4 A6 H }$ g* K; o+ J
else8 _7 L$ A( _" v1 r; H7 t
return 0;
. ~5 {4 Z* z; s; d }
* ]9 S% L: P1 u' B- y);
" M; [& }+ B6 N& ?. Ffor(var i = 0;i<array.length;i++)/ b) T8 X8 O8 D! u3 M& N0 G' H4 Q. ?
{
1 h4 c2 G% l$ x+ q4 b: b1 o var g = array<i>;
! B/ Y$ b* w. l1 A if(!g.c){
7 r" @4 A7 ?, r( j& l* `% O g.c="";
: u6 _- ]; a$ a- t }
/ y7 ?: U, H; J $("#list").innerHTML+="<div id=lrc"+i+">"+g.c+"</div>";. l) Q' t9 F. @8 S' H0 d+ o
}: _0 D2 m2 J- [% H$ a3 Z: J
var time = setInterval("lrcList()",500); ) y4 a! p/ I& U) a9 k4 q b4 @! {) u
}else{5 k) X( K+ J$ X8 j Q' {
$("#list").innerHTML=$("#lrc").innerHTML;+ s" {5 M0 ?, S' \+ w
}
4 \ D' Q3 T2 n; X. z# @. Ifunction getNext(i)
) V5 u/ W# b" ~; ]6 P4 E{3 o* S; v: J" V" }3 O
var result = "";4 z% j" J( u4 u3 P
var i = i+1;
( v* d2 M; B* K) X/ i! x b t = lrc<i>.split("]");
( K* `& V( V/ b U* ^ if(t[1]=="")% x# }: ^' ~3 V
result = getNext(i);* b3 d$ \. m) F
else
- \9 D- Y+ X& ` result = t[1]
' d7 {( [+ j9 g6 f return result;
; D1 g Z/ ~0 [. j2 D$ P" m}3 P8 ^8 |; ]- c: C& u) b j6 ~$ j6 ~
: }+ N6 m" K. K' s4 k5 h( ]function getTime(str), `, E% w- ~6 R: z$ j4 [# c4 W+ x4 u
{! o1 D' J* u' P% @
var time =0;
' B' G# Y/ _$ p9 O var ta = str.split(":");
3 R. p1 q- m* ]$ g if(ta.length<2)6 k" w1 ~7 U) ` W3 u% U: ]# l/ |
return time;
. I1 p7 a7 d5 E! }/ e/ R
. M3 j% o* W( k6 W7 N+ d# t if(ta[1].indexOf(".")>0){
. Y5 a& E7 k/ D% n var tb = ta[1].split(".");0 Z1 N$ N* S9 ?3 w
time = ta[0]*60*1000+tb[0]*1000+tb[1]*10;4 H- e9 N6 p2 J0 J5 }
}
" q5 ], k, `: t else
4 ? H- ]. d7 J5 E# H time =ta[0]*60*1000+ta[1]*1000;7 A0 [# U7 K9 O( R* P* J
return time;$ I+ T9 D% U4 q, j8 Z& X9 O3 g+ @7 J
}* H7 Z- ~8 j3 W. Q( d1 R/ h
var preTime = 0;
0 [+ R! g, ~* ~: dvar nextTime = 0;
/ c. x+ R# y% Q5 jvar currIndex =0;# z! |1 U) `6 I* j) S, v8 I
function lrcList(){7 H( f. a2 F; k4 i5 i: @7 k6 X+ l# }
var s = parent.document.getElementById("MediaPlayer").controls.currentPosition;, g( O/ `. n7 i
s = s*1000;
' l# ^9 ~3 m) I; I! T, Q if(s==0){' V3 T, M, t* W( }. ^
currIndex =0;" e) I: U+ W9 r1 L
$("#list").scrollTop = $("#lrc"+currIndex).offsetTop-30; ]( Z4 T5 |# q' z; [
for(var i=0;i<array.length;i++){
( x% ?3 V; u" P8 B- a+ u) l# S1 } document.getElementById("lrc"+i).style.color=colorNormal;+ v! ~5 B D# `& s4 O; K# r
}
' G, ?8 U7 S! w return;4 \* ^. ~- M% L' t0 P* ?
}
8 W Y. L" t f; b8 Y if(s>0&&currIndex<array.length-1)/ A8 `4 `7 H1 q6 v3 {0 f8 ?
{ 1 A- ^/ |! o2 |* b2 U1 ]; K
preTime = array[currIndex].time;
8 ~0 G/ f: I" j/ Y5 U
0 C) m3 R+ {1 U* c* ?! q nextTime = array[currIndex+1].time;
% X# `. B8 b1 c7 m4 Y5 X2 l% ? - |: }' q- K( U/ Z" c6 S* Z0 t* A
if(s>=preTime&&s<nextTime){+ F% B& I2 F. [3 Y5 D
}
( a( F+ M/ d: {, T: J- f- Z* i else if(s>=nextTime)
6 l! @# D. W9 }( |' Y {$ \; {6 G* S" ~! \9 E, p
document.getElementById("lrc"+currIndex).style.color=colorPasted;! Q/ [6 x; O, ^& ^. e: M* H$ `
currIndex++;+ M; A! n) h$ i" u% g, H& R
$("#list").scrollTop = $("#lrc"+currIndex).offsetTop-30;
6 [1 o" |' V4 E. g5 U1 N8 F7 y/ Z document.getElementById("lrc"+currIndex).style.color=colorPlaying;
8 z( c( ~. \1 j& M, ^9 q lrcList();: D. g7 ]: n/ }1 H3 e; X
}
% ` _* i5 K. m: ^# _ else{+ \- k1 s$ x4 P) c
document.getElementById("lrc"+currIndex).style.color=colorNormal;- E1 @, \0 k3 t" k6 O! K; `
currIndex--;: j( w5 Q% K& f/ E1 F
$("#list").scrollTop = $("#lrc"+currIndex).offsetTop-30;5 `; }9 U; f% v: Q; {, d
document.getElementById("lrc"+currIndex).style.color=colorPlaying;
" `# s9 F. o4 H0 B lrcList();
o. B7 Y5 _- {8 f2 c# {& H } ! s4 _5 [& z5 Z" \( t- i# r
}
8 M& H8 Y/ I& {. y4 m else
% `1 {7 x' _) ]5 O {
d9 h+ L1 L# V if(s<array[array.length-1].time){
/ e7 O( s4 Z5 n currIndex = 0;+ k5 Z. E8 o' j3 M7 p0 @
$("#list").scrollTop = $("#lrc"+currIndex).offsetTop-30;& e# \1 |+ V! E# j% W6 L) o' a
for(var i=0;i<array.length;i++){
1 }+ C) O4 \7 K6 M- r document.getElementById("lrc"+i).style.color=colorNormal;
& B" G6 q7 x& _ g6 i1 W }
/ v8 v1 u# I: ?+ H# i | lrcList();
" ^: @1 x. W! X( B }
! l5 w$ T" h' h- A }# p/ q0 l% `9 M0 K$ y
}
$ W+ e: G/ o; f6 `" g- f</SCRIPT>- I, M) d" ]/ t% ?5 U) f- w
</DIV></DIV>
' S* R6 w) J& o" G* E
% g7 q' _" `+ D. }! w1 U; j[ 本帖最后由 幽谷兰 于 2008-9-18 17:36 编辑 ] |
|