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