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