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