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