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