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