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