|
<DIV id=list>& i, Z( _7 e% [* m( B" E5 k3 I
<DIV id=lrc1 style="COLOR: #666666">[wmv=0] http://lzbj.ncedu.net.cn/uploadfile/20083923248279.mp3[/wmv] </DIV>' z+ k3 y% T U: C
<DIV style="COLOR: #666666">|等一分钟|听到这首歌,觉得它很动听,旋律很优美,很是喜欢,传上来给大家听听。</DIV>
- @4 y2 I+ a! j: t<DIV id=lrc2 style="COLOR: #666666">词曲唱:徐誉滕</DIV>
% [% a% K! i' o$ \% Q' d Z* g( c<DIV id=lrc3 style="COLOR: #666666"></DIV>6 p# [0 A+ i6 {/ d8 }! `
<DIV id=lrc5 style="COLOR: #666666">如果时间 </DIV>
6 s3 k6 w9 q( I6 l4 t- ~<DIV id=lrc6 style="COLOR: #666666">忘记了转 </DIV>- t/ c: f3 i/ o% I- L8 R! `
<DIV id=lrc7 style="COLOR: #666666">忘了带走什么 </DIV>
$ ]% O+ s3 @3 L<DIV id=lrc8 style="COLOR: #666666">你会不会 </DIV>
( M+ b6 J2 ^9 N. |' L1 ^( L<DIV id=lrc9 style="COLOR: #666666">至今停在说爱我的那天 </DIV>
@( T0 I, h0 W& d% B<DIV id=lrc10 style="COLOR: #666666">然后在世界的一个角 </DIV>
0 k3 q8 ^: Q+ y$ @/ T) v<DIV id=lrc11 style="COLOR: #666666">有了一个我们的家 </DIV>) o$ E% E* z- ?# a; D' ?. w
<DIV id=lrc12 style="COLOR: #666666">你说我的胸膛会让你感到暖 </DIV>
' U/ N, J; e$ ]6 \9 j( w, _4 Z<DIV id=lrc13 style="COLOR: #666666">如果生命 </DIV>
0 K- H/ G" g( A( i+ N4 ^2 P/ q<DIV id=lrc14 style="COLOR: #666666">没有遗憾 </DIV>
% p9 r; t, U# `& G<DIV id=lrc15 style="COLOR: #666666">没有波澜 </DIV>
$ r( O$ E4 m1 b2 [; p$ D F; {<DIV id=lrc16 style="COLOR: #666666">你会不会 </DIV>
& W m4 O7 _! {* v<DIV id=lrc17 style="COLOR: #666666">永远没有说再见的一天 </DIV>5 p6 W, e1 j& N: ~( p, j' H: u0 n( ~/ N" Z
<DIV id=lrc18 style="COLOR: #666666">可能年少的心太柔软 </DIV>
. M" V$ c) o# g8 H7 @<DIV id=lrc19 style="COLOR: #666666">经不起风经不起浪 </DIV>
3 t1 y' W1 e( o3 W<DIV id=lrc20 style="COLOR: #666666">若今天的我能回到昨天 </DIV>
) P4 ~8 X4 O6 ?/ A$ P" x: w& E<DIV id=lrc21 style="COLOR: #666666">我会向自己妥协 </DIV>
0 \( j- j( G! @* s7 g, A<DIV id=lrc22 style="COLOR: #666666">我在等一分钟 </DIV>9 v! g; F: M! ]7 W/ L2 u
<DIV id=lrc23 style="COLOR: #666666">或许下一分钟 </DIV>
% Y$ {7 a& v2 X& C) k<DIV id=lrc24 style="COLOR: #666666">看到你闪躲的眼 </DIV>9 k* R. j) O4 |* V" T; }" J2 N
<DIV id=lrc25 style="COLOR: #ff3300">我不会让伤心的泪挂满你的脸 </DIV>
0 o5 Z+ w* W! j6 s2 n" y<DIV id=lrc26 style="COLOR: #000000">我在等一分钟 </DIV>
; M$ u8 x$ D: c( o7 ^<DIV id=lrc27 style="COLOR: #000000">或许下一分钟 </DIV>: r. R* C# P4 b; ]7 N# ^& Q# w" W! ~
<DIV id=lrc28 style="COLOR: #000000">能够感觉你也心痛 </DIV>3 y7 {( o( \! Y
<DIV id=lrc29 style="COLOR: #000000">那一年我不会让离别成永远 </DIV>
) Y, I$ n% y0 t7 ^<DIV id=lrc30 style="COLOR: #000000">如果生命 </DIV>
3 T1 R9 s& t! e* i<DIV id=lrc31 style="COLOR: #000000">没有遗憾 </DIV>
! u' ?/ ~3 @, w$ h<DIV id=lrc32 style="COLOR: #000000">没有波澜 </DIV>
, r/ W% R4 T- j4 D<DIV id=lrc33 style="COLOR: #000000">你会不会 </DIV>! S* X# J0 _, }
<DIV id=lrc34 style="COLOR: #000000">永远没有说再见的一天 </DIV>
) M$ V! n" b4 U& l% e<DIV id=lrc35 style="COLOR: #000000">可能年少的心太柔软 </DIV>* f. P# h+ ~( N' f. }& J
<DIV id=lrc36 style="COLOR: #000000">经不起风经不起浪 </DIV>
3 \4 K* |1 l9 R9 s0 k, o/ y& c<DIV id=lrc37 style="COLOR: #000000">若今天的我能回到昨天 </DIV>* J/ f# C1 B) C, \: B
<DIV id=lrc38 style="COLOR: #000000">我会向自己妥协 </DIV>; _4 v4 q! G* T: d# ^# d
<DIV id=lrc39 style="COLOR: #000000">我在等一分钟 </DIV>
4 k; ?% b+ ^0 y9 H<DIV id=lrc40 style="COLOR: #000000">或许下一分钟 </DIV>5 A3 o/ m: y& T7 r
<DIV id=lrc41 style="COLOR: #000000">看到你闪躲的眼 </DIV>( B" y, J/ n# g- ~
<DIV id=lrc42 style="COLOR: #000000">我不会让伤心的泪挂满你的脸 </DIV>
5 b8 }% C5 A% W( G* B* f: _* S<DIV id=lrc43 style="COLOR: #000000">我在等一分钟 </DIV>0 u8 w6 H+ j6 }& `% \
<DIV id=lrc44 style="COLOR: #000000">或许下一分钟 </DIV>7 ?6 D9 f5 n* p+ l' t
<DIV id=lrc45 style="COLOR: #000000">能够感觉你也心痛 </DIV>" g+ {7 |7 q2 ]5 ~- B
<DIV id=lrc46 style="COLOR: #000000">那一年我不会让离别成永远 </DIV>
( w: X0 ^* E% N9 A<DIV id=lrc47 style="COLOR: #000000">我在等一分钟 </DIV>! x, ?7 ]( _$ `' z: s; m+ `1 [
<DIV id=lrc48 style="COLOR: #000000">或许下一分钟 </DIV>
) L0 W: \' ]( e$ @0 t2 J<DIV id=lrc49 style="COLOR: #000000">看到你不舍的眼 </DIV>! d# e+ C3 W2 W; V* g* f5 l u" _
<DIV id=lrc50 style="COLOR: #000000">我会用一个拥抱换取你的转身 </DIV>% _9 o, y4 ^9 T& [' F( I
<DIV id=lrc51 style="COLOR: #000000">我在等一分钟 </DIV>
6 \0 e/ j$ T) R<DIV id=lrc52 style="COLOR: #000000">或许下一分钟 </DIV>" t( I. b o2 b
<DIV id=lrc53 style="COLOR: #000000">如果你真的也心痛 </DIV>5 |! S5 A0 v7 d% Q3 s% u6 |
<DIV id=lrc54 style="COLOR: #000000">我会告诉你我的胸膛依旧暖 @/ `/ P v3 R4 H! X! M4 Q8 k/ t
<DIV id=lrc style="DISPLAY: none"></DIV>
, m1 y( @; s# v* e$ i' Q<SCRIPT type=text/javascript>
4 [) {! s0 D( x( \9 Q8 e6 ^document.domain="1ting.com";7 Z" A7 u& I2 t' J _6 ?
var colorPasted="#666666"; Y7 t+ G) V! ?) a$ Y7 E
var colorPlaying="#ff3300";
4 O( J; W& k' X. t% ]8 l5 ^var colorNormal="#000000";
) ?" M5 m- H7 t$ = function (a,g){
, ^. [7 Q7 H3 Z" D var o = new Array(); 0 d( a+ e8 T6 k) f; h5 d4 g3 {5 J
var c = new Array(); 4 A5 }2 E$ `: w" g( U# {5 U6 ]
var r;
6 `6 D# {/ [1 ^0 V, G var u; 2 S/ G. N. C, t$ m
var a = a.split(';');
' O8 U% l) U+ e3 J6 f$ B5 K, o8 M. p: N, ^$ ]
var e = "keydowns,resize,load,dblclick,click,mouseout,mouseover,mousemove,mouseup,mousedown,inputchange,inputfocus,inputblur".split(",");
0 f8 r) X$ ?# |& ?6 m for(var i=0;i<e.length;i++){
( ?0 {2 P* z/ J: W' C) \$ a( Z9 P eval(e<i>+" = function (s){eval($event('on"+e<i>.replace("input","")+"'))}")% C7 W! W4 ^1 S
}
9 K& `2 |. [' W9 a- G
e/ q3 |, n8 v( A# Z, s- g after = function (t,d,s){
: _8 d( G& h+ y" a |1 V& S% ] $after = function (){
% ?1 V x* M5 _; v var $n=document.createElement(t);. E0 N! i9 W, @* \( }- y
if(d!=null){9 {0 T# d, h2 W7 g
$n.id=d;
8 t4 L2 s2 T* x+ W }1 @9 M1 @% h7 R' M: R! d1 q
; f4 w+ R# O- t l9 d& @. ^
u.insertBefore($n,null)
( n# y% @/ P' r; b" @7 W5 ?# m r = $n;
* n, a" h8 I7 y# y" p( o V, z u = $n; 9 s" M, T7 Z9 i" H& c1 V" A
}' E3 \! w( T4 E' B, r
$for(s,"$after")- A/ F2 m) Q: ^
}
; v3 F: C8 U) C1 k# D/ Q% P
: m* W$ z) a+ u4 Z# y# X/ n8 ~6 q show = function (s){
+ y* A+ M' k: i8 V$ R& y/ b $show = function (){ b O/ f" f5 ~3 L
u.style.display!="none" ? style("display:none") : style("display:block") ;
, V- V% u& u# q. m }
+ ]8 W# {6 j1 G( | $for(s,"$show")2 s( b8 a Q: H; W8 q6 G0 z
}: o ?3 I/ l! r
& `$ T9 V* K; I" o' A- n check = function (t,s){6 G9 `7 U: m2 o9 G* c) _
$check = function (){ J: F. [# [7 S6 R4 H+ A" L' o& M
if(t=="2"){, L* Y& H9 u7 n m9 n
if(u.checked){& L: y, O+ `( w1 B4 v$ ~, v; l& s
u.checked = false;
" H7 ]# l" G5 Y: Y1 }3 H }else{
. W& j9 g* C# s; K! n u.checked = true;
$ T) R9 u7 q. g. v- ~ }
: _' S+ b4 V# b) T) ~$ Y- x }else{
' V8 {) {9 P1 l5 g7 Q u.checked = t*1 ;6 o! R0 ?% H0 J2 N
}3 i& x5 t9 [: L# b# O: v
}
" t3 J5 T, O3 p" Q $for(s,"$check")
0 r) A0 q: @0 J7 o+ o7 y9 B) B }
" G- H6 O6 Y2 p4 N1 j2 l. x: Z) p. L/ J( E: k
style = function (v,s){, f3 D. Q* W6 p
$style = function (){
+ m* D; |3 d P* k6 E: a var $n = v.split(",")
# P( D! O0 d: t; q$ H% h2 I for (var i=0;i<$n.length;i++ ){7 M0 g, c2 e, P# R
var $m = $n<i>.split(":") ; i% d* V9 |/ H! p8 X0 M% n
eval("u.style."+$m[0]+"='"+$m[1]+"'");" q [) H; V% t& Z# y: n: x" z4 u
}
& Q6 @* m$ p4 d }
9 Y7 [; T. N: v3 z9 ] V( `. L $for(s,"$style")# J9 [+ }/ i/ g2 B
}! W+ @8 U* d* z g
# \7 C" v3 `8 }) g8 p value = function (v,s){
; M9 G# |9 ~3 E2 ] var $n= $this (v);
1 o; @6 f9 F$ _3 m* ~7 X $value = function (){ |2 T- H7 P6 y0 A
u.value = $n
6 d3 y' @5 M& B2 d% H7 k }9 ?' Q! ~! C- ^
$for(s,"$value") ( o* }3 Q) O" Q7 N
}
1 {1 r! p( d- j* ?2 k* f, S# J9 b( z, K* H3 W; f4 T: G
text = function (v,s){
) x R" B/ _3 [+ u/ b# w4 g var $n= $this (v);1 Y2 i. Z4 f5 _: F; {
$text = function (){) a* ?2 A8 ]8 [ X( w$ Y% P
% ]5 X, x2 ~9 k1 p0 x) x u.text = $n8 `( Y/ }( \% Q
}
4 [; B% f: W' F $for(s,"$text") # |8 {& J+ i! P2 L# M2 V
}! w @! N, j( ]) ^
* D, X7 c! m4 M+ z. u innerhtml = function (v,s){# s F0 E! i7 L* s
var $n= $this (v);
8 P& O" @9 V8 V; b% f $innerhtml = function (){+ A& n1 ]) T- D9 K! ?
u.innerHTML = $n
. s) K4 G: ]; w6 ]8 w }3 l& T% O' e4 L& b
$for(s,"$innerhtml")6 J. p/ Q# i. ]2 D
}: w' w& y$ L- E9 W1 @
7 @5 N q5 d7 L( P0 X( V4 b removechild = function (s){
2 x* [/ F- b0 \9 ?* H $removechild = function (){
4 j7 I' J# Y4 p9 Q( X% @ u.parentNode.removeChild(u)$ ]- z7 [* a \$ P1 y/ h
}' S3 D& ~' p& k& a1 Q3 d& ?( R9 E
$for(s,"$removechild")
/ H5 P6 x0 `$ W6 `( Z }4 d* D& ~# G# s5 i0 g! Y' O) h8 Y
9 H7 w9 I$ F( v x' L
$this =function(v){3 X+ |8 B5 P. u
if(v.indexOf("this") == 0){- T; Q( \# B" ]4 M. r
return eval(v.replace("this","u"))
) y! a" [+ o' g: @7 F, M }0 C% C b$ `4 ^0 ?- j6 x- x$ A
return v;1 R. z x# H+ B0 G& g- u
}: I8 V" {& S5 y: _/ s; m: }
' E/ T4 g8 o1 ~1 w9 d# p7 s
$event = function (s){
1 h# y& w) h. v; I$ W1 ~; P var $n ="u."+s+" = function(){$work(this,s);}"
7 X' n$ W, ]% |7 \. Y/ I% ]! j I, { return $n;
9 Z# @9 b8 ^1 P9 j. m' [8 O }
! p. X" T7 c8 {0 @
* s7 ]& q: Q r( ` $replace = function (s){
* e1 y( k9 X6 c# f8 M1 A
% G& o) g9 B5 S) n* }2 P( ? }6 k4 y: B5 h- W
& v* F! Z5 V) N5 R% y $for = function (s,c){2 d$ S6 y( H( B2 f
var $n="this."+c+"()" ;: O3 s& o) A4 U( H6 t& r
if(s!=null){
: X' p* L! z* c var $m =$test(s);% l h/ r; o/ t) o$ r; M
for (var i=0;i<$m.length ;i++ ){0 P$ e: i8 I: T! |1 J- w
u = $m<i>;
4 v$ t! \4 e7 c4 o; f% [+ o eval($n);
4 j3 `8 K5 A7 B1 i2 r( q }
3 l) i" F5 S0 D" F* U6 r }
5 }, T! X6 P6 n, j2 e else{
* _& c% ?0 K+ d. F1 m- K; w2 o6 x, W3 ~ eval($n);
@) @( T5 a$ ?4 S- i3 g$ U }. G! U$ m# Q+ F( J
}5 e- m. U1 W# o3 \" m; N
. ?9 a# }# f+ k/ u+ K1 L3 s% T $test = function (a){
. C* {. D$ ~9 y+ P# x& x8 ~) } var o = new Array();$o(a.split(';'),o);5 N; |8 x. X* g9 N+ w& Z" Q: ~* z) }
return o;
3 I m; z g* `; ]- K9 D v }
4 E G1 K1 k7 Q1 Y9 `0 p6 ] G4 x& V% d, G
$format = function(s){2 g& M; {; A( e) x% I
while (s.indexOf("'")>0){$ O, c. Z |9 s
s=s.replace("'","\"");
, }6 E/ V9 x h3 o' Q( H } ]6 m) z) A9 B! N; m. Z
while (s.indexOf("][")>0){; t+ I( u! U' b+ C
s=s.replace("][","','")1 }: X( R# `2 _: c. b7 D$ U' n
}
7 o ? |7 y8 ?* C+ O, F! q while (s.indexOf("[")>0){, }# _+ q' l+ f) j# x
s=s.replace("[","'").replace("]","'")" N0 d. V1 \2 {
}
4 E, V; b! B7 s return s;
6 u9 v: P3 e$ M* y7 m4 I7 O3 E }
. A; |! K |6 n, q6 i" a x" b1 h% k. r9 J# r
$work = function(w,s){3 v& I4 m' k4 y/ Z! X4 B
u=w;eval(s)
/ E) p# F# {+ U6 t6 b$ P n# G7 e }
# M5 B; L1 T. V$ A* m1 t1 C; y' X% N9 m1 ~9 H* z5 f$ a! D. R
$id = function (s){
. j! U3 |) ?5 w9 M return document.getElementById(s);4 {: p( |/ o/ @1 N/ j6 t
}
" ~# g5 O6 A- o0 Y/ A
# r% K7 v9 @% p- q1 ] $name = function (s){
; ?: G( U3 Q9 C$ v n( T+ R return document.getElementsByName(s);
$ [ E( P/ S8 s: z( ` }
& e- l# \5 D% T( o# Y4 b( ~' G! @' C# [. ^, L
$tagname = function (s){
% N4 }7 l6 r: M h' O return document.getElementsByTagName(s);
! f$ {3 S1 [& j }
3 Q, k# f9 x/ ^: f9 l& l2 Q$ b( E# [5 n- v% }
$o = function (a,o,c){3 y) T+ P, b$ |: H# P% E
$push = function (n) {1 G* E7 b. \/ _$ U/ h
for (var i=0;i< n.length;i++ ){% {7 J9 J, _# b5 ^. l' `% ]% ~+ B
o.push(n<i>);
G. k7 {) M4 t+ v4 I } # {1 {! z( O' |. I% g# @- A# l) V
}
2 q# x0 o& \8 {! R8 n0 o for(var i=0;i<a.length;i++){5 r4 E# d: l- j/ n
if(a<i>.indexOf("(") >= 0){
8 O& Q/ {' h3 _1 s; L c.push(a<i>);/ f8 n) P7 x, r4 L" e) [# p8 z+ N$ a
}
9 D0 S8 h" x" p" S3 [. Y if(a<i>.indexOf("~") > 0){
l7 u' u# l, _( y6 o# l4 l9 _ try {
( `) k( w/ g2 G $push(eval(a<i>.replace("#","document.getElementById('").replace(" ~ @","').getElementsByTagName('")+"')"));
7 X9 H4 W5 S7 T4 R }catch(e)4 E5 d, a% u* k7 k" E
{} 5 f+ z/ S8 I* W* l& e+ I9 S
}' t, Z5 ^+ j9 @: E R! `
else{8 S6 S% O* {$ `0 I. N* u1 _ L1 W
if(a<i>.indexOf("#")==0){. u6 I* f2 U6 L2 X" E
o.push($id(a<i>.replace("#","")));
+ L. n w& Y0 }, Z0 s6 r" h, D }3 U) U+ G5 J* j& O7 H
if(a<i>.indexOf(".")==0){
5 m/ `2 L4 F% I. U $push($name(a<i>.replace(".","")));, P4 t1 A: t2 k: P4 y$ \* s3 \8 O$ S
}
6 ^; E. z; g) s3 j" T) E3 ^ if(a<i>.indexOf("@")==0 ){
3 l+ Y! [# W! A $push($tagname(a<i>.replace("@","")));9 r) U( Y* t/ P& r* ^; J) b
}
Y; _- p) r/ V# _ P+ T if(a<i>.indexOf("*")==0){
/ x, G& N2 S: }' O" `0 Q; n $p= a<i>;: }- r8 }1 e: {% @
if($p.indexOf(".")< 0){
4 Y% _3 r2 }" W: g' | $p = $p.replace("parent","parentNode")
( }+ }' Y2 V f1 P1 ~& R }# ]7 E7 p& p8 D: r
var $p ="u."+$p.replace("*","");
$ j0 |4 P+ Q! i. e/ I+ p9 H while ($p.indexOf("parent.")> 0){
0 A$ e! @2 a) [: u $p = $p.replace("parent.","parentNode.")1 L$ B0 x% D2 V! N
}
5 k+ u. v, p0 X while ($p.indexOf("child{")> 0){
# H7 b+ S8 b! L/ g $p = $p.replace("child{","childNodes[").replace("}","]")! ?% C; h4 M2 R/ O' l0 l1 M/ O) t6 q
}9 S( ^1 w" s4 d( q; Y* h
o.push(eval($p));2 L+ H; a% ]- w4 o" ]
}
0 a& v) s' M8 I; l if(a<i>.indexOf("document")==0 || a<i>.indexOf("window")==0){" V* U& e+ c8 U
o.push(eval(a<i>));3 q O5 {; l, K4 b s( S; k3 \/ x
}! r3 A% k5 Y* Z- ]* }
}
" h1 x4 a! |3 ^9 S6 g/ e. Y if(g!=null){ . q1 A( v, s2 _9 q3 {' c
o.push(g);g=null6 i: i( C6 F1 k4 H; b: r
}
/ F6 u5 ]% a2 z" ]8 o5 D }2 U8 p; x6 n- R) ~' R
}
$ ~# J9 b7 y3 q! ~) V
+ n% h! x1 O9 W! ] $o(a,o,c);
1 c& k9 P) N/ A5 ]; C/ F) V7 d# ?+ H' l* R9 b5 W
for(var i = 0;i<o.length;i++){
2 x0 \$ g4 z, g& C! [ for(var j=0;j<c.length;j++){
1 `* |5 U a5 c" }" P u = o<i>;eval($format(c[j]));
+ N9 ^7 U% ]2 |) t' Y9 z }
* u0 b- \: z$ X }
3 F# e7 C- u# d' C. Q& e) d, O: X' ?6 @) A' `! M9 Q
if(o.length == 0){
$ y) z2 W2 H; {7 s( M7 M for(var i=0;i<c.length;i++){
# j6 ]+ k* w4 J4 O& W2 a eval($format(c<i>));
: |9 |; J4 y0 r: a- O$ L2 _. [ }
# u8 B p7 C6 v& l+ J0 A& v: [! } }+ Q! S4 h6 f I$ D. E; ~
; b6 D, w' j! w3 C3 Q* e if(r!=null){
5 ~* N" Y' d8 y. h+ M return r;
) T1 X; `6 J2 A+ o# }$ |# c }: U+ I9 [ B; O& k% D0 w8 J
* e( n, T; ^& ^
if(o.length==1){
% V E0 I2 R* k$ c; V8 @1 ` return o[0];
+ h ^( I0 o! a' I, ? }
& Z4 u* z" r/ j$ O5 ~! P* V0 ~ else{
& N o# y( Q# B7 P return o# [' g! {' `. J, R5 ^* e
}
1 R" A2 N7 |: Z) d. } * s& O$ I6 P2 Q4 c. s3 \
}
+ R" p. }, A( Cvar lrc =$("#lrc;show()").innerHTML.split("[");/ e: ~" p ?/ e m9 ~
if(lrc.length>5){/ B+ V/ d& [1 O
var array = new Array();# ^5 Y5 _2 d" F( v+ x: {# O
for (var i=0;i<lrc.length ;i++ )
% F3 I% z t: v) w* n* U2 W3 L" i0 o{
1 f9 j: R+ P( [8 X var g = new Object();
! z' w8 i/ _# r! r% _ t= lrc<i>.split("]");) u4 X% m# z& T4 g- F) P. k
g.time = getTime(t[0]);8 Z+ P5 o- B9 Y, k: {
if(isNaN(g.time))8 S; S5 n. x" M+ h
continue;# }& n$ v* y" a3 g" E0 i. ~
g.c = t[1];
1 J) D" K {3 D( w* { g0 p if(g.c == "")$ \5 p; L- L3 t+ S# l
g.c = getNext(i);4 b1 t7 n A, W3 h8 x* c
array.push(g);# b; G: l; ?- K; x: j
}1 F4 Z7 l2 A! [( \0 p, [3 E) u j
array.sort(function(x, y) {6 ]" p% m. z& _6 a8 y2 d
if (x.time>y.time)
; u% V# o$ f4 Q/ h return 1;# ~/ ^& H; t/ b6 [0 x5 F
else if(x.time<y.time)
3 C& u( H. k& g9 g ^) m return -1;
) b0 a) A" ?! o Y' _5 f/ I else' c5 x) ?1 D. ~; ]. M' _# s3 p
return 0;
8 o& F) {: D# e } ' D- s6 ~$ p- Y1 r
);
+ H/ G* e4 N: K" ]3 o L$ E3 Pfor(var i = 0;i<array.length;i++)
8 a; r6 i* q: z* M2 K4 [" w{ J& a2 V6 [' w8 G+ k
var g = array<i>;. K: V* r% F& j
if(!g.c){' H5 u1 S9 W7 ]! n s
g.c="";% U: Q5 c& c1 G- @8 l9 ?/ L
}7 l4 b; }( A+ L( |( n8 m
$("#list").innerHTML+="<div id=lrc"+i+">"+g.c+"</div>";. A t( _) T1 I/ f
}* V; U3 f$ M( C' P; a
var time = setInterval("lrcList()",500); ! X2 z! S. k z" a% b b+ H
}else{9 u. J- R+ Z2 O. i
$("#list").innerHTML=$("#lrc").innerHTML;
2 u; E- G+ _ A4 z+ ]* `' `4 V- k" {2 P$ m}
- Y, Z) R( @: v0 mfunction getNext(i)+ Q" t. `4 [- H. o
{
) D9 Q% p; E' Z var result = "";
% Z9 R2 p- X% Y9 M: a# w1 O var i = i+1;
* Y" [& Y$ g m t = lrc<i>.split("]");
8 m" I+ Q4 n( G' D0 u if(t[1]=="")
7 q$ l- v7 c' S" k8 V% Z result = getNext(i);( ^; z" Q5 ?) b9 y4 X- C
else
4 T9 Y* K3 ^0 ` result = t[1]
! Z/ e! ?& o- A, T% I return result;
& |! i& ~; x' j, p$ C7 G4 E8 ^- p}4 i4 W( s- j$ O: s% E F+ a7 P( Y
5 N2 z- [; R) @. d6 |
function getTime(str)& [- J+ s3 Z+ S7 z
{
7 y* X: v' Y$ x1 y var time =0;
# V( k |' J8 Z9 F; s5 ] var ta = str.split(":");
* ~3 K# |/ d- p" D if(ta.length<2)% ^8 p+ S! w7 m0 y6 l9 R
return time;1 L% c- M) T8 H6 U
! Y7 v7 p$ I- T# t7 Q if(ta[1].indexOf(".")>0){2 z& H L9 I8 R4 Q1 O, | n7 m' a3 [
var tb = ta[1].split(".");2 i9 i/ ~" j# b4 W L
time = ta[0]*60*1000+tb[0]*1000+tb[1]*10;6 C7 D) [: S: p; j1 J ? B
}
- b- ], j; t. E6 b: s4 x else+ @& s- m/ l+ D, }" ?
time =ta[0]*60*1000+ta[1]*1000;$ G/ Q( s5 {& J2 y! l/ b P: i
return time;
+ k) y: V* w8 B9 R}
2 s2 R( n- d' ?, J- b% Ovar preTime = 0;( z: z2 ^1 V/ y4 b
var nextTime = 0;' t- ?8 N3 @0 w) P: |$ q
var currIndex =0;- F' k: V# @3 o' ]6 Z
function lrcList(){* ^6 r1 v; J& Q/ W% S
var s = parent.document.getElementById("MediaPlayer").controls.currentPosition;
$ ~+ T- K( j+ o- j+ l! Q' W s = s*1000;
1 v" Y( ^ y: Z" l: f( { if(s==0){& _2 _0 N! x+ e3 B0 R
currIndex =0;
& [. A4 E6 y: O( p; ^ $("#list").scrollTop = $("#lrc"+currIndex).offsetTop-30;
6 G# g/ m w6 u: h for(var i=0;i<array.length;i++){6 h- u3 }1 i! V* R2 g7 q3 B4 l
document.getElementById("lrc"+i).style.color=colorNormal;3 x1 u$ x% Q) q$ n$ {9 c' U
}
5 U; I- B9 W2 z# {+ Q4 D! |' d; g return;
& _9 v: S% Z; S4 r- W }9 ^3 Q8 o& d# t
if(s>0&&currIndex<array.length-1)- l, _( Y7 }7 W# ^0 d9 x1 b
{
0 R4 U5 B/ n& w) k) Y& B preTime = array[currIndex].time;* G/ }5 F2 p) d+ p& I
7 ?& H& n' q9 K2 S5 \
nextTime = array[currIndex+1].time;
8 P m6 l; k# C4 m 1 P+ H6 h2 E( t! _1 Q L( l
if(s>=preTime&&s<nextTime){
! n) [8 b6 q. R: { }
5 }" N- ~# Y1 b! E& B) J' o else if(s>=nextTime), I4 S% x1 D+ Z
{
5 K( _- P- K+ d, V document.getElementById("lrc"+currIndex).style.color=colorPasted;( w* S, [+ @& L# l/ E' A' o
currIndex++; F6 c4 m0 K) @ O# _
$("#list").scrollTop = $("#lrc"+currIndex).offsetTop-30;
" L% \! G$ _. W, h1 V/ Q/ f document.getElementById("lrc"+currIndex).style.color=colorPlaying;, U3 ~/ d' W! U! Q
lrcList();; \ `1 l5 q" v1 s' \1 k
}- C& q6 d' e4 @ k. s( B [
else{; ^9 s; X4 v j$ M) L( l$ v6 C4 G7 M( o
document.getElementById("lrc"+currIndex).style.color=colorNormal;6 b: @0 q3 m# o; E9 h6 ]* f7 h; f
currIndex--;1 H/ }7 V% [3 | b1 X/ U
$("#list").scrollTop = $("#lrc"+currIndex).offsetTop-30;
! K: N+ H6 u2 H1 b4 E document.getElementById("lrc"+currIndex).style.color=colorPlaying;
4 _) Y B% N, a4 m4 m! {7 B lrcList();; `: P6 r" \) Y; O% b+ S
}
" R7 G# _& ]% b8 u& a' s) f }
' u7 @# @: g4 X" \5 n else
" L9 J/ w) ?, s6 f) \1 \ {. s* T; Q2 i+ Y# n- ?0 ?9 S3 N
if(s<array[array.length-1].time){' C- q* e. l2 m9 z
currIndex = 0;% j' y" m4 D4 ^& d/ H+ m- w9 v( H* V" S
$("#list").scrollTop = $("#lrc"+currIndex).offsetTop-30;$ O# ^1 g5 E) R; ]1 k! X
for(var i=0;i<array.length;i++){
( B9 ~2 {. y* R' z! l document.getElementById("lrc"+i).style.color=colorNormal;/ w& }: {; s# K
}/ d# \9 ~6 r, f9 ?# B( b; F
lrcList();& n( v3 o J9 ^5 S! j) Q" ?5 B* L& Z
}
' [6 P! x/ Q* }. T- ]0 l: c" ] }
# F- Q5 q' |/ U. ]) U N4 }, |6 L}( s7 S: W2 _% E" g" ^
</SCRIPT>
. G- K* `" g9 j</DIV></DIV>
V8 e! {: T" b
; j- l: c5 a$ q2 N9 j0 e& A[ 本帖最后由 幽谷兰 于 2008-9-18 17:36 编辑 ] |
|