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