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