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