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