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