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