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