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