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