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