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