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