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