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