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