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