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