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