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