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