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