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