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