|
|
<DIV id=list>- X( H- S4 _4 [
<DIV id=lrc1 style="COLOR: #666666">[wmv=0] http://lzbj.ncedu.net.cn/uploadfile/20083923248279.mp3[/wmv] </DIV>6 p$ e2 U" f) B2 Z: a3 O5 D
<DIV style="COLOR: #666666">|等一分钟|听到这首歌,觉得它很动听,旋律很优美,很是喜欢,传上来给大家听听。</DIV>
) v8 _- V6 ] i1 W5 _4 I<DIV id=lrc2 style="COLOR: #666666">词曲唱:徐誉滕</DIV>" { P% m7 b$ L5 U' y" c, y, u
<DIV id=lrc3 style="COLOR: #666666"></DIV>8 M0 |' q0 [8 I" z8 Q
<DIV id=lrc5 style="COLOR: #666666">如果时间 </DIV>$ z. L4 R. v1 N! |2 ?3 n) p& \
<DIV id=lrc6 style="COLOR: #666666">忘记了转 </DIV>! _3 ]2 q8 z7 x$ v$ V- \ {- S9 _) b
<DIV id=lrc7 style="COLOR: #666666">忘了带走什么 </DIV> s& T' C5 e) H2 Y2 f
<DIV id=lrc8 style="COLOR: #666666">你会不会 </DIV>9 m9 V* a9 `, O2 U! |3 k9 R% a
<DIV id=lrc9 style="COLOR: #666666">至今停在说爱我的那天 </DIV>
3 |: X) D* O$ G1 }<DIV id=lrc10 style="COLOR: #666666">然后在世界的一个角 </DIV>. T8 a2 P" X- O$ b+ ~$ x
<DIV id=lrc11 style="COLOR: #666666">有了一个我们的家 </DIV> a1 M. \$ W t. _! T; L
<DIV id=lrc12 style="COLOR: #666666">你说我的胸膛会让你感到暖 </DIV>4 s8 d7 [2 x; e0 B. F( k+ n
<DIV id=lrc13 style="COLOR: #666666">如果生命 </DIV>
, I3 ^5 W- D( k: i2 Y8 J& Z! M<DIV id=lrc14 style="COLOR: #666666">没有遗憾 </DIV>: ~7 ]- g r3 H" K. Y* c8 V1 l+ |
<DIV id=lrc15 style="COLOR: #666666">没有波澜 </DIV>* \5 b4 G2 s8 A1 Q5 [- q% I* U% t1 E
<DIV id=lrc16 style="COLOR: #666666">你会不会 </DIV>+ R/ g( g% c- e) h
<DIV id=lrc17 style="COLOR: #666666">永远没有说再见的一天 </DIV>
. `2 A. Y+ ]1 V' `7 O5 C4 x<DIV id=lrc18 style="COLOR: #666666">可能年少的心太柔软 </DIV>
4 J' f% R( D5 h! B7 l0 }/ T* Q<DIV id=lrc19 style="COLOR: #666666">经不起风经不起浪 </DIV>6 `1 z6 Z3 c$ }) T
<DIV id=lrc20 style="COLOR: #666666">若今天的我能回到昨天 </DIV>
$ o% u/ M; j0 R9 ^5 l" G. F0 u( c6 |<DIV id=lrc21 style="COLOR: #666666">我会向自己妥协 </DIV>( x$ P9 j F- R- S* e
<DIV id=lrc22 style="COLOR: #666666">我在等一分钟 </DIV>' \1 F9 ^( j; z u( V; \" m) ]
<DIV id=lrc23 style="COLOR: #666666">或许下一分钟 </DIV>/ q7 ^6 p8 ~6 @9 s [
<DIV id=lrc24 style="COLOR: #666666">看到你闪躲的眼 </DIV>6 N1 j' @, ~2 M- o) ^
<DIV id=lrc25 style="COLOR: #ff3300">我不会让伤心的泪挂满你的脸 </DIV>
1 o+ s2 X8 V" _: D7 L<DIV id=lrc26 style="COLOR: #000000">我在等一分钟 </DIV>
5 l3 f# z# A. g3 W<DIV id=lrc27 style="COLOR: #000000">或许下一分钟 </DIV>
7 g& e! g, N) [<DIV id=lrc28 style="COLOR: #000000">能够感觉你也心痛 </DIV>
) D- w7 b% b4 s+ k1 v& d, z<DIV id=lrc29 style="COLOR: #000000">那一年我不会让离别成永远 </DIV>4 H( B, w; v* B# d! Z [" E
<DIV id=lrc30 style="COLOR: #000000">如果生命 </DIV>
2 d7 {7 d& ]: U/ \3 M. S3 F<DIV id=lrc31 style="COLOR: #000000">没有遗憾 </DIV>
% S- T" d; C3 ~) |( _: V! n( Z<DIV id=lrc32 style="COLOR: #000000">没有波澜 </DIV>
7 t6 P+ F% w" a7 X4 j<DIV id=lrc33 style="COLOR: #000000">你会不会 </DIV>
; R+ i- \2 Z! y* w7 f" q3 w<DIV id=lrc34 style="COLOR: #000000">永远没有说再见的一天 </DIV>
7 n) B' k! M ^$ O3 y* L% a9 j0 q<DIV id=lrc35 style="COLOR: #000000">可能年少的心太柔软 </DIV>
/ [! j* ]& F4 K- ~( J: D<DIV id=lrc36 style="COLOR: #000000">经不起风经不起浪 </DIV>
8 j. J& `( q7 I9 f" q4 y8 N. p& Z<DIV id=lrc37 style="COLOR: #000000">若今天的我能回到昨天 </DIV>( b, G4 Q- d1 n6 z- W
<DIV id=lrc38 style="COLOR: #000000">我会向自己妥协 </DIV>+ L! b7 w7 d( C- n7 {4 A- S
<DIV id=lrc39 style="COLOR: #000000">我在等一分钟 </DIV>7 K& P8 X" _; _* `
<DIV id=lrc40 style="COLOR: #000000">或许下一分钟 </DIV>7 ^0 n6 N( r7 U% V9 o+ o
<DIV id=lrc41 style="COLOR: #000000">看到你闪躲的眼 </DIV>. p' x$ v" L3 i4 w) d
<DIV id=lrc42 style="COLOR: #000000">我不会让伤心的泪挂满你的脸 </DIV>* ~! x s0 c. `2 T! \' S
<DIV id=lrc43 style="COLOR: #000000">我在等一分钟 </DIV># M8 `4 t. R; E7 A2 E% k# x
<DIV id=lrc44 style="COLOR: #000000">或许下一分钟 </DIV>
# z- I9 y1 q' V2 F: d9 M+ ?<DIV id=lrc45 style="COLOR: #000000">能够感觉你也心痛 </DIV>& E _0 y! N8 b C$ _; a
<DIV id=lrc46 style="COLOR: #000000">那一年我不会让离别成永远 </DIV>* J6 Y i) L q" d' ^
<DIV id=lrc47 style="COLOR: #000000">我在等一分钟 </DIV>
& Q$ {7 N! K# O/ C<DIV id=lrc48 style="COLOR: #000000">或许下一分钟 </DIV>4 W6 R) `- j9 Q4 c" e' L- [' i: \! y4 }( Q
<DIV id=lrc49 style="COLOR: #000000">看到你不舍的眼 </DIV>: h2 r' W0 F3 V; r; X A
<DIV id=lrc50 style="COLOR: #000000">我会用一个拥抱换取你的转身 </DIV>8 H% x& o U3 u7 t) A
<DIV id=lrc51 style="COLOR: #000000">我在等一分钟 </DIV>/ T+ |+ D5 ?3 ^. e, l
<DIV id=lrc52 style="COLOR: #000000">或许下一分钟 </DIV>, R8 s7 h6 w n' T5 O; x* e% Q
<DIV id=lrc53 style="COLOR: #000000">如果你真的也心痛 </DIV>
. m+ ?. K7 s% l. m2 P, I F<DIV id=lrc54 style="COLOR: #000000">我会告诉你我的胸膛依旧暖
" o! c/ B9 I% T/ ]3 f<DIV id=lrc style="DISPLAY: none"></DIV>. R5 n3 N# T5 Q" o$ ?6 t- t5 [4 O
<SCRIPT type=text/javascript>: `0 P6 z( M$ y9 t
document.domain="1ting.com";
* V5 I% k% k& hvar colorPasted="#666666";
- N. A, C( _- s0 ^1 Vvar colorPlaying="#ff3300";
; V% [1 r7 {* Z$ O7 j- i% E4 gvar colorNormal="#000000";+ z7 q; {% J W, `# W- I! | {
$ = function (a,g){
! g, O! i1 a. b+ } var o = new Array(); 6 ^8 p* O% w: }* ]* p5 c% G/ l( G, i
var c = new Array(); 8 S0 u1 n' I9 y: F
var r;
+ u8 ?' h! r! Z5 Z! x var u;
$ m& y0 n/ s/ [0 g var a = a.split(';');
4 t6 ^! a: ]; C: n
" W# ~# B1 K6 F: ^' s var e = "keydowns,resize,load,dblclick,click,mouseout,mouseover,mousemove,mouseup,mousedown,inputchange,inputfocus,inputblur".split(",");
) F) u1 ~2 A! b' O4 g6 @: s! X for(var i=0;i<e.length;i++){
* B% e. ?( Z" h# @! ]9 p* J eval(e<i>+" = function (s){eval($event('on"+e<i>.replace("input","")+"'))}")6 B# Y! d: e+ [( a0 J
}& Q2 ?6 h7 g5 J" W0 Z) ?
6 B l0 ^3 a/ I" T S
after = function (t,d,s){
# o8 g$ `( w' ]. R" i* f0 | $after = function (){
, g! i5 q5 y! y. U, A0 i1 o var $n=document.createElement(t);
% ^! K ?! s A3 E" ?! t* T$ L if(d!=null){ E5 D: \, l5 M: H$ z4 n- d
$n.id=d; 5 I8 E' v' @+ z; s+ d5 y% D4 K1 D
}7 ~5 z; H" h/ T& q9 X y
) B; P. {) d- Y- r
u.insertBefore($n,null)
4 d; K' n, I$ n& d r = $n;
& a D% H. x8 G/ ]/ y& w. h u = $n; 0 P: Y# Z, N) V8 Y3 K1 X$ C5 p
}
/ a; m' e: @4 D* Z $for(s,"$after")
M. q, T# p% O2 [9 L3 K( M }5 e7 h9 P1 ^: r1 _1 x% m/ ~ W
( i7 f$ @: v4 `) d9 p8 M show = function (s){
" ]* \6 M+ m4 p) g( @/ w $show = function (){
8 _# p& k/ S% }2 G u.style.display!="none" ? style("display:none") : style("display:block") ;! g" h+ g4 L- M2 e G# N6 o# D. W
}
3 ~ V: w- K( T W8 o $for(s,"$show")1 q k, p0 O+ c+ B' q
}
0 K/ s8 i$ F& |- r1 H% H2 }" c2 a6 i& F9 ?/ a
check = function (t,s){
# G* u @; Z/ I# ^# D $check = function (){4 ?. s6 X! b& J. B1 z9 h
if(t=="2"){
d/ W1 y7 f$ t3 Z: n5 y if(u.checked){# w3 T/ M1 c# Z
u.checked = false;
& H! F0 Q/ ~5 m4 _ }else{8 K; z. v3 h, r5 Q
u.checked = true;" o; X$ r6 S% G% l+ q2 ~, x
}' K! p3 t- k6 q) _! \. D0 l3 U1 n
}else{
$ Q% T" z5 S( M) ^ u.checked = t*1 ;
5 n7 m8 p' E: V( X! x( O }, _! Q w& X" ~, C. C4 I
}
9 C) J Z- L3 ]* y: { $for(s,"$check")
' e# K6 M6 f2 y0 }- T' z. b }
& N6 ?( {' D1 T$ `/ f! p9 P" T9 u4 f1 ~5 I
style = function (v,s){. d& D, s# C$ y4 E+ N
$style = function (){: | A8 r6 C; [" ?' }
var $n = v.split(",")
1 B1 M$ X: G1 G9 O& H: z+ A for (var i=0;i<$n.length;i++ ){5 p- z: g8 S7 f( c. ^7 L
var $m = $n<i>.split(":") ' Y$ I# W4 s; P/ Z1 r
eval("u.style."+$m[0]+"='"+$m[1]+"'");
; X# H1 I2 }. O- K, u- E }
( n% e- A9 L6 _% G- F }$ {0 D, T7 J' s4 y# R7 t7 Q' g
$for(s,"$style")* ~. [! F' w: |( r( b" r
}% \/ N& j; R/ \) V( {3 g3 }5 g
( `; h, w" t# w( F
value = function (v,s){: O% a+ r- P+ n8 J% W* W) v
var $n= $this (v);
2 s& _8 ^6 h- m2 i, D' _# N! y1 ?4 X $value = function (){
4 ?1 w1 q. i) q5 U3 b u.value = $n
: ~# ]" v& `, v! I$ w; `( V$ a }
: m; L9 q' ~' D; d $for(s,"$value")
. _% f- g, { h" i5 {' [ }
5 V3 ~6 S9 t* M; R5 M1 J& B; N2 W8 y# ~- G% g# _) Z
text = function (v,s){
5 B6 H) }9 w$ f3 | var $n= $this (v);
3 O7 C; ^1 j. _2 Y) O: V# J( U $text = function (){) u. D7 l* E" n
* o: r0 `- n+ r* ^( O u.text = $n
; r6 G" W, |- A* E" w t9 a }3 A$ b# ?( O7 R$ Z8 \. K
$for(s,"$text") ; R) B* [) K0 N$ V
}( a h8 F$ ]# Y6 ?
5 J$ b/ k7 a1 W
innerhtml = function (v,s){
# Y( p7 D( D% r' H* J# o; c var $n= $this (v);8 n' `2 H& c5 q( j3 Y
$innerhtml = function (){* f1 {9 v4 ]" |1 S
u.innerHTML = $n
) M$ T0 f* Y# o }: [ C6 i2 C& V
$for(s,"$innerhtml")
9 B0 Z0 n$ C+ z8 p. j9 X }8 \+ Q6 o6 }( v" Z6 [
8 b: K$ F, ~- S2 ^ removechild = function (s){
5 d/ `( o+ ^: c) p. u0 h $removechild = function (){' @' \% H; W" m0 B
u.parentNode.removeChild(u)
$ E* f% w% T" I' N/ l. A3 r1 e }
/ W v7 [6 U1 D6 O S x $for(s,"$removechild")1 G" c6 X+ f4 J i+ }( [" T
}
5 o u. p* ~2 y: b( S4 d$ U2 l; D$ p% y
- W' A9 P, P) T7 x $this =function(v){
! r8 r/ `; a* h) _7 l if(v.indexOf("this") == 0){5 e/ D! q6 L: D# r9 X+ `5 F2 J
return eval(v.replace("this","u"))
: j2 H* P$ A' ^( {3 @( n }
' @1 _- ?8 ^& L0 e9 R return v;; u2 m( d1 s/ L: E
}: N! h( B' e! L; R) [" \) W
; W# D2 {2 c) Y! ? Z; e4 b
$event = function (s){! d2 A( d2 a7 n% W5 ^
var $n ="u."+s+" = function(){$work(this,s);}"$ U. s* {( c% M: V8 ^/ I
return $n;; z! C) ~) d `+ v/ R* @0 u
}
5 X3 w6 C" ]5 T9 m1 T- R. j H, a" W0 }9 C3 t+ [2 n! `( P
$replace = function (s){3 x1 f5 S+ l5 G5 C4 m. [- {
3 f) o6 I9 _9 E
}( D0 _. V' o- C* F
' f; I/ W# l, ?+ D" x: A $for = function (s,c){
0 l3 \% w4 b3 l+ m# x, V; I# m var $n="this."+c+"()" ;
2 h) R- j7 ^( V9 Q) ~* Q& b if(s!=null){
' h; ~6 |: }9 i var $m =$test(s);' R# ], Z! f; [; W. d
for (var i=0;i<$m.length ;i++ ){2 V1 o6 T- p) }- q: O2 s' Q% @: A: a
u = $m<i>;6 W0 ]' T n! Q6 `
eval($n);# Z- t8 P' p6 F7 P9 j. ?
}
+ T0 m. V4 t& H$ \- j. g9 b }6 {# Z: b7 e! {/ y3 Z' _
else{
3 c% U0 c+ n& A# a5 p eval($n);% g! ]9 E9 A% C6 m) U9 A. ~
}
/ s+ B) G5 P3 I) m2 G9 o: u }
+ h" @& j, F, X6 x7 r 8 }, @! f4 H+ A, d0 h2 N' Y2 e
$test = function (a){3 H% Z/ J h$ h- K/ x
var o = new Array();$o(a.split(';'),o);5 I- B1 l" Y6 S1 m& R& N) ^
return o;2 \) z' F6 k' r* W7 f6 w h& @- ?
}
1 U' a4 E$ W2 O/ h$ ^. J. Q+ Q+ M7 L! P
$format = function(s){1 `6 C. F) a# s( d
while (s.indexOf("'")>0){
: C& [4 m6 a2 v) ~" g' p s=s.replace("'","\"");: v# l1 }5 \+ W6 B( ^
}* y6 m6 h8 R9 r8 Y
while (s.indexOf("][")>0){1 {. L0 f# W& a+ j) a
s=s.replace("][","','")
, g/ h, G5 ~' s) T" g+ Z) s+ S }8 ?- }4 D$ F* O- P
while (s.indexOf("[")>0){
- Q* X& ` w, A% K1 W0 W$ K s=s.replace("[","'").replace("]","'")0 L1 [/ G( D7 W3 q
} & b' f4 s$ S" z: B
return s;
8 h- L+ n0 A/ J7 n( p }
Z6 m4 Z* g* c# H1 H" O3 R" U; ]
( P0 Z! G- {5 _( J $work = function(w,s){
$ y) b0 [3 o j7 n+ V6 e C u=w;eval(s)
4 |: w) f% A* U) y/ p4 R- } }
6 `9 Q" V5 u( X- X) d! ]8 w0 P0 N! q* n6 X9 ?
$id = function (s){# D+ ]6 Q' t6 D$ r
return document.getElementById(s);
# ^+ P7 y; j' L, l4 ?/ D7 T) C& {' U }
" j" a r: l; V( \+ P& m) C9 _0 I' a% h7 l; l. k. o: G
$name = function (s){
6 p7 K1 l. @$ \3 d; a' K1 { return document.getElementsByName(s);: A0 q4 ]% ]" c i
}0 ^. n( ?) H* T6 e" e
% b) ~. \! Z% \ $tagname = function (s){
2 p7 t% f I) q$ `" b- E" b return document.getElementsByTagName(s);
1 a1 h; B- [" U. J Y+ i }0 [& c u+ c6 t0 O) d) V
' _7 o: L0 {7 H E1 v' y* L4 M f7 d $o = function (a,o,c){# A/ U/ C* r' S" m7 h! ~; w
$push = function (n) { w4 g0 H- Z4 y1 M; G+ A, d
for (var i=0;i< n.length;i++ ){! c7 V* x; w$ t2 y' q
o.push(n<i>);
( J4 [7 t6 Q w" ^8 _: g }
4 |. ]. x3 [5 \: M }! @; z8 `" k# t. Z: S
for(var i=0;i<a.length;i++){
' I3 m6 d- O" K ]8 x Q if(a<i>.indexOf("(") >= 0){
3 z' v8 @/ L: [/ Q7 o c.push(a<i>);
2 H' K6 L! f+ O8 m }5 z9 J. H; E4 Y
if(a<i>.indexOf("~") > 0){
2 V* \9 [! e2 e3 l try {# A7 X! H% V. D2 _+ v2 a
$push(eval(a<i>.replace("#","document.getElementById('").replace(" ~ @","').getElementsByTagName('")+"')"));
0 B3 v( l0 P& J& z( Z/ p }catch(e)3 D; w3 V7 C7 g: w2 g; ^, J
{}
" S, D$ H% }: k* _) h+ e# G+ J }9 ^6 U( o6 _2 U8 M) B; O, |
else{ E/ F% e. ?' D# N
if(a<i>.indexOf("#")==0){
; Y7 l% j, A6 N) |% p7 E; C$ a" Q o.push($id(a<i>.replace("#","")));1 ~0 x8 Q7 J: K U: a) u
}+ O$ P* c% v, l* ]7 T2 I" U* D7 j
if(a<i>.indexOf(".")==0){
6 A0 ?) r( O1 `0 w* {" y$ l. _1 f& z $push($name(a<i>.replace(".","")));: Y1 |" j6 g( D( l' @% C1 f
}
% z( T5 T) a4 I, \, ~/ v: Z if(a<i>.indexOf("@")==0 ){3 w/ K4 z* B+ K: \* |4 v9 C' F8 H
$push($tagname(a<i>.replace("@","")));6 g0 C) r0 x& m+ s e' A+ d
}6 o/ u0 T$ r( w, l' T
if(a<i>.indexOf("*")==0){5 C0 S1 [: s! ~! n( N( z' z) [
$p= a<i>;
- k& } S R4 u9 X if($p.indexOf(".")< 0){
6 e) B4 o, Y) H D/ e# j $p = $p.replace("parent","parentNode")8 T5 p# N& u- G2 b
}
) l1 N* \1 f6 i# c- Z: n! M' X var $p ="u."+$p.replace("*","");2 L5 h# r1 W; `
while ($p.indexOf("parent.")> 0){
1 d" L* x$ d: V0 S $p = $p.replace("parent.","parentNode.")! j0 o& j; T/ ?* A- D
}
% X* o5 g5 U. @+ O; E( ]7 F) c* O# S while ($p.indexOf("child{")> 0){* J) A7 C! _" _: \
$p = $p.replace("child{","childNodes[").replace("}","]")8 C; j9 G9 U: i: F/ M6 ]7 B
}
. N" D+ L1 `' K) m! |$ E) f$ c o.push(eval($p));! e8 e- A; i V' f* S+ ~/ P
}) |8 `+ @$ m7 {
if(a<i>.indexOf("document")==0 || a<i>.indexOf("window")==0){2 M+ K. y: [# o8 F8 q6 M
o.push(eval(a<i>));
; c3 Z. |' S' M# o% k1 |4 s }
/ P1 S! B2 A- K5 A9 v& I8 z6 m }
; \' T' r' H! k if(g!=null){ 8 V8 W4 D R J$ \8 F* U+ X) b
o.push(g);g=null
4 N T2 C& j6 x: K: t. F2 h" F! u) } } % s3 O# \9 G* u- ~7 C
}; b# E* K1 U5 B% S" [0 ^ o
}
8 \* X% D/ @$ h/ `; R4 w4 k& @/ N% ]+ y; a
$o(a,o,c);, e5 u5 M3 n! A! C% q) h
& `# Q/ l" V( i5 K1 \$ S1 ~3 M2 E
for(var i = 0;i<o.length;i++){" d- y b% s% h: S, q; a k/ y
for(var j=0;j<c.length;j++){* Z' X# }# I% A- C! c' Y7 E
u = o<i>;eval($format(c[j]));$ t. h7 N: H" L. D3 }3 o
}
5 x; X& T; ~% j% P }; d r/ {% T7 m2 Y
3 B, W' A" s" [
if(o.length == 0){/ y# y" w, A" M M. l+ T+ t
for(var i=0;i<c.length;i++){3 L( v3 }$ V- ~ O7 N+ F* T
eval($format(c<i>));) Q9 j- d2 y& N4 f6 D
}# t( [: ]# U w5 G
}
* M' c' Z0 a, s7 M6 a h
( [$ G# @+ C- Y. l if(r!=null){$ U; E! c( ?/ B- w7 _; n9 K" P+ c
return r;4 M6 a3 }2 Q3 Z2 o/ S1 f
}4 R2 Y2 G# S# R4 I
1 ]+ C5 c$ }4 P3 @# }& E+ H if(o.length==1){ i3 p% V) r6 @: V
return o[0];( L0 H) O" P8 s0 Q/ |
}* y7 g0 O& x3 T$ I
else{. j& Z( u* T# I8 s7 h- m
return o
- D; a( u7 k; m8 F1 Q! ] }
Y1 @- d# K" O( G$ X$ \
5 p4 n7 V1 } S- [0 C. S } J+ f5 {# e- c9 C" @1 Y
var lrc =$("#lrc;show()").innerHTML.split("[");
! _5 n2 e, X6 c# D8 L7 wif(lrc.length>5){. w Q/ \8 J* a1 T) V
var array = new Array();
% t5 ?7 a. S6 ?$ Y' ^& z. Efor (var i=0;i<lrc.length ;i++ ). E9 x9 ?) E, Q7 c
{
0 c+ Q w( E) q var g = new Object();' t9 ^, [2 W3 e- R# e7 c
t= lrc<i>.split("]");
1 b, V3 S: a8 P% D, D. T g.time = getTime(t[0]);
5 d5 j! q# }# ^6 S9 W if(isNaN(g.time))$ G& f7 C# G* j
continue;
/ Y: u7 X% @; N& N# d g.c = t[1];
' i3 L0 O" l# s if(g.c == "")5 j+ M/ M/ t& l: e2 |0 [8 y
g.c = getNext(i);; E. q6 z: g% `
array.push(g);
$ f; `: @( y7 @5 O9 a}
6 z+ E* y4 q$ t% B: ]9 marray.sort(function(x, y) {
- \" E- A% J; v% k$ J# [ if (x.time>y.time) ! E8 {' P7 u" Q1 w+ `1 f. |
return 1;
7 ]6 |2 T9 C ~! w/ ]- r else if(x.time<y.time)
8 {* P0 `7 C/ b, b" G0 u' e$ ~ return -1;
' x. N; d4 U% H else
" n4 ^8 X0 X* W' j: y6 [ return 0;
( ^8 n6 y' D7 y$ V }
% j3 X. ?1 @' o) w2 V);
0 ~# e9 l! g( g {: N3 P3 l% M$ _for(var i = 0;i<array.length;i++), D: J' q0 H r9 Q3 V- r/ C
{! x, i- J( n s$ s1 s" H
var g = array<i>;0 K. z2 R; l$ w8 o+ s
if(!g.c){
; H: \, }( t7 {" h4 u9 D g.c="";5 c8 H0 `* M# q8 F& P
}+ f% P* A1 S9 b7 w! A
$("#list").innerHTML+="<div id=lrc"+i+">"+g.c+"</div>";
" z6 H% ], e" K( ^' p. D* l; W& g& W}+ o6 k8 x8 H! l* [# j( _) m
var time = setInterval("lrcList()",500); $ k. D' b9 S- [& \- {0 n+ z0 N
}else{* t' r* X( T, N& M4 N: @/ J/ ~9 o- X* V
$("#list").innerHTML=$("#lrc").innerHTML;
; `, b r2 ]7 b}
! ], ~- G; Y8 A% i Ifunction getNext(i)/ _3 X! A2 l! e d) O" b+ _# k
{& `) A3 V, E: D* H
var result = "";
' [) }5 \" W h7 C3 v/ ]) v+ Q var i = i+1;, U1 @9 n& E6 f
t = lrc<i>.split("]");. M9 Q* X5 I& F/ q) I
if(t[1]=="")
4 h! m( W. _7 B( _# G$ b3 w2 p# K result = getNext(i);
' S2 R' J8 U, B. _; n9 D. k else
3 R( j, I% t" t3 E" f1 S result = t[1]/ X& F2 r9 g& [7 Q
return result;
' Q6 i# [* L* K' g; |- C}
$ c7 H \- l% y7 R, h, {! ?" u& `- A% i7 f+ j
function getTime(str)
5 `) x/ v+ B$ r; g3 d# A{
' R' f, p% \% _% ^" J' @4 u1 R var time =0;4 F$ \+ y) F2 B N! v
var ta = str.split(":");9 B6 c( C ?# r8 p
if(ta.length<2)8 N: B7 k; K5 i( K+ ^& t$ x
return time;/ X0 s$ {$ V; _+ D
6 H4 `0 e3 F9 [9 `, ^1 [ if(ta[1].indexOf(".")>0){
! I; d3 l) b) c5 i var tb = ta[1].split(".");8 n+ `4 Q6 J5 [5 b: ]6 a" b: X2 r" N1 {: M
time = ta[0]*60*1000+tb[0]*1000+tb[1]*10;
* j S( R, T+ e; t( ~$ w7 p }
" v& V; q! [. @3 d( x else1 m& `4 K9 |8 b" M }
time =ta[0]*60*1000+ta[1]*1000;
5 J! C! [. g$ t2 N# C return time;. `; w" ~9 L# t% d( E- C c# L# ?: L
}. o8 O, ~7 V% s( N2 v
var preTime = 0;/ u7 U( p# L# x" H
var nextTime = 0;) l. F$ d& C# U% s* n) p$ R
var currIndex =0;
' ~( \1 T q) o2 {function lrcList(){2 g5 ?3 g9 w1 {6 X
var s = parent.document.getElementById("MediaPlayer").controls.currentPosition;
( {) ^8 X& ~7 \# l s = s*1000;
3 r% J, T1 ^" S9 i; I if(s==0){
% X4 Z" ~" r9 M currIndex =0;8 @ r: H6 T2 ]. t( [
$("#list").scrollTop = $("#lrc"+currIndex).offsetTop-30;
5 o, c( A4 I# F. V for(var i=0;i<array.length;i++){
# @' i+ r3 k0 f document.getElementById("lrc"+i).style.color=colorNormal;6 u7 S! U, p5 J; l$ z3 e
}( S, w7 @: V( y- X. s: f% K
return;
0 [, v. i6 C) P( v9 b }
6 R) W6 n$ }- |: ? if(s>0&&currIndex<array.length-1)
( f# U6 X- r1 b {
. E! p% V T* A preTime = array[currIndex].time;
: A- y1 S/ P* U5 ]: |) ]
! l) e) |0 k) i1 `/ s nextTime = array[currIndex+1].time;& G: r6 r% i2 I# U" C& [# q, ]
8 W2 u+ M; J9 C5 Q4 H if(s>=preTime&&s<nextTime){: A H3 J8 L% T4 \ u% d
}1 ^+ }! K/ N9 E% P& S' d
else if(s>=nextTime)
. M7 \8 O- I& y- e4 x; _6 _ {9 Y) e; C9 J3 s4 l: A+ z. p
document.getElementById("lrc"+currIndex).style.color=colorPasted;
y% B" V" j' s9 b; {5 H4 ^( p currIndex++;
6 x5 B7 @9 a( P. ]0 V1 Q $("#list").scrollTop = $("#lrc"+currIndex).offsetTop-30;4 B. @1 P4 P( @# S$ V) z
document.getElementById("lrc"+currIndex).style.color=colorPlaying;
4 T" R6 D" M: ^9 }+ E. L lrcList();
* v& j% }$ w" F4 o% R }
7 z+ o {% b/ [' q* X else{6 g3 y) v+ N7 N7 x6 T, C
document.getElementById("lrc"+currIndex).style.color=colorNormal;
! Z1 \1 R0 y; n3 A, w; Q currIndex--;
) N H* A6 s- a4 a- N $("#list").scrollTop = $("#lrc"+currIndex).offsetTop-30;+ L5 G! z7 E. @0 [7 X% q" g( D
document.getElementById("lrc"+currIndex).style.color=colorPlaying;9 I* O T. t0 ^' \* ~8 B# M
lrcList();' ]/ f$ s9 s" W+ C. ~
}
1 d4 O. v! q: C6 V8 |" {8 N: l }
& B: X: K! t" l8 l3 R else1 X* G. K+ t8 P4 G; q
{
5 A& m/ ?, a, ]/ B& |' L4 z9 c if(s<array[array.length-1].time){2 u4 |1 C. M* B3 t$ ]* z6 S# Y
currIndex = 0;
/ ?3 ]" Q, v( T: }( `( B) y $("#list").scrollTop = $("#lrc"+currIndex).offsetTop-30;. i) J- e$ F3 f% b: w. d0 c
for(var i=0;i<array.length;i++){+ a& c) d9 U; X5 N2 {! q
document.getElementById("lrc"+i).style.color=colorNormal;
" u5 T: O5 A; }5 d+ P! v* { }7 h9 |3 _/ v; {7 f9 a: \' X: o
lrcList();/ |$ h: ^5 T6 T) A8 S8 R6 n
}
# H7 v/ i. Y: K2 E }- Z/ `9 u0 M: ]
}' t" [: c9 m, n* G, b% ]
</SCRIPT>3 Q0 p/ J" S0 A3 i/ c
</DIV></DIV>
( [, A% N I! _
# i1 T0 o; [# f6 F* v8 U[ 本帖最后由 幽谷兰 于 2008-9-18 17:36 编辑 ] |
|