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