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