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