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