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