|
<DIV id=list>2 y+ a4 y. @, d2 Z
<DIV id=lrc1 style="COLOR: #666666">[wmv=0] http://lzbj.ncedu.net.cn/uploadfile/20083923248279.mp3[/wmv] </DIV>
- L1 s2 A# i" G$ G9 b<DIV style="COLOR: #666666">|等一分钟|听到这首歌,觉得它很动听,旋律很优美,很是喜欢,传上来给大家听听。</DIV>- T w; ]8 v/ m& [2 b7 q1 n
<DIV id=lrc2 style="COLOR: #666666">词曲唱:徐誉滕</DIV>2 N+ p' S J+ z
<DIV id=lrc3 style="COLOR: #666666"></DIV>
' \9 C8 P; { \' g) H6 Y# U<DIV id=lrc5 style="COLOR: #666666">如果时间 </DIV>
( w, T/ Z5 d$ R- W e% ~; H$ t8 M<DIV id=lrc6 style="COLOR: #666666">忘记了转 </DIV>* q& h' ~- y* U
<DIV id=lrc7 style="COLOR: #666666">忘了带走什么 </DIV>
* l, g$ x' b" \& r# E1 _<DIV id=lrc8 style="COLOR: #666666">你会不会 </DIV>
# G! m- |2 a6 S, u<DIV id=lrc9 style="COLOR: #666666">至今停在说爱我的那天 </DIV>
- N) Y' }5 }) v. B9 S! E. }+ p- j<DIV id=lrc10 style="COLOR: #666666">然后在世界的一个角 </DIV>; H6 u4 M1 d7 Z; K5 B- v, w
<DIV id=lrc11 style="COLOR: #666666">有了一个我们的家 </DIV>3 x6 R- G2 F. G. d, n7 a
<DIV id=lrc12 style="COLOR: #666666">你说我的胸膛会让你感到暖 </DIV>9 j7 B; v" t K8 K6 a
<DIV id=lrc13 style="COLOR: #666666">如果生命 </DIV>
0 [2 J8 i5 V! O7 M. i+ B<DIV id=lrc14 style="COLOR: #666666">没有遗憾 </DIV>/ V: n" o# g. J' @. W8 t
<DIV id=lrc15 style="COLOR: #666666">没有波澜 </DIV>
6 X$ m, ^* L, S2 _2 c9 x, E2 O<DIV id=lrc16 style="COLOR: #666666">你会不会 </DIV>
! e& H& g! [. i& j8 _2 W" o<DIV id=lrc17 style="COLOR: #666666">永远没有说再见的一天 </DIV>( A1 g( c1 ]: _7 R# u' e, N
<DIV id=lrc18 style="COLOR: #666666">可能年少的心太柔软 </DIV>8 O/ ~3 _* z1 z8 l
<DIV id=lrc19 style="COLOR: #666666">经不起风经不起浪 </DIV>6 ^" Z {5 g3 J3 u: x8 z
<DIV id=lrc20 style="COLOR: #666666">若今天的我能回到昨天 </DIV>" C1 c# | |) Y; w
<DIV id=lrc21 style="COLOR: #666666">我会向自己妥协 </DIV>; n' t" N% D; d$ l" v& R. x; X
<DIV id=lrc22 style="COLOR: #666666">我在等一分钟 </DIV>1 v U" a! {( W3 u# H: ~
<DIV id=lrc23 style="COLOR: #666666">或许下一分钟 </DIV>
$ s1 x C" J& P, {* i, ^<DIV id=lrc24 style="COLOR: #666666">看到你闪躲的眼 </DIV>/ l4 O1 m7 [9 {9 ?. M
<DIV id=lrc25 style="COLOR: #ff3300">我不会让伤心的泪挂满你的脸 </DIV>( X+ b8 {, c" C0 y
<DIV id=lrc26 style="COLOR: #000000">我在等一分钟 </DIV>9 q2 h8 V4 Z. H9 n
<DIV id=lrc27 style="COLOR: #000000">或许下一分钟 </DIV>5 @! K* f( Q; e. Y. i0 r
<DIV id=lrc28 style="COLOR: #000000">能够感觉你也心痛 </DIV>
8 Y7 w: `& L7 G$ O- f' {<DIV id=lrc29 style="COLOR: #000000">那一年我不会让离别成永远 </DIV>; _$ d+ e7 v% S
<DIV id=lrc30 style="COLOR: #000000">如果生命 </DIV>
' k: c _$ ~0 ]! |8 A+ m<DIV id=lrc31 style="COLOR: #000000">没有遗憾 </DIV>( t8 W( `% j! W* v( Y
<DIV id=lrc32 style="COLOR: #000000">没有波澜 </DIV>; W/ m5 E( C) m# u7 K
<DIV id=lrc33 style="COLOR: #000000">你会不会 </DIV>
8 ?+ V3 R% ?6 ]- t<DIV id=lrc34 style="COLOR: #000000">永远没有说再见的一天 </DIV>
- a; P' O2 s" S/ x+ O<DIV id=lrc35 style="COLOR: #000000">可能年少的心太柔软 </DIV>
3 H: j8 U7 U! B8 y, c, K( J<DIV id=lrc36 style="COLOR: #000000">经不起风经不起浪 </DIV>3 O. Z& U$ |$ y; ~: D; F
<DIV id=lrc37 style="COLOR: #000000">若今天的我能回到昨天 </DIV>) c6 L& M( {- w% y
<DIV id=lrc38 style="COLOR: #000000">我会向自己妥协 </DIV>
/ F) C: S5 {: q/ N<DIV id=lrc39 style="COLOR: #000000">我在等一分钟 </DIV>
7 B/ ~- u5 b+ J/ n6 v1 d {<DIV id=lrc40 style="COLOR: #000000">或许下一分钟 </DIV>
0 `! s) v" T8 z9 `<DIV id=lrc41 style="COLOR: #000000">看到你闪躲的眼 </DIV>6 l1 d: t/ |0 c* k8 ?& H
<DIV id=lrc42 style="COLOR: #000000">我不会让伤心的泪挂满你的脸 </DIV>
/ V. |7 Y& [# S# z2 S<DIV id=lrc43 style="COLOR: #000000">我在等一分钟 </DIV>& f; V& B2 t2 m% {
<DIV id=lrc44 style="COLOR: #000000">或许下一分钟 </DIV>5 e) p ]5 V* ]0 g/ b8 A1 w
<DIV id=lrc45 style="COLOR: #000000">能够感觉你也心痛 </DIV>3 B6 L/ u+ i$ T) W! l( u
<DIV id=lrc46 style="COLOR: #000000">那一年我不会让离别成永远 </DIV>
! V" X0 f1 e; S7 l<DIV id=lrc47 style="COLOR: #000000">我在等一分钟 </DIV>- b. a% C$ a" S" d# i0 w. `3 w9 c
<DIV id=lrc48 style="COLOR: #000000">或许下一分钟 </DIV>
5 f6 g# k- x) C( h7 X2 G) E<DIV id=lrc49 style="COLOR: #000000">看到你不舍的眼 </DIV>9 d3 I2 Y& n' @
<DIV id=lrc50 style="COLOR: #000000">我会用一个拥抱换取你的转身 </DIV>
7 [( @ j1 m/ c8 o* g! }<DIV id=lrc51 style="COLOR: #000000">我在等一分钟 </DIV>' k4 K, U, p! _! @- P5 m* h+ C
<DIV id=lrc52 style="COLOR: #000000">或许下一分钟 </DIV>0 ^0 R# \7 L: U8 h6 x5 Z9 u2 E
<DIV id=lrc53 style="COLOR: #000000">如果你真的也心痛 </DIV>" R( ?3 {5 \; U
<DIV id=lrc54 style="COLOR: #000000">我会告诉你我的胸膛依旧暖 / C( D+ Q& _7 S
<DIV id=lrc style="DISPLAY: none"></DIV>8 A! T4 Y' E6 N1 ~0 X m* I
<SCRIPT type=text/javascript>
& N3 d% j/ \+ Q6 Y- W& T; Tdocument.domain="1ting.com";; Y' p. T# Z3 G0 I! f1 u: T6 S
var colorPasted="#666666";
- K0 n7 [9 m& w/ ~var colorPlaying="#ff3300";7 t _; P3 B+ U# o: r6 @
var colorNormal="#000000";/ D6 V7 O7 v. ]' [0 R
$ = function (a,g){
% [: l% R* o2 Q- B! m var o = new Array(); 8 h: \3 W& q! s& e6 H% m
var c = new Array();
$ X8 i1 U6 H1 P+ k( a' v* R5 [0 j% s var r; , b- {" D( u3 s+ t
var u; 6 }3 w2 }7 U5 j$ [) n
var a = a.split(';');
: T3 Y- x$ b M
. F. g4 e2 F# v2 w# S/ u9 y3 @ var e = "keydowns,resize,load,dblclick,click,mouseout,mouseover,mousemove,mouseup,mousedown,inputchange,inputfocus,inputblur".split(",");6 s5 a& A6 L: e* P$ K8 T
for(var i=0;i<e.length;i++){
: q: J2 }, J! |0 z eval(e<i>+" = function (s){eval($event('on"+e<i>.replace("input","")+"'))}")
+ `5 C; q" {" b! H9 ? }
9 c) J5 T1 |+ X! B$ @/ G' A* } Z& e( K+ j- r% }/ H* b% q
after = function (t,d,s){0 h2 @. f: Z l6 c
$after = function (){! n3 c$ \6 g5 v3 n# W6 b: ]
var $n=document.createElement(t);
$ j" Y0 c; Y& K; _3 {1 F/ ` if(d!=null){: v) D3 I% N0 x6 X3 O, q% m
$n.id=d;
# [% R5 ]+ C9 j, \6 o" X& d% J y% p }
# X: C: C1 u5 X# x! _ @* m& M( S: ^& K( r. D2 l0 J: v
u.insertBefore($n,null)
- w- G4 {" x! ` {; f& f3 Z r = $n; 6 I/ Q \$ p k. ^: g/ x) t% ?# Q
u = $n;
# v5 ?' C4 C8 O- i7 R }/ S# n7 C! f9 U
$for(s,"$after")) Q4 X x7 n% N) a
}
8 w' K+ F( }* _
4 Q- D+ b) A: k; |# G7 E show = function (s){
1 X6 M* S, \! f; B $show = function (){
5 v4 ?3 f' l2 A& g9 @. H* {7 G5 s u.style.display!="none" ? style("display:none") : style("display:block") ;
1 }1 O' {$ m% }% Q$ w7 l }5 H5 i& p$ l8 U
$for(s,"$show")6 w8 ^. q T( J& D3 x+ e
}& W4 \( B1 E& x- y1 {2 L1 n
0 H. F' @( ?9 K6 J
check = function (t,s){
$ r5 L0 ~, ]* ?, N4 {, X# [* p $check = function (){# z1 d7 w9 q. W
if(t=="2"){
7 [' d) y* L$ J if(u.checked){ Y1 F& A) A3 ^* ~
u.checked = false;. C" V7 N5 |; t) z+ i8 K. q; B
}else{) ?% E0 V8 a- G. q* R( f
u.checked = true;6 K2 W: N' S' F) J' }8 W
}
) t3 N5 S' R t L0 [0 z: h8 r: w }else{/ G2 v3 Q) i: Y
u.checked = t*1 ;
& d* c% L# y+ a5 s8 N3 ]# H }
, i% {' y: O' }- v f4 Z }
' @% i3 ^+ e" w7 {- e1 k# k $for(s,"$check")' o7 H7 s( I H/ V% }+ q9 A
}0 l; O3 o4 f% c4 ]1 G7 o m
1 ^, y' K! P% L* e5 o
style = function (v,s){
& [7 O# y# K' x' L $style = function (){
# i/ A' }2 p7 E1 y( o E+ q* M( C var $n = v.split(",") 7 U0 }& o: C4 p0 I) P1 ]& E2 W
for (var i=0;i<$n.length;i++ ){7 W( T& N3 z6 U9 h( G1 U) w
var $m = $n<i>.split(":")
4 M \$ m& s6 @/ } i- Q/ ?; Z eval("u.style."+$m[0]+"='"+$m[1]+"'");
) x5 p5 L J1 I, A m: r+ ^; R }
?3 G) j9 R% G0 J# O }
" F" o* f L" c f" w4 n $for(s,"$style")( G0 `! ?) p2 K6 p" L2 U% Z! j
}
( g3 d( `2 r1 x: t5 b, F5 e6 U1 E$ p
value = function (v,s){8 H1 X# Z- R9 F) {, E
var $n= $this (v);4 L2 c; ^8 H( H$ R
$value = function (){
/ d- O | g/ \4 p0 g' A4 P u.value = $n: o- ~ d: I! R9 x2 c
}
& ]4 X# j* f; N- u) H7 M0 k8 g2 P $for(s,"$value")
8 D6 O' @, z5 P9 h8 } }
, M9 X# @- G" U# b" N2 S* a$ M9 X) B
text = function (v,s){
5 r. o; |9 \/ K1 Y$ D2 i var $n= $this (v);
6 P& _! I! }+ v6 W; L $text = function (){2 G# N z4 k5 p o, a& H
4 s, x+ a6 m6 ]" |- Y
u.text = $n* S" D! R& a; ?' }; {
}
X2 x* O* z% m' u& }/ `- ^' [ $for(s,"$text") ! G- m* ]5 a3 V9 I
}0 V3 |! S- r8 ^1 @2 U/ ~
% `' g& S O0 x' K( `4 U) F
innerhtml = function (v,s){
% ^0 Y3 [4 F6 Y4 s+ j( s var $n= $this (v);
& p# Z8 q; B" a: S $innerhtml = function (){6 U; _2 t9 S9 K& ]/ t. C- J
u.innerHTML = $n
0 I) ]: F% y L }. Y I/ J7 ]' ~: R' e
$for(s,"$innerhtml")
9 |/ e8 o( t8 p6 g' M }) H+ v' p9 @! c9 |- T4 z
9 b' W4 a4 D( f( n/ G1 V" Q
removechild = function (s){* I, ~3 S' L! Z4 Y# e6 f$ ]1 M
$removechild = function (){- d: p" g j/ F
u.parentNode.removeChild(u)
) ^6 S g9 q* I }
5 L, J% r. C0 z4 Y" y" S $for(s,"$removechild")
9 \- d4 |: J" f6 j- S$ E1 J0 L" o }" i2 B" Z9 c3 f4 t3 N) f" z
: E* d2 O7 ^$ J5 i8 T9 O
$this =function(v){) U- l2 R6 C, k* l* T, R. \. ~. M
if(v.indexOf("this") == 0){- _4 \# O( \5 |; \
return eval(v.replace("this","u"))4 M4 ]# _( t0 d: }
}
' Y8 o+ H6 }5 n4 `% ?2 y( ?7 W& g4 ~ return v;9 z4 u3 o8 i' x4 D
}
1 R3 Q, A& [$ R: ~0 h# k
$ h6 i: X% }2 h$ |, G4 ]( i y $event = function (s){# K( m" U3 P5 t/ [1 q+ Y* D! R
var $n ="u."+s+" = function(){$work(this,s);}"4 b' N' P( S2 w
return $n;
" ]+ p, k/ v$ s# V8 b; z# n }
( X2 J# \! k7 C2 X8 J/ H. i/ w, a1 U' H' l. U3 q
$replace = function (s){# j1 n" ~: c) F7 e' `6 d3 x& e1 a
. I: L. }* b. P$ h! P5 q/ B
}/ Z' T3 }0 J, }. [
, ]% q1 s1 o; K, K: r2 h9 ~9 y
$for = function (s,c){% y" F& B8 @! C& \; C7 ^
var $n="this."+c+"()" ;
8 y5 w7 ?8 y# v( i0 o3 \& @- Q: z if(s!=null){0 F8 |! L) ?8 v2 O( H9 p0 Q
var $m =$test(s);
' l, t! k2 s" {- {6 F: A for (var i=0;i<$m.length ;i++ ){
5 M; \9 R8 Q% w6 Q( T# d* `4 E u = $m<i>;4 F9 z" U# W5 s+ k* o& L. A
eval($n); A" B9 v/ Z# q. i+ ^4 B
}- m; i4 V! n! x+ r; |% y
}+ ^- t% Q6 a2 I8 n7 p- x. O8 e/ y0 y8 C
else{7 X& L6 E8 j* Q5 _& {
eval($n);
3 J+ m& A1 J4 a: u u4 v* D }: W r2 a: C8 V
}9 E+ N6 G/ ~( ?8 O8 b) f8 i
* R' n7 e2 ?: P& m, d $test = function (a){
+ w: i! m: i3 C+ r Q5 z var o = new Array();$o(a.split(';'),o);
3 w1 h. b3 `% M4 R/ Y return o;
7 h' |- B$ M. A' q3 y' W }
* ?1 d! p" O3 a: D; n9 h
/ ~6 d) F3 _/ C $format = function(s){1 n' a/ [2 m$ `( m
while (s.indexOf("'")>0){" u1 J. [3 u0 N T! q
s=s.replace("'","\"");
; T+ N2 m, V. ]0 g8 m& A! q- }7 \. Z }
! ^. s% {) o1 ]& y6 L. C while (s.indexOf("][")>0){! P# |7 a, o$ ^8 \
s=s.replace("][","','")
- U2 @' B. R( \3 M. f5 @9 [ }9 E- O3 t0 k) G. T+ b' M
while (s.indexOf("[")>0){9 `$ C6 q) O, H0 q
s=s.replace("[","'").replace("]","'")# Z+ F2 [7 V- l
} 8 A; W/ ~5 A% D, |$ Z; L1 P* g
return s;: k1 s: S; \1 S
}
7 W/ D4 g- b8 k: H$ g
) E* D- R. L3 P& e `( C' W $work = function(w,s){: B! V2 L5 j5 b E1 J
u=w;eval(s)3 \0 q* n+ w9 B" U# g9 ^
}. P0 J( w+ `5 Y# R4 C/ n4 o
& Z" \+ l) N' d. T6 ?/ S) ?
$id = function (s){
. d. R! o6 K) s% Z( V& l# j. \* h return document.getElementById(s);* W) J& s4 f; [5 O; F
}
) b H; G6 a$ {1 C* e5 k
9 f3 D' [, S( [: m8 R $name = function (s){
Q2 m: [1 K. J( K3 m/ s5 z; x return document.getElementsByName(s);3 _) p- N0 k9 G$ o* h5 R
}0 P9 ]' D3 ~: M* O* X
! L3 C8 P* q( g) r( K
$tagname = function (s){2 u5 Y g3 T- } ]9 M6 V( p6 f
return document.getElementsByTagName(s);
/ z' @" ?9 A" f5 V6 o1 z! P: d" a3 i }
: C6 N, q% a- x$ M) b- C5 \( j5 E# E" x6 Z
$o = function (a,o,c){
3 T d+ B; A" |2 h* ^) R& e $push = function (n) {# {4 w: }: q- L% R) o* q* p# p. W
for (var i=0;i< n.length;i++ ){2 r- R; A% g, ]) p: e' f
o.push(n<i>);5 U! u- X! [% s% n& w& Q, ?
} ; N6 f, Q( h5 v3 X" d- c
}* A& d; D( Q$ q* p: P. Z7 x
for(var i=0;i<a.length;i++){9 \9 b. K- t S( h8 x9 W0 b( ?
if(a<i>.indexOf("(") >= 0){
- \/ `$ v( I. V; U- \0 B6 d c.push(a<i>);8 z# h4 F, g" S5 d7 Y& A
}- l+ U& k# Z0 I6 b4 ~# L) }) z
if(a<i>.indexOf("~") > 0){
5 u) d3 L% g1 x2 a6 i/ s5 U try {8 D: a% V$ @/ E( k7 q
$push(eval(a<i>.replace("#","document.getElementById('").replace(" ~ @","').getElementsByTagName('")+"')"));! H9 B: t+ i- H+ H2 W
}catch(e)
1 M) O% j6 I: g* T {}
4 x5 k: ]* ^4 b2 M: u }$ o- X% j7 s" g( v. B1 R/ o% f' A
else{
' u8 Z, W8 H6 i; f if(a<i>.indexOf("#")==0){
g+ M8 t" ]: F& O# I o.push($id(a<i>.replace("#","")));" _0 H) L0 ] l3 d0 k4 t- @* u6 s; z
}
/ p1 u+ O6 v. k) |+ R if(a<i>.indexOf(".")==0){+ k& Y5 u) j7 w+ Z1 k1 h
$push($name(a<i>.replace(".","")));1 t+ D# }9 T7 `3 w# o
}/ U4 z, Z6 d) ]/ X0 i4 ~+ X$ @
if(a<i>.indexOf("@")==0 ){7 G' B( |) _) q
$push($tagname(a<i>.replace("@","")));! f" |& ]$ N E" ^/ T$ {" T3 Z
}2 m0 W$ v# X' l) d9 C
if(a<i>.indexOf("*")==0){
) s/ J- |; Z/ |: J$ O+ U. z $p= a<i>;; }6 W: q" S; \9 n* Q g
if($p.indexOf(".")< 0){$ f( N+ w, v, {1 F
$p = $p.replace("parent","parentNode")
" D3 ]$ E/ q/ L C1 [; y }" g; F$ ~" A% @# j$ r
var $p ="u."+$p.replace("*","");+ S7 P3 f( s( a/ i# |8 i# H# L
while ($p.indexOf("parent.")> 0){
3 }, X* a# n4 j+ ]/ ]% K; U $p = $p.replace("parent.","parentNode.")8 W4 P l$ X+ v- N8 o
}
/ K- ?. v, u, V; x3 _. x1 F while ($p.indexOf("child{")> 0){7 g/ b0 P; W) N( X7 K7 x. e
$p = $p.replace("child{","childNodes[").replace("}","]")
1 B* G6 s0 `( ~9 a }* i: [1 \- @& u: S E6 B
o.push(eval($p));0 x% J( c, K5 G2 z
}
: l- j" \) M- W+ b" v if(a<i>.indexOf("document")==0 || a<i>.indexOf("window")==0){
7 X3 j& d2 @0 }3 @ o.push(eval(a<i>));6 l1 z/ l( R# r0 F+ a1 I1 x7 Q% ]
}
- |, I8 g& T2 W1 g0 W' w: ], h }
3 ]: |8 w% ^6 P8 P* ~1 l if(g!=null){ ; ^1 l; C3 i H; v
o.push(g);g=null; x; @; D7 o1 z/ U0 I: T9 \
} ! p# g7 {6 A/ n0 l
}
# F% Q, A. H. x }( A/ S u1 Y/ R) s4 }0 S
" S2 n" T( v9 _+ z, p
$o(a,o,c);% m) }0 J9 k& `: x: x' @
$ e+ S& w& I* T; | for(var i = 0;i<o.length;i++){9 v5 K) _0 M, _3 T7 d
for(var j=0;j<c.length;j++){
* i4 @# N- W8 S/ s1 d u = o<i>;eval($format(c[j]));
9 s |; L2 ^9 Q2 L }! f& s8 j" S% `" _' |' @
}
% E1 Y$ b( J6 b& g& Z
' @ z( L( P4 C& G1 a if(o.length == 0){2 K" Q' R' q. V H, C$ q
for(var i=0;i<c.length;i++){" f0 b1 g; {1 ^) {2 t! k! g
eval($format(c<i>));& s, O& E" J1 X8 l% y' S
}
7 z% W9 b3 Q6 W9 i$ ]* V }( B6 p) s( ^/ r/ d" H: q
# b4 ~& W! j/ ?8 i) d if(r!=null){
( I* y8 b1 J y" \* B return r;
, i# C) v+ e) O2 O }
8 t4 p9 T3 D% Q* m: A4 F # ?5 @( @2 l* _4 ?! ^- }
if(o.length==1){
: z& ~4 [5 f- X9 j, g return o[0];5 k$ V/ L4 t$ w2 X* @) \. v
}
; T8 m( }3 k4 P: ~' g else{: o: C4 E( L) {
return o! @2 |: }* d; s
}
?) r, j6 H- U # v6 N, n O' A
}8 Q; f" V$ v" Y$ k+ H0 F1 C
var lrc =$("#lrc;show()").innerHTML.split("[");0 p' H" `/ J0 `/ }& A& m
if(lrc.length>5){' r: f0 W( J0 a0 q( ]% Q. Q
var array = new Array();; Z# i6 u. M6 b; ]* [3 q
for (var i=0;i<lrc.length ;i++ )4 L2 U% X0 C8 _
{
& T3 j) Z6 Z- }/ [% P" A var g = new Object();
6 }# t% x/ e% ]' }/ W r1 Q% J t= lrc<i>.split("]");
Z8 D3 H" u. m) X g.time = getTime(t[0]);
6 y# W9 c. f! a) L8 ? if(isNaN(g.time))
! y5 B) b' j0 m: \/ b continue; Z5 z' U& }$ o' r- B/ ^' u }
g.c = t[1];/ }; @8 p1 U4 A, W0 U, X" z
if(g.c == "")' q* N' \6 P1 i% C- I
g.c = getNext(i);0 S, y, S! Y" G/ w
array.push(g); e- r: N9 s; G: k$ c3 J' E
}
$ I/ x. f. @; @* \# w0 garray.sort(function(x, y) {7 s1 G) o+ i( b. |
if (x.time>y.time) " A+ l( y6 l% c5 m# V9 J3 h
return 1;" M; B1 w5 g* u. m; A* O
else if(x.time<y.time)
( ^- p" M7 H) S) s) @9 N o% Z return -1;6 R* j/ v. ~ I! W) B
else
) {; q% O7 L) t* V( V return 0;
! S9 W( z1 u6 T0 J6 d& m/ O } , j* q- \+ g& }' T) W, O
);( h8 s# \- H/ O8 G) |
for(var i = 0;i<array.length;i++)' {( g! h# b- E9 L
{7 ~% u/ n; }2 e) E1 `' g P
var g = array<i>;
/ x2 V1 }! F& v1 Z; o0 l if(!g.c){
3 X2 R0 {: d' m) K7 e g.c="";
( Q* K1 I' M" s }# m% [# F7 A' F0 p
$("#list").innerHTML+="<div id=lrc"+i+">"+g.c+"</div>";
1 h* O; p% k7 `% h: _& ?; V}; Y% l- g! H% Z Q% B4 S/ S
var time = setInterval("lrcList()",500); 9 c. H: a1 B! ^
}else{2 C+ K8 W" n! B% u: l- \9 E: z
$("#list").innerHTML=$("#lrc").innerHTML;
" f3 G3 t/ |5 h0 V+ k' J: n7 m}* K T# w4 i% F8 z! d/ ~
function getNext(i)" a w2 d% q- H @4 |
{; A0 ?' c" b' T8 X1 r
var result = "";7 M0 R; c2 [9 Y! o, }! p) q
var i = i+1;
6 v7 E3 M+ E! ~. D3 w, ]: r t = lrc<i>.split("]");
# x7 P6 a, a5 Q if(t[1]=="")# x# C) u0 w( ~' H2 h
result = getNext(i);. Y8 B3 J0 @1 z
else% h* B% A; N) h! M
result = t[1]
0 l9 E( z1 `. [- F9 U' [. E& E4 m+ I return result;6 ?7 _, @" p( z! n8 I
}6 b+ W5 L7 s% e
1 [* b# {. l4 j- x4 w& f" R$ @
function getTime(str)7 U+ h$ z. a, N; i# o& A
{3 w6 e1 U% O8 C t8 K5 [
var time =0;7 d: \. R- @$ Y1 B. ?) ]6 a' A
var ta = str.split(":");3 b! q5 L% |4 ]- ]+ n
if(ta.length<2)
* _: E) ]% y/ L4 ?& i5 i return time;' P: N3 |) B2 W& I, j) l
& |8 Z/ a v8 @2 |( \& N' q if(ta[1].indexOf(".")>0){* B0 A# }2 ?) N. w
var tb = ta[1].split(".");
6 r) v4 b; I$ t$ I7 O# V time = ta[0]*60*1000+tb[0]*1000+tb[1]*10;9 d* F1 T% D, d$ Q5 B7 ~
}
; M/ @: ~* C" x! v else
8 l2 i$ \6 b' D2 @7 c& c2 G+ y time =ta[0]*60*1000+ta[1]*1000;
/ v1 ~$ ~/ A6 W/ s% r" d return time;% D$ H' n0 c7 n7 E% P1 M+ z% z" m
}" n$ F; m( f8 R: U
var preTime = 0;
6 ^/ r! F; g: Xvar nextTime = 0;
1 y1 [( P, f0 ?5 Y$ Gvar currIndex =0;
1 `) L* _3 A2 p$ u- Qfunction lrcList(){* {4 ^1 T# }: A2 p
var s = parent.document.getElementById("MediaPlayer").controls.currentPosition;7 V. J# f* c5 Z
s = s*1000;8 t; U" d3 R* w% e. Z
if(s==0){
. X5 |0 ~9 P9 l8 s' b1 o9 v4 O1 X6 B currIndex =0;
+ q8 j( N5 m/ t ] $("#list").scrollTop = $("#lrc"+currIndex).offsetTop-30;- H- L, I) ?7 q2 O
for(var i=0;i<array.length;i++){
& ^9 |' J `5 j# C! O5 m document.getElementById("lrc"+i).style.color=colorNormal;; I* c* U; P% `0 C. `5 r. a* G E
}
! V( D0 i% E$ C return;. d c1 b$ H/ j# _4 p3 C7 k' I
}
2 \& P1 W. [3 o: _ if(s>0&&currIndex<array.length-1)
' s) G& \! C, s2 k* U$ {# V { + U# A; B2 f) D6 R
preTime = array[currIndex].time;
- U9 e6 q& I( G$ Q! u : ^% W! q+ c4 u7 Q7 \2 p3 v
nextTime = array[currIndex+1].time;! { C1 d; n! H- N3 [0 E
6 U% q' ]5 q, f
if(s>=preTime&&s<nextTime){; {0 k" l. C9 _- ~, {
}& X) r7 [/ ^+ `2 o% K
else if(s>=nextTime)2 W! y! ^7 M5 ~! P& M& Z
{4 Z" N n# C9 I" ]8 n' b4 C
document.getElementById("lrc"+currIndex).style.color=colorPasted;
) M/ Q; V) c+ s& S$ D7 ]% C6 a currIndex++;& b8 p, r3 u8 R. L6 H
$("#list").scrollTop = $("#lrc"+currIndex).offsetTop-30;0 I" d# F x9 d
document.getElementById("lrc"+currIndex).style.color=colorPlaying;
( F0 ?2 _; g U$ ~$ G lrcList();
, a! L1 [4 j- o" R! z+ G }3 D8 U( l9 [: t9 ^& S
else{8 G7 b) b& X6 V
document.getElementById("lrc"+currIndex).style.color=colorNormal;
& c `( w, y1 {2 S currIndex--;
1 k1 E: K4 ?% A$ Z $("#list").scrollTop = $("#lrc"+currIndex).offsetTop-30;; N5 n" j& e. y% e- H* r" ]
document.getElementById("lrc"+currIndex).style.color=colorPlaying;8 W: Y4 {0 c8 X8 G0 S" q
lrcList();( Y- A s2 a9 _+ j
}
( |+ ~; h- n6 h: `2 y) Z' t }( Y: j; A5 n6 A( ~6 [8 i
else" s7 ~% h; o) j- h+ J
{. G1 j. p1 b$ J
if(s<array[array.length-1].time){4 F6 D9 X/ u9 N
currIndex = 0;0 {) e2 i) Y% O
$("#list").scrollTop = $("#lrc"+currIndex).offsetTop-30;
2 [$ ^4 C9 U9 D; l& w( M8 f0 V4 N for(var i=0;i<array.length;i++){
Y! ^0 b% ^4 \) u( |$ N document.getElementById("lrc"+i).style.color=colorNormal;2 a Y% w' Z5 Q7 Q6 r
}
- m b/ W# }% y u lrcList();* s u8 L# v/ [3 ?, y5 k1 u
}! }8 O9 O9 l- n" g, ?/ T
}
) E# M" X4 i2 ?% k9 q, W C}
) k* J$ i( l$ O</SCRIPT>0 }* D& U2 H1 p) \( \/ }3 T' D
</DIV></DIV>; A n- o* @$ V/ J! I( Y
, \, X8 m+ I6 `
[ 本帖最后由 幽谷兰 于 2008-9-18 17:36 编辑 ] |
|