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