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