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