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