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