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