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