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