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