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