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