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