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