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