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