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