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