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