|
<DIV id=list>
0 {9 r) ]: @# ]<DIV id=lrc1 style="COLOR: #666666">[wmv=0] http://lzbj.ncedu.net.cn/uploadfile/20083923248279.mp3[/wmv] </DIV>, Y* p; q4 x8 L8 _$ U5 A
<DIV style="COLOR: #666666">|等一分钟|听到这首歌,觉得它很动听,旋律很优美,很是喜欢,传上来给大家听听。</DIV>- T1 r' f5 \; u0 }8 j; i
<DIV id=lrc2 style="COLOR: #666666">词曲唱:徐誉滕</DIV>0 ~8 l/ ?/ E3 E
<DIV id=lrc3 style="COLOR: #666666"></DIV>; l# F9 U0 N, u% Y6 K6 ]1 l
<DIV id=lrc5 style="COLOR: #666666">如果时间 </DIV>
2 g Y8 H; p" }: o3 v# `<DIV id=lrc6 style="COLOR: #666666">忘记了转 </DIV>, M! Q$ |2 c1 _/ Z2 U
<DIV id=lrc7 style="COLOR: #666666">忘了带走什么 </DIV>
e. g2 Q3 W# E7 n$ M1 f3 ^5 Q2 V<DIV id=lrc8 style="COLOR: #666666">你会不会 </DIV>9 R- L- J1 i+ y8 H( I$ A
<DIV id=lrc9 style="COLOR: #666666">至今停在说爱我的那天 </DIV>
& k. d' A7 Q* H# |) C$ ^/ z C<DIV id=lrc10 style="COLOR: #666666">然后在世界的一个角 </DIV>! I4 u8 h/ a; h9 x
<DIV id=lrc11 style="COLOR: #666666">有了一个我们的家 </DIV>
; |! e1 d0 p9 _1 I& z<DIV id=lrc12 style="COLOR: #666666">你说我的胸膛会让你感到暖 </DIV>. e$ @% Z" b+ k2 a I' l" F/ [8 D
<DIV id=lrc13 style="COLOR: #666666">如果生命 </DIV>' @) f9 ` p1 Y! e# l
<DIV id=lrc14 style="COLOR: #666666">没有遗憾 </DIV>
. s( r1 N5 D! _: ~$ z+ ]. a<DIV id=lrc15 style="COLOR: #666666">没有波澜 </DIV>0 i4 R( D( a) E. k6 m* d+ `3 M2 ?
<DIV id=lrc16 style="COLOR: #666666">你会不会 </DIV>
: Z( o, H/ F8 h! n<DIV id=lrc17 style="COLOR: #666666">永远没有说再见的一天 </DIV>) ~' _. l: J* Z" I6 `! y2 }% d. x" H5 C
<DIV id=lrc18 style="COLOR: #666666">可能年少的心太柔软 </DIV>
1 j8 A l! H0 y<DIV id=lrc19 style="COLOR: #666666">经不起风经不起浪 </DIV>
6 I& G0 x( x4 c6 b& P$ u) x: J( W<DIV id=lrc20 style="COLOR: #666666">若今天的我能回到昨天 </DIV>0 t V8 a9 Y$ {+ ~3 ?2 a
<DIV id=lrc21 style="COLOR: #666666">我会向自己妥协 </DIV>
" i9 U5 ^% n: H9 c) J" g<DIV id=lrc22 style="COLOR: #666666">我在等一分钟 </DIV>
- G, e/ T3 Z* H5 p9 M; @<DIV id=lrc23 style="COLOR: #666666">或许下一分钟 </DIV>7 V+ I: _! x; s: J1 A
<DIV id=lrc24 style="COLOR: #666666">看到你闪躲的眼 </DIV># v; [ p+ ^, O. K! w5 b Z m
<DIV id=lrc25 style="COLOR: #ff3300">我不会让伤心的泪挂满你的脸 </DIV>5 `* R- r- r# ^0 _) R$ ^0 I
<DIV id=lrc26 style="COLOR: #000000">我在等一分钟 </DIV>' p3 S, d% V% ~, t
<DIV id=lrc27 style="COLOR: #000000">或许下一分钟 </DIV>' m! M$ c& n/ J4 u
<DIV id=lrc28 style="COLOR: #000000">能够感觉你也心痛 </DIV>1 s- X& A; n! F* h. c
<DIV id=lrc29 style="COLOR: #000000">那一年我不会让离别成永远 </DIV>
1 L( O* Q) s1 g+ H, P+ }. G, q<DIV id=lrc30 style="COLOR: #000000">如果生命 </DIV>
4 h, n9 l; h3 U<DIV id=lrc31 style="COLOR: #000000">没有遗憾 </DIV>
. y1 K2 b4 f% {) B$ |4 p, j<DIV id=lrc32 style="COLOR: #000000">没有波澜 </DIV>
% g3 T& f" A# }6 \; O- g8 r. Y<DIV id=lrc33 style="COLOR: #000000">你会不会 </DIV>- Q# }7 e% U% H5 l2 o9 ^ {
<DIV id=lrc34 style="COLOR: #000000">永远没有说再见的一天 </DIV>
' w" B4 [; n# G<DIV id=lrc35 style="COLOR: #000000">可能年少的心太柔软 </DIV>
* `4 E9 A G9 |+ d5 J# R3 l. p<DIV id=lrc36 style="COLOR: #000000">经不起风经不起浪 </DIV>; [" m& }, V& j
<DIV id=lrc37 style="COLOR: #000000">若今天的我能回到昨天 </DIV>
; T6 g* Z* H4 }9 H! I<DIV id=lrc38 style="COLOR: #000000">我会向自己妥协 </DIV>9 b. l, T/ r8 J- a \# e" o: [
<DIV id=lrc39 style="COLOR: #000000">我在等一分钟 </DIV>5 K! S- V+ F+ `
<DIV id=lrc40 style="COLOR: #000000">或许下一分钟 </DIV>( C3 j" f$ j* W& v& i: ?8 L, t2 p- w8 r+ \
<DIV id=lrc41 style="COLOR: #000000">看到你闪躲的眼 </DIV>
- V Y+ S* I+ I<DIV id=lrc42 style="COLOR: #000000">我不会让伤心的泪挂满你的脸 </DIV>( s# {5 Q9 }0 R: \% P
<DIV id=lrc43 style="COLOR: #000000">我在等一分钟 </DIV>, ~' Y. g8 I6 {$ S) E
<DIV id=lrc44 style="COLOR: #000000">或许下一分钟 </DIV>
* ^+ B1 ?6 W4 B. c<DIV id=lrc45 style="COLOR: #000000">能够感觉你也心痛 </DIV>/ b, i9 G% }$ G8 B2 b7 p
<DIV id=lrc46 style="COLOR: #000000">那一年我不会让离别成永远 </DIV>0 B- A6 M2 D9 E* [3 P! _& x$ C
<DIV id=lrc47 style="COLOR: #000000">我在等一分钟 </DIV>- X; n* Z' }$ D" U" I
<DIV id=lrc48 style="COLOR: #000000">或许下一分钟 </DIV>( B' y6 u$ J5 e+ V
<DIV id=lrc49 style="COLOR: #000000">看到你不舍的眼 </DIV>
% h! K9 w+ u( |9 O. \<DIV id=lrc50 style="COLOR: #000000">我会用一个拥抱换取你的转身 </DIV>, o8 i) k1 D0 [) N; X9 R9 _
<DIV id=lrc51 style="COLOR: #000000">我在等一分钟 </DIV>. P" ?2 q% K0 w
<DIV id=lrc52 style="COLOR: #000000">或许下一分钟 </DIV>
: I: `- B' i" z9 w% d3 }/ ]<DIV id=lrc53 style="COLOR: #000000">如果你真的也心痛 </DIV>- n# }: V/ w: v! w
<DIV id=lrc54 style="COLOR: #000000">我会告诉你我的胸膛依旧暖
# d- r$ b" H8 ]: S8 X: I) ~<DIV id=lrc style="DISPLAY: none"></DIV>
) K# b% }2 I1 y& P<SCRIPT type=text/javascript>
0 s, V. ]/ {- P& d0 R* Z2 T- a7 G! Y& `document.domain="1ting.com";
: T* y: d0 \# A D+ Tvar colorPasted="#666666";
! J* `7 d& w$ ]9 M" d& j% Pvar colorPlaying="#ff3300";
( u, }/ `8 `, F2 T; M' l! ?var colorNormal="#000000";% P- V) x0 b; Z) d8 j
$ = function (a,g){0 z' @0 N4 M$ ?, M6 q
var o = new Array();
9 l2 @! a2 n6 C) X. M var c = new Array(); ( j( L) \* R+ R/ P" U
var r;
% V- K0 t v; @( ]9 N; X var u; + {+ z& W- B" w; u; F" Q
var a = a.split(';'); : ]! J- R8 d! u- W, d
# X2 K+ t% y/ b) H
var e = "keydowns,resize,load,dblclick,click,mouseout,mouseover,mousemove,mouseup,mousedown,inputchange,inputfocus,inputblur".split(",");
: L% F h R4 X7 X6 c for(var i=0;i<e.length;i++){( ?' C2 X1 R' i' Q2 k& y% l% R I
eval(e<i>+" = function (s){eval($event('on"+e<i>.replace("input","")+"'))}")+ c! Z0 H' [% J1 D4 w
}
1 {6 _ A# T# E5 O- H( s E, x0 d/ P8 H; n- W: P# h$ e
after = function (t,d,s){
$ l/ q) l( g5 E3 [ W4 g# E+ X $after = function (){
7 t* t! E/ m# Y2 I var $n=document.createElement(t);' G( ?/ {# |7 D ]- ^
if(d!=null){7 C, U' b0 S% \' E( L$ y
$n.id=d;
# n; u6 ]! g3 ?" k; q2 d }
) k* z; W* k. b( X5 n
& K3 O+ w: T. {+ G, X9 X6 h u.insertBefore($n,null) $ c! c0 R( ]' ?
r = $n; ' F. }* z, y1 @2 L) Q8 ~
u = $n; 5 O6 F5 P2 P @6 _% G
}9 n$ V. i, S, R# X4 B
$for(s,"$after")
: K, ~- p# E% {2 M/ l! {( X6 G! l }' @* j0 Z y4 b U9 a2 W4 j
% B7 @) |- i+ W: L# d0 U. W/ f
show = function (s){
% b) l1 B$ K1 J, Y; t5 p $show = function (){
) P5 m9 I! J& O4 ]4 ` u.style.display!="none" ? style("display:none") : style("display:block") ;
) P8 Z3 h) q$ S }
( @( B- B0 E) ^0 u $for(s,"$show")
8 S6 `( P8 `- k s- X }
2 G6 z- m3 ?2 p( j; }) _; `6 }( d* W' \0 [
check = function (t,s){
# Q) f. i9 n3 X1 R $check = function (){# w* M, s5 J6 I% z; O* a
if(t=="2"){/ J& e K R5 i: s% h- V" i1 D; V
if(u.checked){; Q6 R# l6 P% E1 y( |" M7 J
u.checked = false;$ U) b4 B9 M2 n8 x0 s& t
}else{& v: H' d$ F3 F1 t o+ P1 N
u.checked = true;
2 N0 I; S/ Y2 w2 ^ }
0 K7 c! Q1 Y% \( F4 Q; J) r. |! c }else{
' X$ w4 l1 ~2 H) ?6 {8 t u.checked = t*1 ;: q& B& Y* ~9 t
}$ N) K" Z6 L D& z7 M/ P
}
- F8 [: d" i3 v) [' a- Y $for(s,"$check")$ S9 [9 l- w- h7 [' K* J* S2 u
}" {! q% Q+ S$ K
" p4 h$ B2 R, b style = function (v,s){. y. S; h7 z4 g# G4 u
$style = function (){7 }9 ~. n, X$ ~ h
var $n = v.split(",") 5 S3 Y+ l. _: O6 R: H
for (var i=0;i<$n.length;i++ ){) ~" S: l0 V: [# y( E+ z
var $m = $n<i>.split(":") ( c$ W/ k# c. W7 l2 e7 o
eval("u.style."+$m[0]+"='"+$m[1]+"'");4 z, U, W+ V$ {$ ~
}- R/ a, [$ e; G" N, z8 P* E6 y# E# I
}4 G6 i* \' c* g% k# T/ t
$for(s,"$style"). i2 A/ U. l: x. g4 X0 e m
}
/ [/ F7 L; T/ p2 v0 z& P
0 c) Y1 H/ ?, i: A3 M( \ value = function (v,s){& s' ^3 ?4 P, A
var $n= $this (v);: q' W" l! e- B/ o
$value = function (){! W( x! v' W+ Q# G+ g" S, R- l/ a
u.value = $n
# n& F# `0 e9 X }1 U/ D/ A2 f- W7 O- Q {: g& z
$for(s,"$value")
1 |' ^* v9 G; ~& e5 G }% s$ i- }# T1 w) w5 |
0 {& d. b- [1 m0 a( ?1 Q3 A
text = function (v,s){) I. a9 o! d( F" w
var $n= $this (v);) S. @ K4 n$ i8 _8 |2 Q$ M
$text = function (){
2 b5 A+ p+ v2 t8 B+ a8 b & U# J+ d3 F& ~+ q$ z V
u.text = $n
8 k8 q: q& r' D) B0 ~9 s }/ [+ g9 c1 _" \. t; y
$for(s,"$text") 0 }! v) X. K, K+ s- @$ e( d; t
}/ E+ C. w; p7 t4 x/ J
. }( D1 b, E+ j
innerhtml = function (v,s){
% P. V. w6 i! R# F/ M; ^7 \& S: [ var $n= $this (v);
! o/ U% s& ]% k( a $innerhtml = function (){
) b: Z1 _8 B) Q/ q% i u.innerHTML = $n
; ]: L% m: S; G- {, z2 k$ B" @ }
H) K) F& {4 B% }) q3 T9 C2 q $for(s,"$innerhtml")
5 {! ?, v# l7 U/ f( Q$ Z8 l }6 }0 |: b/ @, f" a
9 P) I: j8 g. G: N: } removechild = function (s){( W* n) `3 R3 w
$removechild = function (){ U# @% b) @# ~$ J. x5 x* ~
u.parentNode.removeChild(u)
3 A: `! S4 h# @9 t8 a4 X2 ] }
- }' |3 q* A6 i( R $for(s,"$removechild"). F& ~- V4 g, w, ?8 t
}
, V4 z: E2 f6 i! {0 k T9 C! p4 L1 X
$this =function(v){
& m" r3 m* V g" s1 ` O. V8 R$ Z if(v.indexOf("this") == 0){7 F! e, D' j8 K3 I L* ~1 @
return eval(v.replace("this","u"))
* W6 t- A! d* W) } }
1 X8 a6 H5 @3 j2 y1 l* j return v;; \ M4 j! X9 ^) I3 r+ x
}
4 }7 b- f* U8 f% v* K% a
- S, p! b" d/ k$ Y% y: F9 O1 ~ $event = function (s){
& z0 `0 [: S9 G var $n ="u."+s+" = function(){$work(this,s);}"
$ N2 c2 v& A4 ]+ @ return $n;
7 T, t' W; b2 L, K }
h; V8 E7 ], j% _8 t5 \+ `. A+ F* S9 J& Y1 M& a2 J0 ]
$replace = function (s){
& f# M1 a% j+ y& M; S4 z g5 ^2 O9 ^# _/ {8 w( S
}
0 U7 g* x/ I' O5 {" b" ^
" F7 E! p' n; A4 |! A1 J $for = function (s,c){
% M3 w' W) Y; [: v) s var $n="this."+c+"()" ;% ]4 g( z' h# h
if(s!=null){; U) X. l2 S6 ~
var $m =$test(s);% d" T9 J- k% g `& Y. S. J0 a' A8 D
for (var i=0;i<$m.length ;i++ ){
x9 F# K0 a' H5 G u = $m<i>;+ W( m; i- y0 S. \! {' B! T+ v- A
eval($n);) l, C! B' d$ S- u. P
}
0 c1 e I% z$ V# r }
) p8 |, Z. ?6 L3 E else{1 G# d, o. o J! e
eval($n);6 d* T/ e# F: l: J
}! ]- r, r9 d5 R3 E1 G. a t5 C" K. a# V
}
j5 U' D: w' T. d; f! X+ W
/ @, C2 m: P# D& t, R% ~ $test = function (a){6 y( H' S9 Q# o2 B# F- [
var o = new Array();$o(a.split(';'),o);
" D) k/ r# ]+ o& B( @ return o;
7 j' F$ Z0 V( |5 V }
2 U F. T; f9 Y- o% k/ O
/ e5 i- E& Q/ B6 `1 p* v; X $format = function(s){8 y: P3 E1 b0 U2 ?: u+ U7 s. g
while (s.indexOf("'")>0){" u p. f f6 v: k: i
s=s.replace("'","\"");; C# l8 ~6 V5 m" C' v" c- A6 v2 \
}- S2 t7 m3 d: t. D6 {7 }. a# c
while (s.indexOf("][")>0){
( [4 f1 c1 c; I% M1 n' k s=s.replace("][","','")
Q' v% t! }/ S }
9 W$ l' y, w2 l6 X: _. x while (s.indexOf("[")>0){) Z6 Q) B" v2 {6 P/ N! o3 w
s=s.replace("[","'").replace("]","'")
% Z3 R S( H( J$ Z1 U }
3 k/ b' l1 _$ p; I& T0 T return s;
! h4 ?) Y; z o& p; r& e7 ^/ f }
1 s7 ]$ |9 s0 Z8 z6 x& M# U( |! ^( O
$work = function(w,s){4 j0 c6 J' z$ e2 y+ | a
u=w;eval(s)
0 t6 t# `& b. ]" V' T$ b }
8 O0 ^9 T% t k# d1 X/ p- P, J5 {5 }7 B+ i5 _$ L7 a
$id = function (s){1 T1 M0 H6 S" G% W8 Y* L6 h: b+ Y
return document.getElementById(s);
8 R* d! M ?2 a$ R( d }% ^$ o" r2 t! U1 G
, c- V9 n; O0 I. l8 u3 w7 ^ $name = function (s){1 K0 s2 b s+ H5 J4 B
return document.getElementsByName(s);
( y1 G$ C$ O. B3 q. X3 L8 |# d }
9 x" j! |2 a; x" W% h. u$ W6 h/ f+ f
$tagname = function (s){
+ g6 u$ | U$ N! ^# ]0 W return document.getElementsByTagName(s);; E. z9 p5 r% V$ `9 d1 ~7 U
}
% c1 T' K* m4 `8 J* O8 C0 K" a) x6 a6 F
$o = function (a,o,c){
1 Z/ v/ v \+ [5 R7 {( i $push = function (n) {- K, s* m0 v2 a& X2 _/ A' u! e
for (var i=0;i< n.length;i++ ){, R7 C. C! F/ q. f
o.push(n<i>);
" b4 I- h) [# Q1 T6 K2 v+ V }
: a, h/ q& \: H2 g8 ?) u }' {3 U& |4 l7 J8 P& i
for(var i=0;i<a.length;i++){ O% y1 M& ?/ [3 w
if(a<i>.indexOf("(") >= 0){+ l @( |) z f: K
c.push(a<i>);6 q7 R/ ?8 U% Q
}. l' e6 ~: P" k
if(a<i>.indexOf("~") > 0){4 L9 H$ T. R8 K: R7 @
try {
- G0 R' K n, y1 h $push(eval(a<i>.replace("#","document.getElementById('").replace(" ~ @","').getElementsByTagName('")+"')"));
% `9 K- f D; C) ^; J2 b- @2 y }catch(e); J. l% O' r: D" T0 M
{} 7 k7 f8 m$ W0 f1 S$ A
}4 C# K, N* O! o/ c) {; ]0 ~ ^; B
else{6 e% F0 Z: {) ?- |0 }
if(a<i>.indexOf("#")==0){
5 v8 K" S1 N1 T2 z" L o.push($id(a<i>.replace("#","")));9 W3 V0 R6 s0 u
}
" |: I7 I t4 @/ ? if(a<i>.indexOf(".")==0){
& N8 I+ ?6 Z" ] $push($name(a<i>.replace(".","")));
% k/ u* M8 F& b }
1 W& t8 `/ {( p if(a<i>.indexOf("@")==0 ){
$ `0 b) U- J4 [. h7 g Z) W% B $push($tagname(a<i>.replace("@","")));
% ]' Z6 d+ n6 F6 Z2 z }5 D3 }. e# e9 m6 \
if(a<i>.indexOf("*")==0){
- K# }1 K5 P" ^ $p= a<i>;" Q* w- a/ {# y) ]. k
if($p.indexOf(".")< 0){
) L' O3 {% @2 j V% o1 ^; w $p = $p.replace("parent","parentNode")* N1 F5 e/ _, ?& d
}
; d* K& v4 H6 N# l& Z' m var $p ="u."+$p.replace("*","");
4 C' d% V. G) s4 z; d6 M8 v while ($p.indexOf("parent.")> 0){
( ]: p- e; T0 H4 b5 o6 N* C" L $p = $p.replace("parent.","parentNode.")
8 Q8 s7 g% _* E- [0 t) @$ h% o% Q0 p }( [8 L$ z8 h1 R8 t& k5 w9 D
while ($p.indexOf("child{")> 0){0 L$ N) k* b- g* V2 J0 A
$p = $p.replace("child{","childNodes[").replace("}","]")& O9 v, s- V5 W3 |' o9 a4 @
}
1 |5 `; q6 P. [) C/ _; F o.push(eval($p));
; l7 V& A$ ~# @1 @4 @% ]* w% P }/ f6 O# j" c; {
if(a<i>.indexOf("document")==0 || a<i>.indexOf("window")==0){
. [; K! h9 |, P: T) z o.push(eval(a<i>));
% g6 T ?8 {. v6 \ }2 I( V) w6 P2 t5 n9 M k
}+ J' {& E! Z( a9 n3 R' a- M
if(g!=null){
- N l. a9 b1 A: g) w4 P o.push(g);g=null# K5 B! I3 \/ X
} 2 Q2 }& d3 i3 f& S/ l4 g
}
5 ~8 J% g0 m$ m/ f% [7 m }
& O" U# {1 E( k
' i2 k0 m; v! R' F6 i $o(a,o,c);
, r4 p9 P/ y2 `! Z4 w' a D0 B3 K0 o2 n2 T% M* @6 g" ?
for(var i = 0;i<o.length;i++){; b/ a; } c2 P5 l1 Z r% o' X
for(var j=0;j<c.length;j++){
! Q: |- W7 N9 ^& J1 b u = o<i>;eval($format(c[j]));, U1 x9 S9 f* p: q3 Q! @$ }
}0 n- ]/ n: x" |' v5 t( g
}
' F7 E9 f" P n
Z2 ]+ N& f( r* S if(o.length == 0){
, ~9 p* K7 ]3 ?) a5 D0 z' c for(var i=0;i<c.length;i++){
* A. m; Y* j9 \: W2 Y$ @9 ] eval($format(c<i>));
, I) z% s g, {) ~ }. z2 f: S- e- [( c) |9 p- g+ I
}. d8 w6 v) Z7 f3 ?7 f) ~ {
% l# a$ ?1 t0 v4 X% N
if(r!=null){
) n% g6 C, P6 y6 ?2 n v& a m" m return r;
8 H3 n7 R$ j; i% x8 ?) I }
1 ~! L" s. y: E9 ]' b
+ m! a/ C. [; d$ Y; e8 i2 V if(o.length==1){+ A# i4 D9 ^. k5 y1 y6 p- }
return o[0];
: A4 p: K$ J6 L r5 Z D& t9 X* u. E8 I }1 |: g* W/ d7 @+ x3 C
else{# }* ]4 j9 Q* `5 e U
return o; J6 [# R4 G# ]. c# `4 X
}
3 v0 ^ q* t ^& R9 h% i0 _ % v, {9 f# I) q* K3 P# \$ Q
}/ ?" C$ {( X1 _$ \
var lrc =$("#lrc;show()").innerHTML.split("[");6 L n; ]- }$ N
if(lrc.length>5){
# D1 U0 T3 E0 o% H5 M7 d0 Mvar array = new Array();2 [, N4 J1 @8 N% f- V+ k+ n
for (var i=0;i<lrc.length ;i++ )
8 I0 Q7 q; a2 A7 n% h{7 Z% a& n B0 c5 ?6 b; b" O8 V
var g = new Object();' [' q9 h' \6 @& E. s% K0 m
t= lrc<i>.split("]");$ `$ F& r |* J) y. m4 Y4 j+ G
g.time = getTime(t[0]);3 Q3 Y7 n3 x' z! j# M5 Q
if(isNaN(g.time))
% t4 r ^( f7 q/ N' f! b continue;
g# U7 R1 Q) ~( B+ Q( |; a g.c = t[1];
7 b5 Q a$ o* k4 i0 K' `6 h6 H1 K if(g.c == ""). G- n( J( n+ w x: m2 n' ~
g.c = getNext(i);1 g% j/ Z4 b7 l2 c( T
array.push(g);
% ]4 _. O: D$ C}
( N0 k) C# @4 N0 \8 ~, U8 Harray.sort(function(x, y) {
' l/ e0 Y+ T% ?% r if (x.time>y.time) 9 ~/ G$ p( k' C7 Z1 h# [
return 1;
7 F" \9 f7 g" M6 [6 N" t: }! o else if(x.time<y.time)
% b s" d, U7 T0 A, d; \, ? return -1;, ^0 O0 Q, U% I' ]" v+ i
else
. G) o+ n# c8 Z' C* H2 U6 I& U+ [3 b return 0;0 c- ]8 d$ \( P& z, W
}
7 ~6 o( @/ @+ e( V# U. Z; z);
- E- ?+ i. F) p" V$ Cfor(var i = 0;i<array.length;i++)
, j* R( K: M' P$ V% `, \{
1 f6 v. W2 Q, X var g = array<i>;
$ Y- V4 V! \# u6 Y9 c if(!g.c){3 d# O: p: ^6 q: S5 F# c% _5 j
g.c="";
) [! ~* Y ^+ Y( v$ v }- I. A$ x+ w3 y+ x9 v
$("#list").innerHTML+="<div id=lrc"+i+">"+g.c+"</div>";
, x% h' f+ R% z. q% E}" R1 l4 ?: A% g
var time = setInterval("lrcList()",500); ) c* [8 v9 J, h+ L c! [. i
}else{
/ i+ E/ C s0 ^# A $("#list").innerHTML=$("#lrc").innerHTML;
* v7 Z% e5 V2 }2 z}
$ f$ f. I1 n3 z& a+ j+ e9 P7 x, ufunction getNext(i)
. b# r# h4 w3 y7 S, a{# P0 y9 ]1 [0 ]8 s- T
var result = "";
0 c* O/ G! f/ w0 d" V* z var i = i+1;
3 c; @' n& [1 Q2 B. s- L) q t = lrc<i>.split("]");
2 ]) d6 f& W; \9 H if(t[1]=="")# f* S2 N2 E; S0 Z/ r& ^, b) U0 A
result = getNext(i);; @: }# W8 O0 @/ R% J
else
" J, F/ x6 y; E _ result = t[1]& V* b$ ]5 H! A
return result;2 I6 d9 o" j# Q, R: n
}: C4 z' o* J$ P, @9 \4 C( Z. B
* g# h& H. E5 ]' |* Qfunction getTime(str)
* C" K& C/ ~: U, p{
+ S9 `' w' D. m2 d+ G var time =0;$ N' ^+ P7 w; v$ O1 E& |! j
var ta = str.split(":");1 I. P v% l Z
if(ta.length<2)! l4 c& R2 N& Z4 ]9 {8 h4 W5 u' l8 V, H9 L8 u
return time;0 k' X6 a; B6 _. a
% y. R- l' v: S, { if(ta[1].indexOf(".")>0){& r5 y3 s1 x9 m G! A6 [
var tb = ta[1].split(".");
" r5 e" }& W1 Q* o6 |+ Z! V4 N time = ta[0]*60*1000+tb[0]*1000+tb[1]*10; C1 S4 d) I \6 I4 J5 N
}
0 N8 B' f$ _8 X9 E3 ` else9 ?$ s- L: V, `' ~- y4 `4 W
time =ta[0]*60*1000+ta[1]*1000;
- R: Q0 |" F9 N* r4 f return time;
+ |2 Y, d' Y1 g7 F}' h1 q* v$ \( c+ R
var preTime = 0;- F* N9 k- q* f) S2 r/ c/ P1 E) i+ o
var nextTime = 0;. K- W2 N( k+ _( P/ s
var currIndex =0;
" Q9 L; O9 q/ w& Hfunction lrcList(){
/ O2 Q8 h; k/ \9 \1 e var s = parent.document.getElementById("MediaPlayer").controls.currentPosition; w* B0 E4 h A
s = s*1000;
. N! P3 r8 ~' s8 o% n+ y( {7 D if(s==0){ ^+ ~( j. L( X0 k* k
currIndex =0;9 U* C: [! }! S, e+ D, o; m* H
$("#list").scrollTop = $("#lrc"+currIndex).offsetTop-30;
, c, N( _8 T! R0 n! u% e for(var i=0;i<array.length;i++){+ R) o1 p( q" A
document.getElementById("lrc"+i).style.color=colorNormal;
' w, a, C0 Y4 {2 g }
4 s6 ~$ J9 d: I6 ?5 j/ h( Y return;- j8 R2 m% Z/ }
}4 l6 _4 X; w/ t+ Q
if(s>0&&currIndex<array.length-1)
2 h$ B7 }2 k4 i( n { & y: `# q! R D2 z& A, ^
preTime = array[currIndex].time;
6 r/ \: V, v5 a
- e4 m& z5 p; J3 j3 P nextTime = array[currIndex+1].time;! O. F3 h% v) G% Q
Z; k8 y- N/ _( k2 P
if(s>=preTime&&s<nextTime){
' q7 K+ ^! p3 M3 x) [2 J }& M& X7 R% \1 p9 x
else if(s>=nextTime)6 |( Q1 y2 Z, [4 s! \/ M" j
{, u5 w+ ?7 T) l2 g- Y
document.getElementById("lrc"+currIndex).style.color=colorPasted;
# F- W: A5 u; h+ u& K7 [0 L currIndex++;
0 e0 z" u9 j( K: ~6 w5 i $("#list").scrollTop = $("#lrc"+currIndex).offsetTop-30;. Y j$ c/ i u9 M8 o2 W8 p4 q
document.getElementById("lrc"+currIndex).style.color=colorPlaying;7 ~- g. \7 i1 P/ V0 [0 y
lrcList();
! a& K" h. p5 l8 z }
, [: m! X! \2 x7 I8 G% ^ else{' B: _* c- |) Z
document.getElementById("lrc"+currIndex).style.color=colorNormal;. v V5 [- g6 \
currIndex--;
- @" v5 n; _8 f% g6 F, V+ A $("#list").scrollTop = $("#lrc"+currIndex).offsetTop-30;9 z2 m7 _- a+ o' K
document.getElementById("lrc"+currIndex).style.color=colorPlaying;
3 ^7 f+ P, R7 U) G" ` lrcList();0 S! H/ v5 P; c+ ~8 L8 w9 U
} ! {5 z3 J) `+ X: O/ Y, A, Z3 U6 [
} R! P- R( j0 Q3 a, W
else# v7 |9 G. d4 E2 o/ ?9 I
{) i' _+ f+ \4 y! I- P
if(s<array[array.length-1].time){( D! A- r. R, V
currIndex = 0;
- ]" I g9 N2 N/ W, y! O $("#list").scrollTop = $("#lrc"+currIndex).offsetTop-30;/ A. U) b+ m; d9 f2 Q5 y
for(var i=0;i<array.length;i++){3 B' z2 g* U' @
document.getElementById("lrc"+i).style.color=colorNormal;
9 \: ^' @0 K/ F- m" ] }
e/ ~6 Q8 b8 C, @8 d) \3 S lrcList();+ k4 |2 y- }: _1 c- N: \- d( ]
}! m9 a3 @5 C; ?8 h' i
}! g( d! {3 i- @! Q) f
}/ x2 Y% V. J$ W2 Q% }1 r
</SCRIPT>
' L+ |- ]0 }0 X</DIV></DIV>. ^; o- a/ g/ i
0 r- s# e5 w! k8 D/ N$ C[ 本帖最后由 幽谷兰 于 2008-9-18 17:36 编辑 ] |
|