|
<DIV id=list>
/ u' u$ N3 L2 Q, o6 v# F' r<DIV id=lrc1 style="COLOR: #666666">[wmv=0] http://lzbj.ncedu.net.cn/uploadfile/20083923248279.mp3[/wmv] </DIV>+ U9 n$ ~2 J$ x/ W/ C/ b0 Z) a" m) w
<DIV style="COLOR: #666666">|等一分钟|听到这首歌,觉得它很动听,旋律很优美,很是喜欢,传上来给大家听听。</DIV>
3 \8 B# E6 m4 q, }5 F4 q<DIV id=lrc2 style="COLOR: #666666">词曲唱:徐誉滕</DIV>' G0 c( w; o* [/ C' [0 m
<DIV id=lrc3 style="COLOR: #666666"></DIV>
5 h8 {& s# h3 S: N8 `<DIV id=lrc5 style="COLOR: #666666">如果时间 </DIV>
9 O) q1 v$ R( @4 C0 J<DIV id=lrc6 style="COLOR: #666666">忘记了转 </DIV>7 a$ D: }" R4 i- \+ I
<DIV id=lrc7 style="COLOR: #666666">忘了带走什么 </DIV>( i" e! r, X: f* M& j
<DIV id=lrc8 style="COLOR: #666666">你会不会 </DIV>6 A; @5 p4 ]5 ]* S- a, y9 {. Z; k, [: k1 b
<DIV id=lrc9 style="COLOR: #666666">至今停在说爱我的那天 </DIV>
1 h& d2 |+ R/ ]! X<DIV id=lrc10 style="COLOR: #666666">然后在世界的一个角 </DIV>+ N( s$ u9 Y# J+ `6 R. B% d
<DIV id=lrc11 style="COLOR: #666666">有了一个我们的家 </DIV>
+ o! x, U3 v# e7 Q: {<DIV id=lrc12 style="COLOR: #666666">你说我的胸膛会让你感到暖 </DIV>9 X8 y% `7 W3 G/ E; P
<DIV id=lrc13 style="COLOR: #666666">如果生命 </DIV>
' m; Q. q. i0 R$ }<DIV id=lrc14 style="COLOR: #666666">没有遗憾 </DIV>
: O/ F X: E+ l" ?$ d<DIV id=lrc15 style="COLOR: #666666">没有波澜 </DIV>
, x( h9 j3 O( f# h* x8 o6 c. _<DIV id=lrc16 style="COLOR: #666666">你会不会 </DIV>
0 [- V0 C1 w% `! G$ p<DIV id=lrc17 style="COLOR: #666666">永远没有说再见的一天 </DIV>
& S' H) f; X+ ?# c$ h<DIV id=lrc18 style="COLOR: #666666">可能年少的心太柔软 </DIV>
. z0 h- g3 j- B9 f/ c<DIV id=lrc19 style="COLOR: #666666">经不起风经不起浪 </DIV>
3 v1 G2 C& X- x; b9 F: Z<DIV id=lrc20 style="COLOR: #666666">若今天的我能回到昨天 </DIV>: t! `! i ]" `
<DIV id=lrc21 style="COLOR: #666666">我会向自己妥协 </DIV>
/ L3 Y" j4 _# M$ d<DIV id=lrc22 style="COLOR: #666666">我在等一分钟 </DIV>
$ n m3 p( @. V9 Q: E<DIV id=lrc23 style="COLOR: #666666">或许下一分钟 </DIV>
1 B. r* J; k7 U7 e7 w8 z9 \7 _<DIV id=lrc24 style="COLOR: #666666">看到你闪躲的眼 </DIV>" b4 N% W" d, E) E P+ D3 i
<DIV id=lrc25 style="COLOR: #ff3300">我不会让伤心的泪挂满你的脸 </DIV>. C) T; `& _6 e7 R- t' z! M) i
<DIV id=lrc26 style="COLOR: #000000">我在等一分钟 </DIV>3 p/ k7 }5 V4 C6 F# u; \4 e
<DIV id=lrc27 style="COLOR: #000000">或许下一分钟 </DIV>
' a# U* {6 }4 [+ _2 @<DIV id=lrc28 style="COLOR: #000000">能够感觉你也心痛 </DIV>
3 H4 t) T- ~% w H' L g* R4 c; @" @<DIV id=lrc29 style="COLOR: #000000">那一年我不会让离别成永远 </DIV>; S. Q8 M) d" C- b0 Z" B
<DIV id=lrc30 style="COLOR: #000000">如果生命 </DIV> { r5 x) Y1 }9 N- u5 D
<DIV id=lrc31 style="COLOR: #000000">没有遗憾 </DIV>
* X- D6 j) [4 I+ s<DIV id=lrc32 style="COLOR: #000000">没有波澜 </DIV>& f+ N. {1 m) f
<DIV id=lrc33 style="COLOR: #000000">你会不会 </DIV>/ |) S1 }, @8 ?( z9 @2 o: \
<DIV id=lrc34 style="COLOR: #000000">永远没有说再见的一天 </DIV>6 h$ {8 ?7 L, G+ L
<DIV id=lrc35 style="COLOR: #000000">可能年少的心太柔软 </DIV>8 |' U1 f4 {- y, k
<DIV id=lrc36 style="COLOR: #000000">经不起风经不起浪 </DIV>
; ^( Q; o" [7 Y- q$ C<DIV id=lrc37 style="COLOR: #000000">若今天的我能回到昨天 </DIV>; v. x+ o* z. l( Q! f) Z+ r+ u
<DIV id=lrc38 style="COLOR: #000000">我会向自己妥协 </DIV>6 }8 s& ]4 U; A3 n6 V. Z
<DIV id=lrc39 style="COLOR: #000000">我在等一分钟 </DIV>: B3 ~: e8 l) ]" M6 d& R4 ?
<DIV id=lrc40 style="COLOR: #000000">或许下一分钟 </DIV>
4 E/ b# x+ X! M1 t<DIV id=lrc41 style="COLOR: #000000">看到你闪躲的眼 </DIV>
7 W# Q* o6 }4 o- C6 b; d<DIV id=lrc42 style="COLOR: #000000">我不会让伤心的泪挂满你的脸 </DIV>
* A% }! p; W# g<DIV id=lrc43 style="COLOR: #000000">我在等一分钟 </DIV>
' b( I( `3 x* ?7 \6 l$ t; C8 `3 Q0 y<DIV id=lrc44 style="COLOR: #000000">或许下一分钟 </DIV>
9 ?5 o8 v7 x& E/ D1 E; I8 p1 N0 w<DIV id=lrc45 style="COLOR: #000000">能够感觉你也心痛 </DIV>0 f/ I) w, {3 t: Y" I0 \+ P* q S
<DIV id=lrc46 style="COLOR: #000000">那一年我不会让离别成永远 </DIV>
) l( C6 r/ f- z& e6 c<DIV id=lrc47 style="COLOR: #000000">我在等一分钟 </DIV>1 W- y4 x4 Y" s! x' F
<DIV id=lrc48 style="COLOR: #000000">或许下一分钟 </DIV>7 V$ H- Z0 J; k2 T4 v
<DIV id=lrc49 style="COLOR: #000000">看到你不舍的眼 </DIV>
! r4 P' c7 l7 K% ?<DIV id=lrc50 style="COLOR: #000000">我会用一个拥抱换取你的转身 </DIV>
( k$ l) O2 j+ X- ^; x6 q$ T<DIV id=lrc51 style="COLOR: #000000">我在等一分钟 </DIV>
$ F( m& }/ e f<DIV id=lrc52 style="COLOR: #000000">或许下一分钟 </DIV>! v! G: c4 c* x1 K5 t
<DIV id=lrc53 style="COLOR: #000000">如果你真的也心痛 </DIV>, a1 N0 E& z0 o" T
<DIV id=lrc54 style="COLOR: #000000">我会告诉你我的胸膛依旧暖
$ r# B) m1 j \<DIV id=lrc style="DISPLAY: none"></DIV>
* a7 F9 h; t( d' N( o1 W% I+ ]2 ~<SCRIPT type=text/javascript>
9 O) S6 ]$ i! K. K% z# tdocument.domain="1ting.com";& ~4 h, r* L; Z+ u Y! f
var colorPasted="#666666";
# E/ i9 s) @ g1 w% q6 {var colorPlaying="#ff3300";7 a5 k0 i9 C6 ?) T
var colorNormal="#000000";! i+ m- u: C( `2 J9 \5 U# I
$ = function (a,g){
6 l( ~- \7 w# p5 o- f var o = new Array();
$ ~; z5 F7 o2 K" ?* P8 H var c = new Array();
' y! V0 I/ b" q+ u var r;
: E0 p! G. M! A/ C var u;
5 Q9 \! X6 [1 J, \# g: M; j9 j4 Y var a = a.split(';'); & v2 E% V: G g$ E- U5 m$ M4 }
! B, K1 P4 q/ T8 U* N9 I$ n
var e = "keydowns,resize,load,dblclick,click,mouseout,mouseover,mousemove,mouseup,mousedown,inputchange,inputfocus,inputblur".split(",");; p: Z: s& h- a) d0 L: A" E- i0 V4 L# G
for(var i=0;i<e.length;i++){& @7 }) j4 \$ z7 \
eval(e<i>+" = function (s){eval($event('on"+e<i>.replace("input","")+"'))}")
, N0 ]' C! I( ^% ]. L8 D6 _ }0 u( V2 ~, h; ~. Y
6 Q3 z Y, A9 I$ f' @, `
after = function (t,d,s){
U- L5 Z$ `6 e& W+ q! F $after = function (){
5 }- j B3 s$ D* N( u3 J( r2 o* L4 g var $n=document.createElement(t);$ I% e: y9 ~1 v# E
if(d!=null){
. K: D1 c; A) X) q $n.id=d;
! e0 u8 a5 y6 k4 |: f; ~) Z }# U5 a' h S2 t4 _
5 x% h! {* V7 R: ]* U, ]0 ]
u.insertBefore($n,null)
% C; {1 N8 W0 J9 w r = $n; , l) {9 u( z3 V1 ]) G
u = $n;
8 ^% [6 P' A5 P1 N9 c }
7 ~2 w6 | K: N4 A $for(s,"$after")* W$ l+ s2 f" M) o) z/ F9 l1 l( P
}# `- `0 o5 o2 F7 A; r8 e
! n% ?* M9 V7 w show = function (s){6 P7 T# V; i/ |! T1 O
$show = function (){4 X% z% r' P# v# g
u.style.display!="none" ? style("display:none") : style("display:block") ;( J! Y0 e; z4 C6 V9 \; g
}
1 W, Q9 b3 \7 ?/ W $for(s,"$show")
6 M+ Z& ]0 t8 c4 m: j }
% }2 Y2 w1 ]; ]; T$ `6 M) ^, F* S( {/ J+ s+ C. ^
check = function (t,s){
$ p" L* W J6 d+ }( g5 l: C- S4 _ $check = function (){+ O* l: p+ T: r/ G: c
if(t=="2"){6 l* _7 A+ G/ V, H. r
if(u.checked){
! m! @" @9 f O& q6 [6 e7 m* [ u.checked = false;
& D0 i* K. c' J$ E }else{0 \( |0 m- A, N; V% D7 a
u.checked = true;
5 D, v2 P5 O% X( J+ m7 w }$ r- N/ o& S6 [ I; }, P0 y
}else{
2 b- C! I# T; g9 p$ g. F( d9 M u.checked = t*1 ;
9 Q U& l- }6 e M* h- b/ \ }
' [2 @( Z8 n7 @" D }
& ~1 L4 }9 O2 ?1 i- [+ I1 N $for(s,"$check")2 w: S( N' w% ?/ L* z1 b& q
}5 W5 E: L$ T/ D! H4 e* }* M+ m
) P q* `) s- P4 v
style = function (v,s){2 p# b8 x1 k! M2 i. Q+ Z: U
$style = function (){
/ n/ d/ X$ d% ~+ X' M4 N0 d7 I var $n = v.split(",")
6 R% B) a2 \' a( G3 S- w for (var i=0;i<$n.length;i++ ){! D3 `' o1 N) p& h* y1 P
var $m = $n<i>.split(":") $ o* C: R1 ~: b- V
eval("u.style."+$m[0]+"='"+$m[1]+"'");
; Y- b: @; ?' R, j( `% V* ^ }+ ^" i# ]9 W; p. L" V
}5 B- G# [/ h* \+ n; w* N) d2 [
$for(s,"$style")2 O! b: J# @3 C
}' O( J3 k8 X. G( m( I0 ?, t; ^7 E/ Q
' ^& q2 G0 `2 y( P+ w value = function (v,s){- z/ s, ]/ o. G3 r( Y- N# c
var $n= $this (v);) Y, f2 v8 S: \ i7 K
$value = function (){
5 Z3 e3 U, l3 t* I' s u.value = $n
/ f( s+ U% M5 {8 y7 ]2 k/ Y }4 }$ } ^9 F. \" o. \: h' E) N a
$for(s,"$value") $ O9 P4 o: U- a+ E% D( u
}
+ M" I+ _8 H* J s( R7 ^; c; S/ P6 |8 _* e- Q
text = function (v,s){1 |3 f: u* D5 r& f' r
var $n= $this (v);0 c' u/ i- {& d/ }! z3 i" q
$text = function (){
+ @6 [9 D( m* p( U* H! |- N0 S
/ Z7 x# N+ ?' _% a9 w1 i. s u.text = $n) A8 c' B; T) Y$ C. r7 h& s
}4 s6 c {0 f0 ^* E/ x' u; C
$for(s,"$text") ) e6 B! z+ @# F2 ^! I5 V
}7 m5 g# B0 t' `; Q8 a& `* K
, N# H6 X' q- E) y8 i q9 g7 ^ innerhtml = function (v,s){
0 D; v4 z8 J4 r2 [: o9 \5 o var $n= $this (v); b3 R p T, ^( I, G3 U* z1 r
$innerhtml = function (){
& _) [( `0 }" O- Z u.innerHTML = $n% D1 A2 d# k5 q. ^ ?
}- u a: w/ `3 {/ |
$for(s,"$innerhtml")
. u3 i9 }4 a* X6 `. ` U6 D4 s }
; G F4 Z) D; }7 O. Y 3 U' }1 v, b! n. `
removechild = function (s){
6 {; b7 |" o8 r. X2 u; ] $removechild = function (){
( }. t3 m7 i" Q- n& A, _5 b u.parentNode.removeChild(u)
& x( y2 K$ G: ]& e. B }, h! ~; U$ y+ j, @( K, u8 c y* N( B" \
$for(s,"$removechild")
2 D" o' g0 z. ~5 v, ~% _ }8 M5 s- B$ [; _. z; ^
/ g4 M& _& v% S6 I0 [" x7 @
$this =function(v){
" {2 V% `% t5 A7 z if(v.indexOf("this") == 0){( S- ]- ?3 F6 g* {- N
return eval(v.replace("this","u"))
# p' `6 z6 H$ N- e }- p$ h! `- S& n9 T* Z
return v;* I7 ]' Q8 U3 a
}
- l1 w( S1 ^+ F1 J# K. |( Y( k# [* i6 P0 v* ^% N
$event = function (s){% r. C+ f u& M+ q9 N8 @
var $n ="u."+s+" = function(){$work(this,s);}"* U6 W7 k% H* H, M$ O5 P% i& ~
return $n;
% A; D$ m8 p9 _0 `& M }
2 Y( V0 ?+ v+ O6 |0 ]; X
, P0 l: J- L* v$ w+ q $replace = function (s){+ s/ [$ o! y( K" l
4 V' _, o% q% x3 _4 w8 O
}1 m% c0 j' ?2 _, s- c* \
j# _3 \: _& E+ I: o$ G6 z) I $for = function (s,c){
* u/ ]- M/ q/ @/ b4 B+ d( ~ var $n="this."+c+"()" ;! s2 j* f. u7 u$ m" H; v
if(s!=null){
5 Y, r: O# W# K/ G; d var $m =$test(s);% Q9 l0 M) P2 i( ^- w) R" e
for (var i=0;i<$m.length ;i++ ){
/ j8 T1 ?6 W0 M u = $m<i>;
7 }5 V5 z% j3 c9 D# l, m eval($n);
$ e F6 i* u. e, B9 g$ R }
# b& D+ h) d/ Z X }
! u' E* d4 z1 H* n$ @; g else{
7 H4 T! M/ Z7 W) ` eval($n);
! u& `& a1 k5 o( ^% w4 @$ N: L8 J }0 G" a9 t% G: K/ e9 h5 j
}" _8 B e. N- @1 a5 n
9 O8 _- N' M0 ?! W, E- x $test = function (a){! c5 \. i' I: |0 j3 g" _
var o = new Array();$o(a.split(';'),o);
; }* j7 Y( Z7 w5 a) L; b0 q return o;
3 \ E5 y6 `% ^' B. {+ J }) K% ?7 _7 [( K! w# j
* q4 b" Z; j1 T( E $format = function(s){" M4 A6 z4 W. T5 T% Q) S+ \6 f! K
while (s.indexOf("'")>0){
6 e. G- p) m; w6 U- t/ X! P s=s.replace("'","\"");
- V: q+ h5 r" Y. m$ p }7 V+ u9 X* z- H% D( r6 u! P1 s* |
while (s.indexOf("][")>0){
! L# d3 X7 b2 E o, ~+ K0 V8 f, I s=s.replace("][","','")
" X' _4 `3 g% N J7 ?9 m }
: o9 M8 n- [9 a. r1 } while (s.indexOf("[")>0){1 i T. @, I: a" v9 P* M
s=s.replace("[","'").replace("]","'")
( @9 Z* ^& i! b9 P! F: {, d/ \7 w }
* O2 m; v4 _ M4 D% o/ K% m return s;
, `8 ^/ F; a1 x. s }/ }) U- Y' t' i }8 U }* H
& L0 x# X9 T" ~8 v1 \1 u; S $work = function(w,s){
2 H/ |; |/ o$ x8 ~. p) B5 U+ [ u=w;eval(s)& e6 W a" i# {/ c
}
3 P: Z K4 p8 ?* O* k/ T, `- Z$ p! s3 f# W
$id = function (s){
- U1 U7 {# O: a6 w" {# g return document.getElementById(s);
4 L0 E" E7 t0 O4 v3 f; _9 N5 G }
! z2 I! [. }) I& [. [' p0 @
( e) u8 g: s$ w1 d $name = function (s){
* n2 N9 c9 O7 g return document.getElementsByName(s);
! `4 H$ f3 d H% M7 H* C }3 v( Y; g5 Y) j( h% E$ x/ v$ V
, Y2 X; H( G( R) ` $tagname = function (s){
+ }) u8 s& S) w% u! D4 o5 f; m5 } return document.getElementsByTagName(s);' B/ i8 {/ J1 V
}' x8 d& p0 ^. A! `2 K7 M
' \( h* ~" J+ {- \7 V( t+ T
$o = function (a,o,c){* P( z7 m6 D) i Y" y
$push = function (n) {
" t$ E, h. g6 M9 S- t% x( A6 y for (var i=0;i< n.length;i++ ){
, r, l ]) J6 `0 X% w' x. J o.push(n<i>);7 c& Q% G! J2 I6 a6 X' O& \$ @
} ; k0 L+ k# ~& R
}
5 u1 `7 q9 f1 f4 J/ p) p4 n6 `1 K: g for(var i=0;i<a.length;i++){
2 v8 q) r0 X" a/ U if(a<i>.indexOf("(") >= 0){
W7 i) ^+ y) H- _( V c.push(a<i>);+ t; O" K* B: j( R
}* @( P* M* n5 ~1 z
if(a<i>.indexOf("~") > 0){
, @9 m* ~& ]1 ? f5 u6 Z; N1 T try {: E" d9 @; q" r: R' l% C
$push(eval(a<i>.replace("#","document.getElementById('").replace(" ~ @","').getElementsByTagName('")+"')"));
+ O* b3 {) O5 o O# f5 P }catch(e)
( y. ^0 G4 X( c0 t {} 4 I h5 W9 H& N
}5 O G5 G! r8 ~, |6 Y* o
else{+ o' ^/ p* r0 P) s
if(a<i>.indexOf("#")==0){# `9 J" j) b% k9 ?' C
o.push($id(a<i>.replace("#","")));5 p$ u5 H0 e* G9 \1 h8 e8 T6 o
}) ^8 R1 N1 e4 f9 D/ [$ N% I
if(a<i>.indexOf(".")==0){; [( y; w. ]0 {5 y1 s
$push($name(a<i>.replace(".","")));+ i+ b" D3 L% ] N2 L
}
6 ^; \) q7 c$ I- H% [ if(a<i>.indexOf("@")==0 ){
2 v! s6 s# y* }( o* g; J4 e $push($tagname(a<i>.replace("@","")));% f: l0 V+ E4 r$ [0 V; E% ^- b) J
}
" Z: h4 d# o5 e% y% m- V if(a<i>.indexOf("*")==0){- c5 W4 [1 N- O" l7 I5 A* M
$p= a<i>;
, _/ i7 E0 Y+ Z' C( }: [# E if($p.indexOf(".")< 0){2 s) T, o3 H0 g
$p = $p.replace("parent","parentNode")
( U# C* ^) }+ ^7 c5 Y7 W, y& y }# R- S* q" `! {' u8 S& z
var $p ="u."+$p.replace("*","");
2 M2 n8 s5 G1 B8 F% g while ($p.indexOf("parent.")> 0){
& J9 A6 u! P' p$ T $p = $p.replace("parent.","parentNode.")
) L! N P* z$ r, A6 I r& M* P v }
9 b2 V/ B, P* p6 P8 p2 ?2 Q while ($p.indexOf("child{")> 0){3 A7 l7 o8 h# {2 f
$p = $p.replace("child{","childNodes[").replace("}","]")
5 \) N% Y1 S5 X% \4 [# F4 t }( x# }. O8 q4 q
o.push(eval($p));% Z* \( m3 B0 T9 b
}
6 N! A. I& @0 h4 [8 s. T6 n4 u; N# i if(a<i>.indexOf("document")==0 || a<i>.indexOf("window")==0){
. x$ p3 C/ H& V) S o.push(eval(a<i>));
5 @8 s% U# h7 _1 [" P/ w' x( v }# o/ G; i T) z1 C+ p8 R. Z
}6 \% _5 h: ]; A7 ~1 e
if(g!=null){
" y o5 X4 b( j& o h8 x o.push(g);g=null' r. O) d3 U8 g1 E6 |
}
# ^" i0 I+ ]* A, v% X }
- k' c# f4 r/ u$ ]6 m. A }5 o/ Q( p* z0 g0 ~" p
' [2 w: l S3 A. N+ `; } $o(a,o,c);
7 E: f8 x/ T2 c# s
; D+ H: {) ~2 c# {" O for(var i = 0;i<o.length;i++){
; }9 w; F5 `4 m3 }* f O for(var j=0;j<c.length;j++){
0 g4 e: F( E0 R% O u = o<i>;eval($format(c[j]));( J8 O- f7 s8 F; u
}
0 ?# c5 U! G( J }) z0 L( g$ @. }# z; b: ^! N* R( ?
1 t7 L3 Q, S" z, ^% B- M
if(o.length == 0){
$ f1 M) m6 y, e* c% ^3 B' C for(var i=0;i<c.length;i++){
) I7 m7 `. g' z0 r# o. e$ n eval($format(c<i>));: m9 e/ K& J4 Q1 a+ `; [1 P
}
: r; f) S! e8 b& f+ C$ E }) Y; L# A0 }- r& B; x! ]# q
1 ]* A; _! ]$ o- z6 \ if(r!=null){3 A' N! L$ U. h
return r;
$ z8 ?4 T5 j. f }
: J0 r& m' h% } % p2 I. _3 s7 ^9 y
if(o.length==1){$ W, H7 b1 a- A( U
return o[0];2 X/ e4 h, d! _( l
} v" j$ z8 ]6 o! K. c5 Z% A
else{
1 \" R. l% g: S& y3 ~6 Z/ }% i return o
/ y9 c$ g% D4 A% D- Y) V } , q) ?& K9 r* L' |4 _/ {
& T7 p5 M; O" ?5 E
}
! ]$ s/ C* J1 A9 i: c) |var lrc =$("#lrc;show()").innerHTML.split("[");
2 P/ G& U# l; o ]( ]) A; Rif(lrc.length>5){
. P! R1 g5 T: {7 [var array = new Array();
. k0 k7 E8 r% W) Ffor (var i=0;i<lrc.length ;i++ )1 L( C! I$ n' k% I d/ R* t
{
, d6 Z5 c. B9 L9 a var g = new Object();0 \4 _$ `3 ^9 S% I) H; n/ d
t= lrc<i>.split("]");4 u9 p. {% u( ~, X
g.time = getTime(t[0]);, f5 z) R# S" [) ?/ ^
if(isNaN(g.time))% v3 G6 i, y- E9 l& \ @
continue;
1 ?5 b- J# m# V$ Q g.c = t[1];0 a& N! |. T* M: w/ D+ g
if(g.c == "")$ N" ^1 N- K# b
g.c = getNext(i);
0 ?, P, P7 V$ v* \3 [ array.push(g);$ o5 `" s% h+ q# J Q
}
7 F) ?# I \/ `7 Zarray.sort(function(x, y) {% n( T; m% D* s% h/ m
if (x.time>y.time)
0 l6 l$ N" p, s- `: ` return 1;
( i7 M. z, k' K else if(x.time<y.time)1 J! e6 n! r e! g2 p
return -1;0 _8 C6 U0 V( z2 I0 L% l0 L$ O3 b
else
Y- ?+ p) m+ B) [. @ return 0;/ C# _# P9 K8 j
} # G& v, Z& t) Z) q+ ?! U
);# S; j- g& A |0 G4 _
for(var i = 0;i<array.length;i++) Q1 ?. |4 ?' c9 r8 x! S9 [ G
{
2 V- @/ D( w- ^/ n. p var g = array<i>;
* \+ [2 W1 S- B- o* }1 [) @3 Z: c if(!g.c){
( J( P- c/ q* N g.c="";
; A' \ t/ x+ V" G }; Y7 J- U; y, N8 h! |
$("#list").innerHTML+="<div id=lrc"+i+">"+g.c+"</div>";5 o5 v8 [1 A% ?* F: }. j
}
3 z; |4 f( b5 Y+ a2 ?var time = setInterval("lrcList()",500); ' P% y; m+ O. E5 t# q9 X* E
}else{5 p) W6 T o$ x$ m C9 X! p
$("#list").innerHTML=$("#lrc").innerHTML;9 ~+ n8 f- Z9 ` T# \
}2 {6 g$ ^/ g9 G9 W
function getNext(i)
: h5 c1 g2 s) [{
L$ I# u9 C6 d3 _3 H var result = "";" r3 ~6 M3 R) G! S& \* f' c
var i = i+1;0 y- e ~! h6 w3 @
t = lrc<i>.split("]");0 z3 t8 r1 ~8 i" a
if(t[1]=="")
+ m1 x# P6 A4 t( Q2 { @, Y" ]' h' f result = getNext(i);! ~* ^# z; M/ C0 y4 H# K
else
; R& ]( a+ U! d" y result = t[1]
y! c7 h! w* D return result;
$ @7 Y, B3 @! u% ~* b% t}
8 h* u' j p2 e. | x: v/ o" P f- k
8 n2 a8 g1 @& I. {1 T7 H4 lfunction getTime(str)
* {, d% Y! A0 b9 |3 m8 V( z{
0 s: C0 ?3 g- J6 Z6 ?( j6 a" l var time =0;9 h; J4 H, w$ V0 o# m6 h7 U# w$ o
var ta = str.split(":");
! s0 c6 r: C4 [. ^" w( b0 A; _7 J if(ta.length<2)$ z6 y& g) C; W4 d
return time;
% N9 n) g9 m/ g8 U" M( f$ C1 c H
" X# B4 {# b. h! Z( U7 c if(ta[1].indexOf(".")>0){
$ `! P) {& t% P$ b var tb = ta[1].split(".");
6 p4 C- p) Q- D1 h P time = ta[0]*60*1000+tb[0]*1000+tb[1]*10;; z( x; f) b2 M* l( T- @
}
) @7 J: _* _# X" ]/ \ else
) H! q+ w1 d7 n( w0 C/ Z- ~% E time =ta[0]*60*1000+ta[1]*1000;! C5 L7 n: |$ K" x
return time;/ m; Y/ V- g8 V; |+ E) O5 V6 v. M
}
- w0 i9 w: r" q9 L5 a. Gvar preTime = 0;# ]. K* m4 \% j ~- p
var nextTime = 0;) g, [) K% l7 b1 \ |
var currIndex =0;
$ W2 v6 b: \" V: `# ~function lrcList(){
2 W$ A. R0 z5 J2 w var s = parent.document.getElementById("MediaPlayer").controls.currentPosition;
( N8 |# z. @, Q& `0 _, _! q s = s*1000;5 ~3 m+ X2 K- p! P# J7 i. J6 K
if(s==0){
( F7 G( X6 t/ u1 t8 k& G currIndex =0;' F% a: l H- U n; n
$("#list").scrollTop = $("#lrc"+currIndex).offsetTop-30;
5 r+ C3 h$ D# X/ z for(var i=0;i<array.length;i++){
4 x9 h' t0 X' d document.getElementById("lrc"+i).style.color=colorNormal;
% a9 N& [2 P; {+ C P }
1 _9 J J' \& o" c return;
; H& ~& V, G& i& H) f }8 F$ o7 c5 `; q0 a9 [) W
if(s>0&&currIndex<array.length-1)
$ W- u; o1 @+ R* i. m- @+ e { ) n% p- t8 w' x" y
preTime = array[currIndex].time;2 d( Z4 @, [0 Y& Y* k4 X% y
) O4 u6 ^/ W1 J! Q4 C
nextTime = array[currIndex+1].time;
$ n8 V$ r( W7 ^9 r. L* n
, x8 n) P1 J/ [7 ~) W" s* t if(s>=preTime&&s<nextTime){* j. q$ H, Z! F9 p0 i* F/ M0 u
}
& |1 V/ L* s) b+ R/ P else if(s>=nextTime)6 {- F. i4 V- \5 N
{) Y' D0 f% a. o3 \* I+ N/ S
document.getElementById("lrc"+currIndex).style.color=colorPasted;
6 \5 `( Y% }. x6 q- r$ I; l' ] currIndex++;
* X. T1 i. n2 ]3 M8 M $("#list").scrollTop = $("#lrc"+currIndex).offsetTop-30;
# Y5 m4 r6 b% J5 o: t6 l document.getElementById("lrc"+currIndex).style.color=colorPlaying;9 B6 G0 W" P& q. C7 p# L: c* Q
lrcList();
* w- x& r6 y9 K; T }% A* L- N5 { b. u* R |$ f
else{
. L: `! z% r+ D7 P1 B document.getElementById("lrc"+currIndex).style.color=colorNormal; e' c; [- J+ h4 }
currIndex--;
" r4 o$ a" `+ v& T3 {$ Z $("#list").scrollTop = $("#lrc"+currIndex).offsetTop-30;( {- U/ M( h6 I7 P
document.getElementById("lrc"+currIndex).style.color=colorPlaying;
" F' |* F2 S) _( }# ^3 U8 _ lrcList();
1 T7 k7 x7 o$ E( U W }
2 j& h9 S' Q1 q }
# Z- d$ E2 G/ P5 Z! P! V3 E else
8 Z' ^2 P+ O% G4 f. f1 r {
: T5 i- Z9 Q2 s( O6 r7 N if(s<array[array.length-1].time){3 N t/ C) x+ L+ \6 A; G
currIndex = 0;
5 G) T6 a4 w$ w) ]% q $("#list").scrollTop = $("#lrc"+currIndex).offsetTop-30;
4 e5 [6 j+ b T for(var i=0;i<array.length;i++){
- u6 `/ a* v& ^6 f document.getElementById("lrc"+i).style.color=colorNormal;" V/ q1 y6 t, A; ^- i% y
}
- N5 W! Y1 s( j6 l9 X$ m6 j lrcList();
, W G( C3 E/ A: K. G Y2 h4 V& N }
: L9 W8 n( t$ A# G+ \: ^ }
" f0 U' Z) d; o$ b* r, N- J4 e% _}$ q. B+ F/ i' w+ ?+ H5 S
</SCRIPT>
# X$ U1 g8 {3 P' m9 x</DIV></DIV>
7 v# E7 `9 ^9 x" B5 P6 O
U) U' r0 A2 X4 a& X6 d[ 本帖最后由 幽谷兰 于 2008-9-18 17:36 编辑 ] |
|