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