|
|
<DIV id=list>1 J! O- y$ D' b
<DIV id=lrc1 style="COLOR: #666666">[wmv=0] http://lzbj.ncedu.net.cn/uploadfile/20083923248279.mp3[/wmv] </DIV>
) S4 Q X( Y$ X4 N<DIV style="COLOR: #666666">|等一分钟|听到这首歌,觉得它很动听,旋律很优美,很是喜欢,传上来给大家听听。</DIV>
/ q3 d( ^ Z! R+ s<DIV id=lrc2 style="COLOR: #666666">词曲唱:徐誉滕</DIV>
0 c8 A$ _7 j1 h6 k4 {2 w4 Z<DIV id=lrc3 style="COLOR: #666666"></DIV>- P: ]# O* w. k
<DIV id=lrc5 style="COLOR: #666666">如果时间 </DIV> S/ h3 r; P. M; T
<DIV id=lrc6 style="COLOR: #666666">忘记了转 </DIV>
# G" W+ Q' G N# Y0 Y% e3 o<DIV id=lrc7 style="COLOR: #666666">忘了带走什么 </DIV>9 S3 N9 e5 k. A0 x7 {) F2 R) o
<DIV id=lrc8 style="COLOR: #666666">你会不会 </DIV>
+ O. P2 Y9 h5 H- Q<DIV id=lrc9 style="COLOR: #666666">至今停在说爱我的那天 </DIV>) y: ?1 I8 |6 R( l
<DIV id=lrc10 style="COLOR: #666666">然后在世界的一个角 </DIV>" X! G* e5 c D7 X4 Q2 d0 B
<DIV id=lrc11 style="COLOR: #666666">有了一个我们的家 </DIV>/ c# i/ _4 _5 y/ z, t
<DIV id=lrc12 style="COLOR: #666666">你说我的胸膛会让你感到暖 </DIV>
( J2 N) Q5 J) ?<DIV id=lrc13 style="COLOR: #666666">如果生命 </DIV>
7 S8 B' d8 C0 L5 A5 O2 y<DIV id=lrc14 style="COLOR: #666666">没有遗憾 </DIV>% e1 o6 p5 Q- i2 `
<DIV id=lrc15 style="COLOR: #666666">没有波澜 </DIV>: [3 ]9 a7 R k; P
<DIV id=lrc16 style="COLOR: #666666">你会不会 </DIV> \3 J4 W9 b8 \% Q& R
<DIV id=lrc17 style="COLOR: #666666">永远没有说再见的一天 </DIV>! s! t+ }% A; V, d
<DIV id=lrc18 style="COLOR: #666666">可能年少的心太柔软 </DIV>% a+ G; e% j( E# ], \
<DIV id=lrc19 style="COLOR: #666666">经不起风经不起浪 </DIV>
8 Z1 R: y7 c9 K! L<DIV id=lrc20 style="COLOR: #666666">若今天的我能回到昨天 </DIV>+ x" G. j/ J P" g
<DIV id=lrc21 style="COLOR: #666666">我会向自己妥协 </DIV>
) O7 E u! x* z4 O8 m" x<DIV id=lrc22 style="COLOR: #666666">我在等一分钟 </DIV>7 |" f: \' q/ f/ k6 x5 n# X
<DIV id=lrc23 style="COLOR: #666666">或许下一分钟 </DIV>
; J' ^' U; s$ U& |, ~- ~<DIV id=lrc24 style="COLOR: #666666">看到你闪躲的眼 </DIV>! b7 k* L8 R8 y$ E# F( f) ]- K
<DIV id=lrc25 style="COLOR: #ff3300">我不会让伤心的泪挂满你的脸 </DIV>5 E4 m: P2 I r" h9 S
<DIV id=lrc26 style="COLOR: #000000">我在等一分钟 </DIV>0 r# D; [) t) S* }: I
<DIV id=lrc27 style="COLOR: #000000">或许下一分钟 </DIV> m5 |8 M: ?/ i8 V
<DIV id=lrc28 style="COLOR: #000000">能够感觉你也心痛 </DIV>2 Q! J7 D+ R# r) w* F3 \2 E% E
<DIV id=lrc29 style="COLOR: #000000">那一年我不会让离别成永远 </DIV>
& W; ^! |4 r5 S- V7 d& j<DIV id=lrc30 style="COLOR: #000000">如果生命 </DIV>
9 ]9 h3 m8 y! L7 P/ l0 j! p<DIV id=lrc31 style="COLOR: #000000">没有遗憾 </DIV>) f% h3 F1 a0 F2 D- X* T1 d
<DIV id=lrc32 style="COLOR: #000000">没有波澜 </DIV>
+ L1 U6 y) n8 c& n! t( z<DIV id=lrc33 style="COLOR: #000000">你会不会 </DIV>
" J, H2 M( G& h<DIV id=lrc34 style="COLOR: #000000">永远没有说再见的一天 </DIV>
^1 b4 R d3 h) L3 f) R" q<DIV id=lrc35 style="COLOR: #000000">可能年少的心太柔软 </DIV>
! ^9 h3 k+ Q" c<DIV id=lrc36 style="COLOR: #000000">经不起风经不起浪 </DIV>1 w, g' Z) |! T) `8 @
<DIV id=lrc37 style="COLOR: #000000">若今天的我能回到昨天 </DIV>
, H5 t8 T m1 N<DIV id=lrc38 style="COLOR: #000000">我会向自己妥协 </DIV>, G& e- Q* Q a# u/ n. e8 S" `* k/ \
<DIV id=lrc39 style="COLOR: #000000">我在等一分钟 </DIV>
* x0 \9 v* M' D9 c' ]8 ?<DIV id=lrc40 style="COLOR: #000000">或许下一分钟 </DIV>
/ }3 _& a# ^) D<DIV id=lrc41 style="COLOR: #000000">看到你闪躲的眼 </DIV>
+ o( T9 f- O7 N8 f7 W& h: O<DIV id=lrc42 style="COLOR: #000000">我不会让伤心的泪挂满你的脸 </DIV>4 l5 h4 N& U$ H- n8 U5 |
<DIV id=lrc43 style="COLOR: #000000">我在等一分钟 </DIV>0 T5 a: q2 ~8 l7 K! H
<DIV id=lrc44 style="COLOR: #000000">或许下一分钟 </DIV>2 e9 y, V1 B9 P2 U5 m/ T
<DIV id=lrc45 style="COLOR: #000000">能够感觉你也心痛 </DIV>
, C/ H) S* b/ a4 x, `" ~8 B& N: ?* Z% e: w<DIV id=lrc46 style="COLOR: #000000">那一年我不会让离别成永远 </DIV>" g$ V7 Q+ u( m" e) o9 g
<DIV id=lrc47 style="COLOR: #000000">我在等一分钟 </DIV># p1 b; I# v9 P) {6 N" @0 Y# v
<DIV id=lrc48 style="COLOR: #000000">或许下一分钟 </DIV>
, j" R" S* z, y- z- d<DIV id=lrc49 style="COLOR: #000000">看到你不舍的眼 </DIV>
0 j! W4 h, S, U' X) H<DIV id=lrc50 style="COLOR: #000000">我会用一个拥抱换取你的转身 </DIV>0 e4 H; O* u! f) I
<DIV id=lrc51 style="COLOR: #000000">我在等一分钟 </DIV>% `/ C" k: O8 O* y
<DIV id=lrc52 style="COLOR: #000000">或许下一分钟 </DIV>1 `2 J5 h& E) s: A# ?2 D
<DIV id=lrc53 style="COLOR: #000000">如果你真的也心痛 </DIV>
. ]* l) d1 R; [8 i3 e- ~5 P- W<DIV id=lrc54 style="COLOR: #000000">我会告诉你我的胸膛依旧暖
" u* V. q# p' r* J, k& ]<DIV id=lrc style="DISPLAY: none"></DIV> P) \+ Q9 h, B- q
<SCRIPT type=text/javascript>
1 N' N, a5 q7 w0 pdocument.domain="1ting.com";
9 J; |: n* k: Tvar colorPasted="#666666";) b; H# [' p2 T$ X5 S7 p) X# f
var colorPlaying="#ff3300";
0 t- B2 X3 x" h( y8 [ [8 Mvar colorNormal="#000000";
+ J# q# M! D( S/ b" \* S* ?$ = function (a,g){% l) a8 _& Z P* M3 k* x* s# N ^
var o = new Array(); ( u) r2 [) |, d& K( y) o* W: E
var c = new Array();
/ p3 @0 U9 L! z+ M/ a6 K; y var r;
' Z) [( a' s1 `$ T4 Y var u; ; X) J `- j7 l6 T7 s n$ w
var a = a.split(';');
' H6 I* n$ P# h. i, f, U
6 S% e, C% C6 K+ N var e = "keydowns,resize,load,dblclick,click,mouseout,mouseover,mousemove,mouseup,mousedown,inputchange,inputfocus,inputblur".split(",");
, j7 L3 {' m; v* T7 x+ Q% S for(var i=0;i<e.length;i++){
- Y+ Y, c) b+ {+ i( C eval(e<i>+" = function (s){eval($event('on"+e<i>.replace("input","")+"'))}")
# S4 `2 U0 R0 R6 Q0 w8 v4 c }: ?9 T/ b2 K) P+ j; y+ z- F
6 a! C! v9 {! j) G# W& ?- A6 M
after = function (t,d,s){0 L- T& R7 b; ] D M& y6 A
$after = function (){
4 y2 E# |( T9 T D0 w& \4 U var $n=document.createElement(t);
: ]5 Q$ V6 j0 Q' u4 D, c% z if(d!=null){
! o( q% [& w& M $n.id=d; ) ^ s8 j% K) d& h7 W" [2 a6 }0 j) s
}6 J: N k9 {6 c8 x( a/ n
+ t+ _4 D+ j; i( c1 l, m
u.insertBefore($n,null) " u1 U5 e, T2 z d) y
r = $n;
% X' w [: n* `2 w0 s/ r+ D, ? y u = $n;
/ U U6 U/ N" I }
8 |" h# z- N; B; D# o6 l- m0 K. m L $for(s,"$after")
8 p/ v. G' h" l. Z, L' o7 B5 C+ @ }% N' \5 q b; [. J4 U4 U: {+ S) j
* u& n; v B& W. J( l& w' r& _ show = function (s){
$ z' \$ |, ^# G6 U( O6 `$ _# V $show = function (){% ^: C" y4 P' g) e; S O! {
u.style.display!="none" ? style("display:none") : style("display:block") ;
4 [3 I. L. K( V j. e }: J6 Q7 @1 O/ P* y4 r! L: g
$for(s,"$show"). C- f3 d2 h) H. p% ]" z Q3 ? z
}
+ @# O5 b# |& G5 u3 n% F! g: V d T$ A: c1 @, @
check = function (t,s){
5 w: l u- X+ X+ D, b $check = function (){. {6 k T; V1 @' V
if(t=="2"){1 H, `7 I5 N, n! I3 @
if(u.checked){/ W/ v' Y# ~, l
u.checked = false;
' K% B& e6 v0 x6 I; L# \ }else{& R/ l, L' c: u4 V1 `. Y
u.checked = true;& m8 Z& Z# B+ J1 K# `5 n
}
- S$ e* `0 {* u0 T }else{
6 h' r8 V% s7 E4 b1 d6 } u.checked = t*1 ;
* p7 ]" o) [/ V5 _ }% J1 w# k' s# j0 x6 `
}
2 e1 `, Q1 z. }) V+ O9 ?. l% ` $for(s,"$check")
4 U7 U* z; [/ G( \! f6 m }" E; ~* L4 e2 t: `" t
! g5 {) j- u2 a& ?3 Y) X" ~. u U
style = function (v,s){6 L/ g2 c. Z- c& r0 e
$style = function (){
/ p- `2 T7 |: G8 o' H var $n = v.split(",") 5 A- @+ k4 R* m" W9 M
for (var i=0;i<$n.length;i++ ){
9 ~/ X) B" ^ e, z8 y var $m = $n<i>.split(":") $ ^6 @) Q5 _! T9 p3 N* C
eval("u.style."+$m[0]+"='"+$m[1]+"'");1 |( @0 W3 f5 k% U* i
}: y1 J6 {. s5 b* W& C
}$ A5 |8 N' V( }" q
$for(s,"$style")
6 u. N4 q) Z5 c% P" t8 }$ H: [ }
- }; [; p4 V0 U. M, p
f/ x$ Z3 T) j0 i5 x value = function (v,s){1 w( y9 Z0 u k t( P
var $n= $this (v);& U3 G. P$ _# M0 g0 e
$value = function (){9 S: f( u$ o/ _ u& p8 ^/ H/ I
u.value = $n
& L7 T7 U7 L# o. ?" _6 @ }( }: Y: v( y) v7 K1 |3 T
$for(s,"$value") 6 h; k/ `$ v" C6 V! b
}1 ?- p- N; I! N4 I
/ [; m; l; j" k9 r
text = function (v,s){0 }* E# r3 \, J% S
var $n= $this (v);; z3 y6 f+ V) Z0 g
$text = function (){
1 S2 x& t7 F, K& q' m' q 5 y7 g& L1 d: ^8 F$ g. A
u.text = $n
r+ o+ t6 s G5 ~% \5 F4 W }
- x! g" w2 D: |! a7 a( j, a2 P $for(s,"$text")
1 I2 a! P; N# R F5 o$ D }
: a+ }, \# T( y+ X0 K Z3 L1 o" `! ]. k1 t5 [
innerhtml = function (v,s){
# h( s0 N, x" M# a9 H! i var $n= $this (v);
( v; m; P) F% G7 w7 |: a5 a $innerhtml = function (){
/ J# H& g+ o& ^$ d5 [ u.innerHTML = $n
- `& L* h4 E4 l- |0 h5 ^ }
! I" B7 Z5 d2 i2 [ n! T6 a $for(s,"$innerhtml")
# U% w6 Y" u1 G# y7 s }
* u3 N: ^, s3 J
$ A6 u0 @2 e9 y8 W5 d$ x( v removechild = function (s){
& B8 e* a6 }/ f& k $removechild = function (){1 B+ y6 C& R9 E' S* n2 q* J! L
u.parentNode.removeChild(u)
% f7 i* G: _) ?1 ?; d3 V: [( n }
, k1 {/ V% H* x/ E [$ ^6 F2 b% ]1 o $for(s,"$removechild")' o$ B1 ^9 M! a" R
}4 H# f1 p( ?$ M( n) E
! H" ^& \* [5 H) s# X $this =function(v){
6 y; X( r* y6 @% \& [ if(v.indexOf("this") == 0){
' t' d# Z! S7 D$ }6 L- I+ X" J* h return eval(v.replace("this","u"))9 h R7 K: a9 _4 H5 g4 }
}
+ ^; c! Z* y( \9 k8 E return v;
; Z1 b# R2 ~ s5 ]) V }
2 v }' ^$ g9 p, S1 Q0 _( t( o ]" q9 M6 o
$event = function (s){
" z H: J$ W/ z: z/ _ var $n ="u."+s+" = function(){$work(this,s);}"
& v7 J& G) w l! I/ C return $n;
$ D3 o* X9 Q, v& b# l% S! P1 ` }
" |" w' ]* E# {2 Q$ D+ @7 [: f% n" h7 }& v0 N6 s
$replace = function (s){
$ {- C$ c5 [8 W
9 n L; W- r; X, T3 Y }) U! g& f" `! q9 N' S( m# q
V5 s' c1 B% j- {( k
$for = function (s,c){
0 Z# L5 J- V# ~! i var $n="this."+c+"()" ;
: V) ]! E( Q! H& U" o6 i if(s!=null){
& P7 r( w* s+ _& W0 t' {2 L var $m =$test(s); j$ H* I4 D5 r5 h
for (var i=0;i<$m.length ;i++ ){
" u( [' G& S* O6 E2 x! a u = $m<i>;0 i* Q+ ] l1 _
eval($n);: \2 c3 w8 d% A# S$ T& ]4 K3 r
}
5 k' U5 t! d- l4 o( N }
2 q2 O' r7 O! b! ?0 J else{
# o' a; y- _& D* m+ ]: u( f+ K eval($n);' T: V! n( Y* a* M% m- C
}* M1 ~* ]! h! u |9 K
}
; F C9 l! S( w+ L0 U% F' ` $ w5 F* Z) b5 f. T/ N! |9 ^6 ?# D
$test = function (a){
: J* J2 F6 d- Q var o = new Array();$o(a.split(';'),o);( D! K" D0 j# ]9 g. O; }# e. e8 _
return o;" }3 ?2 g' U' e
}8 Z2 Q0 \& l/ ?$ t- j1 H
0 Y/ f5 Y3 I4 H+ l( X
$format = function(s){: s' _1 U5 L, _5 L5 o6 M
while (s.indexOf("'")>0){. i. T1 _; m) @4 o2 I6 M
s=s.replace("'","\"");
" C B; A# m0 V; Y }% `8 {5 a4 a& W
while (s.indexOf("][")>0){( y+ G% X* U+ V
s=s.replace("][","','")
7 ~1 W1 l1 T* j6 G2 V }1 l3 q/ c& B# N' S9 o
while (s.indexOf("[")>0){
# T! E# b9 o, z, P; O s=s.replace("[","'").replace("]","'")
2 ?! `6 B0 W9 z& z } 1 S! f4 N7 {6 `. }" x
return s;2 B0 m3 p8 O% ?8 y( t/ n/ N7 o
}1 Z& S' x2 w x% T/ R
( r$ w/ Z9 [5 @/ H6 _ r $work = function(w,s){7 z% h* ]) p' Z& [+ z3 e
u=w;eval(s)6 X _0 o0 X$ y" B
}5 C g& V# e4 ^1 K+ n; ?9 v5 g
/ a4 _- Z$ O$ R. W8 P $id = function (s){+ F5 p$ K6 D. P( s9 @! c8 `
return document.getElementById(s);9 l K. {! p, p4 `) A2 I- Y
}
1 j$ Y, o) {- @+ ]% q
5 h F; O5 @9 w3 S& Y3 `- a $name = function (s){0 Z# e$ `) n) \3 E. H* a! z6 `8 k! L( r
return document.getElementsByName(s);6 W+ N- o5 E: U, T1 A( m
}
$ C( a* I& b1 e3 r+ u8 N$ E. Z6 r5 r0 @$ H
$tagname = function (s){
, S- K; H$ B/ a) U0 }8 W- [; m return document.getElementsByTagName(s);
0 f! f( ~* p$ P5 k3 D }
, t; A7 l% f$ Z' G2 _% K" b! q2 i& Y9 G1 S/ Q2 z
$o = function (a,o,c){% y" T/ M; f; U x5 o8 ^
$push = function (n) {5 \0 ~) _& W5 o5 q; e1 ~4 B
for (var i=0;i< n.length;i++ ){
8 g0 T% j n: E3 X, C3 O o.push(n<i>);
1 z+ \ E. Y( V) F8 [1 A+ P }
$ e, e3 Q" h) V }
+ U; Y% Q l7 a/ C for(var i=0;i<a.length;i++){
X# V. ^' c, z! E if(a<i>.indexOf("(") >= 0){! S5 y/ s6 t+ Z6 a9 f8 q) S% t
c.push(a<i>);) h8 r% T) h. b- g5 X1 W
}
5 ^/ q! Y$ K3 @ if(a<i>.indexOf("~") > 0){
$ ^# A3 S# h7 J& I* ]6 F& z try {
2 S& J* n3 t; y4 M# i* p $push(eval(a<i>.replace("#","document.getElementById('").replace(" ~ @","').getElementsByTagName('")+"')"));4 R& I% T# j+ Z5 I2 W& v
}catch(e)
8 }3 l1 [# t* l3 s {} $ }4 K( {& y8 o1 I' L2 g9 K
}
p1 L2 U8 f( j1 u' r# {: r else{
3 y5 X" W( J3 A+ h% N% v- { if(a<i>.indexOf("#")==0){
6 r8 E3 {3 N y" f: l q( i& m o.push($id(a<i>.replace("#","")));& u- V4 K- b5 d: r7 Y5 p/ N" q/ T
}- h2 t+ n# d5 X: z5 S3 U, @3 X
if(a<i>.indexOf(".")==0){; t+ @* D; E' g* J/ g
$push($name(a<i>.replace(".","")));# G. K4 T8 u/ G6 N5 ~
}
: q6 d7 U3 L* d6 G: f7 }# v if(a<i>.indexOf("@")==0 ){) q- L7 {' Q8 X- q- x3 ?
$push($tagname(a<i>.replace("@","")));9 V9 G! x1 l! H+ B
}
, v0 u! [5 Q* p* b* B if(a<i>.indexOf("*")==0){
6 v \3 K% F" ]- U $p= a<i>;
% `7 n" Q5 Z0 ]3 @: q! b if($p.indexOf(".")< 0){% p8 \+ n& v, v+ w1 t" `
$p = $p.replace("parent","parentNode")! M7 [. Q' t$ d; g
}6 P O% a: d l; t) W
var $p ="u."+$p.replace("*","");
1 x/ s% d; D7 R; } while ($p.indexOf("parent.")> 0){
; K, {8 b5 T. k- k* n J $p = $p.replace("parent.","parentNode.")0 F$ B3 @! d6 m: Z0 \- C" A
}, B; Z7 u5 P! y# Y
while ($p.indexOf("child{")> 0){6 b; w. e' h- W# k4 f# l8 c# d
$p = $p.replace("child{","childNodes[").replace("}","]"); `% A, b1 N+ o$ o6 U
}
+ b5 u! K+ Z# a7 `6 u7 E2 { o.push(eval($p));8 _$ r' Q# t" R& q
}9 A l' \) c# ]7 p" d- C( B
if(a<i>.indexOf("document")==0 || a<i>.indexOf("window")==0){
, o* t( s& o2 J1 V8 C4 d5 k/ l o.push(eval(a<i>));
7 @: q3 g. E- s' B- a. A }
9 C. T' ]6 K& R$ N! ]- } }
% \9 D+ `+ O7 u5 N% B if(g!=null){ Y9 [$ w/ ^; W+ e+ d: M
o.push(g);g=null5 n" y' a t, N I4 ^# n) D
} / D; L3 F$ P& r( @" I$ b4 K1 F
}
$ v/ j u- @6 U/ O' o) ? }
& o# P2 J' M# H0 |( D/ y
1 I1 t$ k4 S7 D7 `# @2 @& D $o(a,o,c);$ b* ?+ h4 Y" _ K" n# N
1 S9 H* h; E1 s+ M$ ~: q
for(var i = 0;i<o.length;i++){
v0 W" Q- ?; @5 \ }# P7 ?. F for(var j=0;j<c.length;j++){
* o+ V6 f# N8 Z, c% ]) h: R u = o<i>;eval($format(c[j]));
( G3 M! K7 @2 M }( w" P. E' X/ s9 n* h; [
}. G" n# s% k1 J0 l7 E
0 w7 e7 z2 A* ^
if(o.length == 0){
3 i$ g: j; o- V1 J& d! \ for(var i=0;i<c.length;i++){
$ V: M/ q' x7 j% U6 S1 j eval($format(c<i>));
1 B/ R/ `7 ?7 l$ n2 x }& ^. r) N" S- v
} D( W& J$ i, F; L. i1 a
5 @' s1 P6 I- Y
if(r!=null){$ \/ |5 R0 w+ ?3 Y* U% N: z
return r;
& G9 Z* x# y" O }. c& T; `" L' z4 x0 I: V- I
( @! K6 x& x0 K; t8 [8 c: X
if(o.length==1){
" a8 I8 O9 \: P5 m4 V return o[0];
& j5 G( s' m4 @$ f# r9 [ }4 O" r2 k/ m5 C5 c' d8 z
else{' }- Z- w5 a* h, |0 Y
return o! w& D; v/ W! l) G- B
}
5 n7 R9 m9 H8 ^7 Q4 X( D/ z4 A- @ 2 S9 H. d+ H3 d% A& E% n" _
}
$ a- T) p$ ?" ~0 [2 e0 qvar lrc =$("#lrc;show()").innerHTML.split("[");# L: c9 s7 K. T% E
if(lrc.length>5){
! x2 X" w3 {, w7 Svar array = new Array();
4 N3 }; _8 ^' ]) Y7 T: vfor (var i=0;i<lrc.length ;i++ )" d; {, E* ]) d6 _; U+ N6 ^
{
; O t* F( V+ M1 l4 A8 F var g = new Object();
; S# D l- p. { t= lrc<i>.split("]");
% E3 c; g# K! i" Q& ^5 D( K% o& @1 [ g.time = getTime(t[0]);
" Q/ F1 n* a' |4 K( \& {+ ^ if(isNaN(g.time))
- Q0 h" A# x9 D- V9 y continue;# _7 O' u5 P8 f" b* }+ ~
g.c = t[1];- J6 A# }4 L9 [/ v$ g1 j* S7 ~
if(g.c == "")3 w3 O! x, {: S9 n' ]
g.c = getNext(i);
2 c6 l+ S5 n, x- O0 b m array.push(g);' b; p/ N5 M2 X! O! X
}8 \% G3 [( U! i/ I, |: t" S+ G/ X
array.sort(function(x, y) {. o- P0 e/ N! X4 U3 {& _, _! L4 F
if (x.time>y.time) * {- L* P" o' c% K. d
return 1;5 S" Q' F) |1 x4 b" t$ t7 m
else if(x.time<y.time)
- k# r( Q( x. g+ Q2 n* O0 u1 w return -1;
* j; s8 J+ ~) }: C% G) T else _: \. d7 b, j- y7 v7 ]
return 0;
h+ r: ?% d* H& q4 ~0 r; n } 4 y% o( @8 s' w* h1 `- v X; q
);0 O$ |1 C5 k5 y; k% n8 c& x7 a
for(var i = 0;i<array.length;i++)
+ f: ^( U- t- Z8 i{& H6 |' i9 K5 i& @ P- \
var g = array<i>;* B0 k+ [+ @. w
if(!g.c){
" {3 o. s+ U# s( D, q g.c="";
# p$ d |' o+ U) G } U0 D7 n1 {# l$ S0 {$ w+ D0 _
$("#list").innerHTML+="<div id=lrc"+i+">"+g.c+"</div>";
2 _7 O2 h9 R8 Z! f) C) e}8 @( d6 a: r O5 l r+ F& o
var time = setInterval("lrcList()",500); ' @0 A2 L# f5 f l' T
}else{, ]: {( h f, y. l8 ]2 J
$("#list").innerHTML=$("#lrc").innerHTML;9 |* i' V& N* N$ m
}; U0 I# O5 A% X$ i* I$ V
function getNext(i)
9 ^+ [! |& ]+ [{' d9 t% `: J* Y# k
var result = "";
. Y" J! a% i. Y3 ^ var i = i+1;5 e7 ?$ I: y8 b2 g n
t = lrc<i>.split("]"); O0 f- S" n6 |0 o
if(t[1]=="")( t' G0 f. D2 r) W# _; A
result = getNext(i);3 V; j m1 n+ t: D! X( X; V$ l# j
else$ ~4 d0 C0 E# @
result = t[1]
c; A3 `( }+ _; u0 L$ B, y' T! j% B return result;3 ~! N+ k( {+ J2 E
}0 q+ C! T5 e$ R1 @$ D* W
& t1 m! G& P$ `& B- i
function getTime(str)! } c0 l/ S, N
{' N7 P6 ?! t# A" [7 v( T7 }
var time =0;# Z' S1 B; n& r- X, t: U s7 o
var ta = str.split(":");& S9 B1 d% t8 O7 @# t5 A# I
if(ta.length<2), ] j0 R" P) m" W& w
return time;! k- \- s7 }$ i# L
0 @( ?, A( T4 ~
if(ta[1].indexOf(".")>0){% {) R# _7 l" S: e" {2 }; T
var tb = ta[1].split(".");# e' n* |4 H! k; Y6 q
time = ta[0]*60*1000+tb[0]*1000+tb[1]*10;! }- i/ X: z4 l, c+ h% d
}
1 I$ u4 _) ?' b else
2 u* e& t+ e8 m$ b% D8 D; o; s time =ta[0]*60*1000+ta[1]*1000;
+ T. k: d9 u; [9 Z9 P+ ?5 A return time;& G& O% p9 v1 k0 ^/ U% V* A1 z
}1 \: Y# l: ]" E+ T, h- v3 v; T
var preTime = 0;
7 Z0 u. N8 l0 H: U2 s/ I# N2 t* mvar nextTime = 0;
# r3 |0 N8 u, }2 V$ V5 Gvar currIndex =0;
4 X7 a5 k- U4 Gfunction lrcList(){
! j1 \/ ?% e1 D( N0 s) P var s = parent.document.getElementById("MediaPlayer").controls.currentPosition;
4 o* ^0 |% G* g0 I D* ^7 Z s = s*1000;4 _, }0 u- M3 M6 @( r& B( C7 @$ K
if(s==0){- c; U `2 o6 e( a
currIndex =0;, @, v4 I: r# U1 V6 y
$("#list").scrollTop = $("#lrc"+currIndex).offsetTop-30;5 X6 t- ? U. W' I5 @& C( e
for(var i=0;i<array.length;i++){# p5 k H- n! T; D7 ~2 l9 A6 u% K
document.getElementById("lrc"+i).style.color=colorNormal;1 F% o: T5 ~1 z3 P* S
}
2 E _9 n2 X1 U Y! K return;* L( e: l: ?0 H: g0 s$ V
}+ l- ]: t; c7 Q% a
if(s>0&&currIndex<array.length-1)% U: z! i/ ^) l2 L3 b! f9 ?7 D
{
8 P1 C ^- G9 g2 c2 `* y& B preTime = array[currIndex].time;0 F: H4 Y4 ]0 f) w# X
3 J' l$ u3 K* }5 M* s# C) k _# W% ^
nextTime = array[currIndex+1].time;8 w9 y' {& W! v9 J
7 a6 R/ I5 \8 J/ D8 k) s
if(s>=preTime&&s<nextTime){% p4 P' z- d0 s% a
}0 ?( \4 g# R7 G) r/ S4 c
else if(s>=nextTime)
+ U5 `4 a0 C! `8 e! ? {5 P" N; n! D) W9 r& E5 Y2 V7 }
document.getElementById("lrc"+currIndex).style.color=colorPasted;7 U) k: i+ G5 j+ j4 e. s
currIndex++;
2 U, o \" r: N* }3 C $("#list").scrollTop = $("#lrc"+currIndex).offsetTop-30;# V; l+ u) ?' l* X6 J% {
document.getElementById("lrc"+currIndex).style.color=colorPlaying;
) k! l+ A( h1 l3 {$ t K8 J) ] lrcList();
) D# n+ j; L6 b4 h }4 G- o1 u$ M: U* V" `$ T# X
else{6 Z! Q9 u2 d. p( X7 ^3 X; f7 F9 ~, _
document.getElementById("lrc"+currIndex).style.color=colorNormal;
; r8 E( a' M0 k1 @& C8 V currIndex--;- X+ ~' C8 A: k
$("#list").scrollTop = $("#lrc"+currIndex).offsetTop-30;
$ D8 e6 t/ ^+ w# r) Y document.getElementById("lrc"+currIndex).style.color=colorPlaying;" _- N/ w# _! a8 |1 R5 x
lrcList();5 ]+ x `/ H3 `: ]/ M7 C
}
8 e* Y) l* T7 N+ @7 Z }
% E+ e3 J- B& R2 S( E else. e/ E, o1 `( Z* D
{ S/ |4 k: T! a6 D8 E- I9 W
if(s<array[array.length-1].time){! {. X. ]8 p# y' c* n) N
currIndex = 0;
& W5 [2 ^1 H; F4 _" P+ {' | $("#list").scrollTop = $("#lrc"+currIndex).offsetTop-30;9 }% @ K8 a) V' J# }) R r
for(var i=0;i<array.length;i++){/ x. B+ g. E7 @9 H$ R0 e
document.getElementById("lrc"+i).style.color=colorNormal;
3 M! k w3 s- T9 ~+ r9 W }
) Y& \- a5 _9 w- j lrcList();
4 G5 L8 W Q$ M: I/ Q }) E4 J$ h+ k' d* G
}
9 w2 h ?0 d5 H! F. ~0 E}
6 `; |7 d; v5 ]# _& l</SCRIPT>' {( U; U! C; @6 ^
</DIV></DIV>
/ f& t' Z0 h, s: I; m/ Y* B5 G/ `4 l/ k' n$ q, m( P
[ 本帖最后由 幽谷兰 于 2008-9-18 17:36 编辑 ] |
|