|
<DIV id=list>
, I( _9 r$ @6 M% d: }<DIV id=lrc1 style="COLOR: #666666">[wmv=0] http://lzbj.ncedu.net.cn/uploadfile/20083923248279.mp3[/wmv] </DIV>
! \0 U4 r( P+ @* j<DIV style="COLOR: #666666">|等一分钟|听到这首歌,觉得它很动听,旋律很优美,很是喜欢,传上来给大家听听。</DIV>
) }1 c# i# e [/ M<DIV id=lrc2 style="COLOR: #666666">词曲唱:徐誉滕</DIV>
( H: c5 d4 M" v<DIV id=lrc3 style="COLOR: #666666"></DIV>" L" b; l0 S+ m3 P$ ~
<DIV id=lrc5 style="COLOR: #666666">如果时间 </DIV>* N9 p2 S& y, i4 k) D) N1 e
<DIV id=lrc6 style="COLOR: #666666">忘记了转 </DIV>* ^7 ^0 o0 O7 X$ v$ Q
<DIV id=lrc7 style="COLOR: #666666">忘了带走什么 </DIV>+ x4 y" l* f8 R2 T! @* `8 Y
<DIV id=lrc8 style="COLOR: #666666">你会不会 </DIV>- L/ z( a! R" w6 P1 f0 k) H
<DIV id=lrc9 style="COLOR: #666666">至今停在说爱我的那天 </DIV>9 x7 D z3 w& C/ U6 O
<DIV id=lrc10 style="COLOR: #666666">然后在世界的一个角 </DIV>
) A* N8 t2 x& N1 A<DIV id=lrc11 style="COLOR: #666666">有了一个我们的家 </DIV>, J: ]0 R6 _# z$ N
<DIV id=lrc12 style="COLOR: #666666">你说我的胸膛会让你感到暖 </DIV>
0 k1 g* a1 X2 b4 u<DIV id=lrc13 style="COLOR: #666666">如果生命 </DIV>% e/ n" U; ^% V/ P7 m9 i% J
<DIV id=lrc14 style="COLOR: #666666">没有遗憾 </DIV>
9 y- f% s6 n% y* x# Z5 J; }! k<DIV id=lrc15 style="COLOR: #666666">没有波澜 </DIV>
8 N% Z! \1 |. E2 M* C; g+ p. a<DIV id=lrc16 style="COLOR: #666666">你会不会 </DIV>$ \4 u% h* A L X
<DIV id=lrc17 style="COLOR: #666666">永远没有说再见的一天 </DIV>' s$ W. s0 m. I9 b7 b/ T4 U
<DIV id=lrc18 style="COLOR: #666666">可能年少的心太柔软 </DIV>* F& s/ ^5 f* J4 a
<DIV id=lrc19 style="COLOR: #666666">经不起风经不起浪 </DIV>7 T4 I$ X0 ~' ?9 t; ?0 i4 b+ D! j
<DIV id=lrc20 style="COLOR: #666666">若今天的我能回到昨天 </DIV>
" z; H& u. {! }. }<DIV id=lrc21 style="COLOR: #666666">我会向自己妥协 </DIV>3 `- F S* }+ R- {) J
<DIV id=lrc22 style="COLOR: #666666">我在等一分钟 </DIV>
2 ?, t# t5 A" {8 X<DIV id=lrc23 style="COLOR: #666666">或许下一分钟 </DIV>; x" U) U% }: k7 |# p" k2 k. W
<DIV id=lrc24 style="COLOR: #666666">看到你闪躲的眼 </DIV>" m$ b: }4 O, l
<DIV id=lrc25 style="COLOR: #ff3300">我不会让伤心的泪挂满你的脸 </DIV># `. t; O9 [3 P1 J1 l1 s
<DIV id=lrc26 style="COLOR: #000000">我在等一分钟 </DIV>
: B/ J% v2 e' R! o, M6 V<DIV id=lrc27 style="COLOR: #000000">或许下一分钟 </DIV>- b) l( C: ^2 x5 }6 H2 w' b
<DIV id=lrc28 style="COLOR: #000000">能够感觉你也心痛 </DIV>
9 Y( c+ P2 q; F- N1 I3 }<DIV id=lrc29 style="COLOR: #000000">那一年我不会让离别成永远 </DIV>
& p$ @/ `/ O0 Y: k. h0 n" Q<DIV id=lrc30 style="COLOR: #000000">如果生命 </DIV>
- Y5 ~2 w+ m$ S: }" O: B) g- H1 f<DIV id=lrc31 style="COLOR: #000000">没有遗憾 </DIV>
- f% q2 T2 {) Q$ |) [, _% w; G<DIV id=lrc32 style="COLOR: #000000">没有波澜 </DIV>% c. r8 @, ?7 H) ]7 L
<DIV id=lrc33 style="COLOR: #000000">你会不会 </DIV>
6 _0 q8 e! W0 ^" `& d0 l<DIV id=lrc34 style="COLOR: #000000">永远没有说再见的一天 </DIV>
, X: o2 N" d7 I! o' u; r5 r( B<DIV id=lrc35 style="COLOR: #000000">可能年少的心太柔软 </DIV>9 F# o& f6 I( M
<DIV id=lrc36 style="COLOR: #000000">经不起风经不起浪 </DIV>% a1 X' G3 m* K
<DIV id=lrc37 style="COLOR: #000000">若今天的我能回到昨天 </DIV>
/ K0 t, W( ?: d; x<DIV id=lrc38 style="COLOR: #000000">我会向自己妥协 </DIV>1 F/ ~8 ~) N5 x2 W* X# Z
<DIV id=lrc39 style="COLOR: #000000">我在等一分钟 </DIV>
# ^# z) p3 G2 Q. e<DIV id=lrc40 style="COLOR: #000000">或许下一分钟 </DIV>
" m. u' Q( \6 P9 c& S# ~<DIV id=lrc41 style="COLOR: #000000">看到你闪躲的眼 </DIV>
% V5 r) r8 B# L, D<DIV id=lrc42 style="COLOR: #000000">我不会让伤心的泪挂满你的脸 </DIV>! u5 }; N) `0 F1 j6 h
<DIV id=lrc43 style="COLOR: #000000">我在等一分钟 </DIV>
5 N0 n' f: z4 M* k- A* R<DIV id=lrc44 style="COLOR: #000000">或许下一分钟 </DIV>
/ H' q1 P. ^$ m: I5 B6 F2 G' E7 P<DIV id=lrc45 style="COLOR: #000000">能够感觉你也心痛 </DIV>
3 o5 @" O( c |* u \. m<DIV id=lrc46 style="COLOR: #000000">那一年我不会让离别成永远 </DIV>
, l7 @4 o+ d4 e9 D8 r' W& C8 [4 k<DIV id=lrc47 style="COLOR: #000000">我在等一分钟 </DIV>) @6 k1 E. \" ~- Q2 t) a# z
<DIV id=lrc48 style="COLOR: #000000">或许下一分钟 </DIV>- [7 [% W2 X3 s
<DIV id=lrc49 style="COLOR: #000000">看到你不舍的眼 </DIV>
# b3 e8 A1 B1 U! s6 e# Y! w. w1 H<DIV id=lrc50 style="COLOR: #000000">我会用一个拥抱换取你的转身 </DIV>; O1 W+ r- I& f6 Q
<DIV id=lrc51 style="COLOR: #000000">我在等一分钟 </DIV>
Q1 @ t& y' x3 O7 F+ X" }<DIV id=lrc52 style="COLOR: #000000">或许下一分钟 </DIV>+ j' w; H$ d+ G6 m! D+ @4 h
<DIV id=lrc53 style="COLOR: #000000">如果你真的也心痛 </DIV>1 p8 Z6 x6 I/ Z; F
<DIV id=lrc54 style="COLOR: #000000">我会告诉你我的胸膛依旧暖 , E" f) v& H) d# h
<DIV id=lrc style="DISPLAY: none"></DIV>3 L9 e6 A: `2 S5 @- p6 ` G) K
<SCRIPT type=text/javascript>
: S9 @& b) c- Z/ T. z; Ydocument.domain="1ting.com";1 d7 m4 Z" I! K: }& h' B3 e
var colorPasted="#666666";/ u( b: `/ i/ q. @, l1 p, @
var colorPlaying="#ff3300";3 n+ h! _/ w+ v! [5 J e" z
var colorNormal="#000000";
, C% h7 ] Y5 c1 F$ = function (a,g){- W* f* U- X2 T7 K G
var o = new Array();
# T I0 \6 L" m- r. X8 N var c = new Array();
% V" n9 O! d- G8 { var r;
: S; i( B- b% Q var u; & k" u" P' r+ ~, ]
var a = a.split(';');
+ f Z: r. W2 }% a5 } U7 G
( w M/ b4 E4 v j% q. I4 D9 y var e = "keydowns,resize,load,dblclick,click,mouseout,mouseover,mousemove,mouseup,mousedown,inputchange,inputfocus,inputblur".split(","); m2 M. D( ^5 C# c0 h
for(var i=0;i<e.length;i++){' ^- R4 R0 A; ?* T3 A0 L/ v
eval(e<i>+" = function (s){eval($event('on"+e<i>.replace("input","")+"'))}")' {3 K' {( ^: k1 z9 g- V5 D7 A
}. R. I" X9 J- O
% x [1 `" v2 p, X after = function (t,d,s){
' ]$ Y, |: K1 @6 S" ~ $after = function (){
3 j/ v8 e! V+ d/ p5 X var $n=document.createElement(t);
* o3 L5 {7 P0 B% A; v if(d!=null){
. M& z b* {8 }: |5 G6 E/ C# v% i! y $n.id=d; # X* P" T p: [5 R& J
}
, {! R" H8 w: n1 K1 H $ i6 g- c. ~3 v5 o+ L4 v" C2 V
u.insertBefore($n,null)
* Q! E$ b- ^1 \. _ r = $n; % V2 f% c- ]% U. `! K1 r
u = $n; 1 s. C% P c6 D8 ~+ s
}7 V4 P; l/ i- }( O; `
$for(s,"$after")3 S+ `" \# C( S/ l' u0 r
}" X6 B: H F8 f$ P" h
6 ?' t- K8 _) i8 F# S, L show = function (s){
+ C1 Q) F! i' d $show = function (){
/ v' {* V. e. B% d) x* y1 ?9 m1 m u.style.display!="none" ? style("display:none") : style("display:block") ;% M5 a6 _6 k3 G$ m# U- c$ Y
}
* J; G8 |) R9 r! x; ]. G $for(s,"$show")& ]# f% n; E$ ^$ D) _- h) y9 e& ^/ T
}
3 i$ D7 w( u5 {( i- a8 o S! s2 g' Y% M5 H0 q7 J- L! D
check = function (t,s){' j# |8 B. h1 |7 x( V8 M q
$check = function (){3 C4 h* i, g* |8 k
if(t=="2"){
5 K2 ]6 F$ \# i6 H' a) m6 t if(u.checked){3 i# O8 r. l& w1 z: i) f, \
u.checked = false;) v0 H1 [* N1 s: {# \6 E" |4 N% N8 R
}else{) _2 o4 Y+ |$ q, h1 y( x& |
u.checked = true;
( P/ y$ A/ A4 \# z! Z) z3 B }
9 X% \. }% ]* O }else{
/ s2 \$ F3 w3 }. c u.checked = t*1 ;
9 O; g% {2 s( N }
6 Z8 {* l0 \# ~: T L0 N* C2 c8 D }7 O$ H* b: u7 Y. k: ^$ G# V$ H
$for(s,"$check")
7 t9 `8 T0 G. n& w- z% a# c }
$ G. P& O6 X% F7 M9 @8 ]5 i8 g% B+ t4 V2 U- q! K5 |! T" N
style = function (v,s){
& E6 J" i: e4 w $style = function (){8 G4 u z" r% q# O
var $n = v.split(",") : A$ @- M) U/ a) m2 M( c
for (var i=0;i<$n.length;i++ ){, J: p& n- {+ Q: [) H& K
var $m = $n<i>.split(":")
! u T* d, E' t- H3 D, o2 j eval("u.style."+$m[0]+"='"+$m[1]+"'");
& n0 |$ J* _' ~' a }
4 }. H0 y, p& |1 L }- @; P2 F3 H5 A/ A3 V
$for(s,"$style"): n9 A9 W! p" _& z
}) Y& P- R6 w- g% q/ S. e8 Y+ z3 z8 h
1 Y* d0 X* U- d v value = function (v,s){* j5 ]1 d8 F! a8 K) m9 T$ {+ p
var $n= $this (v);
4 H9 Y) ?7 \& \7 P( L2 Y $value = function (){
! ^, V. W$ d% J _+ } u.value = $n
9 C/ B! F' z! M3 Q D# t# X }
# p6 e6 F% w" ~& H' s, I- ` $for(s,"$value") 0 e! t! |) V @$ m
}( B& Q3 C% l- h% N& I+ S
3 z, u/ @9 U' M% U* @/ A6 p7 N! Q
text = function (v,s){! ^/ O' C2 j5 @8 b- i" l8 Y
var $n= $this (v);+ ]9 {% ?' P5 {$ c8 _0 a# ~
$text = function (){+ ?4 d5 l+ X7 n
5 ~3 X9 Q4 |, Q' Y3 C0 z
u.text = $n
% @" L- V# N/ J- F& Z- S5 L4 J }
. `# }+ }- i) e" Z* q $for(s,"$text")
( d' w; k& Q. S/ p" R. o, D1 } }- ~! Y+ `7 N& a, g- S
! a; h. [: R/ X
innerhtml = function (v,s){4 `6 z8 g# O0 @
var $n= $this (v);. b5 }7 Q8 a! i& [( L
$innerhtml = function (){
4 `& K+ z0 J, Y1 [$ T& q u.innerHTML = $n' f, g9 Q, P3 A, w2 r
}9 V) _. y$ R x+ n& @
$for(s,"$innerhtml")% N. F) h8 ]& _' F+ T# |0 @* h) G1 \
}
* N+ I B. M5 j! M F$ W4 e N8 ~( y8 q! u
removechild = function (s){
. C( i6 Q6 p7 J, a, P" X% L $removechild = function (){0 A5 N; A: ^8 y' O. b9 ?
u.parentNode.removeChild(u)
, R0 D, A R; u% a7 s. V4 J }1 z9 D3 a' L6 V! F& [! `) M
$for(s,"$removechild")
3 h$ K: A) b4 J( o' h& f0 X9 ? }4 O u0 P- M2 ~6 E' E( O9 j
5 i" ~& L+ T; S8 ^' B$ E, r $this =function(v){
' P' S) g, w# @ u5 r/ r. K# N if(v.indexOf("this") == 0){
: i) M- h& y# s+ O% Y# _ return eval(v.replace("this","u"))% L9 ]3 N* X& A3 m/ t9 k
}2 _2 U, @) t- [& a3 t2 r
return v;
. p# c4 [% K$ m! O! c# k }- F% T1 s! G, o/ @5 @2 K, e
! A {4 j: `: C
$event = function (s){
1 [: O" _" j! n$ g var $n ="u."+s+" = function(){$work(this,s);}"
0 j r0 u/ ` I0 d/ J$ b' d# f* N return $n;; x. `; B( o8 o2 i
}( Z5 [3 J7 j; |3 c% B' ~% h2 R
$ F+ F8 s5 A( [2 n( @
$replace = function (s){! j2 z/ g( S6 R% H; F: H$ }$ E
$ q9 a1 m6 U2 D& J1 G4 g+ W) m
}- P1 a& g* V$ j% z
4 Z* K, |: p/ i" N7 H# J. P
$for = function (s,c){* e6 t! U+ y9 T
var $n="this."+c+"()" ;' ^+ i' t& h6 \: ~! f7 }) B( L% }
if(s!=null){
$ l/ F$ e) ^5 [# b1 | var $m =$test(s);
( ~* Y" I& I2 m/ `4 \+ n# S& f* l for (var i=0;i<$m.length ;i++ ){
4 y: W5 e9 ]( O; x$ u" t) {. X5 X! n6 Y8 k& f u = $m<i>;' K$ j& Z4 L& C- `: c
eval($n);7 q3 q. T1 m8 L. ]
}
) ^0 S' S3 k, r% j( Z2 h4 F$ n7 q }
6 W% J8 O0 M; H( I* V else{2 z8 ~& `: W$ A
eval($n);4 N) ?5 W; y1 |# N
}+ I! G w/ @" a, a& i3 a% |$ o
}
/ y% g: b) v* X
3 ]8 _% T/ h$ T( _" n5 H $test = function (a){" K$ Q& @- ]* t0 R* P" Y
var o = new Array();$o(a.split(';'),o);
5 y8 p8 ^$ r i% O5 ` return o;$ |; e- i% L* }. Z/ x* h% ]
}
7 [. s- E A8 ^7 M# j( ^, z# ?" k) W& `' V# I1 _8 h+ j- H
$format = function(s){
' j' I0 A1 u. j1 o$ e# Z6 f while (s.indexOf("'")>0){& T8 Q2 W/ f0 ]2 i! X3 \
s=s.replace("'","\"");9 u @5 G. C5 t" \8 `1 n, u
}
0 a7 _9 W3 Z% c( j: [0 W while (s.indexOf("][")>0){
& q5 S9 R( Q# H& S% A1 Y0 W s=s.replace("][","','")
7 k8 o1 c5 ?0 h }
- ~- l9 z5 k3 D3 s# f while (s.indexOf("[")>0){( V+ A5 ~9 e/ k7 \; W
s=s.replace("[","'").replace("]","'")0 M6 ~ D, Y/ P6 f( X/ x j
}
; C7 B0 }0 p" v8 Y return s;# ^( q3 s1 N7 X, P" Z8 E
}
4 j! z( d2 P/ m' x' K, e! z* l( t; F5 ]" O" o* t
$work = function(w,s){
# S8 A! [4 H3 _1 k6 B u=w;eval(s)1 [5 H" V1 K7 Q# K) g8 f) d7 V
}+ I$ i* v$ d4 e1 s8 B9 Y0 `0 W
( A: l; ]7 Y6 w$ H1 |8 ~
$id = function (s){
# C5 D, g4 H. ~3 o& ? return document.getElementById(s);; a5 l0 a x. l3 E o
}& }8 h+ k! y+ ^: w
" |& p, x* @1 o, v! Y" z5 e
$name = function (s){- w" n: J. e+ {* U
return document.getElementsByName(s);
7 @! \$ Z9 t4 y$ [& |6 T }
* C4 m' B$ K0 W) n7 X! z3 L4 _
1 ^% j4 L+ E. v9 f, C% O6 H $tagname = function (s){# G) t4 J' p$ `* f% a, I! b* r: C
return document.getElementsByTagName(s);
- a& C( o8 v" P+ D i0 U }/ V' W, M1 q( }' J; R/ ^
p& h6 ]6 \5 x- {
$o = function (a,o,c){
0 l. w9 i9 P! u# F# ?. W $push = function (n) {- X. U: ^3 x: W9 u5 }) N
for (var i=0;i< n.length;i++ ){
/ C z- _! O8 e o.push(n<i>);! H& O& [4 Y a" X3 s% ]
} 0 u8 V5 ?$ y h
}* V; L* p, D. U0 y6 R/ F; h9 c
for(var i=0;i<a.length;i++){
0 R8 D v& R3 x0 e$ E% m, M if(a<i>.indexOf("(") >= 0){
, P- U4 z, E* { c.push(a<i>);
5 R6 i0 }. W& ] }
+ F" p" m# `8 o o# \0 ^ if(a<i>.indexOf("~") > 0){+ M! }1 [6 _5 T, p5 x/ P) M
try {0 T+ l% c* L/ C; Y0 I
$push(eval(a<i>.replace("#","document.getElementById('").replace(" ~ @","').getElementsByTagName('")+"')"));! t, O4 v! R- g) A
}catch(e)+ E0 ^0 w0 c3 Q) u3 |- E0 x
{} - I9 a; _5 ~3 M2 L( n) }
}
) s) h( k" u/ M# h' a" h else{
9 j. W' W' g0 \2 }, h. \! d' w if(a<i>.indexOf("#")==0){6 y; X4 K( L" _: }; k
o.push($id(a<i>.replace("#","")));* m: b7 }$ ?+ ]/ e% P- G$ M- B
}. I" X" K3 R! s r
if(a<i>.indexOf(".")==0){
$ A& w7 l; B) o& p$ n8 p7 x! ? $push($name(a<i>.replace(".","")));' ]. |6 v# ?. ~5 [, K$ t2 [
}
- a$ P5 c* ], O: c$ v! s8 ~7 z2 P0 { if(a<i>.indexOf("@")==0 ){
E0 m# m9 G1 C" u $push($tagname(a<i>.replace("@","")));3 q5 ~# F# r+ U6 P' f6 i
}
9 L5 i2 Z; \( c+ |2 ^ if(a<i>.indexOf("*")==0){
F% _# H" Z) A $p= a<i>;
/ o4 ?1 ]. l! a4 w4 k7 t if($p.indexOf(".")< 0){
, X/ ~( j+ D- r; H, d" T/ M( g $p = $p.replace("parent","parentNode")
9 \! S* v3 `" |7 |6 ?7 _ }$ _" W9 Q; E: H5 C! K# D! _
var $p ="u."+$p.replace("*","");' `( e y$ J- T# X
while ($p.indexOf("parent.")> 0){/ `- n$ [% D% [0 B9 B+ p- Z+ j8 ~
$p = $p.replace("parent.","parentNode.")
: U! E$ e/ h1 ~ C }" E y5 F- Q8 d _* r/ U7 u
while ($p.indexOf("child{")> 0){
5 ^* \6 j7 @6 i2 K+ B$ O" x9 I1 p $p = $p.replace("child{","childNodes[").replace("}","]")
0 R: ?5 L/ P8 H! [. I' z6 Z }9 Y* y9 p+ {7 k1 t$ K8 m
o.push(eval($p));" ^: X! i+ q" s, D) A
}
- p, H$ p# W. |3 H$ u) ^# ~6 A if(a<i>.indexOf("document")==0 || a<i>.indexOf("window")==0){
1 a) }/ R2 n" G7 p o.push(eval(a<i>));# c9 r5 i2 e" T3 j$ y, G
}1 B+ V d2 n$ F$ x' t
}7 O% O3 \% u1 d1 ^$ |4 i! Y
if(g!=null){ + Q. q: t+ m. y8 Z
o.push(g);g=null- W5 q3 U6 p4 |
} ) ` R1 }+ ]; V: `2 F
}1 w" O1 [" r3 s+ a! n- c4 T
}" \4 A% V; C) ~3 x! I; r
: L1 |) t. J3 Z
$o(a,o,c); O3 e' {0 G5 u& n9 W% v# H% M
9 n' x* @5 I6 [/ ?$ F. j
for(var i = 0;i<o.length;i++){: s6 u5 B6 r' G6 u
for(var j=0;j<c.length;j++){% L* B, c# ~* q7 U
u = o<i>;eval($format(c[j]));
' I2 S% z0 P, [1 p/ D# b }( e% _+ J" J! ]& b' C& h4 [, G( P
}" o6 b7 O+ Y/ s( C
# q; v8 X+ F9 ~* G! w
if(o.length == 0){
N7 s* P/ {5 f$ B4 z% o for(var i=0;i<c.length;i++){
; v5 m; U I/ Y eval($format(c<i>));2 m: y7 r3 E9 _: Y/ v% q( Y4 R7 R
}
4 \1 b- g. `" j+ i9 V }
: @) Y6 e' W9 ` {, |' o/ v: O( [" k1 ^5 `
if(r!=null){
1 N3 b* M* x n7 V8 y return r;
& F. i' [& C; p/ J" R }4 N. f2 O% l. c! C! R0 M3 R
. b2 |8 v- s7 P u: |+ J
if(o.length==1){6 b9 k' Y* n1 P! n9 h# }' h
return o[0];: i6 v( ^" x, t8 `3 Y& R E" t
}% K0 \7 v# {/ l8 K& s
else{& ~. S% }# [0 {
return o2 _+ _3 a+ v) P# H
} + l" I& e$ r5 }6 Y
8 Z- T! T) q1 _/ |' B5 D
}
2 M+ N: C* y. r+ r# z# Vvar lrc =$("#lrc;show()").innerHTML.split("[");. @9 s& W5 e4 D. @9 y: h2 X
if(lrc.length>5){& O: z* x0 I- o5 T5 \; g
var array = new Array();
' f- {: I) S! n: L: w8 {for (var i=0;i<lrc.length ;i++ ). S! w% _6 N' C S' k" u3 |7 D7 Y
{
* V \% z5 q$ z3 w( A: p- y( U var g = new Object();
" K2 e& _' p J0 h8 ] t= lrc<i>.split("]");; Y# ?% b9 s, R4 i/ ^7 _* d' @
g.time = getTime(t[0]);
& x) q# ?" s& r1 Z7 h, P2 N if(isNaN(g.time))% ~5 G% O) Q: b5 ^
continue;& ]" {4 U& F1 b+ i
g.c = t[1];7 u7 S% ~/ E# N5 X
if(g.c == "")( m$ j5 P& A( r8 Q" `; e. @
g.c = getNext(i);) S7 J& ?2 |' R, _3 w- M
array.push(g);
L! s" q0 d" s" {}
0 e; K' E1 {* Parray.sort(function(x, y) {
# t8 z# T! e. f- f/ u if (x.time>y.time)
7 o* h% t/ F' C# k% ^( k) y5 s return 1;2 ]9 k, M9 X% Z2 |, _; @
else if(x.time<y.time)
! [' r# I: {& @+ f1 G- R3 c N return -1;3 o6 C. ^: \$ J* T$ A
else R/ s" S+ {/ r8 B) i! l3 O
return 0; w5 T: O* r/ P+ l
} ) X6 N3 e! K" H/ [# Z) v
);
; H, j3 C% W" w' I1 ~for(var i = 0;i<array.length;i++)9 L- S# c2 A9 \! O
{; H/ q6 ~ g( Q
var g = array<i>;
$ c) n2 M! _. Z' F* `5 x. O if(!g.c){
1 p Q; Q; [4 ^4 [2 } g.c="";
& U, ^; B; u, J1 d/ t3 h' s9 @ }
; b4 [' |* J! q $("#list").innerHTML+="<div id=lrc"+i+">"+g.c+"</div>";
1 S# c2 j" I8 ?' n}+ k6 c5 u) I+ z
var time = setInterval("lrcList()",500);
8 a# X( ?; j3 M3 D; [+ u3 R}else{+ m* C5 l' p0 _/ t" u
$("#list").innerHTML=$("#lrc").innerHTML;
6 x/ r% r% X0 \+ y; l6 C}
3 ?+ j" W0 ?& O& W: F5 mfunction getNext(i)
5 R4 P7 N6 J: W2 @9 ^: o{
( A( G( x" S r& Z var result = "";
V, `: g- Z( i O6 V# p var i = i+1;9 A0 O$ w7 t: R2 d. y
t = lrc<i>.split("]");
6 i' \- _ L$ g- Z+ N1 X1 d+ [4 S if(t[1]=="")8 e' M4 E) P; o8 w( I. C
result = getNext(i);+ J: k: T, d+ ~% u
else
( [- s$ n& V3 S# k. ~3 W result = t[1]' ]. n/ J- x8 s: }7 T/ v2 F
return result;) k, M2 l& |- ]8 _
}& @8 G" g' r3 x
( h& A* a( {- N- p( J
function getTime(str)
. V }7 O* P( O! t0 u, I% B{7 A# [( t, v' y
var time =0;% c& M2 F: h. m# I& L# e
var ta = str.split(":");
" G) [2 k! t3 }. s if(ta.length<2)
+ Q$ h6 n) v! w- S return time;
4 j( v; Z- |( f# n# m( ?! h# a. }( B6 O" D* ~- k* J' e' l0 e
if(ta[1].indexOf(".")>0){) F8 G. M) i6 C
var tb = ta[1].split(".");7 w$ ^3 y: E, \/ U- i
time = ta[0]*60*1000+tb[0]*1000+tb[1]*10;" |: p x0 O) \" z! q4 a1 T
}
0 {0 Y- Q* m( J4 Z7 ~# g else6 U& p: B g- `2 `& a; \
time =ta[0]*60*1000+ta[1]*1000;
2 p2 R5 c, z* S$ v' F7 U0 O! i( ^ return time;3 t5 k9 v4 |" ]4 _
}4 V x& U# O, f* J% M
var preTime = 0;8 B/ C& L7 s: @6 \3 |; g6 `8 B3 @0 c
var nextTime = 0;
. u4 B8 T% D7 V- ^- O- avar currIndex =0;% ^; b4 O2 p; \$ ?9 r% A4 c' ]
function lrcList(){
* R U' q* A, c% D0 p/ t) O var s = parent.document.getElementById("MediaPlayer").controls.currentPosition;
( g- T0 _7 c* ]" ? s = s*1000;" {& i, a' q8 S% D) t
if(s==0){7 o+ ^ v6 h, @9 ]8 { @
currIndex =0;
# I3 U' E+ b7 y. d* z/ Q+ [. i $("#list").scrollTop = $("#lrc"+currIndex).offsetTop-30;
3 v) ^' p' ~7 ]/ P$ S5 J, p for(var i=0;i<array.length;i++){
; a. L; ]1 g" }/ {% H2 |+ o document.getElementById("lrc"+i).style.color=colorNormal;
1 p, f( z. {, T }
" s% X" C" y) S% v$ H return;
: s1 w! I( Y O- w }2 F, ^! P& W/ {; Z0 o& @
if(s>0&&currIndex<array.length-1)0 K, ]0 w. R" D2 B& i2 |! A
{ " Y$ D1 H( [4 `. o5 \ u
preTime = array[currIndex].time;/ W( x5 Q" _3 G% Z! Q! ?# y
, v* Z. _6 ^: B nextTime = array[currIndex+1].time;
1 y7 D5 M4 J( F& a4 d7 V7 P5 I 8 K- i: T8 z# W3 j, G0 X+ X9 o
if(s>=preTime&&s<nextTime){
) c* V$ t/ W, Y$ t/ j }
3 |4 D# {* g/ \) v else if(s>=nextTime)
1 h2 T6 i7 D) ?* u' J- k {8 O( `9 b; _6 X0 N- D; l
document.getElementById("lrc"+currIndex).style.color=colorPasted;! [' _) f+ E1 j/ k, K
currIndex++;6 F& ]- }# b7 s1 x C$ d6 A0 ^
$("#list").scrollTop = $("#lrc"+currIndex).offsetTop-30;! A* @8 f$ o) ~& d% e" _6 ?% B
document.getElementById("lrc"+currIndex).style.color=colorPlaying;# V! h: a! u) W/ N- t# l
lrcList();
2 S' v: C& Q: c6 q$ ^ }
7 U& Y, c J' t else{
/ S" e9 p, \# a5 R: y' k document.getElementById("lrc"+currIndex).style.color=colorNormal;) K& |1 I& Y( R |+ A
currIndex--;7 v7 M+ y# y0 e. v# h
$("#list").scrollTop = $("#lrc"+currIndex).offsetTop-30;! v7 L. i9 i6 O8 S* p8 S/ W" v" i
document.getElementById("lrc"+currIndex).style.color=colorPlaying;
+ H- d6 m! X. j% }* x5 H lrcList();
/ `8 F5 b; p7 d6 q9 p y0 S& m } / ~/ o+ ~& j% L, G7 O# J* U
}
) ?( z8 v) v$ e) `5 K8 k else9 ]; N6 R* {* l6 ~' N& Z, p
{% w& S+ w+ Z1 K. v* @( D' \
if(s<array[array.length-1].time){
# ~' l: p( G. g9 t5 i& M- F' M) ^* ] currIndex = 0;# x5 B) a1 k/ l
$("#list").scrollTop = $("#lrc"+currIndex).offsetTop-30;4 o" A$ R1 q% \9 s7 l+ `, ?
for(var i=0;i<array.length;i++){& ^" v [* z* F5 q0 ]% x
document.getElementById("lrc"+i).style.color=colorNormal;
. L% Q9 m+ X9 d- A! s& f3 i }5 Y# G3 K7 H, H( j! X
lrcList();
2 U: v8 Z4 f6 |# c0 J7 w }
, D8 Y" C6 v4 g1 F0 i }
) T4 J* R# I+ p/ _% M}
* M( \, q( }6 Z A; q4 [</SCRIPT>
' _5 u5 l& ~) f6 f3 ^/ }</DIV></DIV>1 ]. V$ ~ _- L( U f+ ?* t2 ^
# ?4 r; V# N, S; I; k[ 本帖最后由 幽谷兰 于 2008-9-18 17:36 编辑 ] |
|