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