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