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