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