|
|
<DIV id=list>7 M# }4 R' ^ X9 z
<DIV id=lrc1 style="COLOR: #666666">[wmv=0] http://lzbj.ncedu.net.cn/uploadfile/20083923248279.mp3[/wmv] </DIV>8 a( [: X9 g& D7 P( a6 p" }. J- {
<DIV style="COLOR: #666666">|等一分钟|听到这首歌,觉得它很动听,旋律很优美,很是喜欢,传上来给大家听听。</DIV>
' O$ p# ]0 t4 s7 z& D2 Q) \<DIV id=lrc2 style="COLOR: #666666">词曲唱:徐誉滕</DIV># O: Y+ i" N4 i, y* {7 ~9 Q2 u3 L: A7 M
<DIV id=lrc3 style="COLOR: #666666"></DIV>
' {0 ~6 `9 b' ~& [! S$ w, n: c<DIV id=lrc5 style="COLOR: #666666">如果时间 </DIV>8 w/ S9 _0 u' t0 P
<DIV id=lrc6 style="COLOR: #666666">忘记了转 </DIV>! i1 q4 U* n8 T- q+ W n. K6 a
<DIV id=lrc7 style="COLOR: #666666">忘了带走什么 </DIV>
; R; d4 G/ j! x/ n$ i<DIV id=lrc8 style="COLOR: #666666">你会不会 </DIV>" G7 s% \$ P: W
<DIV id=lrc9 style="COLOR: #666666">至今停在说爱我的那天 </DIV>, N# L6 q8 j6 c, ~
<DIV id=lrc10 style="COLOR: #666666">然后在世界的一个角 </DIV># @$ F! ^' C/ T5 B3 _& b8 ]
<DIV id=lrc11 style="COLOR: #666666">有了一个我们的家 </DIV>
; w$ @% _8 F1 o: `, T# Z<DIV id=lrc12 style="COLOR: #666666">你说我的胸膛会让你感到暖 </DIV>6 m/ T7 O- X/ q& \
<DIV id=lrc13 style="COLOR: #666666">如果生命 </DIV>
9 c8 I9 w9 C+ X# \, u% o<DIV id=lrc14 style="COLOR: #666666">没有遗憾 </DIV>
" | Z" f. k; n: Y<DIV id=lrc15 style="COLOR: #666666">没有波澜 </DIV>
5 A9 T% D* R& ]3 _6 x" Y: ~4 g" V<DIV id=lrc16 style="COLOR: #666666">你会不会 </DIV>, {+ c- ^' u4 [, N# y2 W1 k" I
<DIV id=lrc17 style="COLOR: #666666">永远没有说再见的一天 </DIV>5 E M: Y4 W+ \0 R8 Q* e
<DIV id=lrc18 style="COLOR: #666666">可能年少的心太柔软 </DIV>
2 G& {! P* ]% d; {<DIV id=lrc19 style="COLOR: #666666">经不起风经不起浪 </DIV>
& L6 @) Z; f0 \, `) p<DIV id=lrc20 style="COLOR: #666666">若今天的我能回到昨天 </DIV>9 ?$ }. H3 n1 }
<DIV id=lrc21 style="COLOR: #666666">我会向自己妥协 </DIV>
4 }+ d6 K/ T4 ]5 y<DIV id=lrc22 style="COLOR: #666666">我在等一分钟 </DIV>
( {- E6 l3 B5 }6 A. Q% m4 J<DIV id=lrc23 style="COLOR: #666666">或许下一分钟 </DIV>/ {+ t" Y' W7 e( d" C
<DIV id=lrc24 style="COLOR: #666666">看到你闪躲的眼 </DIV>" I; p. V% R3 l6 a
<DIV id=lrc25 style="COLOR: #ff3300">我不会让伤心的泪挂满你的脸 </DIV>
. t0 p9 [ G) G8 ]$ M2 V<DIV id=lrc26 style="COLOR: #000000">我在等一分钟 </DIV>) G/ v. x5 E$ A
<DIV id=lrc27 style="COLOR: #000000">或许下一分钟 </DIV>
' @: L. b! o- `0 ~<DIV id=lrc28 style="COLOR: #000000">能够感觉你也心痛 </DIV>8 ^6 F: P+ t% k `
<DIV id=lrc29 style="COLOR: #000000">那一年我不会让离别成永远 </DIV>5 a/ L+ c; D' D/ ^: Q; w
<DIV id=lrc30 style="COLOR: #000000">如果生命 </DIV>3 U/ R! Y( j+ A5 R
<DIV id=lrc31 style="COLOR: #000000">没有遗憾 </DIV>
, {% P1 p' A: L' A1 o<DIV id=lrc32 style="COLOR: #000000">没有波澜 </DIV>
8 _$ G9 l7 h7 h2 b2 N+ z6 k! `% d7 \<DIV id=lrc33 style="COLOR: #000000">你会不会 </DIV>
6 q* u7 Q8 W2 J6 x<DIV id=lrc34 style="COLOR: #000000">永远没有说再见的一天 </DIV>; h+ ^9 I# I# b+ v$ |' T7 g
<DIV id=lrc35 style="COLOR: #000000">可能年少的心太柔软 </DIV>
' W* A) T% o1 [8 c<DIV id=lrc36 style="COLOR: #000000">经不起风经不起浪 </DIV>2 A; m* s. h0 U
<DIV id=lrc37 style="COLOR: #000000">若今天的我能回到昨天 </DIV>: ^$ }* }" a( ?
<DIV id=lrc38 style="COLOR: #000000">我会向自己妥协 </DIV>* t: y1 {6 Q& {
<DIV id=lrc39 style="COLOR: #000000">我在等一分钟 </DIV>
4 I1 J4 C. L6 u' |+ S) w<DIV id=lrc40 style="COLOR: #000000">或许下一分钟 </DIV>9 ~5 L/ M, `' {$ z# I$ U* P
<DIV id=lrc41 style="COLOR: #000000">看到你闪躲的眼 </DIV>6 D1 R V& }0 O) k. s$ w
<DIV id=lrc42 style="COLOR: #000000">我不会让伤心的泪挂满你的脸 </DIV>
. ~: i8 m+ P" ~, L: Y6 t<DIV id=lrc43 style="COLOR: #000000">我在等一分钟 </DIV>, ?% H/ ]5 m& {4 W& _# ~; J
<DIV id=lrc44 style="COLOR: #000000">或许下一分钟 </DIV>6 i! `6 X1 Q6 A# Z
<DIV id=lrc45 style="COLOR: #000000">能够感觉你也心痛 </DIV>3 e5 {+ u8 q. ?, ^, }& I0 s- W
<DIV id=lrc46 style="COLOR: #000000">那一年我不会让离别成永远 </DIV>
# l6 M) z m) m& j/ d<DIV id=lrc47 style="COLOR: #000000">我在等一分钟 </DIV>
+ a! P7 G- q9 ]& g, j) r8 F7 P" t<DIV id=lrc48 style="COLOR: #000000">或许下一分钟 </DIV>) C/ `# \. n) j2 L+ W
<DIV id=lrc49 style="COLOR: #000000">看到你不舍的眼 </DIV>
8 @3 @! A1 {" H Y# o% a<DIV id=lrc50 style="COLOR: #000000">我会用一个拥抱换取你的转身 </DIV>- o. V0 o4 w# k/ p
<DIV id=lrc51 style="COLOR: #000000">我在等一分钟 </DIV>, `3 C* l6 K1 V- H
<DIV id=lrc52 style="COLOR: #000000">或许下一分钟 </DIV>
2 L8 f4 d5 k2 a; _ R: G<DIV id=lrc53 style="COLOR: #000000">如果你真的也心痛 </DIV>; n4 Q' s! z+ A# l
<DIV id=lrc54 style="COLOR: #000000">我会告诉你我的胸膛依旧暖
) c' \9 W. J) U: _7 n1 W- S<DIV id=lrc style="DISPLAY: none"></DIV>
! j3 p3 R( V$ F<SCRIPT type=text/javascript>
# v4 j- I0 ]/ ~- s" Hdocument.domain="1ting.com";+ n& G9 P, y! A( j0 ]+ q/ l' K
var colorPasted="#666666";
9 A' o" m% K5 D- @; o5 @" `6 C0 Lvar colorPlaying="#ff3300";
7 Y3 N n$ ~4 O! pvar colorNormal="#000000";: Q9 Q& A# x8 o) F2 S7 B: u4 D! h0 }
$ = function (a,g){- w+ j5 ]; `4 H% L$ y
var o = new Array(); 4 y: L- e' f* @" l' ?
var c = new Array();
) E0 x! [3 R7 y$ j6 s+ R7 J- ^ var r;
) g, ?; K+ E5 r) I var u; 9 ~' W# I0 h6 @1 \0 \
var a = a.split(';'); - f8 o- b7 [1 t$ g$ P# n
# N: ]/ Y% R5 f6 s' B+ x) J var e = "keydowns,resize,load,dblclick,click,mouseout,mouseover,mousemove,mouseup,mousedown,inputchange,inputfocus,inputblur".split(",");
$ ^6 ?/ z; |8 E* \* H. q& A6 b for(var i=0;i<e.length;i++){
' z4 f: V) D* {* b& F7 B4 ?$ b eval(e<i>+" = function (s){eval($event('on"+e<i>.replace("input","")+"'))}")
+ Q" O# l2 @5 n7 Q6 a, c! l7 p }
* H. L& }' k% d) J3 W
7 x# _3 W# r' n8 d# B/ p; P after = function (t,d,s){% S$ A" |! [ M2 A4 J' O
$after = function (){$ \! X% h9 X7 I
var $n=document.createElement(t);
, o5 {+ v6 ~- o* R if(d!=null){
0 R$ B2 g$ M' J8 M R' C, y $n.id=d; ' G D* ~& H1 H& Q5 @+ T/ a
}- x# e [0 a" ]: l/ n
1 U* y$ R8 Z; Q9 ~* U8 O
u.insertBefore($n,null) 8 i, G2 a( A; [1 P# Y+ L" m
r = $n;
; c+ D! K& `' T; k8 P+ g u = $n; . H7 U( U9 f4 V+ A! a6 D6 X
}& D3 ~3 x" v( n$ w3 Q" U
$for(s,"$after")
7 j( A4 ^. r, ]5 q: I }- _2 [* W3 g Q8 D
" k, O& z2 B7 `* J2 M% d. b show = function (s){9 j: \& k5 j6 g! [
$show = function (){# S9 C; f1 [7 c7 g" u
u.style.display!="none" ? style("display:none") : style("display:block") ;) R% F! L t* b. `
}- i0 n; [7 Y3 W6 K5 e* s
$for(s,"$show")
, v1 O- o' A% k3 x% V) V, } }% I) ]9 I8 R+ f/ F* X/ W$ @& p
4 F' W3 E1 V9 H# N0 _5 X3 P
check = function (t,s){: d' Q# m2 P# ~- k7 t1 ^0 w
$check = function (){1 P1 |: q# l; O
if(t=="2"){
. B; A3 o% P6 p/ J5 N; Q if(u.checked){+ n6 G2 Z4 c2 { |6 Z. A5 L
u.checked = false;7 o( F& F. O* {0 a8 i& N; \
}else{
3 Z" r! k# m# y' V5 g u.checked = true;
& G# P q5 A# S1 k/ s+ ~# S, h }8 G0 S' ?: b; G: G1 p9 E* q
}else{; J2 J1 X: u$ Y" \- m
u.checked = t*1 ;
$ E/ C( C, M0 e- I1 B2 e1 ?, t' |) r }
4 B( @' c% `) } }3 N4 S' }/ \% v$ n0 s- X
$for(s,"$check"): Y! o0 n+ s4 a l4 T2 `7 }" R
}! p2 Q2 l/ Z! Q) k# f5 n
, ^6 ]- |! H& J style = function (v,s){/ h) g3 G1 k! H6 a
$style = function (){' V! A0 ^. f3 g; j: G( i) h% Q
var $n = v.split(",")
6 f6 N6 r, `3 ?3 ^* b for (var i=0;i<$n.length;i++ ){& i! [* B/ q4 q7 Z
var $m = $n<i>.split(":") - r6 J# ~3 b- p
eval("u.style."+$m[0]+"='"+$m[1]+"'");
` u x9 S) s- ~& F }- v+ a. Z$ P2 m8 R ^. q9 v
}
6 Z, f( K) L1 p% i $for(s,"$style")
# I7 F! L( B, j& W }
: y# Q" ~* d9 ]" j( T; j
1 j" Q( @1 g+ I, X value = function (v,s){* {; x' u$ y5 l
var $n= $this (v);
. s4 B% m* k5 i' }4 s1 C $value = function (){
9 a% \) _) k4 v u.value = $n `& g/ G( p' U1 J1 I# V& ]: V
}
' r8 O! l9 S* b: B/ [: A. B' x1 _ $for(s,"$value") + `% X" F% Q) a5 ~4 u" ~7 a
}
2 n/ M# O8 a9 s9 M- s. z; J
& h0 Q" U( j" z6 l* q& ~/ O W7 x text = function (v,s){
5 O1 n' G2 G3 d5 q# B& n8 t var $n= $this (v);+ z8 S$ |6 n% c# z
$text = function (){+ G: [# ^9 `2 x3 e
1 ~! b$ C( Q, d( Z
u.text = $n
4 B# y8 @: U$ n# g9 n }- T% w% _7 e$ |4 g' X* P
$for(s,"$text") 2 Q7 V- R2 t }2 a5 q( ~
}4 t0 W# N7 j+ |
& b: m7 k1 J* b
innerhtml = function (v,s){* K4 {" `0 H$ ^9 }6 a
var $n= $this (v);
; Q; K7 I4 A5 P0 Z# u" U8 b4 I $innerhtml = function (){
+ z' q/ P- T8 N' s, D u.innerHTML = $n7 @" ]3 x4 O* G V/ Z* o* `
}4 T' \+ K# j c- p* D ^& T3 K7 Z
$for(s,"$innerhtml")
% O8 w7 R7 }0 G4 N) ?/ w }
, \6 x8 }! J8 z- f! I: a " w/ V R! G& i x( X+ ~# ~, W
removechild = function (s){
$ N& Y: O( X! o) K ~+ H8 \' _ $removechild = function (){
5 l7 O8 w+ o: C) x# { u.parentNode.removeChild(u)1 t' i* `" b3 W
}$ Z* o1 p, U! }" p' \3 H* o
$for(s,"$removechild")% m+ N. Y! Z: g& I! j/ k$ ^8 ^
}
) r1 | w6 Y( E- }* D8 y1 n
0 Z. s4 Z4 |: Z% M $this =function(v){
3 C% v" e/ O- ~ if(v.indexOf("this") == 0){
* f, x5 |& X1 ?. `4 ^ return eval(v.replace("this","u"))" D+ E1 O( p1 c' T& F% A
}
# n6 p' C8 w' q# b o( \" [ return v;- u9 W+ K) ?( K7 b7 C. u8 d# P
}
* I. O6 i% P- B1 |5 z7 I$ S$ Y
' M: i) P d# J8 s( V $event = function (s){9 `. I+ q0 @7 o/ Q# N9 M6 V! H" f
var $n ="u."+s+" = function(){$work(this,s);}": [. J- r: R' N% w0 e* E
return $n;3 t1 ^- ^, [. B4 `, {+ d
}
, [; j; i |4 ?0 }+ c! s2 h* `* v: I" i
$replace = function (s){
; [3 W: n1 ?( k. U6 g( q) A" t! f7 S; d% O+ V
}/ q( w1 O1 U- y3 t
' `; D; w n R' k0 P6 X3 ~5 a $for = function (s,c){
+ k7 ~. \4 s. J6 c* Z3 n var $n="this."+c+"()" ;
6 q. B! I+ X" o. K5 X1 O7 Y# }. I7 _- C if(s!=null){
' H" y5 u& v v5 G! G var $m =$test(s);
& T/ R# v% u1 C) B( ?3 {0 Q/ }$ v for (var i=0;i<$m.length ;i++ ){
$ l4 w( c A; D- D; }0 |- S7 R8 l u = $m<i>;
0 o6 ]) G6 K. W! [6 u eval($n);" _/ \0 H( u' P0 n# l
}; d0 h! t7 W5 D, ^5 y; N
}7 t- x1 w9 L& ]' j
else{7 Z* B- O+ X) F0 n9 g3 ]6 g
eval($n);
1 _8 S2 q! i# W1 `! m1 `: O9 v }
6 p( A6 V+ B. U5 K2 m }
- x9 F2 Z% `+ H5 C! _* w# O) z
2 l$ }. H' z$ d4 [$ O3 A2 D $test = function (a){; i7 J( j5 ]8 s/ w7 u) E/ F0 R- P
var o = new Array();$o(a.split(';'),o);9 H& ^0 B) J7 X* V5 A! k
return o;2 d1 G6 p2 B+ \. {
}
. Z4 d4 M, d; o% X/ R
, Z/ D w3 D- K! \# o5 }# e% K $format = function(s){- g( Y. D- ?- y4 }) \; Z. Z
while (s.indexOf("'")>0){- z4 P& m3 B2 A9 w$ C
s=s.replace("'","\"");' ?" f6 m4 L3 \' B" G; Z O2 ]
}# @& K( s6 f: f* g
while (s.indexOf("][")>0){7 U- k9 c; U: n$ z, t g1 N
s=s.replace("][","','")1 {7 i+ j) z3 p' K" d
}: {' t, D0 K1 r! ^
while (s.indexOf("[")>0){
* I) F$ r5 T! J) c s=s.replace("[","'").replace("]","'")
( i; \% b6 [" T! v3 U' Q }
) }- |5 P, S+ W9 _9 J% F2 _: ? return s;
8 ^. z' p( _; O u i5 y4 \ }' ^; _- \; J' @5 g* {: F7 j
, y$ f e9 I e
$work = function(w,s){
5 c' R6 m% k/ s1 D2 W. G u=w;eval(s)+ I) |" H" z5 M
}
2 O) n/ x$ w1 }9 Y" C9 C y* a' n9 G! A+ X) x8 {. l# r9 m
$id = function (s){# K1 A) W; ^% e5 {
return document.getElementById(s);' ^6 U3 Y" B* C) h% L0 U
}9 c3 D8 e1 i ?, V3 X# h/ V
t& e/ a& }8 t2 I6 W- |
$name = function (s){
1 D1 T3 U$ ?$ y* m return document.getElementsByName(s);
/ h& x! N; n" g( a# ^" I }/ L& c% S4 J! a/ |9 z+ M9 G
1 K& a6 b: z* ^) P. C! u$ [, T $tagname = function (s){3 N! e9 G1 y7 l7 A+ E
return document.getElementsByTagName(s);
! P6 Z! R) ~5 r( C( c4 Z7 ` }
3 v, N5 K& q3 K! E- {% n; j! p, B0 P0 L
$o = function (a,o,c){* q; e5 f1 e( H7 T% ^$ E
$push = function (n) {
, ]- W2 y7 i( z' m: o for (var i=0;i< n.length;i++ ){
* o; A& s8 d$ D' v# s1 ]& Z+ Q o.push(n<i>);
! p+ m9 M9 b' a) y } . ]2 D- Q2 l' A% ], R$ D' r7 h9 `
}! n/ I4 _9 L4 y+ q- Q# T
for(var i=0;i<a.length;i++){
7 F8 d3 E3 f: }; k if(a<i>.indexOf("(") >= 0){
1 I% N; P w% T. H/ m+ w2 i c.push(a<i>);8 G. s3 G" a5 p) [ Z. x5 e
}
- N* ~* o; t+ f; j- F' @, i. c if(a<i>.indexOf("~") > 0){
2 G$ s6 T$ I' m3 D9 |2 c try {
# O& J6 r8 ~* z $push(eval(a<i>.replace("#","document.getElementById('").replace(" ~ @","').getElementsByTagName('")+"')"));$ ?6 q8 g. Q5 }( k, K1 U% }
}catch(e)# ?) m* W- W# g$ \4 o
{}
) I& Q1 X# N+ E; ~ }& M4 G2 p' n3 q" Z/ o- T5 C8 V* W
else{
* E. g/ N/ Q/ G$ X if(a<i>.indexOf("#")==0){
+ ]/ U* m5 K8 b( ]- j+ E o.push($id(a<i>.replace("#","")));
5 B C/ F& K6 q/ H8 j }$ C) x( A U! a. R3 x) k; Y
if(a<i>.indexOf(".")==0){" T* G4 l. p& W
$push($name(a<i>.replace(".","")));* @5 G/ M k$ D M' k6 I
}: X0 q& l& N9 O: V. G2 A
if(a<i>.indexOf("@")==0 ){
2 c$ N0 ]( {2 b3 G" {/ d6 s $push($tagname(a<i>.replace("@","")));
5 H) u: B( O; n" J6 v( ?3 Z# ]" W" b }0 B i' v* J' X) e8 _
if(a<i>.indexOf("*")==0){% ~: o- J* {1 p; j% `
$p= a<i>;
1 T5 T9 j2 T2 C, U2 j: ] if($p.indexOf(".")< 0){" S/ z" y; G! M+ o
$p = $p.replace("parent","parentNode"). e! J' x/ C( ?( h+ E2 a6 U
}: I* l5 ?. ^! c, ]$ z( W
var $p ="u."+$p.replace("*","");3 f) M! ?# Q% w: s& z
while ($p.indexOf("parent.")> 0){2 S, I! Z i2 ^5 h- J
$p = $p.replace("parent.","parentNode.")4 u6 p, }, v6 D
}* H8 z' _3 R2 J, s
while ($p.indexOf("child{")> 0){
3 L/ W) L9 I5 I4 G; N# G! S9 R2 @ $p = $p.replace("child{","childNodes[").replace("}","]")1 G; D* F- U' N6 l$ s$ y9 S- ^
}
, p V" }& ^1 @6 W7 X* c$ T6 h o.push(eval($p));1 U, _. K' g% ]# {+ d$ Y
}
! ?, K: S$ |7 l4 y J if(a<i>.indexOf("document")==0 || a<i>.indexOf("window")==0){
1 n5 x. g- h7 I$ w! w o.push(eval(a<i>));
3 {. @* b; I2 ~. Q7 O }
& n; F$ P( @. ] }, v/ J! P3 F8 f+ d7 B9 I
if(g!=null){ 0 D) v( V( x2 Z( i7 W$ [1 I+ ]
o.push(g);g=null4 ]% Q2 l" L& \. |# q
}
( x$ V# d: k# M, L/ ? w9 E: v4 q, ? }
. q! x1 a" ~4 i- Z2 ? }( N1 @9 e( ~5 s! c7 z v5 f: b) H
' S/ S& S& u2 G- [
$o(a,o,c);
! G7 F( S3 _% ?, B' ]' P0 o
; F: U+ I3 E% \: W. V for(var i = 0;i<o.length;i++){
# F2 c; }7 u& R& c8 e for(var j=0;j<c.length;j++){
/ d, O8 n. I- I; H* |1 [% h% B& Q u = o<i>;eval($format(c[j]));
1 t f: x$ L5 {6 o8 r }
. K- @# v* ^3 L }
% A! M. n) T* Y* y& z( r$ C0 j r! x; R8 M) x9 t* X% e* l9 Q- E
if(o.length == 0){! Z, [+ |* y4 O+ V; i* P+ X! B, V
for(var i=0;i<c.length;i++){
' C- c0 x( U! z5 h- L/ B0 A eval($format(c<i>));
: \+ d8 p9 q1 G/ [: {1 U; b6 S+ d }# Q( e8 \. U" s4 c
}# Y' i2 |$ k8 ^5 S# F: z
$ s% w) M" ?: A3 t' \9 u if(r!=null){
/ G/ [$ @9 C) h+ K1 O return r;5 e# M( q, n- K" O; L( F b ^
} ]. T3 f! x8 r; X
' C& c" l. T1 c2 B' D. R0 m' R
if(o.length==1){! @$ z6 t6 |& A
return o[0];
' R# T% Y+ I. o% N }! g4 s* Y# b: _/ w* W
else{
& E1 U; T0 `! H) X0 W5 O+ @ return o* a; ]" g* a1 l: O
} ) ]3 Q8 z& N5 A7 G
* E0 b) c' x6 z } j2 k3 p% d9 x+ [ M
var lrc =$("#lrc;show()").innerHTML.split("[");
1 A: {( o% @. l- m9 a8 c. cif(lrc.length>5){$ M( X, C# {6 B& X- D" R
var array = new Array();
6 k6 O/ S' ]9 ]for (var i=0;i<lrc.length ;i++ )+ ]$ G: ?8 T" q/ n1 o
{
7 H- n/ m' B+ m. X, L1 z var g = new Object();* b/ [, w- U1 c) U, g- n: `+ W
t= lrc<i>.split("]");+ X+ V2 H3 F: X) b
g.time = getTime(t[0]);0 j; g' z/ U9 l$ z) B0 |" f
if(isNaN(g.time))$ D1 `3 u9 v0 x
continue;: W+ r5 i% ?8 M" g4 a0 a/ L) N
g.c = t[1];* B+ L" g0 `3 \# `6 ]- E+ u
if(g.c == "")
) J+ Z# G$ d8 F/ s" c7 T: r: G/ i g.c = getNext(i);
. i: ]* g W, T array.push(g);2 ]( @) a& n5 U
}
' v8 w, N3 E' n: _2 ]1 W/ @array.sort(function(x, y) {% z( Q3 }$ l9 s! x# l0 |
if (x.time>y.time) , e# x; e& g5 J- a: q2 ^: `
return 1;1 O" h, l" m G. u: a; j( V/ L
else if(x.time<y.time)
. ^) b. A Y1 q3 {8 S return -1;
% \$ f R- B! C6 N else
4 n4 i2 W5 T. L( P( o' { return 0;
$ T1 k$ s. J* r( t }
( E& d1 [. K+ w L3 R);7 k. H0 X8 Q5 l3 m6 _) P' N: J
for(var i = 0;i<array.length;i++). f9 v/ V. M [$ V. d; ?* e
{
, w: t/ {& Q7 u- `- r var g = array<i>;
% B# n8 v2 O3 a. A8 |# c4 w; m if(!g.c){
8 U. z4 i# z2 N g.c="";8 Z+ O8 @, C! r' M2 v4 b: N0 F6 i
}
# A; N6 D5 K0 I/ A0 ], i S& s $("#list").innerHTML+="<div id=lrc"+i+">"+g.c+"</div>";
2 X. N/ ^, ~$ l* O: ^% S}" L+ P+ k* e( X, r- l& P' R
var time = setInterval("lrcList()",500);
& Y" Q9 T# c! T7 k& A}else{2 J, O5 V4 D) b, X
$("#list").innerHTML=$("#lrc").innerHTML;2 u" f# r. ?, C1 v2 [
}
( f! |, ^' P$ M) b o1 J* D n4 Xfunction getNext(i)3 d; |4 P; B' |$ {1 J) R
{
/ J7 Z8 _( C; P6 ]+ g var result = "";) B0 k" J5 c6 D9 G$ y" d6 s
var i = i+1;0 ?5 Q3 E0 q [1 n, v: W
t = lrc<i>.split("]");5 I2 c% c* Y6 \7 A
if(t[1]=="")
5 D+ W/ U2 K5 \# k& h) A result = getNext(i);7 d' l; p1 ^4 H* ^
else
+ Y" c) U# F, w# ^* f9 t D3 H result = t[1]
* B p' s# _ Z9 } P return result;
3 o8 X: _& L0 f7 H- z& |}
+ k% v9 O* k4 v$ f
l. @6 J/ c: Z# q) ufunction getTime(str)
) l y1 k4 \$ N* l% C{& M- |! _1 Y6 M, m
var time =0;
( `+ Z) Y8 t2 c var ta = str.split(":");% c. o( V& U5 {) v- Y( ~0 q
if(ta.length<2)) P1 o+ D- B& N+ `* V8 ^# ~, U6 A
return time;
2 V; a0 Z& s$ v: a. K/ A% @5 T, O" z" ?- N5 E% B- ?! g3 ?
if(ta[1].indexOf(".")>0){6 L( ]7 h' g) g3 J8 [
var tb = ta[1].split(".");: K. l* {; J) s
time = ta[0]*60*1000+tb[0]*1000+tb[1]*10;
# `, F: v0 d* m- P }0 T2 o4 S* G* C' Y" _
else" M# c5 ?$ b! ?5 y# C
time =ta[0]*60*1000+ta[1]*1000;
% l4 ?3 q! ]5 p2 h return time;' q9 k2 p9 W9 n& O7 [$ Z4 ]
}% x0 W- h5 Q0 F5 A4 z/ j
var preTime = 0;
$ f( _5 B9 `9 J. uvar nextTime = 0;
/ ]* R/ o* Z3 Jvar currIndex =0;
* B. p- ?, R% p! B) l" e3 Wfunction lrcList(){4 s z; F; Z- ]
var s = parent.document.getElementById("MediaPlayer").controls.currentPosition;: p V8 H+ L* u2 A' R+ ?7 i
s = s*1000;; e0 d# i8 P0 M
if(s==0){
7 k3 D( ?$ z! f2 r0 X' P7 W currIndex =0;# T' j9 A' |& `
$("#list").scrollTop = $("#lrc"+currIndex).offsetTop-30;
' l+ J+ t# p& n8 O" x for(var i=0;i<array.length;i++){3 [8 Y+ @$ V) ^2 f S
document.getElementById("lrc"+i).style.color=colorNormal;
9 D: x! C# O% E* `! V }
' A! O' R. o, `' M return;/ l P9 p5 F* r8 L* j: O7 M( F* Q) W
}2 b; B W Z/ A o& p" }" P
if(s>0&&currIndex<array.length-1): l+ f+ d; Q; b8 K( p9 z
{ ' e. c( n* L3 V; l3 |' u- R, ^ B" s
preTime = array[currIndex].time;0 \* V5 v o% a$ r* Y
+ _ X9 z; ~7 [ nextTime = array[currIndex+1].time;
8 D: U: p7 Y/ K8 ^! p / a, |2 h+ H4 B# G# @- w7 z J5 U
if(s>=preTime&&s<nextTime){
5 E+ i* q6 ~, A" e }; V- F8 ]: V, H" ?- `3 W
else if(s>=nextTime)4 t- {5 y( R0 A! A
{
5 g% C6 w7 S" {4 d! H% x: }* F+ u i document.getElementById("lrc"+currIndex).style.color=colorPasted;
( M- x$ L5 X+ i2 h currIndex++;
$ F! Z: q* P2 I. M $("#list").scrollTop = $("#lrc"+currIndex).offsetTop-30;
8 Y% J7 ?7 a/ D! C6 L' P. P document.getElementById("lrc"+currIndex).style.color=colorPlaying;
2 {0 g( q. x/ b; J lrcList();2 R( K& q i; d* G
}) }' ]) d" b( Z& z7 R
else{
+ Z2 ?5 U$ U0 F$ o+ ?8 J document.getElementById("lrc"+currIndex).style.color=colorNormal;
* ~% z' @3 ]& H) Z! K3 Y currIndex--;
/ d) f* X4 v' i. k! d- i6 M) y $("#list").scrollTop = $("#lrc"+currIndex).offsetTop-30;$ N& d) y! j: g1 k2 X3 b
document.getElementById("lrc"+currIndex).style.color=colorPlaying;
$ z- q5 G: G% J! g. { lrcList();1 L3 m& I: t- B# l+ ]% E
} , j( M! b( Z8 {1 d7 ~* L6 o# a# I
}
' U/ Y+ x1 }+ G+ ~8 r' C7 T else
6 i* V5 c' A8 m+ u4 Z5 p {1 \4 S" ~) T1 W, P$ A
if(s<array[array.length-1].time){
; p( A7 D/ `7 c# \: ^$ ^* N- A8 D currIndex = 0;) a( P- j! b# [! w( U
$("#list").scrollTop = $("#lrc"+currIndex).offsetTop-30;
b- P& l% L+ [( M% @ \ for(var i=0;i<array.length;i++){
9 k; r& X7 j- C1 @: ]0 |; Y# R G document.getElementById("lrc"+i).style.color=colorNormal;
* `( d8 z. c) c( V, W$ f# r5 a1 S7 A P }0 }/ ]. q+ Q) z9 d A3 d3 L
lrcList();
- w2 |( p3 w) j+ L2 C- F. N }0 n4 a( {/ n8 z" ?
}% f3 r* m# B+ ? c4 t3 }
}
: X+ M/ X L0 J</SCRIPT>
s' L1 w3 t, j! g& b& @* Y</DIV></DIV>. i6 y/ E+ X0 @1 R. o( M9 l8 ]/ v
9 C* r- o3 f/ a0 ?7 t; ^9 h. d[ 本帖最后由 幽谷兰 于 2008-9-18 17:36 编辑 ] |
|