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