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