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