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