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