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