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