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