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