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