|
|
<DIV id=list>
9 t4 f: \/ L0 ~: c1 e2 r, ^# u<DIV id=lrc1 style="COLOR: #666666">[wmv=0] http://lzbj.ncedu.net.cn/uploadfile/20083923248279.mp3[/wmv] </DIV>
+ R& K' [' V1 ]- e<DIV style="COLOR: #666666">|等一分钟|听到这首歌,觉得它很动听,旋律很优美,很是喜欢,传上来给大家听听。</DIV>+ [4 b) h# w6 w& i6 a& p
<DIV id=lrc2 style="COLOR: #666666">词曲唱:徐誉滕</DIV># U# d% `0 R. h6 m4 M
<DIV id=lrc3 style="COLOR: #666666"></DIV>
, a" d; P+ G0 i! @<DIV id=lrc5 style="COLOR: #666666">如果时间 </DIV>
; [8 [/ T9 w0 {5 c<DIV id=lrc6 style="COLOR: #666666">忘记了转 </DIV>
) v7 ]. u( f% v<DIV id=lrc7 style="COLOR: #666666">忘了带走什么 </DIV>
: I. f) y1 t) ?5 H4 `- {<DIV id=lrc8 style="COLOR: #666666">你会不会 </DIV>
; q+ F; i8 B2 h6 f& v4 K! P<DIV id=lrc9 style="COLOR: #666666">至今停在说爱我的那天 </DIV>
; S, d+ Y0 R5 y- m9 b1 \" c<DIV id=lrc10 style="COLOR: #666666">然后在世界的一个角 </DIV>6 O! @; S$ o* o$ o" }2 X- C
<DIV id=lrc11 style="COLOR: #666666">有了一个我们的家 </DIV># {+ E- g) x" A
<DIV id=lrc12 style="COLOR: #666666">你说我的胸膛会让你感到暖 </DIV>6 T* j! ~/ T( D. `, _
<DIV id=lrc13 style="COLOR: #666666">如果生命 </DIV>
0 R4 V% t; t! P; }4 `* _ X- L<DIV id=lrc14 style="COLOR: #666666">没有遗憾 </DIV>6 P. w, W- q# a% b
<DIV id=lrc15 style="COLOR: #666666">没有波澜 </DIV>
/ O$ b/ R% P: ?. \4 A2 R- M<DIV id=lrc16 style="COLOR: #666666">你会不会 </DIV>/ ]# u! b5 G/ s- t
<DIV id=lrc17 style="COLOR: #666666">永远没有说再见的一天 </DIV>* ?" K+ W& n1 O& v( x
<DIV id=lrc18 style="COLOR: #666666">可能年少的心太柔软 </DIV>
3 e3 B, R! C+ z4 U! y<DIV id=lrc19 style="COLOR: #666666">经不起风经不起浪 </DIV>
$ d* i, H4 J6 u/ R- R<DIV id=lrc20 style="COLOR: #666666">若今天的我能回到昨天 </DIV>, X$ D0 K' P0 j0 u
<DIV id=lrc21 style="COLOR: #666666">我会向自己妥协 </DIV>$ k& v. c0 R4 @! t
<DIV id=lrc22 style="COLOR: #666666">我在等一分钟 </DIV>
; i9 z( G8 b: w: d7 X" f" Z<DIV id=lrc23 style="COLOR: #666666">或许下一分钟 </DIV>% ]2 G4 Y- q! c/ d) b! H
<DIV id=lrc24 style="COLOR: #666666">看到你闪躲的眼 </DIV>
3 Z% p% e: S, v7 N<DIV id=lrc25 style="COLOR: #ff3300">我不会让伤心的泪挂满你的脸 </DIV>+ A5 l. ?5 q8 Q/ y' d( k* _
<DIV id=lrc26 style="COLOR: #000000">我在等一分钟 </DIV>4 k; X/ }# d& s" U* b
<DIV id=lrc27 style="COLOR: #000000">或许下一分钟 </DIV>: M# n7 s& |0 l; ~
<DIV id=lrc28 style="COLOR: #000000">能够感觉你也心痛 </DIV>* g* s3 w# q2 s" D9 `" d# l' n
<DIV id=lrc29 style="COLOR: #000000">那一年我不会让离别成永远 </DIV>
) P0 T' q( ?; ?' L8 s3 f<DIV id=lrc30 style="COLOR: #000000">如果生命 </DIV>
& @' B J) u! J7 Y8 X<DIV id=lrc31 style="COLOR: #000000">没有遗憾 </DIV>" y9 {: A- H( I; Z
<DIV id=lrc32 style="COLOR: #000000">没有波澜 </DIV>/ x$ P/ o/ I$ F! V- L# s. {" ~
<DIV id=lrc33 style="COLOR: #000000">你会不会 </DIV>
: W- C: d& ?' C6 M% j( P7 p- M j<DIV id=lrc34 style="COLOR: #000000">永远没有说再见的一天 </DIV>
% w* V' t/ k( ~8 `4 r, o3 Q* R<DIV id=lrc35 style="COLOR: #000000">可能年少的心太柔软 </DIV>
2 E$ f% i1 v3 \$ Y- l$ @<DIV id=lrc36 style="COLOR: #000000">经不起风经不起浪 </DIV>
! g2 x; l" ~+ F# S6 O6 b<DIV id=lrc37 style="COLOR: #000000">若今天的我能回到昨天 </DIV>4 f8 T8 c4 i* Z% r1 f
<DIV id=lrc38 style="COLOR: #000000">我会向自己妥协 </DIV>
w( s( c5 Z* F" V0 `5 q* j( S<DIV id=lrc39 style="COLOR: #000000">我在等一分钟 </DIV>1 ~. `* [7 }# {* ]) S+ d$ Y/ E9 D4 y
<DIV id=lrc40 style="COLOR: #000000">或许下一分钟 </DIV>
3 R. B9 f# d3 t% |( Q<DIV id=lrc41 style="COLOR: #000000">看到你闪躲的眼 </DIV> [+ g5 p" B! ~( ]0 a1 j
<DIV id=lrc42 style="COLOR: #000000">我不会让伤心的泪挂满你的脸 </DIV>
2 @) c' f$ t$ u3 M" N<DIV id=lrc43 style="COLOR: #000000">我在等一分钟 </DIV>9 Z+ K/ X, \. V. f
<DIV id=lrc44 style="COLOR: #000000">或许下一分钟 </DIV>. M" c8 f9 a' i, v
<DIV id=lrc45 style="COLOR: #000000">能够感觉你也心痛 </DIV>' Y7 a) i0 A( E5 x2 X3 U+ K
<DIV id=lrc46 style="COLOR: #000000">那一年我不会让离别成永远 </DIV>( H0 I: h6 V4 m% a- N
<DIV id=lrc47 style="COLOR: #000000">我在等一分钟 </DIV>. B4 l. Z8 K* i6 I8 w$ ]
<DIV id=lrc48 style="COLOR: #000000">或许下一分钟 </DIV>
6 @, x2 ]6 ^, U# S: F<DIV id=lrc49 style="COLOR: #000000">看到你不舍的眼 </DIV>$ a' Z, F# z) L% I7 N
<DIV id=lrc50 style="COLOR: #000000">我会用一个拥抱换取你的转身 </DIV>; O, ^1 ^9 f, ]9 _
<DIV id=lrc51 style="COLOR: #000000">我在等一分钟 </DIV>
. B3 E% h4 u# M. r8 w<DIV id=lrc52 style="COLOR: #000000">或许下一分钟 </DIV>
9 s) d3 ?5 _; T, b' S8 p% _<DIV id=lrc53 style="COLOR: #000000">如果你真的也心痛 </DIV>/ R. I4 h0 r4 M V- A- M
<DIV id=lrc54 style="COLOR: #000000">我会告诉你我的胸膛依旧暖 0 m6 s! W( M+ a# z) S- ?+ l' }1 d
<DIV id=lrc style="DISPLAY: none"></DIV>
* M$ ?$ B+ V) _0 P<SCRIPT type=text/javascript>7 H! V+ q( I/ f) a% y9 H7 w
document.domain="1ting.com";# W6 ^# B2 t' o! ?) [' t
var colorPasted="#666666";: L# m' s# e3 a1 Y
var colorPlaying="#ff3300";1 u. x# E! G/ X
var colorNormal="#000000";
( ~" h3 ]1 ]" @4 E" m+ H( K$ = function (a,g){4 n6 t% ]1 e! z
var o = new Array();
* X7 [. ]5 `$ ?! ~3 |# M) t, ` var c = new Array();
5 q4 b1 c3 b# h Q. _% Y3 G var r; ; B: x2 @* d; X* \$ ~
var u;
* `! k% R* `3 {7 j: k3 k5 D+ O* V var a = a.split(';'); 9 Z% g" W/ u" l1 Y& A! D& e
3 X) R$ i0 K, ` var e = "keydowns,resize,load,dblclick,click,mouseout,mouseover,mousemove,mouseup,mousedown,inputchange,inputfocus,inputblur".split(",");
6 V' P; r* A3 [# _ U) k0 r; u/ V for(var i=0;i<e.length;i++){
% H& |( O! B/ \4 M6 H eval(e<i>+" = function (s){eval($event('on"+e<i>.replace("input","")+"'))}")
) b) O- a9 [$ }7 b- ? }
0 c& W$ Q3 a1 b6 R) I
7 f# P2 }% v/ A2 R+ [ f4 q Y) h after = function (t,d,s){+ H j, m, S! g, i5 g& S! h
$after = function (){
7 f) X1 c0 F) c* q4 f var $n=document.createElement(t);( \; H" W7 d- ~. r
if(d!=null){
. e6 T; M! {9 o! O8 D $n.id=d; 9 K" s. I6 b) S! t
}
, O7 _/ z6 H+ D3 K. W- n4 I
5 k: N2 e$ O" T0 f u.insertBefore($n,null)
4 a4 _% I) [9 v% ?. y; ~ r = $n; 7 h* O& v! e" a8 x0 a2 s8 q
u = $n; 7 q% U; t8 ~# L& O+ ?) D
}0 v# M+ M. F4 V' X' _4 k
$for(s,"$after")
$ O5 N" J( o, S }
2 M' e+ D( Z. q+ Z, n. S/ S. D+ ~
show = function (s){/ q! n$ v( C8 j5 B7 P1 p5 T
$show = function (){! P5 K: j6 K0 A1 [/ J& `9 c
u.style.display!="none" ? style("display:none") : style("display:block") ;
4 ~: Z. k& X, | }
5 B. j0 P" J' ~, a3 o" Q1 o( I0 s $for(s,"$show"): d+ I# s$ E; n- u
}
# K# I* c' V$ n* ~! f# f# [" l# M3 x
check = function (t,s){3 T) \7 g0 R) ?% R9 f
$check = function (){
9 Z* W+ w1 T. L1 s6 e- c4 F if(t=="2"){. W! h% C. D: Y- r+ Q
if(u.checked){
- c2 U( r+ w, T u.checked = false;/ h$ w8 A9 w- D3 C$ _0 z
}else{
6 y8 F; [) s1 c% _ u.checked = true;
0 _: p$ ~. q9 L9 z$ m1 x& } }) w2 ~, E3 J$ c- n" I2 I
}else{& p9 a5 c! _. P8 Q( [+ p6 a. s
u.checked = t*1 ;
+ Y3 }* l) q& T3 H3 M J) o- I }% V3 f7 q' t7 i9 X
}# f/ k6 a, J* C
$for(s,"$check")
: Z: N# k1 ]. m }
+ ]0 i+ r8 O/ H' d; Y3 f$ B( g1 i' ]3 M+ Z V( c6 l8 I3 Q
style = function (v,s){
4 [- D, g% q' o9 @ $style = function (){
) @! l5 g4 R, L var $n = v.split(",") 0 z$ ]* Q E( a. ~1 u' H
for (var i=0;i<$n.length;i++ ){; h1 B/ [( w$ h: \# x
var $m = $n<i>.split(":")
7 a* k _, D! M+ L- H eval("u.style."+$m[0]+"='"+$m[1]+"'"); d. C- R3 M! L$ B, ]9 f) Z
}
7 ^. ~3 p; D5 g1 A# q- Z }
% c1 p& v& K' G1 g$ |# M $for(s,"$style")
9 A3 D* l$ a; ~; V- y% m }% M9 K$ f7 _7 Q9 E
) D6 Z3 h# V$ t5 T& n1 f8 X+ I value = function (v,s){
+ F* l3 @" g1 m2 p# `7 _. k var $n= $this (v);
' ]! {1 s, E; V0 {8 n $value = function (){6 U3 x3 c4 N( d- O1 H
u.value = $n" ]; j4 G9 [6 j+ y& Q2 f$ ~, D; R
}
- S# Y1 J4 H% d' ?, R# H $for(s,"$value") 0 V( x% [/ q4 w+ q9 F/ D2 k
}
, \: {) L% x# S4 `
' a8 J5 T8 h; a0 d text = function (v,s){; P+ T8 V- v, f2 T y
var $n= $this (v);# Z( h2 d8 M# q* e+ _) b8 {: Q" o t
$text = function (){' h0 H1 H0 W+ |6 y
' B, E$ Y% W p
u.text = $n0 m9 x" ~; y* ?* Q2 K# ~7 B; h
}) N0 L: L6 I: Q( c- h5 w" c
$for(s,"$text")
6 f" V" r5 i2 }/ g }
0 a$ e9 \+ S6 P1 Z: Z, R# G3 @1 i( X
innerhtml = function (v,s){
5 y* x, B1 D, ~9 y var $n= $this (v);
, O4 Y! }# T9 N% S/ I% K $innerhtml = function (){
( @0 x5 B8 t8 t3 l" F u.innerHTML = $n
) j! ^8 ^' @% F+ j7 I }8 M' Q! H6 Y( M( ~7 `; `7 Q
$for(s,"$innerhtml")
. b% A2 s2 A5 g }" D8 z# k/ D8 J" r, N
0 P$ J& M. V' R/ L3 l1 ^. S' V; n
removechild = function (s){
2 G+ n; ^$ K' D) \% c: l7 | $removechild = function (){. j9 a5 r( j- `. X& F" k2 P
u.parentNode.removeChild(u)+ ^; q( e# o# e
}
. S- Z3 [* W5 L. i! i$ h2 l I $for(s,"$removechild")6 G& g+ C7 I( t$ B& N
}' b$ u6 o ?3 U7 r) {: ~5 `
5 L/ U3 o) r. `7 x; t
$this =function(v){
; b; O0 \, @% Y( u7 s if(v.indexOf("this") == 0){* p( I5 ^! W' t: p" a
return eval(v.replace("this","u"))
1 u% p" G& Q9 c2 B6 M2 A* U }( B0 Z1 q9 w$ i
return v;! `1 K' C4 ?; w6 q, E- G& ]
}
( B+ p) U9 U% W$ C: P6 R7 i1 o6 `$ l) c, @
$event = function (s){( u/ V( t6 X- u! L
var $n ="u."+s+" = function(){$work(this,s);}"5 D6 D2 i. x3 C6 n6 B: e
return $n;
; s/ ^2 x( a! M$ G }
& K" i" W7 `$ i$ ]3 g, l' O
3 H% @: S1 `3 N4 D2 I* y) W1 A $replace = function (s){& _2 z# F9 L- V5 W; p: Y4 v
. U- I: P# S! A/ U1 q
}
2 i% b+ m2 w8 G' P5 \
5 k V) z7 ]9 Y. { $for = function (s,c){
3 i- ?: [5 e9 M: w) Z var $n="this."+c+"()" ;$ E. ?6 @0 s+ Y
if(s!=null){
; L; F6 ~% R( R( I1 a( f var $m =$test(s);
1 R. {+ ~* j" g J4 \$ } for (var i=0;i<$m.length ;i++ ){
" q+ D/ B0 b/ ~& f: c# L u = $m<i>;/ a9 i6 Q& f% \. f+ P7 A8 _% R8 o) e
eval($n);6 P0 ^; m; u/ N$ X' t$ t) B5 _
}
, q, a( C2 q+ O% P- C# [7 J; l }) @; C$ y7 s( H, |- |+ ?
else{
# R$ Q: {% _ ~* N/ a/ p" n eval($n);( t$ r$ v+ U6 A" r" Q' w$ o: c% x) J
}
- W) |' q H& ~5 f9 c% p. I) } }6 ~% ^3 y& u. u3 j2 K. \
7 _: u9 S5 ]$ ?: c2 n! U' M2 j$ E0 ^7 P $test = function (a){. ~# d3 g' ^5 Z7 {( y! ?
var o = new Array();$o(a.split(';'),o);
% i' ~5 }/ r/ p1 ~ return o;
6 N+ N" B9 ~2 |8 s }
. @. m; P7 k$ C8 c0 }# N* G" `( h+ T& y7 ~+ r
$format = function(s){% N% H0 ^3 n3 `
while (s.indexOf("'")>0){& [! B, }; J+ I9 ~9 y C
s=s.replace("'","\"");2 J+ O, ~& F9 y q, I: I
}. \* d0 \- M* E/ Y1 y! t$ K
while (s.indexOf("][")>0){7 S- h& T- I% U" @
s=s.replace("][","','")
# t' ?& m' w9 z' n3 f }
# ~% I( u- i: ? while (s.indexOf("[")>0){+ M: Z* V; T* ^( l$ n. [
s=s.replace("[","'").replace("]","'")
6 y; `, `8 ]" B7 e9 U) E } 4 h) n/ f( J; K0 Q2 }
return s;5 ^$ \% ^0 |& H T$ g
}
( d; I& P& b% I+ [$ a; m
4 f9 ~0 I8 S8 m( f( H7 r $work = function(w,s){1 N+ h4 I1 e x; n6 Y
u=w;eval(s)
# j2 W. s9 o- C0 s& ]% I }" x, @) F5 `/ G# b) Y2 a/ t5 T
, C3 k5 t+ d9 t& U7 I- b! Y$ i+ t. \" X
$id = function (s){
. r4 ~. u% j( i return document.getElementById(s);
l, g% H/ Y) d0 a$ T4 `3 R) P# o }$ H- R l. h6 r4 F
3 `2 d5 x' R* }8 z( s6 j( _3 G5 |6 l $name = function (s){
1 S0 H" y( ^1 L3 E2 `& ^ R/ v; {; I( e return document.getElementsByName(s);
1 ~- \& E$ \, l9 p }/ G$ M4 ]. k( Q9 `2 P
2 _0 r3 ?3 v# i- u* Y, E% G; O7 A; \4 W" u $tagname = function (s){
8 q1 i% w- |2 h% f return document.getElementsByTagName(s);' V2 D7 C4 G' h8 N8 `& \" W
}
# `7 n) u# z2 ]. u% C; [. U$ @
$o = function (a,o,c){
- W1 T6 k9 v% B5 b3 e; i5 G $push = function (n) {
0 S+ s% D; x' K9 O- \7 J for (var i=0;i< n.length;i++ ){
* W" r _* r1 ^& O o.push(n<i>);; s) o: j9 q7 {: l2 d& H6 Z
} ! k; V0 ^6 f1 t9 J) `
}
/ O& t Z: G7 r% n; l5 k1 [! l* \ for(var i=0;i<a.length;i++){
" l4 l1 Y1 W h2 S! J if(a<i>.indexOf("(") >= 0){) _8 x) f9 |1 u6 W u+ X
c.push(a<i>);
8 N/ a7 e) D. j9 y9 D V, Y }
& ]- G( L: ~+ R if(a<i>.indexOf("~") > 0){; a' m) r' b Y* g1 f1 c, t7 X) X" ]3 K
try {
7 d8 a, u+ d+ Y) Y $push(eval(a<i>.replace("#","document.getElementById('").replace(" ~ @","').getElementsByTagName('")+"')"));6 f/ q* `* o3 l2 P* T$ S4 F9 ?
}catch(e)
% t, h; @5 R7 Z1 ` {}
8 g) }, T+ ^; j$ d/ Q6 f }
, Z5 O# T- ? j. c6 k% G else{
; d$ ?+ j; u F if(a<i>.indexOf("#")==0){& z% X" d" f& P3 h0 j7 s0 T5 t% w
o.push($id(a<i>.replace("#","")));
6 b/ G5 d! o( a }
2 Z6 t7 \+ V6 V: g' X if(a<i>.indexOf(".")==0){1 c+ F0 f8 J2 |% |4 ]& H1 R9 ~
$push($name(a<i>.replace(".","")));
8 b. }9 h" q$ v2 G* G }
% m( N# ]( _, ?% h$ n if(a<i>.indexOf("@")==0 ){
# u* l9 ]& z) f) I) @0 o+ f. P $push($tagname(a<i>.replace("@","")));4 j" Y- a3 k+ @# e
}! C6 `% \, K, y; I
if(a<i>.indexOf("*")==0){0 ^1 g" s- h& u3 r
$p= a<i>;
1 p/ D8 f+ [" o if($p.indexOf(".")< 0){
, w! P n+ t: D% Y3 h2 W $p = $p.replace("parent","parentNode")
7 X) c! c6 k9 n# S3 c6 F+ T }
Y: e6 l5 p+ Z8 k5 s var $p ="u."+$p.replace("*",""); i5 g$ i8 Y, o7 U
while ($p.indexOf("parent.")> 0){
( N% N+ L* r6 @; M. Q& M $p = $p.replace("parent.","parentNode.")
* b- b/ d2 }( T; l# R7 E }
- e: r+ D7 Y! S: l l/ D" G, T4 i while ($p.indexOf("child{")> 0){3 e( m1 `' O4 T, @# x8 Q
$p = $p.replace("child{","childNodes[").replace("}","]")
; W9 X9 Y" U) v& f }. q1 m# r1 {) q* O7 K
o.push(eval($p));
: E0 x7 Q8 g% C g3 l Z* C/ w }6 N! C+ d! {5 Q, D: S" }& N
if(a<i>.indexOf("document")==0 || a<i>.indexOf("window")==0){, ?5 Z( R. U1 Z" U4 X, l4 S- w
o.push(eval(a<i>));
) B- |" p G7 Z5 i' | }9 a' t! A# b' D/ C G
}! w4 q: `/ d2 s n$ l
if(g!=null){ . D3 e' l8 Q0 ^# a% e) ^ c
o.push(g);g=null
6 m1 A$ m) _% r- \- P! F4 _9 n } + \/ V! n1 P( v( T6 V
}
/ N: s5 `6 `6 D( w4 z }
j# E- S: `% i1 @; @) v1 A
5 O( m. z2 R$ q" e' E $o(a,o,c);+ S5 J9 `6 f$ i2 s3 q
5 l* v. v* J2 i7 w: R9 k% u( d for(var i = 0;i<o.length;i++){6 X* N' j* L$ v8 f4 ]; @! l
for(var j=0;j<c.length;j++){
* X) H9 L3 |1 g0 W/ u8 ? u = o<i>;eval($format(c[j]));
! t, C$ S7 v7 L+ F }
: l! }' A2 S+ u0 ~ }
0 I/ T. F' I6 Z \: B9 I1 Z1 @' P$ R; [. T# v
if(o.length == 0){7 N! b* r! I1 h
for(var i=0;i<c.length;i++){
9 {" \4 F: f* G& h, F eval($format(c<i>));- Q% Q% {+ |9 }+ [
}
! E- X1 ~0 X1 ]* d2 T F" k6 ], ] }5 ~: a9 ]9 Z7 y, b, r+ \( C: b
. f% W7 V3 B3 l, @9 Y, K8 V
if(r!=null){
1 Y6 K6 C0 V- G9 P+ w return r;% g$ T! q% H% ~
}
R/ Y" W' C. h/ l" `
5 L Y) u3 \# `5 V if(o.length==1){
5 g+ b) I/ i6 h$ Z return o[0];
/ l) R% ^; w. p* E' V" j P }
3 P) i+ @' h: X( a/ x! b else{
% s: |; [1 Q4 d* J+ f return o
4 Y7 q9 \3 U5 S } % P) n p- S' T2 D2 }$ g1 a
6 b* F" B: k+ u1 D3 X }
* w: e e% e) C+ G( E/ R: rvar lrc =$("#lrc;show()").innerHTML.split("[");
* h5 \. w2 H0 p6 L0 i+ u0 `if(lrc.length>5){0 n0 V2 O2 t8 c* p
var array = new Array();
" Z, s4 @" y! G- a7 @+ efor (var i=0;i<lrc.length ;i++ )1 j$ |5 \1 C7 e7 Q2 f- R% w
{
, H# P$ D6 I5 m; ]# r" s var g = new Object();% ?* h) o4 x0 E8 f) |- G" w
t= lrc<i>.split("]");
& I6 G. R( F- y' W. } g.time = getTime(t[0]);; B% P# m8 d7 s8 s, W' M: |
if(isNaN(g.time))
, O" e8 j6 ]8 K6 P3 { continue;5 J) {" A( a; F5 N- w
g.c = t[1];' u' ]/ K- q! A* J+ A
if(g.c == "")1 x( k r, U4 w4 ]2 D
g.c = getNext(i);3 @+ d- H$ s3 W
array.push(g);
. s& n$ L1 v7 I8 `}- Q9 ]6 F4 m: O: a7 W
array.sort(function(x, y) {$ o! @. A$ L8 J9 s. M6 t
if (x.time>y.time)
. r& u M( b8 u return 1;
* s8 q3 D1 g& i% d6 H else if(x.time<y.time)
$ n% E S7 O& Q return -1;
9 Y7 h) h0 Z" W6 O7 y! B& c else
' P, _- w" N- Y2 a w' ~" _2 I( ~ return 0;
9 c6 T' u3 ]0 _' S }
% O0 Q$ C3 e: P5 n" });
5 T. `2 g- r* E( Y) Bfor(var i = 0;i<array.length;i++)# U% S! e9 d0 i
{
) {% i/ T% h4 K' M9 Q4 _- f6 f W var g = array<i>;) Z0 G& y p! ?. w b# Z* P7 F' j
if(!g.c){& y8 l' b% H$ W5 p/ V
g.c="";5 x, G+ `: e: K+ e
}1 J. `/ }+ a8 M2 W) R/ p" |- [
$("#list").innerHTML+="<div id=lrc"+i+">"+g.c+"</div>";/ F2 j7 W4 X* y8 J
}
6 [' H6 h+ P3 }$ e* R4 l: n H1 |1 Kvar time = setInterval("lrcList()",500);
; i/ A' m1 s" ]* F* g) E}else{
, R0 \6 h, d9 w1 r# X% I$ P $("#list").innerHTML=$("#lrc").innerHTML;
6 Z; Q+ g, S- p0 Q}9 _2 O$ O1 Q5 {" t; f; j2 h2 o
function getNext(i)
$ ~& ?( g& X; L{8 H1 }2 K' {# H I! S! Q, Z, f
var result = "";
, g) s$ u9 f8 L: E var i = i+1;6 ~2 g ]3 y+ J8 C7 h8 e
t = lrc<i>.split("]");
& D; T$ [" F0 O+ n% O& O! m/ w# ] if(t[1]=="")6 F% y! ]" I! `7 G/ U3 X
result = getNext(i);3 P! {( J8 _! _2 [
else
$ E. f; l& x; s- a9 u result = t[1]
/ O2 q5 J' t* ?; A \# E return result;0 n P5 y w6 d0 P$ a
}
4 i6 N# Q- u# J8 J
* l( S0 e3 Y7 s' [function getTime(str)
! ?$ b: ~! i% N F$ K/ Z$ b{
' k5 D1 b5 ]+ c4 E var time =0;
7 T* a& U# x4 Q# J3 Q5 P# a var ta = str.split(":");6 W: N. S" p: z; S# C, l0 `+ e7 ~
if(ta.length<2)! T& D: J& t& V8 z* X7 |
return time;
. s; [3 `; \: E+ d+ q- n& V: N
4 `' L% U$ k) A2 L if(ta[1].indexOf(".")>0){( s) ?+ x5 h) k- o
var tb = ta[1].split(".");
* w: m3 E/ a) i+ F# K& k3 _2 b" R0 u- ~ time = ta[0]*60*1000+tb[0]*1000+tb[1]*10;0 C% M! a+ K0 q
}) w v0 w4 v, [. H7 i$ ]
else& n( j7 o+ v3 E2 v/ `# B) l; e
time =ta[0]*60*1000+ta[1]*1000;
( ]) w9 L# v8 j; z return time;" x- c' W: a: N, j& v( T
}
1 v: V5 y M+ K/ J3 f I9 Tvar preTime = 0;* W: I8 C( L4 y& O4 k
var nextTime = 0;
* p: m0 j+ w) `* \% k# |var currIndex =0;
. m7 F) H. a4 @3 b5 efunction lrcList(){' z* G* }( a4 }7 n
var s = parent.document.getElementById("MediaPlayer").controls.currentPosition;
" p8 ]5 l0 `) o3 {/ G; }9 R6 l: V s = s*1000;* R6 N$ S5 i8 F0 p
if(s==0){
! p/ g7 k6 S& Q. d0 p7 g- R currIndex =0;
9 J* F( Y `: d4 o $("#list").scrollTop = $("#lrc"+currIndex).offsetTop-30;
0 y3 d. M1 j: A, Z3 x( q, M X for(var i=0;i<array.length;i++){9 P% `% l; M" Z' P$ `
document.getElementById("lrc"+i).style.color=colorNormal;
- L4 d" n/ y6 o- z$ X7 L }
7 g5 i0 R- P& t$ s- g! c return;; q* c2 s( |' v. X' _: s8 S* o! e
}( q; l: ?+ { X* E
if(s>0&&currIndex<array.length-1)
: f [- [( b5 `( [5 _# P0 {. t {
8 l# l1 n! B& \; k& h1 W! u preTime = array[currIndex].time;/ i/ D7 U/ }7 H. {2 A
0 A) r6 F3 c: b' q* A5 [ nextTime = array[currIndex+1].time;4 k9 W5 o' c0 a& P: E
3 g4 k, I$ C) }. O" g( ?% a2 C
if(s>=preTime&&s<nextTime){ e: w7 o8 ?0 S
}1 R9 q$ V+ i& U3 J; J
else if(s>=nextTime)
& H. i* X# N, Q5 Q9 a! C: @! K {
* V/ j" [1 D; ~3 t document.getElementById("lrc"+currIndex).style.color=colorPasted;
* g2 S) D+ Z; s+ m5 s currIndex++;
! _/ b1 B: v, `4 ` $("#list").scrollTop = $("#lrc"+currIndex).offsetTop-30;
3 K2 I7 E2 t$ V2 U: c1 | document.getElementById("lrc"+currIndex).style.color=colorPlaying;
5 Z; c7 a) o* c8 ^8 S- l8 { lrcList();
/ a, Q, a5 Q& ^$ S0 c- m: \ }( v& [9 L* W" D" I
else{. Q3 O. u$ K! m: u* I) q0 E
document.getElementById("lrc"+currIndex).style.color=colorNormal;( [9 a, k/ b: y% D# ]
currIndex--; X; H6 X. u8 ]
$("#list").scrollTop = $("#lrc"+currIndex).offsetTop-30;
- i$ q3 a$ K3 K1 X document.getElementById("lrc"+currIndex).style.color=colorPlaying;
4 t/ s; V A7 s w+ k* X' y lrcList();, p3 Z9 l* c' \ }2 b
} / Q% ?* Y+ l$ f H+ P6 g- j8 h- X. J
}: X& Y) |2 k5 R( U
else2 y' j( x$ E1 V' i
{
; ]2 Q! ]7 b" B' [ if(s<array[array.length-1].time){+ ]# m8 a& k3 _/ h2 H0 X i
currIndex = 0;
% A: b; P) }& Z. r+ h $("#list").scrollTop = $("#lrc"+currIndex).offsetTop-30;
/ L3 {' p2 l( f2 I! F9 j for(var i=0;i<array.length;i++){
- E( Q6 c3 r) E: E" J& i) c% p document.getElementById("lrc"+i).style.color=colorNormal;3 F: ~0 W- | c$ \- q( |0 `
}
5 Q, x5 `2 _; s# X! ? lrcList();0 C% h# H! s4 G; G ^" R
}
" q- E i& I, f5 I3 _* P }
% r2 q, u8 M. A}2 T) G9 x, x* L. R0 |
</SCRIPT>
- J2 b9 a' _) e* ~</DIV></DIV>8 r* Y# g! c5 s! C( [
# V% \, p _7 a/ U6 L[ 本帖最后由 幽谷兰 于 2008-9-18 17:36 编辑 ] |
|