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