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