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