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