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