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