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