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