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