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