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