|
|
<DIV id=list>: y- u6 p) |9 @* O( l
<DIV id=lrc1 style="COLOR: #666666">[wmv=0] http://lzbj.ncedu.net.cn/uploadfile/20083923248279.mp3[/wmv] </DIV>- a0 c2 W: T) ~' z8 e
<DIV style="COLOR: #666666">|等一分钟|听到这首歌,觉得它很动听,旋律很优美,很是喜欢,传上来给大家听听。</DIV>
& P3 @2 T( }, y% N$ W<DIV id=lrc2 style="COLOR: #666666">词曲唱:徐誉滕</DIV>
2 z- e+ f& P# c9 M<DIV id=lrc3 style="COLOR: #666666"></DIV>
+ i# A0 V# V- E<DIV id=lrc5 style="COLOR: #666666">如果时间 </DIV>
6 H% |0 y! R7 g8 O! b: b/ p<DIV id=lrc6 style="COLOR: #666666">忘记了转 </DIV>
- J" \$ K3 e* I" Z7 [' A<DIV id=lrc7 style="COLOR: #666666">忘了带走什么 </DIV>3 f7 P# s4 C. g H: a0 G) c
<DIV id=lrc8 style="COLOR: #666666">你会不会 </DIV>: U6 ?3 b- f2 m4 a2 R
<DIV id=lrc9 style="COLOR: #666666">至今停在说爱我的那天 </DIV>5 S. t4 l& M7 d. K+ ~4 I
<DIV id=lrc10 style="COLOR: #666666">然后在世界的一个角 </DIV>2 R' A6 K2 ]4 I l' P8 E
<DIV id=lrc11 style="COLOR: #666666">有了一个我们的家 </DIV>' l9 y" _ X- D2 S0 D( E# k% W5 a* `
<DIV id=lrc12 style="COLOR: #666666">你说我的胸膛会让你感到暖 </DIV>+ n2 F6 e P3 E* i
<DIV id=lrc13 style="COLOR: #666666">如果生命 </DIV>
; v9 S; W7 c+ {$ A# o$ |<DIV id=lrc14 style="COLOR: #666666">没有遗憾 </DIV># p( c. r& b; `9 y2 |8 R% p
<DIV id=lrc15 style="COLOR: #666666">没有波澜 </DIV>( H( i# ~* n8 P$ b$ q+ ?* ] A
<DIV id=lrc16 style="COLOR: #666666">你会不会 </DIV>! `1 S' m$ X+ T# ^; j. u
<DIV id=lrc17 style="COLOR: #666666">永远没有说再见的一天 </DIV>6 ?8 c0 \. h* L' c! z% z: Y
<DIV id=lrc18 style="COLOR: #666666">可能年少的心太柔软 </DIV>
2 ?$ u; q. P5 q! \8 b<DIV id=lrc19 style="COLOR: #666666">经不起风经不起浪 </DIV>
5 ^2 h l' Q. L8 ^ e9 ]3 R |<DIV id=lrc20 style="COLOR: #666666">若今天的我能回到昨天 </DIV>4 j9 N% `. m/ f: N7 D; v
<DIV id=lrc21 style="COLOR: #666666">我会向自己妥协 </DIV>! G; U- L( y2 [4 r4 f% g
<DIV id=lrc22 style="COLOR: #666666">我在等一分钟 </DIV>
, W% s: ~( r1 f2 U<DIV id=lrc23 style="COLOR: #666666">或许下一分钟 </DIV>! D& ~2 K* n7 T
<DIV id=lrc24 style="COLOR: #666666">看到你闪躲的眼 </DIV>/ l+ D) d) j7 v1 E( K
<DIV id=lrc25 style="COLOR: #ff3300">我不会让伤心的泪挂满你的脸 </DIV>
- s- Z3 w( N6 f' }# L% s<DIV id=lrc26 style="COLOR: #000000">我在等一分钟 </DIV>
0 ^( ^- M Q% w% }6 U/ e) _<DIV id=lrc27 style="COLOR: #000000">或许下一分钟 </DIV>) v) y% y! ^% `1 O
<DIV id=lrc28 style="COLOR: #000000">能够感觉你也心痛 </DIV>2 z% M: p5 l- g9 c$ Y/ P
<DIV id=lrc29 style="COLOR: #000000">那一年我不会让离别成永远 </DIV>
- B: O& B5 e& C; p* f6 k: l<DIV id=lrc30 style="COLOR: #000000">如果生命 </DIV>
- d( }- [" a" D* `( `; g6 ~<DIV id=lrc31 style="COLOR: #000000">没有遗憾 </DIV>
! t' L- W; _9 O! x+ V* r d<DIV id=lrc32 style="COLOR: #000000">没有波澜 </DIV>$ j: B U2 R: w7 y# r! C" [
<DIV id=lrc33 style="COLOR: #000000">你会不会 </DIV>' K- I5 s( I& `
<DIV id=lrc34 style="COLOR: #000000">永远没有说再见的一天 </DIV>
# }' m& _; |' m0 h& h<DIV id=lrc35 style="COLOR: #000000">可能年少的心太柔软 </DIV>
' C, b# B( P% N; C# z2 `0 v- I<DIV id=lrc36 style="COLOR: #000000">经不起风经不起浪 </DIV>
- F8 \3 B% h" ?( M6 j<DIV id=lrc37 style="COLOR: #000000">若今天的我能回到昨天 </DIV>- S7 \& X. F6 e( D* q
<DIV id=lrc38 style="COLOR: #000000">我会向自己妥协 </DIV>
* `6 z3 w& F# ?0 N; h<DIV id=lrc39 style="COLOR: #000000">我在等一分钟 </DIV>" b6 q9 M* H8 g6 M! r
<DIV id=lrc40 style="COLOR: #000000">或许下一分钟 </DIV>
x, X$ ?, b) C4 m$ @<DIV id=lrc41 style="COLOR: #000000">看到你闪躲的眼 </DIV>
- g7 O/ @' C; q4 w1 m5 |<DIV id=lrc42 style="COLOR: #000000">我不会让伤心的泪挂满你的脸 </DIV>7 t( H$ X8 u$ R* K
<DIV id=lrc43 style="COLOR: #000000">我在等一分钟 </DIV>5 v$ V% s4 w: r7 j
<DIV id=lrc44 style="COLOR: #000000">或许下一分钟 </DIV>
; Q0 N; K' V+ g& n9 u8 d<DIV id=lrc45 style="COLOR: #000000">能够感觉你也心痛 </DIV>! K' V' N. v2 j. S, s c
<DIV id=lrc46 style="COLOR: #000000">那一年我不会让离别成永远 </DIV>$ F; X& L! j+ g* O
<DIV id=lrc47 style="COLOR: #000000">我在等一分钟 </DIV>( X) f5 J7 B2 @( f
<DIV id=lrc48 style="COLOR: #000000">或许下一分钟 </DIV>- e/ x9 f8 N( E9 W
<DIV id=lrc49 style="COLOR: #000000">看到你不舍的眼 </DIV>
r5 k# m, F; S( a8 {8 f<DIV id=lrc50 style="COLOR: #000000">我会用一个拥抱换取你的转身 </DIV>
1 z8 r0 W, Y( e; W+ ?<DIV id=lrc51 style="COLOR: #000000">我在等一分钟 </DIV>
# x5 y% @$ G" {6 \( `9 q<DIV id=lrc52 style="COLOR: #000000">或许下一分钟 </DIV>
4 X$ _# @) B" g6 t+ `2 @/ Q<DIV id=lrc53 style="COLOR: #000000">如果你真的也心痛 </DIV>9 O' U% W' l3 y9 I
<DIV id=lrc54 style="COLOR: #000000">我会告诉你我的胸膛依旧暖 + s4 h1 Y0 A' {0 }
<DIV id=lrc style="DISPLAY: none"></DIV>
) W, d0 C- F4 }4 {: N) x1 M<SCRIPT type=text/javascript>5 a" B; M9 x$ \" z8 q) E
document.domain="1ting.com";
9 [2 K( n1 }8 q9 V3 _var colorPasted="#666666";
6 v% h! w1 ]& p# cvar colorPlaying="#ff3300";! o1 t4 |; T" j! N
var colorNormal="#000000";0 j7 v6 W, @; g" J, X3 L1 v
$ = function (a,g){7 Q) W* G/ h! x7 Z- M' e
var o = new Array();
: _+ `: O- ^+ F X var c = new Array();
. B& s+ k" J% O8 }( M var r; 7 y. i* O- I% D5 E# L% p
var u;
S: E# e+ I! f4 i+ f% \" f var a = a.split(';'); 7 |+ _: e1 q) a+ N2 `4 E
$ ~1 U# ?, g( S5 j
var e = "keydowns,resize,load,dblclick,click,mouseout,mouseover,mousemove,mouseup,mousedown,inputchange,inputfocus,inputblur".split(",");) J l) z1 D0 \0 i! s
for(var i=0;i<e.length;i++){
$ f7 w3 O7 G, } Y$ ~# ^ eval(e<i>+" = function (s){eval($event('on"+e<i>.replace("input","")+"'))}")% S3 |" K9 ?. {- q1 y, l: l" V9 M) C" \3 f
}
9 n; n4 O* z. T: s
9 q" N: W5 a! [5 m3 y after = function (t,d,s){* _, @* @ A+ U9 k
$after = function (){6 l7 Q) U6 ^+ e$ v
var $n=document.createElement(t);
6 d6 e6 N" _1 x& z" D4 g if(d!=null){
3 d" q0 t7 C( M; ] $n.id=d; ; g' f4 V3 y& ~& ~+ N9 v9 a; o
}
# W9 g5 k5 u6 |% S F/ B j " \* U, T- L+ S- k% t) }' f
u.insertBefore($n,null)
& b7 F* j" d G; I5 g; s6 T r = $n;
# ?1 V. j8 |4 T, k w, a u = $n; & o1 _ M( L$ }. l2 H' L7 K
}& r! k; ?4 f( ~5 M
$for(s,"$after")
0 ?5 l1 x+ l* ]6 ^( \6 P }
, q g' T' D* O& {' d
/ e9 A( J9 t! j: ~- }$ ^ show = function (s){
' q3 [! m( }8 Q t6 N3 p! D $show = function (){3 E3 V A9 d- D8 W; ?( X0 @
u.style.display!="none" ? style("display:none") : style("display:block") ;
V3 V1 z2 w( e9 L& r0 z }
3 ?3 n( D2 B" @& Y $for(s,"$show")
6 ~' `4 I4 i/ i+ ^6 Q9 x }9 k. f( E" B2 }1 x! g+ D+ e" B
. E3 j& f, h0 ]: V5 o/ M8 _% K/ g
check = function (t,s){* {1 y$ W! h/ o) V% C$ `3 W; [
$check = function (){
3 g$ \3 n. U1 l7 K9 u: r if(t=="2"){9 l7 ]$ W: F/ w& e$ B# w. J2 s
if(u.checked){
( b! y1 o6 U% M, U$ k u.checked = false;, S E0 u3 X# n- c+ p% k0 M4 O1 E
}else{
8 A# z, u1 b) N9 S m x u.checked = true;
+ F# U3 k5 c5 { }& P! E. C7 q( u9 {7 d4 Z+ i
}else{0 K" I6 `% F9 ?9 s+ p7 F
u.checked = t*1 ;
: D z. Z/ N/ H5 I }
, t* D% Z3 \ Z# e" b5 X }; J& E3 D, k/ A) W5 p, r
$for(s,"$check")
g9 s7 o. |& r }
7 H/ {" h2 f# i7 X8 P0 d+ c! f m# S1 t7 j3 r
style = function (v,s){
" u2 ?* a$ {& r# ?! C* Q! w, B; v $style = function (){! Z: w8 s' |5 L9 }
var $n = v.split(",") ' p. H) Y6 E" A8 w4 ]& h$ f2 z
for (var i=0;i<$n.length;i++ ){
; E [+ y4 Z$ N+ _ var $m = $n<i>.split(":") + P( @$ Z6 q& I$ e4 W7 ?
eval("u.style."+$m[0]+"='"+$m[1]+"'");
+ h: C# e: j# X }% \& h- @/ b& C8 V2 c
}
, ?6 k B z0 K, a4 f! Y( E $for(s,"$style")2 u3 m6 D1 O4 F. o2 f$ ?2 E
}% k' w5 t2 i8 J, c
& q5 W. ^' C$ }% o* Z
value = function (v,s){4 b ^) |6 `$ b# P+ `/ R
var $n= $this (v);5 @' J( M, n* d# q7 u
$value = function (){
* [3 H/ U, R2 x: N: ]+ l u.value = $n" c3 `! L2 [( q3 g
}) H7 Y. q5 N) `8 r& z7 T* ^& X
$for(s,"$value") / E9 W+ J" G2 D8 Q4 _1 d
}2 {6 }8 ^, b( v9 c+ g: T" o0 N; r0 q
3 E: y, k# p: @9 b1 |& U: e# A text = function (v,s){ ]( C9 { Y$ r7 l
var $n= $this (v);
" ]% c& H m, M $text = function (){
3 ~- v" W. x: d0 o, A1 Z( {9 O1 K
+ ]2 {. T& w5 r+ A8 w1 q9 v7 Y u.text = $n
# D. w5 W6 a8 p: I; _- x5 p }/ G0 t8 F5 G; x& A, _
$for(s,"$text")
5 ~5 R: g) ?7 C8 ?+ h8 V+ M( t* ~ }. [+ s1 {: g" W& x. j
( C2 [! \3 M1 ]7 a& p' d5 }6 E3 D- v innerhtml = function (v,s){0 O$ u7 T: j9 G) a2 j# E2 e
var $n= $this (v);1 S% q8 c# D# k
$innerhtml = function (){
# @' o) m* O6 A0 H9 B* f$ x u.innerHTML = $n
- k3 ^ J/ ~) P2 O }; j2 c& {+ b( @8 }: U* H
$for(s,"$innerhtml")
' }: ^! D1 s9 G }- \: z3 M$ a+ x2 v+ {) i2 w0 @
7 h5 H+ d: v# t& |8 Y2 G) y
removechild = function (s){5 n5 j- w% ]: R7 p+ ~
$removechild = function (){
; v7 ~2 ^, h: m6 b" ]" {- s3 I u.parentNode.removeChild(u)+ c7 h1 c4 M2 D$ Y) j
}. F( d, V& V h
$for(s,"$removechild")% a& k; F3 r1 o- T- f
}
0 W+ o% _2 R; L+ X* P/ U7 m5 ~+ r' u! X$ b+ ~( Y+ x
$this =function(v){& ]' Z* L. X+ x) [1 Z1 W
if(v.indexOf("this") == 0){
" E! j0 D. ~! ? return eval(v.replace("this","u"))* x; W( U* \0 \* s+ o7 q
}
' S9 P! Z1 z P2 W( r# u9 G return v;
: K7 Q0 v9 z9 l }, K. {2 P4 o0 g' r9 F- `
3 s- F, |6 F4 |! c1 \+ j% w- C $event = function (s){
2 d2 q0 I. S E! ^. Z6 \ var $n ="u."+s+" = function(){$work(this,s);}"
7 p; ?5 g, V1 V" U0 U. \ return $n;
! H( ]3 K$ ~. v x' l. s5 b# e0 r }. b K: F% }8 K% {( y8 g+ G' {
3 t! z$ x, _3 ]. a $replace = function (s){
2 `% p: i1 u2 q. M' x6 \8 ]& h$ u, C* [4 T! g% x6 R
}
- v$ H* a4 q M$ W6 t+ J, w4 T! g C7 {/ z% x! g |; Z
$for = function (s,c){* C9 @! b, F' _
var $n="this."+c+"()" ;$ x- }2 o, `" `: F
if(s!=null){) c2 A9 W7 {* r+ _1 g( ?
var $m =$test(s);% u! j" V( c% y$ |! E
for (var i=0;i<$m.length ;i++ ){
! `" u K' O$ y. q# u |% H u = $m<i>;6 `( V) w9 k1 T* M' H4 @4 k
eval($n);
' C2 U9 \' P* D }4 J0 K4 |% ^" v
}
4 B& y& A1 ^* i else{
) X9 P, ? s9 h6 u eval($n);, c) W( y" O. H# X
}
+ c7 T' ]/ r5 P7 o+ {. b7 q2 g" K }3 n) c5 f& p3 [7 u! \
4 {5 K: S& F: \+ a/ u/ n
$test = function (a){
( Q8 [2 P* S+ [ var o = new Array();$o(a.split(';'),o);7 M: m/ ] m8 {: Z* ^
return o;. h2 k+ U( c0 M4 N p1 D
}
- T- v/ }# \+ W1 a
7 ^% w+ y2 N/ l6 w& X9 K $format = function(s){
! R1 M! W" ^" { while (s.indexOf("'")>0){
% ]4 `5 |* Q1 R; c, X3 Y s=s.replace("'","\"");
) _# w. F, t1 ~& a' ~' J$ Z }% r4 s! X% M* p' B4 N2 O5 ]
while (s.indexOf("][")>0){
9 q, h( w' z4 W s=s.replace("][","','")
2 {2 _) X3 g6 b% |* D }4 S1 G% U, v* l
while (s.indexOf("[")>0){- z5 X b* |" [/ j* S8 `2 ?
s=s.replace("[","'").replace("]","'")- ~( r/ \0 I& n& F2 Y
} , m8 I* [/ _ f* Y* |
return s;, k/ Y% i @% `
}
% o& e8 t) z% _+ p
* Y/ s# e: D1 P6 Y6 N' A4 S $work = function(w,s){
8 A! r! W, a s0 P+ A u=w;eval(s)
: R" q& z2 I5 ?) m3 q- }" |; \ }
/ ?' b: F9 N2 f! g! p! Y
( A0 ?4 l! C$ N. I6 q $id = function (s){0 i8 z+ F' ^; W: K
return document.getElementById(s);/ q0 F [$ x* k* }' n, I
}
* h; e5 z6 ^# X5 M% U& ?
' w2 x$ I3 d; u* j, K/ K $name = function (s){
5 \6 U+ S+ \* l6 x* G return document.getElementsByName(s);2 z; @7 Y: i+ v. `" u
}) x% |+ `! S0 A* A, j: ?( V4 v/ U
- b# `1 p( ]3 I" [
$tagname = function (s){
1 A7 [ i! r3 F4 Y4 g9 a, z* [/ ^: r' Q6 } return document.getElementsByTagName(s);
; k' X- E& w+ E- x N4 l+ D }
/ n) Q% l( _9 ~. o
& k1 ^. n; p) F; R. @, X8 z $o = function (a,o,c){ u8 l0 P6 Y# T D: c& b6 p7 |8 z' q
$push = function (n) {
( p8 [' ?; r: y n: X. F. X for (var i=0;i< n.length;i++ ){
' D% Y! h0 m; f" ^3 u o.push(n<i>);5 G1 O( S. N, z" W u
} : t2 d) S# X+ ~0 M2 o% C% R/ {
}
+ v; N/ Y! F+ ^8 h3 K for(var i=0;i<a.length;i++){/ n; o# J! ~! J. C' G, J, ^" ?
if(a<i>.indexOf("(") >= 0){
0 g, ^; k. l2 e4 {6 p- O c.push(a<i>);; p- H% o( _6 g q9 R1 ^( { F, `1 s
}
8 Y- d, z# t& Y2 s, r if(a<i>.indexOf("~") > 0){
' K$ _' R; B+ e; S! l3 Z try {1 Q8 i4 D% ?) x: X
$push(eval(a<i>.replace("#","document.getElementById('").replace(" ~ @","').getElementsByTagName('")+"')"));' K' k; l+ e1 _1 e/ k: G7 i
}catch(e)* w; A/ x6 E3 A$ D2 y
{} 0 z8 s- H. _9 ^. u0 o
}
7 @# _3 v/ Q6 [- r1 c else{4 E$ c" d/ G0 ~6 h4 K2 J
if(a<i>.indexOf("#")==0){( q( C& u* i/ _
o.push($id(a<i>.replace("#","")));2 @0 [: M' J' z3 D
}6 O) ]) d, @2 i$ Y$ O4 y3 v3 C( \% q
if(a<i>.indexOf(".")==0){
7 }. _% V( N# f+ b7 f, e $push($name(a<i>.replace(".","")));+ N+ }" {/ y1 q; `" _3 @
}& {3 G* f0 E" F
if(a<i>.indexOf("@")==0 ){
2 I9 z2 k# h$ n7 w. d' U; C2 { $push($tagname(a<i>.replace("@","")));
$ Q4 b0 e. Z1 T) @( j }. ], {6 W4 Q; C
if(a<i>.indexOf("*")==0){1 C" f$ i8 h, O0 V- f! @
$p= a<i>;+ R5 ^. g1 d! W3 w0 P3 y
if($p.indexOf(".")< 0){- c; h; a8 X2 U8 x4 _+ p* V/ L
$p = $p.replace("parent","parentNode")
1 E+ J5 j3 A( ?( R2 j; a J4 z }$ O. O s1 q Z
var $p ="u."+$p.replace("*","");
: v* p$ t/ i g! ? k while ($p.indexOf("parent.")> 0){
7 |8 ~; } U/ H $p = $p.replace("parent.","parentNode.")
) c, b) v( j* O$ E* W }1 Z1 m7 y" @1 y8 `9 x* u
while ($p.indexOf("child{")> 0){1 Z3 o! m# m( F" K) l# m
$p = $p.replace("child{","childNodes[").replace("}","]")
5 E( L$ p- `. J1 m7 i }
- h$ K9 T. R4 ~6 n& I. b+ Q o.push(eval($p));" R: ?* y* ^8 ~- j$ S
}
& m; ^" q9 y- X' U! J3 A if(a<i>.indexOf("document")==0 || a<i>.indexOf("window")==0){6 f. C5 K5 V( }' |8 A
o.push(eval(a<i>));0 H5 ^( [' ]! j. C& m/ z( e* @
}
/ J' @4 Z0 l" c* K" W8 ^8 y, H }3 ~+ x% k0 `5 h: _5 h
if(g!=null){
1 o7 g+ ?4 Z7 M/ O+ ~ o.push(g);g=null4 j/ B, a- K; ?$ J7 C% [
}
! I7 K( w+ y) \4 }$ K. n$ p; Z5 ^ }; m6 e) u, u5 f B
}" K3 {# I: w! E; f$ i4 X; d$ Y: P
5 Q% g( R+ T9 ~4 ?- q
$o(a,o,c);9 S) t8 w g" H: S& M9 ?( a
6 g9 S$ P* {% b8 P
for(var i = 0;i<o.length;i++){5 p& c! U2 c4 x4 ^- O& t
for(var j=0;j<c.length;j++){
) U4 |4 b | I u = o<i>;eval($format(c[j]));
$ t0 _. u$ C- r' t6 E2 `6 G* \8 |( K }
( c; S7 R. n5 x* p7 k }) k& G/ [ o7 y, x
2 ]6 w7 R2 D+ s$ G/ [7 T { if(o.length == 0){: I) ~1 R& z/ j7 \) L$ r
for(var i=0;i<c.length;i++){- e* U$ ^- E) V; m* v1 V G
eval($format(c<i>));
' F; k5 Y+ C1 D4 W# O" |9 Q, X9 h }5 R- [4 `. p# p# {! _, L) O
}# |% i& `* Q- e
( R5 @0 T+ N8 l* ]
if(r!=null){$ ^* o7 [; u/ z8 e# d$ Q, l, o$ M
return r;
) G5 \. M" Z0 } }) ^/ M- U' O1 z& E
; g/ c9 S7 d: B2 ]7 y+ _1 b+ ?5 ^
if(o.length==1){
' s9 G/ c* ^7 R return o[0];1 H/ ]3 q% `8 ?7 X% a* J) }
}5 \: o G) _ K& ~8 _
else{6 T+ G9 @- n, y
return o
, ^' M/ @1 \7 y; c& G( h2 g } ( y) r! V0 {" g
$ K7 G$ I2 U5 l& ~) d }& n; l1 h* a8 _9 \9 T9 v9 G
var lrc =$("#lrc;show()").innerHTML.split("[");
' C3 D! ?: W. o6 Bif(lrc.length>5){
5 _' y5 R/ g+ Pvar array = new Array();
) _. V! q5 G4 tfor (var i=0;i<lrc.length ;i++ )
# L$ ?& C3 b: o# o& ^- J{
3 ^/ u. _& c5 N6 z var g = new Object();2 e: H% B! s* \" {( k E% w
t= lrc<i>.split("]");3 o' b' ^) m! u1 \
g.time = getTime(t[0]);
* [: n; C$ a) q4 Q7 G if(isNaN(g.time))
8 z3 z0 ^# q6 L. Y continue;$ R+ l8 {% q! |& c' T0 B2 c; S
g.c = t[1];9 ^: I! k* |; w/ f# u
if(g.c == "")
( _6 X. o: G' n8 d g.c = getNext(i);
) {, U* Z0 d8 |) v) d. E array.push(g);
+ z4 l* w" r- G A* M& y7 A; D}
, J5 U+ s8 w: J9 Z6 H8 D/ iarray.sort(function(x, y) {! v( g' X& d* t
if (x.time>y.time)
# ^; _8 Q6 o$ ^7 v return 1;2 C8 T% k0 q, B
else if(x.time<y.time)2 d0 [' {* |+ v
return -1;) Y s; e3 c. Z+ Y/ V0 y
else
; N6 c6 Q% g" K h6 ]1 W* G return 0;
9 L5 {, `6 L% B" _ }
# d5 }1 G+ C$ E1 v5 x);
( g% o9 B1 d( @0 Y# {' R" wfor(var i = 0;i<array.length;i++)
/ ^) Z. ?" n5 B6 @{9 p* j5 L8 }* j' T
var g = array<i>;% [% ]4 E6 |3 q( k: {1 J
if(!g.c){
+ Y7 E7 A" m- Z. s% E; S% P g.c="";
" B# x) m) y# G+ y/ C" x }
: t+ F2 A5 `* l5 ?' G' Q6 V, c $("#list").innerHTML+="<div id=lrc"+i+">"+g.c+"</div>";
4 k% Y0 l; Z4 C! W& R4 a6 I! O}
3 b0 \7 g4 f, X9 Bvar time = setInterval("lrcList()",500); $ t6 R9 G9 F& j5 O" Q8 K. n6 F* F1 T6 a5 {
}else{
8 a) u+ n1 w* T7 @/ v: x $("#list").innerHTML=$("#lrc").innerHTML;$ t6 q% e e3 w& A
}& }6 s, C4 w# {$ @
function getNext(i)
% g+ ?, K8 B4 n5 j) L/ T{! j# W4 n' Z' o( _1 p
var result = "";
, b: A# ?. y2 ] var i = i+1;
0 z# w$ z W9 W" ~6 k) r. b t = lrc<i>.split("]");
; x: Y ~6 i: v Y M if(t[1]=="")
, ?% x/ r8 ]7 }, C: V. u result = getNext(i);. s k; E% ?! I3 I( V; @
else4 |' h( d- W& a& }
result = t[1]4 v* p2 y. q1 G% o* N9 y$ ^
return result;
9 F: Q: B+ f& _" S% o}
$ h |( T. Q [! g$ S3 i1 p5 Y; O! c7 F! R, V
function getTime(str)
* c. l7 c; y# r" q! O6 [. {- x{
* a0 t* A$ n' |! V) `! u9 c var time =0;; [" @6 m ?# E) b" u7 U% e
var ta = str.split(":");" d. |3 c$ @! z" |9 T' y1 }% M4 B9 Y2 I: R
if(ta.length<2)
, K) l! a1 I1 ^6 _; G t return time;2 N. Q' Z$ l( {" ~6 x U
# o. |8 O% Q* k if(ta[1].indexOf(".")>0){7 O" ^/ W. @% \) H# X3 c# h$ V
var tb = ta[1].split(".");! |5 f) o3 F: o# X. ?2 N
time = ta[0]*60*1000+tb[0]*1000+tb[1]*10;# d9 L7 r0 a2 o# |, S- [
}; \+ w6 p; S' Q$ u" Z% w( _
else# F |6 a1 f* E8 r! G6 o
time =ta[0]*60*1000+ta[1]*1000;
4 B- V0 L. L" c1 {* q* A# B return time;
4 N: }4 [' e& n& k4 U}+ A! }1 t. w; z
var preTime = 0;
, \9 f' r% Z7 R" Ivar nextTime = 0;
$ q c K/ Z( F; K" Bvar currIndex =0;
: y7 m& O. e1 ?5 G' ?4 S3 B0 wfunction lrcList(){7 D" e) q/ H1 b9 V- x$ @
var s = parent.document.getElementById("MediaPlayer").controls.currentPosition;
3 r u2 |* s( ~1 k* ~) g s = s*1000;% Z/ c% c. v; l, r0 H
if(s==0){ e& d% o S8 f5 ?& Z1 c Z3 G
currIndex =0;
/ X! X: R! X5 B1 Y $("#list").scrollTop = $("#lrc"+currIndex).offsetTop-30;
/ i, R. ]: r8 l$ P' | O for(var i=0;i<array.length;i++){
) n; _8 w3 p: G" s7 G( \ document.getElementById("lrc"+i).style.color=colorNormal;$ B; J3 w7 y9 C; m' |
}
/ C B: S% d d* I& L return;
4 @0 O) E4 Z' o! k1 c* M }
g, K7 X# x+ G6 _, C' _9 u if(s>0&&currIndex<array.length-1)" k+ M* M5 I- n" |3 ~9 o
{ + E3 q: P8 U2 m9 A) C& `
preTime = array[currIndex].time;
! C% h$ R# l1 c. L/ w - g; }/ h2 u, f, _
nextTime = array[currIndex+1].time;
: ?4 c9 C- Z; p' x5 f: e
* |2 n: w3 [6 @" v2 S if(s>=preTime&&s<nextTime){
8 F! N& `) Y% I) L6 `, i* g3 u* C }
+ ~" [" t3 r3 w else if(s>=nextTime)- o# j1 v9 T4 @$ i5 b! A
{ _% n k3 A! _
document.getElementById("lrc"+currIndex).style.color=colorPasted;6 O) D3 h0 R, T- E5 P+ r4 H; s
currIndex++; X$ `+ U: |& w
$("#list").scrollTop = $("#lrc"+currIndex).offsetTop-30;
. j+ X, f' e( O$ \! K" }) J% ~8 Q document.getElementById("lrc"+currIndex).style.color=colorPlaying;
8 g2 ^/ u! }% J( a lrcList();
% ]0 A4 y4 l! A% i& m v }/ {+ ?3 T0 d6 L4 V% ?) \! _$ m
else{
8 b2 Z8 i0 D. j$ l document.getElementById("lrc"+currIndex).style.color=colorNormal;: P* L: E5 U; U5 y& V) g
currIndex--;
( O; `) |$ k# e7 c$ y6 S $("#list").scrollTop = $("#lrc"+currIndex).offsetTop-30;
, |% h3 p" b$ v2 z% {1 f% u document.getElementById("lrc"+currIndex).style.color=colorPlaying;, @% [" n5 K6 s0 V3 k/ v* h
lrcList();7 y0 W/ R6 w6 ^5 a+ P/ ?
}
' q/ G: m$ D# Q" ~. _+ T+ v% O6 D }3 J5 u$ `7 }5 c" e |
else
. U3 A9 u. T% Q" ^& u2 T7 s+ m {7 e/ t* K* f4 r- l0 s
if(s<array[array.length-1].time){
& J8 O2 s. n* A3 c currIndex = 0;
. W+ e$ b3 t8 O2 n$ |1 N. O $("#list").scrollTop = $("#lrc"+currIndex).offsetTop-30;
7 k. l, B9 Y& D. c& R" @$ q, Q for(var i=0;i<array.length;i++){
/ @4 r- d2 L5 J document.getElementById("lrc"+i).style.color=colorNormal;
0 b4 t) P' R1 Q+ X; ^9 k7 i: W }
/ D$ ]4 S3 y O1 h& w3 Q6 _ lrcList();, ~2 l7 I1 ~* k4 a
}
( V, a* q/ S \0 r }
1 T: {* q) Q3 |' E- [) D! T) T}! h4 c" f0 Z1 l" I
</SCRIPT>
& n: b {; \9 f) h: V3 f) E/ K</DIV></DIV># }1 {. ^* l5 A& j
- H2 I8 e) T! t9 P# C9 O
[ 本帖最后由 幽谷兰 于 2008-9-18 17:36 编辑 ] |
|