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