|
|
<DIV id=list>
- Q$ I$ T* `4 S! V* Z: E<DIV id=lrc1 style="COLOR: #666666">[wmv=0] http://lzbj.ncedu.net.cn/uploadfile/20083923248279.mp3[/wmv] </DIV>
. i0 D4 e7 }8 t<DIV style="COLOR: #666666">|等一分钟|听到这首歌,觉得它很动听,旋律很优美,很是喜欢,传上来给大家听听。</DIV>+ s$ h: w* l! J0 u6 U! T& t
<DIV id=lrc2 style="COLOR: #666666">词曲唱:徐誉滕</DIV>% C3 j& R- o/ @( e
<DIV id=lrc3 style="COLOR: #666666"></DIV>8 ?3 J: N& t# F$ g! F' Q
<DIV id=lrc5 style="COLOR: #666666">如果时间 </DIV>
2 e& q$ d7 M% I9 {+ @$ F<DIV id=lrc6 style="COLOR: #666666">忘记了转 </DIV>
+ V3 O8 i5 {3 q1 J/ t! C<DIV id=lrc7 style="COLOR: #666666">忘了带走什么 </DIV>: h5 n9 k: f2 [* d/ b
<DIV id=lrc8 style="COLOR: #666666">你会不会 </DIV>
* C1 k* p: a% h7 s% ?<DIV id=lrc9 style="COLOR: #666666">至今停在说爱我的那天 </DIV>
- u3 r/ N/ V# D5 _; L2 V2 H! P: h, a* ^<DIV id=lrc10 style="COLOR: #666666">然后在世界的一个角 </DIV>
5 m- l9 T- } l* d! M: {<DIV id=lrc11 style="COLOR: #666666">有了一个我们的家 </DIV>
: L; X' {$ ?+ v5 R: V0 s<DIV id=lrc12 style="COLOR: #666666">你说我的胸膛会让你感到暖 </DIV>1 q5 o( e' o- ?7 e
<DIV id=lrc13 style="COLOR: #666666">如果生命 </DIV> S7 G/ X8 \+ u
<DIV id=lrc14 style="COLOR: #666666">没有遗憾 </DIV>2 {5 @& U. N6 b$ |0 R
<DIV id=lrc15 style="COLOR: #666666">没有波澜 </DIV>
& b3 A2 g n1 y X<DIV id=lrc16 style="COLOR: #666666">你会不会 </DIV>
: P: L7 r8 M0 ^( f9 }<DIV id=lrc17 style="COLOR: #666666">永远没有说再见的一天 </DIV>5 {4 l, f8 @0 p* g3 L, _
<DIV id=lrc18 style="COLOR: #666666">可能年少的心太柔软 </DIV>
- x8 }3 S( z, _$ @<DIV id=lrc19 style="COLOR: #666666">经不起风经不起浪 </DIV>% c# @. F1 S) e
<DIV id=lrc20 style="COLOR: #666666">若今天的我能回到昨天 </DIV>- N; r1 f6 s3 _" I% R7 q' `2 G
<DIV id=lrc21 style="COLOR: #666666">我会向自己妥协 </DIV>
/ \" A0 Y5 b9 ]! q<DIV id=lrc22 style="COLOR: #666666">我在等一分钟 </DIV>
z4 j" q# s8 M" C& x<DIV id=lrc23 style="COLOR: #666666">或许下一分钟 </DIV>: H8 \2 t+ q; e7 v
<DIV id=lrc24 style="COLOR: #666666">看到你闪躲的眼 </DIV>
. K3 F, I) v# p: ?1 i<DIV id=lrc25 style="COLOR: #ff3300">我不会让伤心的泪挂满你的脸 </DIV>9 M0 I1 d' R, l6 ` a' H6 i
<DIV id=lrc26 style="COLOR: #000000">我在等一分钟 </DIV>
" @1 G* x; h6 g, }1 w: v P5 m8 J<DIV id=lrc27 style="COLOR: #000000">或许下一分钟 </DIV>
: X# A- O$ S X<DIV id=lrc28 style="COLOR: #000000">能够感觉你也心痛 </DIV>- T% @! C& @; ?
<DIV id=lrc29 style="COLOR: #000000">那一年我不会让离别成永远 </DIV>. ?7 C1 |; q* Y3 r8 }
<DIV id=lrc30 style="COLOR: #000000">如果生命 </DIV>
' T& e" ?, M2 G! _8 [8 N2 ]& [; B<DIV id=lrc31 style="COLOR: #000000">没有遗憾 </DIV>; J* O; L3 e8 j2 T* ]: y' q+ O
<DIV id=lrc32 style="COLOR: #000000">没有波澜 </DIV>
) W V2 t A. N/ C' X2 L* s( Z<DIV id=lrc33 style="COLOR: #000000">你会不会 </DIV>; {4 D! Y; r/ C) Z. ~- Z- z& v
<DIV id=lrc34 style="COLOR: #000000">永远没有说再见的一天 </DIV>
8 m$ A0 ^4 K% ^* o# q2 m8 X8 E% H1 |<DIV id=lrc35 style="COLOR: #000000">可能年少的心太柔软 </DIV>
, L9 J( ?0 U/ F3 L X- r<DIV id=lrc36 style="COLOR: #000000">经不起风经不起浪 </DIV>
4 y6 b6 Z* ~1 t: O<DIV id=lrc37 style="COLOR: #000000">若今天的我能回到昨天 </DIV>& o$ T+ S- Z3 G! m
<DIV id=lrc38 style="COLOR: #000000">我会向自己妥协 </DIV>
6 a2 m: l# N- q R<DIV id=lrc39 style="COLOR: #000000">我在等一分钟 </DIV>% Y. \, \. u8 m, A1 Y) D4 y
<DIV id=lrc40 style="COLOR: #000000">或许下一分钟 </DIV>
2 m- l; B- u; R9 C: J3 l<DIV id=lrc41 style="COLOR: #000000">看到你闪躲的眼 </DIV>
7 v6 E" v' v( d9 W<DIV id=lrc42 style="COLOR: #000000">我不会让伤心的泪挂满你的脸 </DIV>
) N$ `! s6 e, Q5 L5 M) _( Q<DIV id=lrc43 style="COLOR: #000000">我在等一分钟 </DIV>
4 b0 ]" ^9 w/ I# s- G! K$ T<DIV id=lrc44 style="COLOR: #000000">或许下一分钟 </DIV>9 p4 q3 F$ w2 f- p
<DIV id=lrc45 style="COLOR: #000000">能够感觉你也心痛 </DIV>
# [0 q6 O- G- C/ n; Q2 I<DIV id=lrc46 style="COLOR: #000000">那一年我不会让离别成永远 </DIV>
, ~9 S7 r6 ~) S/ v<DIV id=lrc47 style="COLOR: #000000">我在等一分钟 </DIV>
( u6 y* i$ X0 [- I k# l) H<DIV id=lrc48 style="COLOR: #000000">或许下一分钟 </DIV>6 o I( I+ |" V7 M( x2 c! e
<DIV id=lrc49 style="COLOR: #000000">看到你不舍的眼 </DIV>
3 J/ z. M4 j* h1 G9 D6 ?<DIV id=lrc50 style="COLOR: #000000">我会用一个拥抱换取你的转身 </DIV>
4 ~/ W5 p+ j5 t<DIV id=lrc51 style="COLOR: #000000">我在等一分钟 </DIV>
7 c8 j0 I/ S6 N$ |+ _" V% h+ u<DIV id=lrc52 style="COLOR: #000000">或许下一分钟 </DIV>1 Q- } A! t! c' E9 d# [; T4 E
<DIV id=lrc53 style="COLOR: #000000">如果你真的也心痛 </DIV>9 o+ Z; [1 }! ~9 t- S
<DIV id=lrc54 style="COLOR: #000000">我会告诉你我的胸膛依旧暖
g7 |0 C# F6 _- L" m<DIV id=lrc style="DISPLAY: none"></DIV>
% H) k# J3 B, L<SCRIPT type=text/javascript>
) U! A8 G! _$ J7 G7 Kdocument.domain="1ting.com";
% Z# M* r. S9 Yvar colorPasted="#666666";& Y' |, g4 ^3 {, b% y
var colorPlaying="#ff3300";: `( g2 F# h9 O
var colorNormal="#000000";- s- Z) \* w: C: P* M
$ = function (a,g){
$ W Q2 B' p- V0 j/ j# o6 O& I var o = new Array();
; {2 V* |, G7 w" e, {) _ B* J- V var c = new Array();
8 M8 Y- f- R0 _0 T" e var r; 9 p, J' @( O2 v& R, u w
var u;
( S" q3 Q/ W5 {: | E% ~ var a = a.split(';'); / k' O1 ?) e: s+ R# }0 d
m3 h; o0 g+ A7 F5 }) I var e = "keydowns,resize,load,dblclick,click,mouseout,mouseover,mousemove,mouseup,mousedown,inputchange,inputfocus,inputblur".split(",");0 T5 N0 f3 H/ F. c( z) }6 `! m
for(var i=0;i<e.length;i++){
0 P1 D- ?: T7 g9 Z2 V" d eval(e<i>+" = function (s){eval($event('on"+e<i>.replace("input","")+"'))}")
( M2 {/ o2 t2 _- |$ i. t }1 k1 i4 @8 v: s
% t* {' J9 K) q9 e2 ?! F& z8 ?( q after = function (t,d,s){
/ f) r$ b6 B% {; m* g5 e+ ] $after = function (){& P+ g9 @+ R% \5 @3 T7 M! \* p
var $n=document.createElement(t);
7 i- ]" w' d8 a/ w2 b if(d!=null){ Q/ j& b2 J, Z
$n.id=d;
! u1 j* |: u. \+ N& u6 i+ U9 I; r }
# u- Y1 |* O: G- d
: R6 t' y/ k3 i; M T u.insertBefore($n,null)
0 J4 S9 Z1 g/ G7 I& w r = $n;
& q6 V: w0 f( m u = $n; 3 J3 t$ E' }+ e& L
}( o; g) |/ O3 o( a* r/ V; e$ D
$for(s,"$after")% O0 Q4 Z9 Y2 N1 [
}
( j5 G0 p u7 Z. z2 G/ f! R8 E
: j) u% A/ T$ G5 i I9 P show = function (s){2 A- C# N8 g, M8 @+ g% L, y" `! E9 s" t
$show = function (){
- H, l7 u8 [+ W u.style.display!="none" ? style("display:none") : style("display:block") ;
3 ? h1 }& l+ e/ H; |6 O4 G% z }
* d- X2 t$ u6 c $for(s,"$show"); i! q* B( U% C! I: p) s& j
}
, u+ I, ~8 N+ o2 j; u6 U
J2 k" P% P) K& M, ^4 i: J* F, Z check = function (t,s){6 g4 D2 ?5 X% T2 i/ @
$check = function (){
- N3 m4 l9 B5 [: {* H8 w, q' w if(t=="2"){' w2 I9 s U- j( M4 {( j5 ^0 g" ?
if(u.checked){. k* l. N, H8 e
u.checked = false;) j9 W a3 T& E& R
}else{
% [! K3 ^4 o+ z; w: O u.checked = true;
: A- W' e6 T8 V }/ h @) u% N5 f! i. s: h+ a1 l+ P. o
}else{
- y9 O' W. x! p8 H+ o) m u.checked = t*1 ;. X0 \; G0 c' S' n
}
9 E# G: ?3 |: [: H9 V8 j. w6 N }
/ q; i% |5 @7 A; t6 d4 ~ $for(s,"$check")
- \9 a; I1 ~0 M }- ]: N; s8 A) T5 h( c
7 h0 B4 t- u2 J$ H7 Y
style = function (v,s){
# r" l! F5 T9 V) C9 N1 \, ^ $style = function (){( f' Z/ N4 P5 h* [6 ^ f, J+ D
var $n = v.split(",")
7 }% d: [) R3 {1 |0 j$ m for (var i=0;i<$n.length;i++ ){
& U% f" N: s+ J& w/ M- X. s q( @/ w var $m = $n<i>.split(":") 8 {- R- y/ q) g* R; N' j. n; u
eval("u.style."+$m[0]+"='"+$m[1]+"'");
: Y6 n, l1 |- Y+ ^: K7 p' D }
! n, }1 n+ |/ L9 B! z1 N/ H8 o2 |8 s }7 @+ i, i; e( W- `8 i& L( U
$for(s,"$style")
1 k7 L) K1 M% i }$ w) R) N) A: W
: C0 P9 f, h% N9 \4 n: T& i/ W6 @ value = function (v,s){, c' O. z o9 d: U- I9 f
var $n= $this (v);7 m9 ?6 U& N4 s) L' ~
$value = function (){
6 ?) K4 o# \% S% B8 ^6 z u.value = $n
; q& ?) z# K0 R) q }9 B9 A; v3 S/ a/ J
$for(s,"$value") 8 I) B- X0 D- g# e1 O( q% p
}
' z' f3 x" p5 y" B# V, j6 j# s6 I% [, B. {% D
text = function (v,s){; \' `$ ]. T/ q2 n y" }; G
var $n= $this (v);! u9 ]' i. }. e; E" j! J4 j7 v
$text = function (){
% \5 v( p: ?/ [8 G4 b4 m0 _. S / ]5 ^' `6 y/ [* [
u.text = $n
6 x' t/ _. y) ~8 t }
/ G1 l- U8 Q [# } $for(s,"$text")
4 V) B' ]/ L, Y+ C/ \8 N }& M; C; |# j9 n" E" m: ]
: A4 u* ~, f- @! o innerhtml = function (v,s){& }, q1 _0 B/ O2 w! Z+ o3 W. V
var $n= $this (v);
4 A3 D8 L9 M7 l" M+ S. z- ^ $innerhtml = function (){7 N f5 R, W7 U
u.innerHTML = $n+ V' }8 N+ k8 x( F: }$ C
}
$ y$ V: q/ z# A4 z! u' s $for(s,"$innerhtml")
5 H$ Q! e+ a, D }! t$ H5 {( `4 ]; ~: i& g
0 `5 m: X( w* O1 v
removechild = function (s){
& L+ D3 `9 D4 Y3 Q $removechild = function (){# q( j4 n$ V. N, v
u.parentNode.removeChild(u)/ @$ o4 ~9 L( t/ u1 j9 g: S
}( l# E, P$ S! Q8 ~! L
$for(s,"$removechild")
; P! N4 t" u5 f9 h+ O }
7 R5 R2 z' z# ?: L5 Q- s1 \# `0 K, b* V3 l1 O# I
$this =function(v){% I) W! r! c0 i0 K
if(v.indexOf("this") == 0){
, P- n, G- D8 f' z+ m9 A return eval(v.replace("this","u"))
6 P) g7 _" R# n8 ^: v# t( o5 X }
* h6 D$ k6 x- m, J N& x% y return v;
+ k, @# x" Y8 U: X }7 S( B( }: }( ~0 S
; l: I; p& P) t/ W0 F
$event = function (s){
3 }6 w8 c8 r" E var $n ="u."+s+" = function(){$work(this,s);}". ?& u) A. q1 e& J; F+ m3 g
return $n;
+ l; b8 G' H% ]1 J, ]7 ? } q. T' s# P9 W( k
8 `" I1 L& m+ k6 Z! L1 G1 T- u9 w5 ` $replace = function (s){
Q% B1 _, C5 I0 }1 r% k! {( x0 G
9 R6 n2 u) k) Y* a }) e! S- W" r6 n
u1 q2 ~% S6 w" {6 b $for = function (s,c){
^0 ~! z6 ^( D8 L! J" s var $n="this."+c+"()" ;+ R! \: T1 r" b" |1 D2 f' |# d
if(s!=null){5 [5 \9 J" }: h( I6 G0 C! y
var $m =$test(s);3 z! n- K) F4 `; @ \. f% F
for (var i=0;i<$m.length ;i++ ){
1 E9 e1 X- J& s x5 g u = $m<i>;" j8 O/ f* O. Y! W) s* t9 s! R
eval($n);
" @1 T& h1 c3 z; t& _' v }
' U6 i3 @3 m& W& E0 j }3 I1 X. Z; {' T
else{
: R' B7 `4 u: E# n; }- ^ eval($n);
! d# Q7 \- c2 k4 I- M5 z7 i' g }
0 F. n7 t, a0 P1 P5 r# P }! g) v3 M: T# |9 O& j0 V7 }
9 U( z& G( L" c$ d3 ^; X* K; Q
$test = function (a){
6 @# y( `. }, @& ^. X P var o = new Array();$o(a.split(';'),o);
9 @1 e {0 e6 t" ~6 R8 R return o;
2 U; V" x4 c% p }
. {6 ]8 r9 h" ^, D5 H% {
6 n! w! Y4 G' e/ S, A $format = function(s){
2 l- v+ p$ b4 a% G+ K- p a1 Q# i while (s.indexOf("'")>0){5 R* Y' e* x6 O9 a) Y: B
s=s.replace("'","\"");
X! N/ M U0 o* m) e }6 ]; j. U1 G) C2 \
while (s.indexOf("][")>0){
* K* i }; Y1 Y7 ~' }1 S* l6 H s=s.replace("][","','")+ b# s1 n4 `( C- S# l2 ]
}
8 C( {/ g% C' ^/ X* k- ? while (s.indexOf("[")>0){
4 e$ h% [! c% I0 U. I$ n" w% U/ { s=s.replace("[","'").replace("]","'")! N, o+ J* _5 w+ |" G$ j
}
) |0 \+ l) b: h0 u5 J# H' |) D return s;
$ v$ ^% F7 ^. {" c7 q) {" M }
& `& N% F% K# K
; o' W6 c- M2 G' R $work = function(w,s){
# R& G1 r0 b) \2 h, e# o u=w;eval(s)% s) B7 ~/ U8 y
}; D7 p Z0 C/ L) q! [# N
4 `9 S3 y9 v+ T- m6 z m $id = function (s){" i4 C+ d8 D5 F3 U, Z! l
return document.getElementById(s);# R+ \) n3 a! e5 m6 F9 M
}" ]5 }: x* b- q7 F2 g
( Y( e) i. e7 c3 ~+ r
$name = function (s){' k# c* r! q7 g0 ~* T
return document.getElementsByName(s);! f9 i/ F; p& d% x& y
}- F# L) m0 h: p! \+ Q% L% o
: P6 }" r/ L. r! ~% i( [ $tagname = function (s){
% x' l B4 K" O9 n I# J return document.getElementsByTagName(s);
) v% e1 U. k R3 u3 }! t }; P- [' `4 Q4 f& i$ Q2 b
6 [8 @/ \5 |4 [, |) E8 N* }
$o = function (a,o,c){7 M2 S( z l) u
$push = function (n) {- s' N! E/ r' v" x3 \) @1 Z
for (var i=0;i< n.length;i++ ){
, I. m1 W7 Z; ?4 N. e6 }* d/ R o.push(n<i>);0 ~+ P: C( |6 [, Y5 `
}
/ K5 F d f/ V! B y7 X1 T }. t4 i. W; \+ a& F. g
for(var i=0;i<a.length;i++){1 Z) j5 G- j. u0 d" A: @
if(a<i>.indexOf("(") >= 0){1 T: k) N3 A* y; ^
c.push(a<i>);
2 J% T! d6 d9 B9 p2 m1 l9 j, c, K+ N }
) _5 F9 K5 l5 C* }& I2 b, Y if(a<i>.indexOf("~") > 0){
& g5 X6 j V# ?5 j& M8 E( { try {
- _+ a0 `$ S1 X9 N+ ?6 S $push(eval(a<i>.replace("#","document.getElementById('").replace(" ~ @","').getElementsByTagName('")+"')"));6 @! s( O! W6 }- S& p4 q
}catch(e)
3 T9 n: k0 g0 h* o3 N {} + X# A$ I. b1 B) A; t6 m+ \6 s, [/ Q
}8 s% n+ M w% q2 F/ l
else{
6 P- Q1 T/ K5 s if(a<i>.indexOf("#")==0){
* x' a$ t* @- p# q7 F o.push($id(a<i>.replace("#","")));4 Y& J1 v# ^' O. s9 G8 V
}
, S' I; } f) j8 b! ~% k- G if(a<i>.indexOf(".")==0){ g9 q S& i4 V- x0 Y- k/ b. S
$push($name(a<i>.replace(".","")));& [8 N H# q, l. u
}% \5 {7 p9 _ b D
if(a<i>.indexOf("@")==0 ){4 E! D" I' q! L0 `
$push($tagname(a<i>.replace("@","")));
9 C; G' y* B% r4 {/ T* q }1 ?) N5 p) b$ \5 B; D. y0 j* g4 {" D
if(a<i>.indexOf("*")==0){
0 G/ q& s5 P$ B6 n $p= a<i>;
* l2 G+ X3 t7 [1 K if($p.indexOf(".")< 0){
' L" O9 a) `1 G+ k* }+ d3 m $p = $p.replace("parent","parentNode")
9 ^6 S' {7 d* n: k* I: j) U" z }
; i+ k7 d9 r, W+ O var $p ="u."+$p.replace("*","");' c3 D j7 Z+ \. L% j) o
while ($p.indexOf("parent.")> 0){9 ]1 _; [* q; ^8 u, N- X( s* `- D2 Q
$p = $p.replace("parent.","parentNode.")! v* D- K% ?$ `
}
; w# @% J3 \& u1 e6 o while ($p.indexOf("child{")> 0){: r: b" A6 X3 y
$p = $p.replace("child{","childNodes[").replace("}","]"); H: i0 W+ A e! H
}
% F7 @! |( [- ^ o.push(eval($p));
K) J3 [0 E4 A! Y- l }# F! M5 ?( c4 D& k
if(a<i>.indexOf("document")==0 || a<i>.indexOf("window")==0){
1 Y1 [5 T A) K8 Y; s o.push(eval(a<i>));
& U0 {$ y/ i/ ^3 _$ A }
# y3 m+ m4 A( g2 H1 G# F }
( j/ u0 U4 [& B if(g!=null){
n4 t) D% c: \5 m9 f o.push(g);g=null$ v2 f: k" h D
} , H, P, B; y: D" \
}( K- W- y# b# c5 n$ h
}0 a1 m* c; B Q0 n/ Z
/ K5 d3 `5 w- L% b8 }. T( R6 t$ i
$o(a,o,c);
) L- z, A7 V D h
& m3 q( s% f+ K3 x( } for(var i = 0;i<o.length;i++){
, D% ?, j. Q3 A, |' } for(var j=0;j<c.length;j++){7 }8 _" i" @5 H/ T
u = o<i>;eval($format(c[j]));2 L3 m. a0 D" S. W: z
}. E+ q2 ?5 I+ R3 p: J/ x1 F
}* z+ n0 S' I1 j( |+ O. M0 W I
, V7 f% e* r9 W( y# b+ u( B/ ~6 }. ~
if(o.length == 0){# Y) J2 F2 d+ x5 @
for(var i=0;i<c.length;i++){' s/ l) n/ O" d2 f2 U' d
eval($format(c<i>));) _5 {1 @+ |' y9 D5 p8 m& d
}
+ l! b# S+ |' Q } u+ s& H* d$ m. ?% a% a2 t
- z& I- n2 U4 c- O
if(r!=null){
2 }* h* I( O3 E, ~. x/ d return r;; O2 t6 }7 z7 l
}! x- [- b, b% y2 h& A
7 l7 _; E9 }& _& i2 c% H8 ^, a
if(o.length==1){
3 G3 E) L1 l/ [7 M return o[0];1 C. l/ Y' d, ^( M3 s9 a
}/ {; o* ~3 e3 N, {6 U' Q& b8 y, H7 Z
else{* f9 {" U8 y" S1 y
return o$ A6 V* Z0 K9 q3 `& n, y
} 3 B- V& ]$ i9 Z2 ]. r
; T1 e) V3 @1 p3 }( g/ S* e }3 l1 {- V; j0 Z* ^' o
var lrc =$("#lrc;show()").innerHTML.split("[");% s6 I" O' m2 {
if(lrc.length>5){
- k+ { R! U1 X( n H( svar array = new Array();3 s# a9 m6 Y6 n* J! M/ m
for (var i=0;i<lrc.length ;i++ )
4 D1 ~) `! } w{$ x$ U$ @' m% c2 ~4 G* v
var g = new Object();8 w& r* K+ G6 W) b7 e
t= lrc<i>.split("]");' U+ T) M3 f! Z' l: o
g.time = getTime(t[0]);0 B, O9 I% y f
if(isNaN(g.time))0 F$ s+ t# G: ~6 f
continue;9 h& c$ s J- j( I. m
g.c = t[1];+ n; A& k$ z4 {
if(g.c == "")
5 d# ~% W: h: t8 j7 j g.c = getNext(i);
* [# Y; z2 S E9 ]4 ^& `; J+ } array.push(g);
, c; v% |' q( |}7 |7 S, s; Z! x1 d. r8 @7 Q9 N
array.sort(function(x, y) {2 ?6 T% ~ r: M1 u. E, x
if (x.time>y.time) 7 @: V( B1 N/ r; W0 l- S
return 1;3 a+ A( d, [' T" X. ?7 z4 q
else if(x.time<y.time)
5 V9 l* J5 v# u1 _4 D! b) G return -1;4 a1 j3 `1 ?0 X( y8 R
else! F7 j& I3 K* P0 ~5 w& s
return 0;- V2 Q' d7 u: |- b
}
( Y i- s U \) n3 |# ^4 c: k. ?);( e- X6 V0 h k1 {4 u0 n" V
for(var i = 0;i<array.length;i++)
9 Y: E: x. l1 y" b" ?{
) ]- X9 S- B( b& o8 l: d var g = array<i>;: M2 ~6 T0 z" f2 L8 j
if(!g.c){" z( Z& W( D) E) f, S
g.c="";) I# s/ J& H, n8 d# t/ w
}1 B: }# `, h5 t8 @/ {7 e) P
$("#list").innerHTML+="<div id=lrc"+i+">"+g.c+"</div>";& }7 k& A8 f- g
}
+ v! c- G- K! U5 V: `var time = setInterval("lrcList()",500);
2 v) a. m4 K. ?$ V9 ?: R}else{
1 b; Y; z6 B, o) z( o5 V* t0 a $("#list").innerHTML=$("#lrc").innerHTML;% n! v. S2 A4 d9 ~( c5 c
}% | N. z2 i, Y! O5 j9 K0 ~
function getNext(i)( A" w: o& J6 p( x1 x4 j
{
; L( ~1 m0 E0 } var result = "";( {7 \* D" C; s' o5 I
var i = i+1;
2 C! @4 g j/ a/ g7 c2 J+ c3 d9 r4 f: C t = lrc<i>.split("]");/ x( f& }6 B3 K+ `. P' n3 W* O
if(t[1]=="")! B* k/ G. z) L2 t
result = getNext(i);; g) { v/ e+ w+ h; @
else
. k- C! i8 b% K3 z: b& z0 o M. ` result = t[1]
. x1 R) ?4 }1 M' u5 M return result;7 U X) ^8 @4 w0 m
}; ]1 s7 O- ~8 R4 c7 Z3 q
2 B/ ?/ t$ Q* A- z+ n0 _0 U* F- L
function getTime(str)+ s4 d; ~9 d, o
{ s3 }6 {3 d/ P1 i( F3 l
var time =0;2 P/ h) s' K, ?8 h. p9 X7 Z8 V
var ta = str.split(":");
2 P+ D k" w" ^ if(ta.length<2)
6 \: Q/ Y3 d& C+ r; Q* u return time;0 |1 \8 U, @6 w) {5 h
2 O; M ]+ c1 E* o* `: z
if(ta[1].indexOf(".")>0){
5 u, v6 [& v/ K& q1 }5 Z var tb = ta[1].split(".");
" h: d: G# u) K C1 w time = ta[0]*60*1000+tb[0]*1000+tb[1]*10;
' C! y# [: N( B T. o7 E }
" `3 W% e# K" f8 \4 m else% M0 }# I: F* v- p. p8 u
time =ta[0]*60*1000+ta[1]*1000; N3 i% {8 N( {1 n
return time;
4 p- J; L, J1 p1 |/ @3 o}* G7 R+ L8 j% {
var preTime = 0;
, A! \. q5 a2 w3 t: }. m' Y gvar nextTime = 0;+ g3 y' V$ N# s2 g! p0 }
var currIndex =0;
4 P5 U- h+ c+ w% I/ q n% \function lrcList(){
& z C0 U, {* N+ X0 r- n: V# Y& U! F var s = parent.document.getElementById("MediaPlayer").controls.currentPosition;, t6 V2 `/ O2 U, n) S2 x
s = s*1000;- M4 e$ s0 n9 a. j
if(s==0){
/ c0 ^" O3 k4 l% m7 A- x currIndex =0;' \# r/ G5 @) q% b" ~: R* x
$("#list").scrollTop = $("#lrc"+currIndex).offsetTop-30;
. r5 y4 I; d; S# w for(var i=0;i<array.length;i++){
. f& J) d, e7 k% |$ i9 E& l document.getElementById("lrc"+i).style.color=colorNormal;9 z* I/ Q2 I1 \3 X
}
8 ]7 ^ ?% X3 q1 o( G return;8 D! d; ]. j) _1 O6 _ Q, J
}
/ s6 Z! B# @1 v& O+ V if(s>0&&currIndex<array.length-1)1 k& }$ h) j0 @# B2 \ D
{
' E' K( n" Y4 X* X% Y preTime = array[currIndex].time;
" `$ @1 G5 H% [+ R . H# |* J: @. ^- d$ b8 M. q1 ?
nextTime = array[currIndex+1].time;
$ `. f4 H O! J2 h . u* m1 w* M5 R3 y5 y6 |
if(s>=preTime&&s<nextTime){4 f. _( O- X8 P) b" p1 {: H) N" q! l! Q
}3 O2 W2 m8 h" v" U9 c# h6 |" L
else if(s>=nextTime)
1 [% y6 ?4 H! N( C' I8 A {% L W N. J9 I2 f- @: K
document.getElementById("lrc"+currIndex).style.color=colorPasted;
& y5 ^+ Y4 t, x+ `! C- i currIndex++;
5 y. U4 y+ s7 _5 q" j $("#list").scrollTop = $("#lrc"+currIndex).offsetTop-30;
$ f0 r. ^2 z/ V; W document.getElementById("lrc"+currIndex).style.color=colorPlaying;
& K3 R! r$ E9 o lrcList();
: `0 p2 u4 k. {1 k }
: y4 ^: Z6 w. Z! A" C0 F% K else{
e- D1 d% _' A5 C- E3 A& | document.getElementById("lrc"+currIndex).style.color=colorNormal;
* w6 h! V) |$ J$ f1 k( ` currIndex--;
0 R! u7 N( v i $("#list").scrollTop = $("#lrc"+currIndex).offsetTop-30;; t' o+ V# r' A1 W! j& s
document.getElementById("lrc"+currIndex).style.color=colorPlaying;
0 m7 ?0 m4 p% i& T% b$ x lrcList();
7 E4 v/ J2 o! X) Q& b3 S" |9 h } }! q; U3 ]3 L" a
}
) l" Y" c# i& x4 v$ ~: g else& e3 }0 H& e& Q. V }) Z/ A7 u. i
{4 s% |% e9 K5 r( j
if(s<array[array.length-1].time){
* [( J6 {4 d- B5 F* y currIndex = 0;$ _; E4 \ ?5 F
$("#list").scrollTop = $("#lrc"+currIndex).offsetTop-30;; i7 C5 a. d, Q/ ~6 r* ^7 Z
for(var i=0;i<array.length;i++){, O- ]$ z4 Z1 _
document.getElementById("lrc"+i).style.color=colorNormal;
d/ _( l! q( O4 P( P' @ }
9 G. u) O, b) W' ]& c8 [* H0 z lrcList();2 l5 O5 \# U' M
}% w5 f3 G7 e4 b# N z0 k5 O
}
5 K% G [: F* O9 v}9 ?8 D7 P" w$ S1 L/ K5 M: b9 Q
</SCRIPT>
, d4 y( }( K' f8 {/ j) v6 t# _</DIV></DIV>
* p l. K; y$ u% X$ y. A: y
, A" e, J. [9 \9 l3 `[ 本帖最后由 幽谷兰 于 2008-9-18 17:36 编辑 ] |
|