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