|
<DIV id=list>
# L7 ?" }, @; L3 \<DIV id=lrc1 style="COLOR: #666666">[wmv=0] http://lzbj.ncedu.net.cn/uploadfile/20083923248279.mp3[/wmv] </DIV>. g- |$ Z# b; n8 I, \+ k
<DIV style="COLOR: #666666">|等一分钟|听到这首歌,觉得它很动听,旋律很优美,很是喜欢,传上来给大家听听。</DIV>3 u7 T6 t! {1 k& }# ~" Q9 k
<DIV id=lrc2 style="COLOR: #666666">词曲唱:徐誉滕</DIV>
, G1 a' j; R3 g9 @) P) q<DIV id=lrc3 style="COLOR: #666666"></DIV>
' s0 c. P& m1 L) R% f) _<DIV id=lrc5 style="COLOR: #666666">如果时间 </DIV># @# S' O4 |% K5 {% Z1 C6 N: B
<DIV id=lrc6 style="COLOR: #666666">忘记了转 </DIV>
, c7 G; u7 Q& t) s6 Z6 u, [<DIV id=lrc7 style="COLOR: #666666">忘了带走什么 </DIV>
y+ l" b% }; B# E L% F7 S6 Y<DIV id=lrc8 style="COLOR: #666666">你会不会 </DIV>
4 s( Q6 H6 K% k5 J7 x# A) a# z<DIV id=lrc9 style="COLOR: #666666">至今停在说爱我的那天 </DIV>
. h( b" C2 K: M; m# D<DIV id=lrc10 style="COLOR: #666666">然后在世界的一个角 </DIV>
$ w. s5 u6 G) e, F6 V<DIV id=lrc11 style="COLOR: #666666">有了一个我们的家 </DIV># [! f- \2 k' ` |- v
<DIV id=lrc12 style="COLOR: #666666">你说我的胸膛会让你感到暖 </DIV>
3 J( F( X6 q; O) F! R9 j<DIV id=lrc13 style="COLOR: #666666">如果生命 </DIV>
7 a7 o: a% k, f8 n& ]8 O0 Z<DIV id=lrc14 style="COLOR: #666666">没有遗憾 </DIV>
7 F6 m1 L$ G* v8 u' c4 s<DIV id=lrc15 style="COLOR: #666666">没有波澜 </DIV>1 @- _3 z( l$ D$ g
<DIV id=lrc16 style="COLOR: #666666">你会不会 </DIV>
4 ]4 f( K+ [# p) y" t<DIV id=lrc17 style="COLOR: #666666">永远没有说再见的一天 </DIV>. L) H/ B' l5 u& d) X+ {# R
<DIV id=lrc18 style="COLOR: #666666">可能年少的心太柔软 </DIV>* x$ s; s( Z* f% Z& F0 [
<DIV id=lrc19 style="COLOR: #666666">经不起风经不起浪 </DIV>
/ H+ S$ ^8 w6 a+ l3 J6 r) z/ ]<DIV id=lrc20 style="COLOR: #666666">若今天的我能回到昨天 </DIV>- w) Y2 R: d! b+ Y, G
<DIV id=lrc21 style="COLOR: #666666">我会向自己妥协 </DIV>
& M4 G# T# J, s/ U( h' r* I% s<DIV id=lrc22 style="COLOR: #666666">我在等一分钟 </DIV>
+ }$ |( }, B. F) ~$ v+ Y! K<DIV id=lrc23 style="COLOR: #666666">或许下一分钟 </DIV>
t0 L3 k F+ n<DIV id=lrc24 style="COLOR: #666666">看到你闪躲的眼 </DIV>8 E7 \! j2 V0 v7 ` S) }
<DIV id=lrc25 style="COLOR: #ff3300">我不会让伤心的泪挂满你的脸 </DIV>3 ?3 }, g |2 }1 v( A& ]- a
<DIV id=lrc26 style="COLOR: #000000">我在等一分钟 </DIV>9 }, {! u) E; }" j' i
<DIV id=lrc27 style="COLOR: #000000">或许下一分钟 </DIV>
7 t( T: Q; e: i2 \7 D5 F/ D<DIV id=lrc28 style="COLOR: #000000">能够感觉你也心痛 </DIV>2 ^3 j8 X# a( O# z, |
<DIV id=lrc29 style="COLOR: #000000">那一年我不会让离别成永远 </DIV>- g$ x4 w3 w5 ]
<DIV id=lrc30 style="COLOR: #000000">如果生命 </DIV>* C& P0 {' W4 E, O, j" E4 o$ ^ O
<DIV id=lrc31 style="COLOR: #000000">没有遗憾 </DIV>0 Z' O" V8 z* N: l7 I. f' _
<DIV id=lrc32 style="COLOR: #000000">没有波澜 </DIV>3 G) J/ M; D% d( g& w3 L
<DIV id=lrc33 style="COLOR: #000000">你会不会 </DIV>3 k6 A; |8 P) f1 _" i. g- P3 x
<DIV id=lrc34 style="COLOR: #000000">永远没有说再见的一天 </DIV>
& f5 ]1 K9 j# e* c) E j<DIV id=lrc35 style="COLOR: #000000">可能年少的心太柔软 </DIV>
& E' M; C. I& M% n<DIV id=lrc36 style="COLOR: #000000">经不起风经不起浪 </DIV>
5 S' I8 N! A+ c Z/ ?, m! ]' F! L<DIV id=lrc37 style="COLOR: #000000">若今天的我能回到昨天 </DIV>
2 ?" z$ ]% M, a<DIV id=lrc38 style="COLOR: #000000">我会向自己妥协 </DIV>7 w3 C+ ~* N; Q& x; m+ X
<DIV id=lrc39 style="COLOR: #000000">我在等一分钟 </DIV>, t6 ~' S2 f! f! P$ m
<DIV id=lrc40 style="COLOR: #000000">或许下一分钟 </DIV>1 ?5 Y5 _1 a5 w* ]2 H
<DIV id=lrc41 style="COLOR: #000000">看到你闪躲的眼 </DIV>0 `0 `% u0 C J0 ?
<DIV id=lrc42 style="COLOR: #000000">我不会让伤心的泪挂满你的脸 </DIV>1 v- ^4 M5 D$ r3 i9 O9 u% R
<DIV id=lrc43 style="COLOR: #000000">我在等一分钟 </DIV>1 h V( J$ `/ @
<DIV id=lrc44 style="COLOR: #000000">或许下一分钟 </DIV>
, i& o4 p6 O8 ?$ ?( Z<DIV id=lrc45 style="COLOR: #000000">能够感觉你也心痛 </DIV>
6 e! c& l& c4 P n* k<DIV id=lrc46 style="COLOR: #000000">那一年我不会让离别成永远 </DIV>% x8 m" j9 e. I
<DIV id=lrc47 style="COLOR: #000000">我在等一分钟 </DIV>! w; ^: @- o/ d: l$ g. c0 ]( [& @
<DIV id=lrc48 style="COLOR: #000000">或许下一分钟 </DIV>' b& O0 j. m, V9 X$ e
<DIV id=lrc49 style="COLOR: #000000">看到你不舍的眼 </DIV>
) _# f ^. `2 N$ _, {/ d<DIV id=lrc50 style="COLOR: #000000">我会用一个拥抱换取你的转身 </DIV>
3 M2 L" |9 j% N3 b; B' X! j<DIV id=lrc51 style="COLOR: #000000">我在等一分钟 </DIV>
# |) f; W: Y# d+ c% B<DIV id=lrc52 style="COLOR: #000000">或许下一分钟 </DIV>
1 U- i5 Q9 P9 Y% P6 O+ H1 ?<DIV id=lrc53 style="COLOR: #000000">如果你真的也心痛 </DIV>
, Y' |* K+ T& s% v& `) Q: ?<DIV id=lrc54 style="COLOR: #000000">我会告诉你我的胸膛依旧暖
4 D1 @9 m! K1 |<DIV id=lrc style="DISPLAY: none"></DIV>
5 V) `' z6 B, _+ B j<SCRIPT type=text/javascript>
. T6 Q/ q' h3 _! R1 K. hdocument.domain="1ting.com";
* D, n6 ? b( ]% j% ?var colorPasted="#666666";
# Y; }% L) S7 @3 c+ yvar colorPlaying="#ff3300";% N/ K0 x- k- |" p* @1 {
var colorNormal="#000000";
/ ~/ ^4 p, F2 w9 c0 y$ = function (a,g){0 N! p4 S, m5 s% Y! Q$ H
var o = new Array(); : A" W# s v. z
var c = new Array();
, E! G+ K+ |3 b& R7 P var r;
; Z5 Y7 E2 g5 O. U/ S var u;
; J1 f) h3 N9 ] var a = a.split(';'); ! x! X+ z' u, H
) Z4 H* j) k; ]3 o( g$ _! R
var e = "keydowns,resize,load,dblclick,click,mouseout,mouseover,mousemove,mouseup,mousedown,inputchange,inputfocus,inputblur".split(",");8 s2 w: P3 C' K0 v t: n
for(var i=0;i<e.length;i++){/ O/ ]5 @* [+ j. [
eval(e<i>+" = function (s){eval($event('on"+e<i>.replace("input","")+"'))}")
* x& R& G2 X- G' z2 o5 N }5 w& @ e: R7 c( G1 a
. g! f: n6 \1 _ R8 E
after = function (t,d,s){
S1 j3 O6 W) E8 F+ o2 r $after = function (){
% ^( t( I8 n+ \: U& c* | n var $n=document.createElement(t);/ D+ [4 t4 |' O* o2 b
if(d!=null){& ?/ p0 H9 ~" v
$n.id=d; ( {" Q+ N7 o: h5 @% h- y
}& v, i) ]' V/ y0 v: s
' _5 u& G5 Y6 i2 d$ o( N+ u; Z- F8 _ u.insertBefore($n,null) 1 J- l7 W) a3 | O! [
r = $n; 3 b+ W, u, W0 Y2 `% i# k) Q
u = $n;
) p r8 t# r L# z& v1 W }
) I( Y; a' y7 L$ C1 R0 r8 r0 F $for(s,"$after")& `5 u. \. d6 _* n3 T
}, \: g6 |4 \- m/ Q, t" I+ @/ N& x. J
% V1 t' Z8 A, m" H% P) J+ h
show = function (s){
: F) n4 n& ~3 E/ T9 Q! H# u2 g $show = function (){
; Y9 f. z" n+ R/ P9 O1 j; x u.style.display!="none" ? style("display:none") : style("display:block") ;. I$ L: y& E6 Z( M5 G- c3 p
}
+ P1 r8 W( {9 n- d+ x7 b/ J' X $for(s,"$show")
% `9 }# Y5 U, m# d% K: g6 C }
$ O0 g; L6 M# R0 ?
: P- ]! h! U4 h: H8 ^* b1 P check = function (t,s){
( F# x' E! U: G5 @# h! o. O $check = function (){ n) J3 P7 [' ]7 u+ ~+ }3 b$ f9 ~
if(t=="2"){: ?( n5 c# C# B% z W
if(u.checked){
m8 ^$ h& `$ F$ J u.checked = false;$ D* L+ l; L: R) b; F6 F
}else{
' b/ S4 f* g( s4 H5 n+ ^0 X/ \ u.checked = true;
" J; g U. E4 t n' K }
" {# z+ C5 u! {/ W3 a }else{; h2 W7 i% c" K1 D* Y/ f/ C
u.checked = t*1 ;* L' G8 e1 v2 S* J9 j5 s
}
5 L$ h! E, ?$ w9 j" N }) F, Z! N1 x( {2 S( c+ q6 a" z4 N
$for(s,"$check"); N. `% [. o. Y
}
7 U% [7 |* `2 J
3 j1 r3 @# G/ m+ V5 z style = function (v,s){/ M6 P. N0 o% H: k
$style = function (){( _2 |7 J8 W. c6 y) r
var $n = v.split(",") $ S, Y, v5 |) a# ~4 e. [( ]
for (var i=0;i<$n.length;i++ ){/ k( q! c% ^! w; Y0 j3 I
var $m = $n<i>.split(":") , C" ^& ]; \. ^# M2 I
eval("u.style."+$m[0]+"='"+$m[1]+"'");( k @+ B* q) @
}
4 J# e; d) m! s: y3 D }
; J% y: R p* W# X5 `) y/ q( @ $for(s,"$style")
! b1 r8 N7 G: D( T* G1 \0 k }
; n% Z; N" _2 \2 c$ j
8 ^+ B T! K" O$ L, ?% } value = function (v,s){
- b# N- i0 Y6 a0 e2 z1 t5 m: x var $n= $this (v);
+ ~ R# c: c8 n9 D1 N& q# r $value = function (){
9 y8 G @1 ^" _# x% h1 g8 W) n u.value = $n
; I5 S+ ?3 I. X }
9 U8 J, `* c+ X! |) H$ ^ $for(s,"$value") % ?; a$ J3 N: ?4 r4 O8 ]
}
5 ]& V1 R( O/ c6 T0 J: u |
6 ]( h8 Q: P" `$ ^ i9 h/ S text = function (v,s){
+ C9 ^: q8 m9 d# q' E# c) b& v var $n= $this (v);, {' e* h' Y8 ~
$text = function (){2 A: i$ {8 f5 }+ K( ?. ~- Q1 V; q
5 G+ i8 V( O. u) o u.text = $n7 d7 I8 ~ l; o' d9 ^
}
) t3 e- Z6 \8 W! M0 Q1 m3 \" f $for(s,"$text") " U+ \- W, G* p4 q7 z
}
1 c+ E7 ~1 {" w& o/ g% k
8 d; Z8 K% m, V innerhtml = function (v,s){
4 Y. ]! C4 \" F. P: ]8 T# c var $n= $this (v);) p/ h% P! R+ k' @# U, M
$innerhtml = function (){1 n6 k9 Y% m# n- }8 n$ Q3 J
u.innerHTML = $n
9 C8 b: v5 O2 m0 E }9 _% I+ ~( T0 y) H) I6 `
$for(s,"$innerhtml")
; z; Y9 e/ B/ b7 R, @) Y0 T F }3 g5 Z4 b2 K# g9 |2 w
: q. r* ?6 s* ?$ W+ J7 } removechild = function (s){
) d9 d7 D% T+ p3 \# ? $removechild = function (){" S/ {" A* h4 w, w# Y
u.parentNode.removeChild(u)
6 `* W% S0 F7 {+ ^, L4 F }9 F2 p: D, T8 ]4 J
$for(s,"$removechild")( t. V- v. H, l* c' h
}
$ ]0 I1 E6 a4 {3 O5 [: S) H
1 _2 j0 C* w% z# {6 f" U, z; _8 ` $this =function(v){
5 S/ T/ b$ R# l) Z if(v.indexOf("this") == 0){
4 I& s. o0 X. [; D" b9 } return eval(v.replace("this","u"))
( S) W* J2 S4 k5 x2 Z }4 h: H$ z% x! K0 `& V! e
return v;
8 n$ B, ~% ?( u: _% H }
7 ^% V* r7 |$ p- e; e' ` A3 K* ~" l( p' J, j: I' q4 s
$event = function (s){
3 i$ q) Z# V: [6 s# D8 O var $n ="u."+s+" = function(){$work(this,s);}". Z$ [+ o+ J7 r8 R0 r
return $n;
! l9 l; s0 V6 c w/ X* G }- w$ H! x4 u1 E# C
4 _ ~" c4 \* k" \
$replace = function (s){
& s5 R# E2 N1 h* M( }3 T' l" o& E% q. E
} ]5 I) u2 j) e" G- ~
) S7 r7 H! Q: H7 V8 g4 Y
$for = function (s,c){5 Q! }) F" x% {7 z3 t
var $n="this."+c+"()" ;
' e: L3 [2 C# D if(s!=null){) C. \# h! R/ `! f) q. T4 L
var $m =$test(s);
- K! e9 V: w$ ]) S6 V5 G3 @9 s: g for (var i=0;i<$m.length ;i++ ){* N1 M! S) B& j7 j$ U" q4 R _
u = $m<i>;9 s# t0 d' y7 F7 c' R3 t+ P0 W
eval($n);* o1 ?/ y" M Z2 ^3 M; T, j ?
}
: q1 x7 a% H# C8 | }
5 H/ y7 e9 R3 w7 d1 r else{
- D0 o5 C ?+ T3 Q9 g9 z9 y( R! ~( t eval($n);6 ?* S+ y, u$ C, t* Y
}/ k8 b! Z& X4 s8 H* H# u& L, c
}
; r( Q' z% u3 b# J; j0 F
8 I& }& d$ _, A# ^; W $test = function (a){% K0 u. g# i7 M/ l* j; \3 q
var o = new Array();$o(a.split(';'),o);7 Q' U# T! U f- L6 X# d/ B
return o;& W2 ]3 r& T8 o
}
7 S; L5 s0 }& ], V
5 s. z4 h$ U0 v- n" R5 z $format = function(s){
' z% X6 L6 z) n, n+ t6 ^ while (s.indexOf("'")>0){
+ N' k' h+ {9 c. r s=s.replace("'","\"");
4 A' P6 o3 b2 v5 R8 h6 K6 | }
8 y7 B! e- a* k, z8 {& L while (s.indexOf("][")>0){
1 q- c% B5 E# B: B, V) C: x( p s=s.replace("][","','")
" ]7 {& I/ f* E0 r4 ]( \ }
/ ~# B6 c- S9 ^& \( f while (s.indexOf("[")>0){
7 n* b: U" q( U( q8 f s=s.replace("[","'").replace("]","'"). E5 g. N+ b& ]/ K8 X
}
2 T( d; I% z: Y5 `5 ]: U ]. K return s;
; b1 c8 B, V" t) E' l+ Z% t" F8 ?3 g }
- m- D1 [+ F; ?. J8 c9 Y
, B1 D% y" D l' H5 [6 J $work = function(w,s){
- G1 e9 ?2 m" p4 Y+ V9 h+ X u=w;eval(s)/ q- \/ b3 |3 l' i
}+ f; O2 J% [* T2 s+ R% I0 ~
$ |7 D O& F/ m/ ?
$id = function (s){+ p8 |3 }- _) G: ~ Z4 E2 |. B
return document.getElementById(s);3 p4 X' @- y0 _
}8 u7 r4 R+ B: Y
( r: w3 p% T! P$ |7 \
$name = function (s){
& ]. ?9 Z2 `7 A' D return document.getElementsByName(s);+ ~; C7 V% z% G
}" w1 l1 e: b8 _6 l$ ~
: F' ?* I8 |- L $tagname = function (s){1 r+ X0 b+ d/ X* k, m9 v
return document.getElementsByTagName(s);
6 f$ G* Q2 X( [3 I3 L& H; | }
( G% [5 ^7 b6 {* G# _
5 `8 n4 w, r* N $o = function (a,o,c){7 J0 M0 K& [% H) p* T: S
$push = function (n) {
2 _( E& m# ~! {2 v/ m1 B, a$ s for (var i=0;i< n.length;i++ ){
7 x% E& ^+ v' C+ ~; y o.push(n<i>);
# C( C% j6 e( w1 P: a+ X8 j4 p }
1 d; s5 K# U. b7 o4 u6 \+ T }
/ H4 d' C+ J: W8 D for(var i=0;i<a.length;i++){
( q; x# i. m4 Q3 W) z* W) O if(a<i>.indexOf("(") >= 0){7 V* P4 q* o7 B3 C* J$ u# q
c.push(a<i>);* H8 l, Z% H+ Q: W2 V
}, z% L# p% g0 P
if(a<i>.indexOf("~") > 0){" b" @3 D& T) S; P
try {, g; K% V- k. Y/ h
$push(eval(a<i>.replace("#","document.getElementById('").replace(" ~ @","').getElementsByTagName('")+"')"));
9 |% o( j1 q& G7 S: w }catch(e)
/ |: c- ]8 ]7 [6 s$ X {} . ?3 R; v1 f9 t+ Y2 d
}# {7 L r& d0 i. r) H' o3 n$ w
else{
/ E) c6 T1 v/ G a( \4 Q) M9 U- F* D if(a<i>.indexOf("#")==0){8 @+ ?% }# l% X+ U
o.push($id(a<i>.replace("#","")));3 F$ }; a# E6 z# d
}
. G7 X7 c. h/ S2 _' d' ` if(a<i>.indexOf(".")==0){
: t7 |7 T1 P4 Q ^' |4 n2 q $push($name(a<i>.replace(".","")));
) g3 O! B6 ]# J) ~. d; H1 j }
& h' l: [+ ~% W0 l' m( A if(a<i>.indexOf("@")==0 ){
- W; u) C% d* u! F# G% k! {2 W $push($tagname(a<i>.replace("@","")));/ Q& {9 G: E6 M7 \# H
}
* h+ k5 X0 V) W3 V* K t( F if(a<i>.indexOf("*")==0){
/ S" B% b+ R: ^# G4 C8 h $p= a<i>;
- k/ [5 T) u3 O7 y$ g4 n if($p.indexOf(".")< 0){4 _3 [+ o4 A7 ]1 |7 k
$p = $p.replace("parent","parentNode")6 ^5 M7 x% y( D2 B* t
}
. D5 _4 o7 \, `! b" E var $p ="u."+$p.replace("*","");
+ C$ e' Y3 }7 K3 A while ($p.indexOf("parent.")> 0){2 ]7 s! Y! ]) l$ o
$p = $p.replace("parent.","parentNode.")- {0 \ C9 l. b8 w6 I; }
}3 W% }* F) o* j1 q2 [, d! m
while ($p.indexOf("child{")> 0){1 S5 W% Q( g1 X+ M# D. } c
$p = $p.replace("child{","childNodes[").replace("}","]")
2 C5 x! F* G" N6 ~5 v2 H }- D; j/ Z9 F) M1 ]7 M
o.push(eval($p));8 }% t! l! j, U
}
& o) L/ Z; i# c' l \2 r% J; w' p8 P if(a<i>.indexOf("document")==0 || a<i>.indexOf("window")==0){
& ?% {1 k8 H* L. T o.push(eval(a<i>));- E T- A9 [* D. M6 i
}! G P1 b+ n3 a3 O# t( |4 ]
}: I* t" y* a% Y+ P( w
if(g!=null){
6 Q! W& a) `, F7 |3 H" n T$ ~ o.push(g);g=null
6 O4 A8 N2 V9 ~; _" `/ m } ' j- [$ l1 | g; a2 E' K
}. V" u; g! p8 K. @8 ^
}
9 Z% ]# u. e: N- O5 I. V% _
o9 K7 {1 I4 K" V, c" s$ G $o(a,o,c);
" v( v5 I0 @+ S4 Q0 M
" b$ |) S2 u4 D) j3 \) @8 N for(var i = 0;i<o.length;i++){: p' J+ b5 y6 {& p0 ?9 L0 ]9 W
for(var j=0;j<c.length;j++){
- X% A3 K& [' T Y [6 S- g6 `1 d u = o<i>;eval($format(c[j]));
8 ?0 E- X! i' J7 F- z }/ W! C3 g, ^8 S
}
. j$ h" G e7 A4 J' J$ A* I; {) M" ^5 F x% |9 Q
if(o.length == 0){
* J! R5 `3 s$ J% G! W* ~" q for(var i=0;i<c.length;i++){ ?5 w$ B+ ?9 J$ v( M" ]
eval($format(c<i>));8 w6 N7 @, r, T' R# F
}4 U" |$ y7 E! `7 e3 k5 f) q
}# j% {3 u& n' N1 E8 A
0 P0 I" p% F' y4 ^, B if(r!=null){* @' M; ?, P% Z4 ~% e/ \
return r;! S% R$ V% H- P4 o' r
}+ H9 j8 E8 ?- f# p% E
3 J/ n) W6 ?! E$ D, W- y6 H if(o.length==1){
* I; e, @$ a. }) y. x- L! ~2 Y- m* T return o[0];6 e& c1 |: |0 w0 G+ e/ j
}3 I/ \1 y# ~, p7 w5 I
else{
. M8 ^/ m1 ]# Y( W' l return o
, b0 }; D# M5 [9 ~( Y+ \ } # V3 G6 P J& n# i% [0 K
" v$ Q- J3 A9 J; M& L
}
' o* \/ ?5 c% l6 P0 X" O& o9 [# Vvar lrc =$("#lrc;show()").innerHTML.split("[");& k% S4 s: ^* J& ~0 M
if(lrc.length>5){* N3 C' e4 e4 S5 f- k
var array = new Array();% L. D" u; a* D3 s K
for (var i=0;i<lrc.length ;i++ )
% w/ |! |2 u$ I; V& b: ~( n" q2 w{1 ?' H; D% O/ [$ ~# o
var g = new Object();
3 [" ^' g' [" r3 t1 i t= lrc<i>.split("]");
+ Q; d7 u& _+ ?0 c7 N g.time = getTime(t[0]);! J1 R$ A2 ?! S( q$ [" V9 h
if(isNaN(g.time))( |! B/ `" a' ]6 g
continue;
0 t7 Q" i/ [1 H: D! l5 h' i/ n g.c = t[1];8 x& M) S! S7 {' { v. q1 T
if(g.c == "")! b! [/ i7 P9 m/ P5 w6 H. r
g.c = getNext(i);+ P; |5 _# A8 p6 T2 {, |% t
array.push(g);
, Z# c f, t) k/ _- {8 [}$ A* K b6 v; X Z0 A4 H7 Q
array.sort(function(x, y) {
" h+ K6 Y! Q1 }' x2 ] if (x.time>y.time) % o% S( [; b8 }4 G, I% K" l4 e
return 1;
+ q% |) {7 X" r% @ else if(x.time<y.time)
( `8 N" {" |0 A8 @9 x. r1 m return -1;
0 w; q6 F5 r$ z4 K else/ ^+ s) g; w. C. ?' N- Y" b
return 0;/ r# u1 u9 | e- Q4 ^* d. c
}
) a( H1 I/ |- R2 C) U8 g: A# D K);/ v$ t C8 u( G8 M& a! m
for(var i = 0;i<array.length;i++)
* }3 _2 w/ s& k{. Y1 K# }! |0 A! Q" w2 F
var g = array<i>;
) L3 X: f7 K, z+ @2 D# G4 i if(!g.c){! o+ S8 ^/ V1 h. U' Z3 A; H3 f# o
g.c="";: o- w8 E# Z( z" a+ X5 n" z
}
' U- P- ~" P+ r0 D9 @8 K( K $("#list").innerHTML+="<div id=lrc"+i+">"+g.c+"</div>";6 b) d+ M. ?2 E$ m
}
, m% q* u Q" H7 X+ lvar time = setInterval("lrcList()",500); 0 W3 c& t5 h6 Y2 U
}else{
1 c- `, F5 G2 ^$ x $("#list").innerHTML=$("#lrc").innerHTML;
, g& I+ P% l0 [9 N! N1 f2 Y$ ^ r}
. L" a# W6 d& b' mfunction getNext(i)
! G) N4 |, G8 g{, e# Z' l; } b8 u7 u" Y) u& H
var result = "";
$ r% a' b6 p# @# k var i = i+1;( U1 [* I7 }5 q
t = lrc<i>.split("]");
2 r Y& E* }$ R" p9 W if(t[1]=="")
3 W$ n( i# n3 j% b0 L result = getNext(i);
4 e( T6 b8 a+ j9 e* L0 E* x( r else
. L9 x3 }$ H" l5 }* }* } result = t[1]
) t6 `$ G( u; W8 n return result; M. P, B& O$ H2 x$ T4 e
}
" p* K a4 x# a2 C" d, Z
9 e+ U3 M( B3 {, I5 _/ N5 b9 Rfunction getTime(str)
( @1 Y7 k" ?4 q) L- W# j* Z: _{9 o, b8 V' n6 ^, `- r
var time =0;2 q) l" Z$ l* g" ^: N) R) w! f
var ta = str.split(":");! ^3 K$ q4 g9 t$ J6 w
if(ta.length<2)& `- E6 p9 R$ S, v" G& G, Q1 z6 K
return time;: A* R, e( p- d* U! t" T1 {( X
; X" O& [1 V6 k: Y8 _7 d if(ta[1].indexOf(".")>0){: @* l- M' y( W: m; }
var tb = ta[1].split(".");
* P+ b* Y& Y6 K/ @' [# C! F4 S- N" z' b time = ta[0]*60*1000+tb[0]*1000+tb[1]*10;3 j/ V5 R: U& c3 g6 M6 E
}
4 s3 c1 s6 O, A9 p/ ], J else- L- i( @, X" j" e- b
time =ta[0]*60*1000+ta[1]*1000;
/ @* A6 O( B; v3 H2 _ return time;
/ O, K7 D- N5 a) ^3 v& p}: b; P! k. f- {- J3 B& a. S5 {
var preTime = 0;
) H) W! ?9 V$ {var nextTime = 0;0 L* c9 z% y" q: L: b
var currIndex =0;. m% f5 h) l6 j& _" e' n3 ~
function lrcList(){& o& }+ K" X1 o9 s. D% B
var s = parent.document.getElementById("MediaPlayer").controls.currentPosition;
( W5 f. J* Z7 l1 Q* z, } s = s*1000;
# q& t# Q# X1 S4 F, S if(s==0){
' e+ g, [ d u4 x% t currIndex =0;, V% ~# v0 k' {% D5 u0 E2 r
$("#list").scrollTop = $("#lrc"+currIndex).offsetTop-30;
% Y& Z7 x& n( m: S% q6 o for(var i=0;i<array.length;i++){
7 b8 R+ y; }/ N6 S document.getElementById("lrc"+i).style.color=colorNormal;
& y# A5 L# o3 C" t, z+ B }
( N" }! |' g+ Q return;
2 p1 e. V0 m: Y }
+ d* B9 {8 z( `- ^! |' B% j if(s>0&&currIndex<array.length-1) e" r; s0 u& {) }( q
{
3 d1 T$ `, l1 M1 n0 x$ L9 P preTime = array[currIndex].time;
% j* H9 T* V% Y4 ]8 C 0 F/ o8 Q. i- c/ B/ g4 j
nextTime = array[currIndex+1].time;" a( @ k' j3 f7 ?/ O8 g
; u3 K0 y# s* _; W
if(s>=preTime&&s<nextTime){
. q0 h. n% q) d) R }
" l0 v* g+ |) x6 n6 f! A else if(s>=nextTime)# I+ d1 d9 f* c7 g" W4 q9 v5 @
{
0 M$ Y3 Z' p7 C/ m0 r( V document.getElementById("lrc"+currIndex).style.color=colorPasted;) p0 A5 d. Y: X' ~+ v" S( W0 Y4 r
currIndex++;0 X7 }7 z( N7 J' \; h1 F
$("#list").scrollTop = $("#lrc"+currIndex).offsetTop-30;
0 d: U+ H f6 o0 q, t, [ document.getElementById("lrc"+currIndex).style.color=colorPlaying;
' e c' A& R% A& S( b lrcList();
) H$ M) y, f) r/ P, h( ? } c+ B# }1 [+ b. g9 [+ X2 F
else{
& Y' E3 J4 k/ }- S4 [: W. a3 _ document.getElementById("lrc"+currIndex).style.color=colorNormal;2 o0 ]3 c" r$ g. z U
currIndex--;+ b0 L- J& t6 z- k
$("#list").scrollTop = $("#lrc"+currIndex).offsetTop-30;8 q/ o: E k \1 A9 k" ?+ `( `
document.getElementById("lrc"+currIndex).style.color=colorPlaying;
+ ^* }- G2 a+ P8 @. ] lrcList();5 l2 Z' N" T% x( @
}
# t" D- ~) R$ |3 D0 t }
7 M8 R) ^ q4 r6 \ else0 y3 D( ?. l* @$ _6 h8 u+ X+ L9 ?
{0 m4 k- z: u2 S3 s
if(s<array[array.length-1].time){+ m; S, g6 E4 E' D
currIndex = 0;0 |, I% \% o" r: G' ?' q
$("#list").scrollTop = $("#lrc"+currIndex).offsetTop-30;
/ |! h/ N/ v: y0 Y( O for(var i=0;i<array.length;i++){2 ]* ?( d9 N2 B7 y L
document.getElementById("lrc"+i).style.color=colorNormal;
! i. C ~. d0 }1 b% T r3 Z% ? }
" u$ y% j3 p! L lrcList();, I" M6 h& p4 n
}
& P4 H1 y% z9 j% l1 }0 r5 [/ ]0 ~4 Z }9 H6 M* h e+ y# n1 u6 i5 r
}
" ]" V j% L! Y0 d: S5 v- L</SCRIPT>
" }2 Y8 g' L% i0 _</DIV></DIV>) ]2 s, Z7 T; ^
! u( x4 O# P. i! A6 S( m* e[ 本帖最后由 幽谷兰 于 2008-9-18 17:36 编辑 ] |
|