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