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