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