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