|
|
<DIV id=list>
) `( M2 d% t- R8 b1 U/ ~. L! w* r; Y<DIV id=lrc1 style="COLOR: #666666">[wmv=0] http://lzbj.ncedu.net.cn/uploadfile/20083923248279.mp3[/wmv] </DIV>2 a( H. ~2 k4 ]7 S' S, b# I
<DIV style="COLOR: #666666">|等一分钟|听到这首歌,觉得它很动听,旋律很优美,很是喜欢,传上来给大家听听。</DIV>4 k' Z( U. _# P
<DIV id=lrc2 style="COLOR: #666666">词曲唱:徐誉滕</DIV>
6 F( C5 X) ~0 y& E8 W0 U6 e<DIV id=lrc3 style="COLOR: #666666"></DIV>
- \* m: K r, [3 `<DIV id=lrc5 style="COLOR: #666666">如果时间 </DIV>
) R0 t% g- a" J( W8 `9 U( p<DIV id=lrc6 style="COLOR: #666666">忘记了转 </DIV>1 Z) q' h0 ^9 @
<DIV id=lrc7 style="COLOR: #666666">忘了带走什么 </DIV>& y( d. m1 O. H1 X4 n& Q) O3 `' v
<DIV id=lrc8 style="COLOR: #666666">你会不会 </DIV>
) g7 c8 m3 t0 t9 R# W4 q<DIV id=lrc9 style="COLOR: #666666">至今停在说爱我的那天 </DIV>5 W$ t8 Q* y$ `3 D( e$ J
<DIV id=lrc10 style="COLOR: #666666">然后在世界的一个角 </DIV>5 f. S0 y! x" ^+ i$ c; {
<DIV id=lrc11 style="COLOR: #666666">有了一个我们的家 </DIV>7 d/ x! F$ s$ t3 e1 I
<DIV id=lrc12 style="COLOR: #666666">你说我的胸膛会让你感到暖 </DIV>& d# X4 K9 V3 [# N
<DIV id=lrc13 style="COLOR: #666666">如果生命 </DIV>/ W- g$ |- S. M/ Y! x% I/ _1 H
<DIV id=lrc14 style="COLOR: #666666">没有遗憾 </DIV>
: k; E7 C: W4 E9 m<DIV id=lrc15 style="COLOR: #666666">没有波澜 </DIV>
1 S$ }& s2 H) R6 E7 v2 ?) Q3 d<DIV id=lrc16 style="COLOR: #666666">你会不会 </DIV>" {) P ]" i( b8 h) q; b" @# i2 ~% ]
<DIV id=lrc17 style="COLOR: #666666">永远没有说再见的一天 </DIV>% M) k9 o" Z! B/ U1 l
<DIV id=lrc18 style="COLOR: #666666">可能年少的心太柔软 </DIV>
) w& y- l5 @+ f2 ^( E: X: e<DIV id=lrc19 style="COLOR: #666666">经不起风经不起浪 </DIV>
* e- K% `, f5 U. a P<DIV id=lrc20 style="COLOR: #666666">若今天的我能回到昨天 </DIV>' F- l1 I+ Y! ]0 O, A( ?0 A; T, x
<DIV id=lrc21 style="COLOR: #666666">我会向自己妥协 </DIV>7 q J3 n5 Y ] I/ `# ?- C! w
<DIV id=lrc22 style="COLOR: #666666">我在等一分钟 </DIV>" a/ p* N9 k/ f, c- [
<DIV id=lrc23 style="COLOR: #666666">或许下一分钟 </DIV>( D& H/ R. \5 G; `1 \3 g
<DIV id=lrc24 style="COLOR: #666666">看到你闪躲的眼 </DIV>
# P, h" B H# w( n1 I7 U$ T; y<DIV id=lrc25 style="COLOR: #ff3300">我不会让伤心的泪挂满你的脸 </DIV>6 F$ z) T# D7 _4 @7 J0 a( s1 Z
<DIV id=lrc26 style="COLOR: #000000">我在等一分钟 </DIV>
# B, U- c$ z5 q$ _. V<DIV id=lrc27 style="COLOR: #000000">或许下一分钟 </DIV>( q' y1 b& y9 S+ [$ y$ V1 ^
<DIV id=lrc28 style="COLOR: #000000">能够感觉你也心痛 </DIV>
; E% W% a" _; y0 h3 h3 u; _<DIV id=lrc29 style="COLOR: #000000">那一年我不会让离别成永远 </DIV>
# {( C0 d( [ G4 Y: K<DIV id=lrc30 style="COLOR: #000000">如果生命 </DIV>
8 M7 H7 `+ V( R; e" {+ m! i<DIV id=lrc31 style="COLOR: #000000">没有遗憾 </DIV>
& ]: Q6 O2 C$ G3 O<DIV id=lrc32 style="COLOR: #000000">没有波澜 </DIV>
1 k& U0 P; `" O% E+ j. ~<DIV id=lrc33 style="COLOR: #000000">你会不会 </DIV>
# i, ~ X; F7 o& r+ ]/ L' l<DIV id=lrc34 style="COLOR: #000000">永远没有说再见的一天 </DIV>
& e7 w' ]7 T' W. T<DIV id=lrc35 style="COLOR: #000000">可能年少的心太柔软 </DIV>
0 W \+ D. U, s: M" f7 c<DIV id=lrc36 style="COLOR: #000000">经不起风经不起浪 </DIV>- i/ h+ y' P" _# C& o' C; n& u
<DIV id=lrc37 style="COLOR: #000000">若今天的我能回到昨天 </DIV>) U' L! V, N- C% P* z9 {
<DIV id=lrc38 style="COLOR: #000000">我会向自己妥协 </DIV>
8 l k5 V) x- X<DIV id=lrc39 style="COLOR: #000000">我在等一分钟 </DIV>
D/ ^+ M! ^% `: f; C<DIV id=lrc40 style="COLOR: #000000">或许下一分钟 </DIV>
' x/ J- I# D6 a* W. \4 X<DIV id=lrc41 style="COLOR: #000000">看到你闪躲的眼 </DIV>: r4 Q1 J. S( T1 O- n( y) Q
<DIV id=lrc42 style="COLOR: #000000">我不会让伤心的泪挂满你的脸 </DIV>% o/ \: s$ Q& {. p# h0 M V
<DIV id=lrc43 style="COLOR: #000000">我在等一分钟 </DIV>! q; ` H) u8 H. L8 A \5 X
<DIV id=lrc44 style="COLOR: #000000">或许下一分钟 </DIV>
3 B s y8 b7 t: R$ G) V<DIV id=lrc45 style="COLOR: #000000">能够感觉你也心痛 </DIV>
- Y# B# s* j7 w<DIV id=lrc46 style="COLOR: #000000">那一年我不会让离别成永远 </DIV>
1 z6 |& Q, v$ c8 ~* n; x6 }<DIV id=lrc47 style="COLOR: #000000">我在等一分钟 </DIV>
5 C5 X6 g& L5 [3 k# ?# u, {<DIV id=lrc48 style="COLOR: #000000">或许下一分钟 </DIV>5 I& e; l$ k$ v i6 h
<DIV id=lrc49 style="COLOR: #000000">看到你不舍的眼 </DIV># J4 C( `8 S" c; @7 _5 h% G
<DIV id=lrc50 style="COLOR: #000000">我会用一个拥抱换取你的转身 </DIV>; g$ q+ P3 ~1 A& H
<DIV id=lrc51 style="COLOR: #000000">我在等一分钟 </DIV>' n1 ?. e, u3 D: t; K1 }
<DIV id=lrc52 style="COLOR: #000000">或许下一分钟 </DIV>* M* z/ t1 e0 k3 q9 z, F
<DIV id=lrc53 style="COLOR: #000000">如果你真的也心痛 </DIV>
9 q2 t+ b0 f d; ~+ M, g& A4 S- l<DIV id=lrc54 style="COLOR: #000000">我会告诉你我的胸膛依旧暖
, d6 c1 f' ^9 t: m% z<DIV id=lrc style="DISPLAY: none"></DIV>+ }# `- N1 i; d* c, n8 m7 Q
<SCRIPT type=text/javascript>
+ m2 v0 n* i/ g6 D* pdocument.domain="1ting.com";
# T; w" N2 U* Ivar colorPasted="#666666";
! m& i0 ^ b' l# w: d1 V7 cvar colorPlaying="#ff3300";
Y# x N4 p/ R# [8 {var colorNormal="#000000";2 k( g5 N, ^ l4 o B, i+ n
$ = function (a,g){/ `1 u* D. s ~5 h+ @
var o = new Array();
/ y" }( ?# D8 L8 }' _2 V, M/ z) W var c = new Array();
f4 ] e1 I$ B* I) ^ var r; - D1 p( w6 J3 d1 a% G
var u;
- {: Z% m; j' {7 O: V var a = a.split(';'); * v+ m6 I! ]7 x: w) ^* P7 y
2 |3 h) m& H$ Y+ L" e var e = "keydowns,resize,load,dblclick,click,mouseout,mouseover,mousemove,mouseup,mousedown,inputchange,inputfocus,inputblur".split(",");
- j/ w% a& T; K# F. N8 p for(var i=0;i<e.length;i++){
& A. s3 q) W! m) k* i% X } eval(e<i>+" = function (s){eval($event('on"+e<i>.replace("input","")+"'))}")
1 F* G8 ?+ m }; p/ K* b/ v7 e } b" |9 X6 Z; R7 j" @$ L1 f: @
, B" O& ~0 x, V& o% p after = function (t,d,s){6 a0 F- O( q+ _/ g0 C
$after = function (){
! c3 k; ?3 J Z. _( ? var $n=document.createElement(t);
3 f# K& U3 b4 a* P" _5 c9 W+ v6 g if(d!=null){% ~% Y5 s+ M* @9 r
$n.id=d;
/ G# d+ f# j) d: e& |; v }
7 Z6 F' N* w* |% { 8 R+ k2 F7 T2 @$ x% L# w
u.insertBefore($n,null)
( E( y7 m( a" ~, `3 S1 H r = $n; . z5 I* Z5 E2 H' _+ y
u = $n;
# c' O3 U5 e1 s* ]9 ^3 i: v; g }' W/ E( S9 I: u' R+ V
$for(s,"$after")
. r7 _) Z" M* @& i0 B }( {7 w5 w# W) i, p! k7 F
- x. N! l+ e9 L( V" L
show = function (s){
& |" y; x; y) j/ j5 q. w5 A $show = function (){. \4 J* x0 j" x4 F
u.style.display!="none" ? style("display:none") : style("display:block") ;
' v) T7 P* n7 i0 ~( p9 t# K }5 _: o: v k( e. I4 l: _2 Q
$for(s,"$show")* Y/ W( |" {' N- Q5 `9 O
}
4 S x) U4 J+ |% B+ {% ~3 d: G. K( f: |' {/ h+ v! Y
check = function (t,s){
: z) I- T; m# A6 q* j. O $check = function (){% ^8 a# z6 Z0 X" ~. K% Q
if(t=="2"){
3 v5 m; o8 D) I# |, F* y' @ if(u.checked){
- T$ c5 u" u3 E. l u.checked = false;6 ]; a% z, F" @9 J/ _
}else{
% L( o f: \" j1 U u.checked = true;* f; M5 L2 }& r( D3 d6 D
}
# f* p K9 A8 V% D }else{
( Q- U1 O" x( V8 h0 q) J& U, o: O u.checked = t*1 ;
% j, g" A4 b+ }* M }
6 o: _ K) N: u& S- [( Z }) q' i- |2 f& o$ C. \8 U
$for(s,"$check")
/ ~3 ~* \7 ]' |% t }4 @2 r8 p: {. q2 X
6 T6 @. a) U8 L8 m
style = function (v,s){+ k6 F& |% z7 ?9 q
$style = function (){
( ]' ]7 E6 F$ y' O var $n = v.split(",")
8 Q, \7 L. a% U for (var i=0;i<$n.length;i++ ){: U+ g1 u/ k+ L, T' v1 t% V
var $m = $n<i>.split(":") ; N* ^' G, c9 B+ u: i( C9 `
eval("u.style."+$m[0]+"='"+$m[1]+"'");
4 m# d4 S R% _3 E8 V8 E }, i/ e! Y% X3 D6 A7 a
}6 W( {7 m% r& \& p
$for(s,"$style")& P8 z# ~# |) s: |/ u# l1 T' a
}. k6 \9 q7 S: ^
3 S2 ?0 h; Z, M3 {$ A( o
value = function (v,s){
, G4 [! B" g+ I0 L var $n= $this (v);
8 j0 `- F$ B" w/ P9 H2 [% Y $value = function (){% \$ U: [; a: A8 L5 U8 y( F
u.value = $n
0 Z* _2 y' ^0 w9 }" x( ~/ R }
7 K' x0 j$ n' E+ Z5 m0 A `$ m $for(s,"$value")
! F! b: y: j% ]! a; y# T& O( y }
( ]7 S$ I1 C( i
% H, U/ t; F% m" V5 } text = function (v,s){
) Z; ~6 f/ l6 G var $n= $this (v);: q3 K6 S5 o, t( l7 O7 I0 R
$text = function (){
: O3 t1 c. S: }
. Z2 x7 o* I- {5 O u.text = $n$ p4 [% n" \$ R* K1 U5 }
}9 ^5 u" M' j6 G
$for(s,"$text") - v0 S" _6 k- E" R" h) I# d) w
}
% G( l1 [* i! B: g0 L. B, ~1 v4 j; b i) C f5 u
innerhtml = function (v,s){1 D! \- V$ T$ O! g% y
var $n= $this (v);6 ~! ?& j& I+ r" X0 y
$innerhtml = function (){2 L8 c" J- \( q5 B3 ^
u.innerHTML = $n
2 b: Z5 Q7 i0 _ }, @. D6 P" Z5 b) F
$for(s,"$innerhtml")5 I5 K S2 I# U! L3 C; c
} ?9 }) z. B. h( f9 Z% @# D
- D4 [* r' k. m7 _! R
removechild = function (s){7 p7 ]5 n# L( I8 s
$removechild = function (){7 Z: R1 g4 |( M4 p
u.parentNode.removeChild(u)! a2 r b8 n* D# f! \) K
}& }3 t. Q. H' ^
$for(s,"$removechild")* P' g; O7 _+ t! X- r0 i
}3 ?; s- v" Z- f" b3 }
6 e/ z1 m% ^6 M+ s
$this =function(v){& F4 l, q( E6 v8 r7 H2 s0 t* n' b
if(v.indexOf("this") == 0){
" D/ `; Z4 W3 v3 L. a return eval(v.replace("this","u"))
9 _2 `+ V* h5 |. |4 }( N }
. K+ q7 R, }1 i! A" x return v;
' j( ^! }" S4 S" Q; y* j# q6 A5 k }/ M& \+ e/ V- I1 a
: b+ z4 _; r- H: G* t0 @4 @ $event = function (s){$ o! _" U% x$ p- u/ ^& _& H" C
var $n ="u."+s+" = function(){$work(this,s);}"- A, e/ `. U3 E9 c. g2 _
return $n;9 L& p1 E! ~5 j' \* l# R5 ~
}
9 `7 Y2 {- T: e8 N, t) `
, E- ?# k* s! \9 a. l% C $replace = function (s){
/ B# U4 s: z$ s/ z; U2 }, t; W+ h# ?& C. x* ?/ j$ P7 s! g
}
9 o7 H j1 b: q* Y2 n- U2 P$ v) U8 P
$for = function (s,c){* J n% t* A( C& Y2 v: ~
var $n="this."+c+"()" ;
5 y Z9 v( P% D: Q6 x if(s!=null){
6 J1 W! r d* u: L p# {- S% h) |$ [ var $m =$test(s);3 E9 Q0 e7 f$ N- T5 X
for (var i=0;i<$m.length ;i++ ){
( V2 a8 u" }( I/ {. F( D( ^9 J+ O u = $m<i>;7 q9 m, X/ E- Z, v8 E
eval($n);( K: F& [9 W0 p0 F# N) A; ?
}
& D7 f& a: @- r }$ B" G$ y" e) e% d
else{
t1 B$ b' p) W) n; [4 X eval($n);, F5 W: X+ h" I6 \# B5 I
}
7 Z( W8 U+ S H e% ]6 B. | }; v7 p9 M' E' }) h. v( {% Y3 E
& U5 y, t* E" R$ i $test = function (a){
) I: p7 A' g L( k" |6 S var o = new Array();$o(a.split(';'),o);& j: @) M/ }4 Z! c( O0 W
return o;
% J) X. U6 a( k$ ^: `6 j }
- T5 [# N) n- R: A# U- Y& T( l, h' T a6 u% T1 p/ O
$format = function(s){. D+ P' A$ E8 ]9 S+ a/ A
while (s.indexOf("'")>0){$ `+ s: a1 J/ {% W6 C/ C
s=s.replace("'","\"");
: P% [6 E3 |/ i% n0 J5 y }& _# b j. x5 a5 E( Q- X! U! n: T
while (s.indexOf("][")>0){
- `- v% O6 S5 ~, B* t7 L s=s.replace("][","','")
* |" ]- x% S H4 F" D9 b }
3 E' W: O4 n+ T1 | while (s.indexOf("[")>0){
- w# _! L/ y. v7 s% }* u s=s.replace("[","'").replace("]","'")+ U v, Z8 d p7 \3 B
} 8 N/ T$ ~& f+ |) T9 u' ~- l6 U
return s;+ M% V* S6 R( l) _
}
, K1 p9 d. s) s% C2 w( x7 b6 H8 s; C% n( r
$ a% X3 S6 { @# H# R6 ]2 H- ^ $work = function(w,s){
, L2 k/ t, M- x7 d u=w;eval(s) [; Y# w" i @, b) B" u* @
}
( \$ R [1 s4 T( G
1 I" q6 B/ _5 o' U; ^ $id = function (s){
- C4 w8 Y2 }! _/ Z return document.getElementById(s);- m: E5 _$ r8 `' L
}
7 x6 [- W Z: c+ z7 C5 Y1 W* i/ @. f2 @# J/ I7 H" Q
$name = function (s){" `% C2 ` e: W& i
return document.getElementsByName(s);
& @# w7 O0 }' r; S' q }
* \( n& T6 ]6 B, H' `$ [
, o- a5 t# W: U& i $tagname = function (s){
- {: |! T0 L$ C7 }! x% o9 Y3 Z: m return document.getElementsByTagName(s);
7 p1 b" ~% C7 U8 b- B5 B3 C1 B }$ `; `& c6 R5 z3 O
+ j9 b% c$ a5 C
$o = function (a,o,c){
" p1 Q/ m% O# W $push = function (n) {& g) q% E6 t; h6 Y+ V
for (var i=0;i< n.length;i++ ){
* _" [; ]$ `8 D% [) Y9 r/ ^ o.push(n<i>);8 p# X2 v+ ]( Q
} 3 f3 y5 W, G9 O# I6 e$ O
}' F; W' K% k& A0 @$ i) |. V: R/ h
for(var i=0;i<a.length;i++){
3 `$ d" U0 n( \+ E if(a<i>.indexOf("(") >= 0){
. y! V! A7 ^& o2 F3 u c.push(a<i>);
- I* [6 O6 K: w }) y3 e! B: p: b$ h
if(a<i>.indexOf("~") > 0){
' k2 }& Z1 o& P: n try {1 _/ c2 N1 F0 B8 t1 B" {2 ]
$push(eval(a<i>.replace("#","document.getElementById('").replace(" ~ @","').getElementsByTagName('")+"')"));
2 A$ b2 l* ~" |" w2 w( n+ H }catch(e)1 ]; ?$ A$ v% k* N; o% z' ?
{}
6 B; t) D2 {# ] }
. H5 e2 G* K% j0 W+ n+ ~; A; Y else{+ m( J8 M* A" F
if(a<i>.indexOf("#")==0){
* r' F: K" o# F, M1 n o.push($id(a<i>.replace("#",""))); d0 k) _+ v$ y4 A8 P
}
7 O) R8 P& q I* d" T# q: h if(a<i>.indexOf(".")==0){
- R2 j+ L- z: U' M; U $push($name(a<i>.replace(".","")));- A: T6 v/ C9 q. A
}# Q5 ?4 M& t& P2 l- k0 O; h) Q4 P
if(a<i>.indexOf("@")==0 ){
1 \& R2 C) x: J- K2 w& Q; M; I $push($tagname(a<i>.replace("@","")));
- d6 J0 X; E2 ?8 y# i }
+ c" [9 i/ X6 N( R if(a<i>.indexOf("*")==0){5 L2 ~0 z" }+ f+ z3 {1 J8 R1 m
$p= a<i>;0 [/ z. P( \7 x
if($p.indexOf(".")< 0){
. K. o6 u3 [1 u K c2 O $p = $p.replace("parent","parentNode")% p8 `2 E9 t+ i7 `, E y& }8 P
}# `& L5 J: x8 j$ H
var $p ="u."+$p.replace("*","");; k5 |' y' K K2 W2 P0 F* [, ]
while ($p.indexOf("parent.")> 0){+ ?( T7 I; _) d" r
$p = $p.replace("parent.","parentNode.")
& J5 a) W& G! s8 X: I5 S) c. | }1 o+ ^, J% [, k R! H! T
while ($p.indexOf("child{")> 0){
* X* j( n$ g% f $p = $p.replace("child{","childNodes[").replace("}","]"), _' F1 F0 R8 C
}
( I( i. L2 G m4 M4 y' l5 {- a o.push(eval($p));1 h8 m& x2 W' v- I% @+ P
}
" f' [& F" t# @" ?) Q' a6 Z p if(a<i>.indexOf("document")==0 || a<i>.indexOf("window")==0){
$ `% A S; ]% y# O2 `6 { o.push(eval(a<i>));( J* C9 T, ?# c
}5 S: \3 |. N! Y5 A, y$ ?
}
5 Z% R9 O, L$ ]+ q3 i if(g!=null){ 8 O ~7 T. k$ P( o/ s
o.push(g);g=null- Q% @ {6 F/ }4 m
} 2 A4 @8 g3 T: m- K0 j
}7 ~7 `2 A4 d8 t; K! g6 G& A' O6 Q
}5 y" |: p8 C. @3 ~( _/ w
' Q! e, q& B2 K
$o(a,o,c);, n2 K0 Q. I1 P2 j! ~
! ~+ b* Z( [% ]% } for(var i = 0;i<o.length;i++){% z/ B* R1 _6 r0 I. B4 V& d! _
for(var j=0;j<c.length;j++){
, o: \6 K8 F- t ]3 t u = o<i>;eval($format(c[j]));
1 S/ H/ p5 E. ?2 [1 H- `4 b7 Z }8 L7 g. ~" ~4 L! a$ u
}
2 X7 ?9 |4 L3 b. j" ?3 x* ^
- t/ a& ~ D5 j, G if(o.length == 0){; _ }4 n+ T6 s0 `" `1 ]0 G
for(var i=0;i<c.length;i++){4 s0 x: f1 l, f6 ` q) ~3 e
eval($format(c<i>));! m ^$ O, z0 w( R/ N7 A+ L( [3 |: c
}
5 v8 x4 V7 T, ? }
0 e$ [& g5 E% T* R% q$ `/ i6 A" s 5 M0 t5 Z( V4 i2 U/ _
if(r!=null){6 k5 w: P4 r" U+ f* S
return r;% |. Q' d7 I5 T; x
}
1 t& ~$ }3 C. F' J- c / I/ R) [% c6 a; D/ A2 v1 }
if(o.length==1){
0 P; p0 o, c+ y return o[0];; M( r7 s. K+ B3 x6 s$ W
}3 S( w. U1 h1 y5 K% r2 x A: Y
else{9 c4 y3 M( A% O
return o% n" l8 Q0 j9 n# b C- K
}
9 V: f& n3 D0 C9 {- v# y; s / `% A' S6 g, D+ w0 m) d7 T P
}5 n( I9 b! A, r) Q6 e! p
var lrc =$("#lrc;show()").innerHTML.split("[");
, e" O1 q: M' l; G: ?' W1 Y$ _if(lrc.length>5){# u3 b9 X3 n7 {" d
var array = new Array();
& w3 `! D% G& K g; Ffor (var i=0;i<lrc.length ;i++ )
2 X0 v2 P7 S5 G{6 D( N( }- l' K2 e
var g = new Object();) g/ y2 \" y2 S- k
t= lrc<i>.split("]");* K8 q6 F4 l F0 q2 _& p
g.time = getTime(t[0]);
1 P! u9 N' c# i, g- a, `1 d if(isNaN(g.time))8 |" I1 E6 y/ `) h) Q$ v ?; y* L
continue;8 C: @# J2 E, ~3 g7 m9 q8 V6 L3 q
g.c = t[1];% V* |. B9 Y( l
if(g.c == "")
T- e7 B/ E# \( w( w, J0 S6 ? g.c = getNext(i);
1 o% {1 _2 c- G array.push(g);
* W" ^1 ^. }$ C- p; J3 u}
/ ~ h' o5 R8 U" Qarray.sort(function(x, y) {+ X4 C' p) m3 |. s" K# H: U
if (x.time>y.time)
" ]- o) m- b8 L return 1;5 z8 i7 I0 { Y' A$ H1 l& ^
else if(x.time<y.time)% J* m3 I6 }8 L9 K! [. n! L
return -1;
. Y) r3 o) R8 \4 F) ? else0 y6 [7 F) Y' \2 ]* p
return 0;7 g" y3 _) @( T4 G- s
}
) k0 e. q7 {) X7 O);7 h0 D9 T& z; F0 t6 T; V
for(var i = 0;i<array.length;i++)6 u; D- } U# G* K2 F& }
{ ]- q4 D4 x9 C
var g = array<i>;+ ^6 S- x; A6 b- r# e- h+ C
if(!g.c){0 ^ \* ~4 c1 `: G; N+ B
g.c="";
# H6 F* E$ v; a% L }4 e9 H" r: e: ^: S1 e
$("#list").innerHTML+="<div id=lrc"+i+">"+g.c+"</div>";8 b4 v0 m/ C7 _, @7 x
}+ s% M: ?. Y6 }5 ~$ V) a7 \
var time = setInterval("lrcList()",500);
: M E( Y; |( @" s: h+ o3 h& d}else{" ]- F+ ^! T, D% x4 Z
$("#list").innerHTML=$("#lrc").innerHTML;* s; C' j. Z$ s, w/ P4 w
}4 L+ o% I$ ^, d9 B5 r( B. H" q) g
function getNext(i); l8 X' n2 N; G/ H2 h2 o8 l
{
0 E \# b4 a1 M+ W% ~" r' Q$ E var result = "";+ U% k5 E7 V4 o) A! F0 ]/ F0 J5 h
var i = i+1;, x8 q" R1 T- y+ e/ w3 `2 h
t = lrc<i>.split("]");1 _0 B) L8 ]7 L* I% A) e! ~
if(t[1]=="")+ J2 R8 O/ ?1 l* X N* K. [
result = getNext(i);
) n- }7 L; C* Z1 W else
$ a. P* t0 j* G" T- U* E0 K result = t[1]
- i) \/ C3 z/ K" p; v! Y return result;
. f+ P7 l v N- T- s' `}
8 `$ O% Q- R9 m& i6 p4 J4 G3 v: z, T4 ^2 F8 p$ T1 a) Y
function getTime(str)
* N) K/ |6 n" M2 z" n{$ e: h, V; a4 C( n* C! f
var time =0;. y4 ]6 V5 y! s) i
var ta = str.split(":");8 \5 l) I5 i) h9 H1 B7 G& `
if(ta.length<2)
0 f/ [& F8 W) j' W$ y return time;0 N% m/ i& O" P7 Q$ F+ X
/ h- a$ ]! Y- m# f& D
if(ta[1].indexOf(".")>0){, L; k6 {8 y/ o7 K5 k/ X' `; y
var tb = ta[1].split(".");9 {/ p9 n; ]0 {! r0 D, Z0 R
time = ta[0]*60*1000+tb[0]*1000+tb[1]*10;1 g+ |6 m; w. f" n a+ b8 m
}" _! O: |3 L9 Y1 s0 p$ S0 ^3 T4 M
else
+ d. M( w. I+ ^/ U" ]: j time =ta[0]*60*1000+ta[1]*1000;
7 q( M( w u$ F$ N8 a* L2 ?, U6 K* |# f return time;
' o/ ~8 Q* J0 [}/ |. E# |0 T! @0 W) n' H- U
var preTime = 0;- b4 n+ F9 C/ b- P
var nextTime = 0;
& V- v. L* `9 Tvar currIndex =0;
; {7 |% U( b' o/ a/ Ifunction lrcList(){
# w% q# \$ q- i. }/ g) f6 T- w' Y var s = parent.document.getElementById("MediaPlayer").controls.currentPosition;
/ D1 K. K# X0 I0 b s = s*1000;- s& m3 p7 w' B2 B2 o5 r- B
if(s==0){2 c1 L' y) {5 J w* }& ?" I9 y+ g
currIndex =0;
O: T7 e5 _2 o. u4 D! L8 F $("#list").scrollTop = $("#lrc"+currIndex).offsetTop-30;- e$ \0 T, R& K& a7 d% {# E
for(var i=0;i<array.length;i++){
) y5 X3 ~6 r/ @: a document.getElementById("lrc"+i).style.color=colorNormal;. r+ J2 I$ F) |8 s% e7 V
}
$ q( ~$ i( K: g" l return;
& @4 e0 d9 Y* Y) } }; y; H7 C( `1 f3 t) F& v
if(s>0&&currIndex<array.length-1)8 d0 H; V$ v8 Q7 ^
{ 6 n! u3 G1 ?. c5 ?
preTime = array[currIndex].time;# t" x6 _3 Q+ {% A$ Y
$ R2 [+ W f! \- [
nextTime = array[currIndex+1].time;
" ~7 L' Q5 o$ r# c6 V) @
& X R0 a. ?/ u& K* V if(s>=preTime&&s<nextTime){4 l; U" N( u/ b( N4 f J7 \
}. R8 h) J2 h9 t+ N' X0 ~, n6 {
else if(s>=nextTime)
6 Z, V, l2 Q" Y" @5 f7 U% e& ~8 I {3 x3 U1 Y# y* H& u
document.getElementById("lrc"+currIndex).style.color=colorPasted;
/ N/ N1 T8 h9 o! ^8 d! M currIndex++;
9 C8 _! l- B1 b) q+ ^+ [/ m $("#list").scrollTop = $("#lrc"+currIndex).offsetTop-30;
) q, W! O6 I& z document.getElementById("lrc"+currIndex).style.color=colorPlaying;4 H. f3 J+ d( j
lrcList();
2 H) a, S4 z$ n8 |( K }! k t- S2 a- }+ Y$ U- X+ ?
else{% m, ?3 ~. H0 a' v$ G4 e# G5 _* X
document.getElementById("lrc"+currIndex).style.color=colorNormal;
0 x& B; m3 N% I4 c u currIndex--;
4 h' ~# n0 E/ m9 a3 U $("#list").scrollTop = $("#lrc"+currIndex).offsetTop-30;* {+ |/ G4 Y" C* c) _4 |) T
document.getElementById("lrc"+currIndex).style.color=colorPlaying;; k' \8 A) J& ]: j, C. l
lrcList();7 f" [" L( g d: N
} 0 i- i6 M: o& Y
}
- }2 k6 P4 e; U9 s5 J else! T. ^( ]0 {) d8 J+ \
{
/ q, d, l) _# t' D& ~ if(s<array[array.length-1].time){
9 \/ V: \1 P7 y# W- U currIndex = 0;: R" @, G+ s6 }6 r5 @* H; H% n
$("#list").scrollTop = $("#lrc"+currIndex).offsetTop-30;; Y+ d2 R" r; N
for(var i=0;i<array.length;i++){
8 X# A$ l. T: U+ B& k) ^% n document.getElementById("lrc"+i).style.color=colorNormal;0 R' T- r& p- u/ ^% ?
}
" L L. I( W$ W8 l5 D. A: U b2 E lrcList();
0 F! @4 M- a* {7 r$ R) B1 s }
* l' w; i' t1 Q( X. ?3 O! h! F0 q+ E/ S }
9 G: ?: c0 N# p}
3 S( r' Z- t) |3 G3 T6 X</SCRIPT>+ k) I6 E C |& G/ G
</DIV></DIV>) O: a) R; q+ T6 H5 ]/ f
5 y5 N9 m+ V. w( k+ a$ l3 [2 K[ 本帖最后由 幽谷兰 于 2008-9-18 17:36 编辑 ] |
|