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