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