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