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