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