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