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