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