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