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