|
|
<DIV id=list>4 S2 A4 h# i. l" d7 |, e/ |6 M3 W
<DIV id=lrc1 style="COLOR: #666666">[wmv=0] http://lzbj.ncedu.net.cn/uploadfile/20083923248279.mp3[/wmv] </DIV>
! _; n2 Q+ q8 A, A: J* t<DIV style="COLOR: #666666">|等一分钟|听到这首歌,觉得它很动听,旋律很优美,很是喜欢,传上来给大家听听。</DIV>2 Q3 H" ~1 G" k$ E! Z* q$ V
<DIV id=lrc2 style="COLOR: #666666">词曲唱:徐誉滕</DIV>" F$ x* Z* P# \% k( _
<DIV id=lrc3 style="COLOR: #666666"></DIV>
: _1 t) F: z/ n e/ L d% u2 a( h<DIV id=lrc5 style="COLOR: #666666">如果时间 </DIV>
: P0 O# u* \+ e% s<DIV id=lrc6 style="COLOR: #666666">忘记了转 </DIV>9 E) c0 T2 h3 m# M9 J
<DIV id=lrc7 style="COLOR: #666666">忘了带走什么 </DIV>
6 F: r4 S8 F& C4 K7 N* x) i<DIV id=lrc8 style="COLOR: #666666">你会不会 </DIV>
& }: D, v* q" t' C<DIV id=lrc9 style="COLOR: #666666">至今停在说爱我的那天 </DIV>
: e3 J$ \5 ?5 l7 L' p6 P5 q<DIV id=lrc10 style="COLOR: #666666">然后在世界的一个角 </DIV>' S( V. A( u d, [
<DIV id=lrc11 style="COLOR: #666666">有了一个我们的家 </DIV>( w- W5 D: m/ {& t) |8 A
<DIV id=lrc12 style="COLOR: #666666">你说我的胸膛会让你感到暖 </DIV>% R! U; g1 ?% y+ ]/ U
<DIV id=lrc13 style="COLOR: #666666">如果生命 </DIV>
" i2 z# |$ o) t' Z<DIV id=lrc14 style="COLOR: #666666">没有遗憾 </DIV>
8 {0 G8 e; c9 d7 f9 M8 z( R<DIV id=lrc15 style="COLOR: #666666">没有波澜 </DIV>8 n7 l! D8 Y+ {" e6 e0 D" G* |1 a
<DIV id=lrc16 style="COLOR: #666666">你会不会 </DIV>
( u; L- L3 r5 u<DIV id=lrc17 style="COLOR: #666666">永远没有说再见的一天 </DIV>
. o9 l6 @) y4 _. S, w2 _<DIV id=lrc18 style="COLOR: #666666">可能年少的心太柔软 </DIV>
# C+ I$ ?# T! X$ }<DIV id=lrc19 style="COLOR: #666666">经不起风经不起浪 </DIV>' Z* g1 u( L% s" x
<DIV id=lrc20 style="COLOR: #666666">若今天的我能回到昨天 </DIV>
4 ~! {) a( ]' x( D& j+ P" F<DIV id=lrc21 style="COLOR: #666666">我会向自己妥协 </DIV>
3 ]% S5 q% ?# P5 k- }6 m1 Y<DIV id=lrc22 style="COLOR: #666666">我在等一分钟 </DIV>
/ \ F4 q- e( t! N4 q<DIV id=lrc23 style="COLOR: #666666">或许下一分钟 </DIV>- b' J' F) t% W3 F
<DIV id=lrc24 style="COLOR: #666666">看到你闪躲的眼 </DIV>' ^* ?6 ?. `0 M
<DIV id=lrc25 style="COLOR: #ff3300">我不会让伤心的泪挂满你的脸 </DIV>
/ m! a+ A3 d6 e<DIV id=lrc26 style="COLOR: #000000">我在等一分钟 </DIV>- o/ J: H- Y0 t% P$ f( {5 B
<DIV id=lrc27 style="COLOR: #000000">或许下一分钟 </DIV> Y' s! ~! s+ }4 f% e
<DIV id=lrc28 style="COLOR: #000000">能够感觉你也心痛 </DIV>
2 b' O; h2 a& H9 f<DIV id=lrc29 style="COLOR: #000000">那一年我不会让离别成永远 </DIV>& c) K2 s* @0 f4 s5 `4 y& p- ^- }
<DIV id=lrc30 style="COLOR: #000000">如果生命 </DIV>* z7 y+ |6 Z1 ]5 D9 C/ L
<DIV id=lrc31 style="COLOR: #000000">没有遗憾 </DIV>& r6 O6 I6 G3 b2 j8 z* w
<DIV id=lrc32 style="COLOR: #000000">没有波澜 </DIV>7 v* [- d2 L0 o
<DIV id=lrc33 style="COLOR: #000000">你会不会 </DIV>* m% l8 t% o7 U0 s5 R2 G1 M% T1 w
<DIV id=lrc34 style="COLOR: #000000">永远没有说再见的一天 </DIV>
' ^2 u1 f7 g7 R; y' V1 j<DIV id=lrc35 style="COLOR: #000000">可能年少的心太柔软 </DIV>! l2 l$ d4 l0 [' W, x+ s
<DIV id=lrc36 style="COLOR: #000000">经不起风经不起浪 </DIV>
' [! ?( G" n1 a; N8 `<DIV id=lrc37 style="COLOR: #000000">若今天的我能回到昨天 </DIV>7 O0 A, A3 z9 [
<DIV id=lrc38 style="COLOR: #000000">我会向自己妥协 </DIV>2 `) E" Q8 i* f; A0 Z; A% T+ @3 ]4 p
<DIV id=lrc39 style="COLOR: #000000">我在等一分钟 </DIV>- n, N2 l ]5 i3 X
<DIV id=lrc40 style="COLOR: #000000">或许下一分钟 </DIV>
* ?2 |/ q2 e V) o<DIV id=lrc41 style="COLOR: #000000">看到你闪躲的眼 </DIV># E; U9 f+ h$ |* r
<DIV id=lrc42 style="COLOR: #000000">我不会让伤心的泪挂满你的脸 </DIV>
: R- R* D. P$ [$ a s- P<DIV id=lrc43 style="COLOR: #000000">我在等一分钟 </DIV>
3 w+ ~* A7 x, Z T. l<DIV id=lrc44 style="COLOR: #000000">或许下一分钟 </DIV>+ x$ B$ K5 `9 |
<DIV id=lrc45 style="COLOR: #000000">能够感觉你也心痛 </DIV>
- L( o$ x6 v& e4 q0 C<DIV id=lrc46 style="COLOR: #000000">那一年我不会让离别成永远 </DIV>
" \1 n# D ~ g# e6 \1 i<DIV id=lrc47 style="COLOR: #000000">我在等一分钟 </DIV>
% E! C. n3 \4 _& p: ~( @- C<DIV id=lrc48 style="COLOR: #000000">或许下一分钟 </DIV>
1 y, n* t! ?4 `<DIV id=lrc49 style="COLOR: #000000">看到你不舍的眼 </DIV>
2 Z/ A1 V3 C" W: B# _0 O% {<DIV id=lrc50 style="COLOR: #000000">我会用一个拥抱换取你的转身 </DIV>
2 ?1 E/ p$ V' \0 z$ n<DIV id=lrc51 style="COLOR: #000000">我在等一分钟 </DIV>
- {7 C0 I2 k8 N0 F+ ^" a/ V2 }<DIV id=lrc52 style="COLOR: #000000">或许下一分钟 </DIV>% u3 Y2 v# F- }; j# a
<DIV id=lrc53 style="COLOR: #000000">如果你真的也心痛 </DIV>1 ?. Q2 G0 M, E1 U1 u6 B
<DIV id=lrc54 style="COLOR: #000000">我会告诉你我的胸膛依旧暖
* j" J; e- {7 G; N<DIV id=lrc style="DISPLAY: none"></DIV>
5 e6 \4 y2 }5 ^+ |3 {4 t ?+ e<SCRIPT type=text/javascript>$ H8 S' c8 w2 d2 c; l" B
document.domain="1ting.com";! @/ {, { P5 `+ v
var colorPasted="#666666";: ]' x4 [+ Z. E4 z
var colorPlaying="#ff3300";# i, n- Z6 i% \
var colorNormal="#000000";3 c5 v: k" T8 o) A$ S' b
$ = function (a,g){! ~) A. ?: L! V K
var o = new Array();
9 I' c3 Z! L: p5 J, F' x1 [" u var c = new Array();
, A: u; h; j5 O( r V2 I7 f var r; 9 x9 @1 p/ L3 J7 |3 \
var u;
9 [0 u1 C& g1 { var a = a.split(';'); P! W: _3 R( e
2 k- N3 f7 I' c3 l( H. u
var e = "keydowns,resize,load,dblclick,click,mouseout,mouseover,mousemove,mouseup,mousedown,inputchange,inputfocus,inputblur".split(",");
. h- e/ S6 m) n \: k. Z7 `5 Y" B for(var i=0;i<e.length;i++){
" Q7 @2 T) ]& Z5 W+ ~ eval(e<i>+" = function (s){eval($event('on"+e<i>.replace("input","")+"'))}") O3 O. W H6 d- q# {3 x
}. n) h4 P6 M9 W) U4 G* c) o6 P
" t: N( F/ b G
after = function (t,d,s){
9 [: u: f8 W+ c. o) W% q; w $after = function (){
0 V1 L; @+ O% `, | var $n=document.createElement(t);+ J( _" N1 F% ?" H
if(d!=null){
1 O5 s+ k* y' _3 c/ ^8 t; f $n.id=d; + R5 k9 j ^2 H- H( { y' X
}& M" P" F d( G2 U2 A" v- @) f
" g( L0 Y' M' W" t% J) _5 { u.insertBefore($n,null) 0 Z- m1 Q: ]6 ^
r = $n;
1 r! U; L' v0 K; @( a* q u = $n;
2 B# G3 Y* K5 A) Y+ M* s }3 U" h! ?5 }6 h8 i
$for(s,"$after")
' P, }6 n$ I/ ~ }
# g* h; e K5 e1 D% J' s# W5 w( j4 l- Y& Y0 b
show = function (s){8 k0 [( ^1 b7 B5 s. D
$show = function (){. X. G4 s9 J$ r8 c2 Z5 m
u.style.display!="none" ? style("display:none") : style("display:block") ;) i) _! }" W! o" H2 g
}& e: T8 K7 c! ]- u H
$for(s,"$show")
! w7 e1 V& q( \2 Y }$ m1 n$ @! d& U! q5 n' F
S$ u$ N% O. Q8 ~% t
check = function (t,s){* j8 W( r8 V$ C( X' C) W* @& g
$check = function (){. L% a7 Z) |8 O4 _5 Q. B2 C+ r
if(t=="2"){
; n0 |! T& ]3 R( z( S5 N, c: g2 f if(u.checked){6 D* i) `6 _6 \; o
u.checked = false;3 O0 j: ]2 z. \8 n* k
}else{
& X# |" r6 r- F( i: y( K u.checked = true;
4 ~4 c6 l; N, l# s( A+ n }1 A9 e$ O7 {. A$ A) ~
}else{1 \1 u/ G1 g1 r8 J% W" j6 W
u.checked = t*1 ;
+ t6 R/ ^* g9 x3 W+ R; } }9 o! J4 z+ e! `
}1 l" l1 y9 P3 X# B2 B
$for(s,"$check")
6 t2 Z2 K: o; ]6 W) O }3 p- t5 N% z/ R5 w9 ^ A
: e/ d7 ^9 h0 [4 L5 m style = function (v,s){
2 E9 G5 a+ J, B Y $style = function (){
, z; y' }# x# m var $n = v.split(",")
m/ H+ w& R# t% n7 {8 l for (var i=0;i<$n.length;i++ ){! m, n4 D+ E( L: |" a
var $m = $n<i>.split(":") 4 m% f# b5 T. l5 l3 N
eval("u.style."+$m[0]+"='"+$m[1]+"'");" T9 F$ ?( |. n
}; T; h+ m) Q H3 v$ Q, H
}5 }) l2 w! O8 X4 O/ O7 n
$for(s,"$style")
' x* S( a x8 G- h& U/ j5 ]2 ^5 d }& L7 M; X1 }( X A0 j& d
* i# `( k( r+ j value = function (v,s){
2 W* r2 I/ ^3 h var $n= $this (v);" `. Y1 Z) {" E- k% w
$value = function (){, G" I+ ?; Q% s8 s
u.value = $n
& Q( M1 J$ l. r( h }
: d/ h1 `) N {: F( ~: n $for(s,"$value") # n/ j; x! B- Z( C- a
}
! I) F* I7 \1 W! V
" x! f/ q1 t @# K text = function (v,s){& `, U2 a7 }( `5 n( [! o( v; j% u
var $n= $this (v);
1 }/ h7 l: m5 s9 C8 G2 b $text = function (){0 d( y: r' ?; ^ I0 n' W
8 l( R' O2 a# e- d0 G( `1 \ u.text = $n1 }" v# S- m4 q' n# ^0 j+ b
}' t9 m% Z3 f1 Y$ Z# x$ L" g% j
$for(s,"$text")
: D0 Y! [0 M& {- g7 X% E6 m$ v }
/ v' B" x: s, Q3 g
1 A/ J9 n! c/ N$ ?0 h, A innerhtml = function (v,s){
+ {: ^& _- g1 ^" S6 e! \ var $n= $this (v);5 C% N; l4 Z3 b' z
$innerhtml = function (){
5 H2 v& z; ]- d3 m. d0 U6 D u.innerHTML = $n' O* u9 M2 r! c. y4 q% a- B4 h: w
}0 y) ~. k2 g2 ]+ `
$for(s,"$innerhtml")
" ~; ?. L# \7 R/ w7 R# y+ e/ S }
7 @/ M, l) w; B5 C6 I0 n u
$ H- d# G0 p2 ?; S, s. c V; n9 h removechild = function (s){
' b+ Q1 ^3 X( H# C $removechild = function (){ u$ y3 |, a- T J4 I* ~
u.parentNode.removeChild(u)
' ~* s6 _% n! E2 ]0 X8 W- b }8 D; B8 ~& W& U" W) E6 m
$for(s,"$removechild")9 v1 s% _) A5 c- z9 K
}
' y5 u2 w" ^. E$ i* G0 e
8 q/ e8 s% x1 b, V4 ^! c; O$ W $this =function(v){0 H% Q) H+ Q" b
if(v.indexOf("this") == 0){
* D/ N% |: s& `9 J return eval(v.replace("this","u"))
/ o6 ?. t! d' ~$ D% N; D }
5 I. W9 J3 R$ ?) ? return v;+ q( F+ W- a& E. \. [4 G4 u+ A% w$ ~
}) L( m" B9 f$ S
1 M+ t" D8 |0 I8 D $event = function (s){
7 [! U( t: y. \6 P( V$ n: D6 Z% | var $n ="u."+s+" = function(){$work(this,s);}"5 F4 L6 N3 h7 T# P- R9 Y
return $n;
' x) f; S& _+ V8 J' u }* p ?+ P+ k/ d u* Q; Y7 Q
- ?) K0 V; u; a, B1 G7 Q $replace = function (s){
4 Y4 R' ^4 i$ D6 X; }! K# }" D& S
}
4 c' ` J! c X7 f" ]8 X& v
5 c) z: _6 L2 i4 @( x2 c7 W' a& ? $for = function (s,c){6 z8 G% N. J+ R: k9 o
var $n="this."+c+"()" ;) o2 @9 K' y/ l
if(s!=null){
3 Z) r% d, L" P4 w var $m =$test(s);
+ x9 d% J$ R* w4 p for (var i=0;i<$m.length ;i++ ){
% t- m) J9 }' @2 V7 j u = $m<i>;
# ^+ a! Z) U# `% Q5 g; ^ eval($n);
+ [7 M2 c, Y* F' @+ y6 p }5 G& g7 L2 v- e. e8 F
}
2 _; o# Q4 U2 n% V0 S else{( P- W7 U+ @0 q) U: f* I
eval($n);0 @4 K/ a$ V: \9 R* D$ Q I
}
8 I6 V0 ^; v2 _ }% m5 O! ], P Z, p
" f+ y. r1 x9 c( l) f9 ]" H3 { $test = function (a){
3 d) _: d& p! \# w) a$ P var o = new Array();$o(a.split(';'),o);6 s7 H- g4 t) ?
return o;
% Z2 U. q0 ]+ v/ l e2 D" R0 P }$ ?. A; U6 {1 r( S5 l
0 X* S2 y5 J% l0 W0 P" ]: Z $format = function(s){
7 c, |% v: w) F% ]9 c; Z& @ while (s.indexOf("'")>0){
# E; @) y' Q, v' L, y; b s=s.replace("'","\"");6 i: p' N! V0 F. E5 Z2 P
}
: x- v+ t( D5 u5 G while (s.indexOf("][")>0){; G- g8 Y4 ]: K# s- c: h
s=s.replace("][","','")" c5 x3 v) F* I% [( y
}' n- V; |8 |7 z$ ]1 n
while (s.indexOf("[")>0){$ U1 c# T- Q; i
s=s.replace("[","'").replace("]","'")/ z. k) w! z" ?
} $ {6 T9 T8 c) L; I
return s;
* u$ U; ~$ v( T! O4 k% R }
2 h+ m* t5 R8 I3 Z0 g, `& g2 T- w
$work = function(w,s){/ ~5 G6 u, p8 Z( o: {8 k/ r
u=w;eval(s)) ~; [) u7 o5 a) i( b
}% q x: q, \2 ^9 K
) J" o3 y3 U1 L+ p' y $id = function (s){$ z, o! P' J2 t- F+ b; ?
return document.getElementById(s);
/ W% c: N* @& K6 x) o8 S }
+ K; j! O+ B/ P6 P _) C2 H
* \3 o7 a4 W3 M6 u $name = function (s){
5 l, N+ B2 w+ G& l! y% _! o return document.getElementsByName(s);1 W L8 b1 _* W( ~" Z. `$ T
} L/ g5 u3 w5 _8 j7 U8 K
* P/ ~- d7 n0 `- N( E/ p; y
$tagname = function (s){% h, { q/ h3 z/ P
return document.getElementsByTagName(s);
0 C6 s( {: ~9 ~6 m' \6 S* }$ @( g& K }1 F3 x: M: B8 g- E
1 [# y/ v6 R4 l% I7 H8 _# ?
$o = function (a,o,c){
" Q: |6 w, ?! j% t% G; s" @8 M $push = function (n) {
; W' b- A4 G3 O- S- q. |# i for (var i=0;i< n.length;i++ ){
: x. K/ }5 A" M o.push(n<i>);
. c6 D% z+ u1 L5 g u0 H3 |: ] }
0 \0 k( L% I3 H# }( m }
9 `3 {# J# r; r( t' E for(var i=0;i<a.length;i++){# e+ F0 c. U9 j/ u. ]/ A! I8 W
if(a<i>.indexOf("(") >= 0){
' P3 q' \; R6 { c.push(a<i>);- J' L8 \; f# u1 B# p$ ~
}
! L# X- j& \" S- _3 e. X$ P if(a<i>.indexOf("~") > 0){
* Q; N' d/ e2 |# C2 A$ T try {. q! y$ z- D8 T- Z4 Z! x- i
$push(eval(a<i>.replace("#","document.getElementById('").replace(" ~ @","').getElementsByTagName('")+"')"));
( a% K: \8 z0 Z9 b }catch(e)
1 J8 A# Z: J F! k4 S( k {} 6 i/ }* p7 }1 a- S& a
}
5 p" } F8 R) M h! r9 V7 | r else{5 u: U) y7 M q" {2 v G
if(a<i>.indexOf("#")==0){
+ [0 X/ w( V: C! Z, p o.push($id(a<i>.replace("#","")));, A1 h L: i' s
}
+ J3 A5 R2 }! D U0 g% f" i' T* T- | if(a<i>.indexOf(".")==0){7 |, ]& w4 U% V% `8 L2 V* ~
$push($name(a<i>.replace(".","")));
P/ c! u' {3 J0 o. _: A6 o }
# e; c% K, O) @ `" F' {& M$ W if(a<i>.indexOf("@")==0 ){
# G- ~/ ^8 j' t3 _4 \+ S $push($tagname(a<i>.replace("@",""))); v/ ?* | Q y0 ^6 j
}
! _9 ]+ B! `& F if(a<i>.indexOf("*")==0){2 E2 |. {) b% U
$p= a<i>;+ ]; u8 V, ] r# ]. [4 C
if($p.indexOf(".")< 0){ Q4 A& R; L+ ^( r9 N
$p = $p.replace("parent","parentNode") U, e) e, I3 q3 M( A
}
$ v" V! z' j) p8 W var $p ="u."+$p.replace("*","");4 @8 t+ Q7 g5 F, v' D3 j
while ($p.indexOf("parent.")> 0){
5 H3 P& M6 z8 @% S+ G- U, t0 j $p = $p.replace("parent.","parentNode.")
( g$ m# N3 E. {' i1 H3 k0 v) ~3 c8 f4 M }
8 N# u; i; ^! O. K% ~9 ~4 m while ($p.indexOf("child{")> 0){, C$ p# C2 z' m1 t8 [$ j- T
$p = $p.replace("child{","childNodes[").replace("}","]")
, ~, o2 m, l E. J E+ x! [ }
& A6 W; i: u1 ]+ H$ `+ ? o.push(eval($p));6 m& Q: P9 [* ]' Z( i7 }3 r
}
: Y1 R2 B) u6 @ i2 F; M if(a<i>.indexOf("document")==0 || a<i>.indexOf("window")==0){" H% J8 d; v' t: H2 @6 a; s
o.push(eval(a<i>));0 v; c, c9 z9 O1 P3 b
}4 d( N" l o& R6 |6 A4 x
}( R& l4 p: q- E* u* b# k- y
if(g!=null){
3 D2 Z7 [4 ^6 |; z: i/ l# s1 u. ^ o.push(g);g=null
; g2 A( `' A: p; P } 0 e$ y/ T" \9 g6 Y+ O& g
}
6 ~! K6 j" P5 r, F" r }
, H# z! s" w, {. l* g. `' U: O- `! K q' b1 R& s' g/ ^
$o(a,o,c);
7 _; L9 b0 W' @& u( q# f8 e8 m& r8 W | X5 S% E4 A# R" H/ v. }
for(var i = 0;i<o.length;i++){6 S; g! K" j4 A% |: `
for(var j=0;j<c.length;j++){
2 U! q! H' k9 z4 Z9 Y8 N+ `/ X, ~ u = o<i>;eval($format(c[j]));
7 V( b9 b2 X8 A2 L& | }6 J# S1 ]4 [2 P4 g
}2 A+ i4 K; X. I1 E
4 \' w O/ B7 ? if(o.length == 0){
O6 h6 |3 t' K/ U0 _- m for(var i=0;i<c.length;i++){& X" G: m% }5 r/ J& A7 a
eval($format(c<i>));: u9 A6 V! m0 j. v0 h) v
}% L% c% U9 k" l, r% k: w& U
}1 u. |5 Q; _* E% |# a/ \" T
2 Z% E7 _9 o( D) p5 y$ T/ i
if(r!=null){
0 f- c- {1 |& h! x7 v- o; G3 f8 b return r;
: `2 F5 K' }/ v$ K! c }0 m+ |/ E0 P# R4 `- f- h1 X
" F* F4 q! |: i( }! b4 X7 s if(o.length==1){
8 b$ e' z; [! j# y8 w- m% j/ } return o[0];
( [) C. ] I3 | }! |7 a* s* u4 t( @ n" a
else{
) w3 z+ z$ |* U+ ~( i1 n return o
! u) T( e9 h: o$ J/ d } 2 G" V7 B' Q7 z
, z8 g: m' _; w
}8 `* S' @5 B# s4 B" j
var lrc =$("#lrc;show()").innerHTML.split("[");. N* ]% z1 A& L' t/ X
if(lrc.length>5){
' D& h5 o( X( Q% I) k* w/ jvar array = new Array();; T8 x; N& A# P& y: @
for (var i=0;i<lrc.length ;i++ )1 j9 M2 t* ?' y+ A, E
{' a1 L% b# G8 l! N
var g = new Object();3 X5 d+ ]3 a) s z( N$ Z3 }
t= lrc<i>.split("]");
! I- G: g( [2 Y7 _, J1 B g.time = getTime(t[0]);
$ p: G: @# ~& @9 w6 v if(isNaN(g.time))8 |: ]# S" L: e; ^% L7 F* R& {
continue;1 D/ f# W) K7 ]+ _) U* O
g.c = t[1];8 x* Q& A2 @! J# c5 V, Y) y5 ^4 k
if(g.c == "")
$ s4 L" q+ r) n. {0 | g.c = getNext(i);
* s; D, N6 A4 b1 M5 n+ _, d+ y8 W array.push(g);; S& B* ~0 a5 v
}
% z0 h7 d* M2 g& B3 yarray.sort(function(x, y) {* q9 j, S% f, e
if (x.time>y.time) 5 H8 d/ p3 m" Q ?2 f
return 1; V4 g1 D' d( T$ s
else if(x.time<y.time)
8 H7 ^" ]$ w6 l return -1;
, J* f. g' F! ]& [& u, q( a# D else6 `6 f! P$ C% Z. q( z6 v3 m
return 0;
5 W0 k7 L( \; [4 U2 B2 W } + O4 L, L3 B, o# s" W3 O
);) z7 [4 V3 w5 i- M
for(var i = 0;i<array.length;i++)9 P, I2 O- G- V5 }% C6 }
{% Q, j' `" X' w. Q
var g = array<i>;
* h" t) N4 S9 y$ ]+ A$ e, ] if(!g.c){
# u! B6 Z9 ?3 [ g.c="";5 ~! l- S6 n' M3 U
}6 `0 R8 o+ x2 W& ?0 q
$("#list").innerHTML+="<div id=lrc"+i+">"+g.c+"</div>"; Z7 i% u! W, b$ U& B0 X
}
3 ~, Y& ?; l. {# {; svar time = setInterval("lrcList()",500);
) ?: X. g& g$ v4 [! ~: \+ e- a! D: p}else{
/ |6 ]3 q) o0 \& @& p2 T4 Z $("#list").innerHTML=$("#lrc").innerHTML;
; i% [: Z" g" \2 Z: j3 L" [}
u' h9 f. z9 q5 B- c0 g2 C/ Efunction getNext(i)
7 J, }1 X1 [9 j% h z{
; V$ r+ k: |! C- D9 o3 Q$ Y3 h3 } var result = "";
# H7 k% q2 T, _6 Y9 d+ r4 D var i = i+1;
2 G9 x. Q) |, y( ]8 S t = lrc<i>.split("]");
( T# [, r; f# \" d if(t[1]=="")
* `$ }, T* C! t* r result = getNext(i);
! M# \ j8 V1 _) t else; `" o7 [; f! U
result = t[1]
7 Z. j5 N. |' U return result;9 Q4 o' w5 a* k& _( s. f R
}. J0 Z1 G. D3 p! ~
. s) c) w9 ^. Y! S1 Pfunction getTime(str)
! U0 p5 V4 R( Q6 I{
% k% O' T3 k6 M var time =0;
# o5 Q, @6 _3 X R1 M6 o b4 m var ta = str.split(":");
* }# r8 B& k0 f$ \# ? if(ta.length<2)
2 t% J- D. E& g return time;: t6 M- c- R" ~; y1 ~' k
% {8 M& V1 D7 Q% M' } if(ta[1].indexOf(".")>0){+ E1 J* |. k: \) {4 ]
var tb = ta[1].split(".");% X% q# ?1 [, v
time = ta[0]*60*1000+tb[0]*1000+tb[1]*10;. g) O3 O4 Q) Z* A; o+ R4 Y
}
6 _0 `. [9 j6 S* u. U+ l else, |( q2 z, ^, K& k% g
time =ta[0]*60*1000+ta[1]*1000;
& q, K: Q9 j1 W3 v8 K return time;; S2 z0 F3 f2 O6 M8 j
}) l5 S5 U; e6 L9 `
var preTime = 0;
' R+ Q+ \" S) |( B$ o7 S8 ovar nextTime = 0;
8 d* u- n: U" Jvar currIndex =0;1 P$ }& L5 Z4 Z+ Q$ H9 H
function lrcList(){
/ m( s& h: M$ U# x8 p% s3 v var s = parent.document.getElementById("MediaPlayer").controls.currentPosition;
4 ~4 f R# T& t4 w5 y s = s*1000;/ ~2 Y) |$ k' F7 w @
if(s==0){
4 \: r c' i5 b( ^ currIndex =0;
6 y4 I+ X8 P# C1 d $("#list").scrollTop = $("#lrc"+currIndex).offsetTop-30;- H J& g! O/ W" Z
for(var i=0;i<array.length;i++){" d7 O9 W/ ?! \
document.getElementById("lrc"+i).style.color=colorNormal;
7 s# }8 e' C8 a, G" q! H! J }/ N: y2 ]3 x/ {( E2 L; t7 s% i
return;+ J# }' O$ _0 T& j6 G) b
}( _3 z6 w3 D1 c; g3 U9 M
if(s>0&&currIndex<array.length-1)
) m( U, e' P& i- B( h4 t { 0 K) ]! ^6 Y0 ~
preTime = array[currIndex].time;1 I: D' G6 l) }# h5 G& P3 I: x
2 i: W. V: f5 V
nextTime = array[currIndex+1].time;. N( u4 L: O; }$ Z! z [3 u- F
% k8 E( O* Y, g& J" v2 v! d if(s>=preTime&&s<nextTime){' G4 ~; q8 q! x3 D
}, v- K' V, s* \* W- ]# x) V
else if(s>=nextTime)% W+ k# c7 Y- N( @' i
{
. [. T; n$ k8 d l9 r document.getElementById("lrc"+currIndex).style.color=colorPasted;4 u# `5 ^. w" g- { k
currIndex++;/ Z4 V- c% [0 b
$("#list").scrollTop = $("#lrc"+currIndex).offsetTop-30;
r7 R- [- m; d! k C0 D7 R document.getElementById("lrc"+currIndex).style.color=colorPlaying;$ Y- m' w( Z: P' m7 i* r+ c
lrcList();
5 ]4 M. r# [' n. L }8 t1 q7 y! K7 n4 `/ ^
else{* X# l- W) s! h
document.getElementById("lrc"+currIndex).style.color=colorNormal;/ `/ r+ j' O8 P; q: A
currIndex--;
* \. H: e; v( m7 ?0 N1 Y5 [ $("#list").scrollTop = $("#lrc"+currIndex).offsetTop-30;6 H- A- D* K: X
document.getElementById("lrc"+currIndex).style.color=colorPlaying;, b4 v& E; O! k3 D7 L$ s& }9 W J7 e
lrcList();5 ~) w0 Q2 n# ]
}
8 {" z+ M# a+ Z. n7 E. j1 A }
3 w. R( y7 w2 e% y else5 s {7 W" ?. Z5 l9 y
{
: d" |; M' \+ D& S3 C if(s<array[array.length-1].time){
& [6 g' H# I, e* X% f, x6 e currIndex = 0;
2 @5 g3 {4 H4 q" N/ G+ H% U $("#list").scrollTop = $("#lrc"+currIndex).offsetTop-30;5 O8 }/ Y5 ?& H- A
for(var i=0;i<array.length;i++){
8 M# B4 Z# ]- q% U% \/ Z; L document.getElementById("lrc"+i).style.color=colorNormal;. j! e \. z U* q
}
) ~# Z2 f; f* ^8 I/ A3 s lrcList();
% _; s" A/ Q, K! @ }- y" ]) X' r+ ~3 T8 E; i$ w
}
) H$ R0 ]" w$ c6 s+ x+ A2 ~}
4 U M. w. I( S3 Q. @' x</SCRIPT>' U1 O$ o4 O' v6 ~
</DIV></DIV>
) ~2 l# w R8 Y8 S2 h2 L# z3 f E2 c* v& r* z
[ 本帖最后由 幽谷兰 于 2008-9-18 17:36 编辑 ] |
|