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