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