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