|
<DIV id=list>) ^. M* {' R' |$ v
<DIV id=lrc1 style="COLOR: #666666">[wmv=0] http://lzbj.ncedu.net.cn/uploadfile/20083923248279.mp3[/wmv] </DIV>) \/ U6 `3 F' l- L- m& J/ m
<DIV style="COLOR: #666666">|等一分钟|听到这首歌,觉得它很动听,旋律很优美,很是喜欢,传上来给大家听听。</DIV>
+ d3 I5 |+ X& u# q1 J. D/ v<DIV id=lrc2 style="COLOR: #666666">词曲唱:徐誉滕</DIV>3 Z/ \8 T) L' _: s4 r
<DIV id=lrc3 style="COLOR: #666666"></DIV>
* i! ]$ e- X9 h( w" _+ L! D<DIV id=lrc5 style="COLOR: #666666">如果时间 </DIV>
/ n5 V( Z, s# n# l1 C# b$ \<DIV id=lrc6 style="COLOR: #666666">忘记了转 </DIV>
' X# F; {& ]3 U5 f$ ?$ U& k<DIV id=lrc7 style="COLOR: #666666">忘了带走什么 </DIV>6 D7 s! _! J4 A$ a
<DIV id=lrc8 style="COLOR: #666666">你会不会 </DIV>% U2 N" t; h+ u* o
<DIV id=lrc9 style="COLOR: #666666">至今停在说爱我的那天 </DIV># w8 N- H1 p9 B$ }# N
<DIV id=lrc10 style="COLOR: #666666">然后在世界的一个角 </DIV>
* h/ A2 Z6 q t$ \6 `$ ~: s<DIV id=lrc11 style="COLOR: #666666">有了一个我们的家 </DIV>
( A, c+ L( S0 R& U) j# u7 l<DIV id=lrc12 style="COLOR: #666666">你说我的胸膛会让你感到暖 </DIV># x- ?6 W+ Q( b5 p6 ^& c' {
<DIV id=lrc13 style="COLOR: #666666">如果生命 </DIV>
6 w4 Z5 q5 _1 r2 |- j<DIV id=lrc14 style="COLOR: #666666">没有遗憾 </DIV> t! p& o: d% D% `, }8 z
<DIV id=lrc15 style="COLOR: #666666">没有波澜 </DIV>6 R2 ]& B3 a1 l! M! w% F. W+ U
<DIV id=lrc16 style="COLOR: #666666">你会不会 </DIV>
, J% z9 Y; _7 G% P F% H<DIV id=lrc17 style="COLOR: #666666">永远没有说再见的一天 </DIV>
& I$ Z$ V$ r+ L5 j% n9 f; V<DIV id=lrc18 style="COLOR: #666666">可能年少的心太柔软 </DIV>
2 n: g) \7 W' L3 l+ b<DIV id=lrc19 style="COLOR: #666666">经不起风经不起浪 </DIV>4 u) t0 a1 r. M4 a( b, p
<DIV id=lrc20 style="COLOR: #666666">若今天的我能回到昨天 </DIV>! u, \) S# [& U" U g) ?* g
<DIV id=lrc21 style="COLOR: #666666">我会向自己妥协 </DIV>* Y: `) m: s4 x$ w5 A! m, J) P
<DIV id=lrc22 style="COLOR: #666666">我在等一分钟 </DIV>3 i5 ]/ I: y% j7 D; D& d( w# L) k" O
<DIV id=lrc23 style="COLOR: #666666">或许下一分钟 </DIV>/ h& P5 M C7 s, p' R$ ^
<DIV id=lrc24 style="COLOR: #666666">看到你闪躲的眼 </DIV>
/ o1 B! O7 Z: X; O( v" m: h# d<DIV id=lrc25 style="COLOR: #ff3300">我不会让伤心的泪挂满你的脸 </DIV>8 S; d5 o7 H" R% ?$ h
<DIV id=lrc26 style="COLOR: #000000">我在等一分钟 </DIV>
- H& W# V0 C: k# Z/ l3 Y/ E' c7 r<DIV id=lrc27 style="COLOR: #000000">或许下一分钟 </DIV>
5 k9 S' X* u3 u6 i0 y5 V( f# R% D<DIV id=lrc28 style="COLOR: #000000">能够感觉你也心痛 </DIV>
- U1 J, p! w* I4 f! m<DIV id=lrc29 style="COLOR: #000000">那一年我不会让离别成永远 </DIV>
# B& y9 \9 N' ]; L2 s+ T+ R" Q<DIV id=lrc30 style="COLOR: #000000">如果生命 </DIV>
* B: o5 ~4 t2 m<DIV id=lrc31 style="COLOR: #000000">没有遗憾 </DIV>
3 ~( r" u. [: `2 c<DIV id=lrc32 style="COLOR: #000000">没有波澜 </DIV>
1 O3 {6 h; R8 q& b; D2 N2 y<DIV id=lrc33 style="COLOR: #000000">你会不会 </DIV>, y2 y1 j4 A8 v' q' [( E
<DIV id=lrc34 style="COLOR: #000000">永远没有说再见的一天 </DIV>/ G& w- K% J, D1 Q1 g# M
<DIV id=lrc35 style="COLOR: #000000">可能年少的心太柔软 </DIV>
) ?" v" K' _! X<DIV id=lrc36 style="COLOR: #000000">经不起风经不起浪 </DIV>
6 C1 k E* ]! T3 Z, [* ?' U<DIV id=lrc37 style="COLOR: #000000">若今天的我能回到昨天 </DIV>9 t3 ?$ G- h8 s! L. V: L
<DIV id=lrc38 style="COLOR: #000000">我会向自己妥协 </DIV>
$ w7 B: v' t; p" k8 Y7 g<DIV id=lrc39 style="COLOR: #000000">我在等一分钟 </DIV>
0 H4 j8 `8 H' `: K& k0 H2 _9 Z) ]<DIV id=lrc40 style="COLOR: #000000">或许下一分钟 </DIV>. x3 Z( J0 ]! R% p4 s
<DIV id=lrc41 style="COLOR: #000000">看到你闪躲的眼 </DIV>
/ P' l9 {6 J5 Q; `- r) ]<DIV id=lrc42 style="COLOR: #000000">我不会让伤心的泪挂满你的脸 </DIV>
9 w. s7 e8 U* f$ U# \& u<DIV id=lrc43 style="COLOR: #000000">我在等一分钟 </DIV>; C8 k# q1 _+ u0 G! S
<DIV id=lrc44 style="COLOR: #000000">或许下一分钟 </DIV>% B3 Y; @3 X& g
<DIV id=lrc45 style="COLOR: #000000">能够感觉你也心痛 </DIV>' ^$ q6 ^+ p6 o* b: h
<DIV id=lrc46 style="COLOR: #000000">那一年我不会让离别成永远 </DIV>
/ \9 K+ ]4 a* c6 d<DIV id=lrc47 style="COLOR: #000000">我在等一分钟 </DIV>
. m. |: w) B, C" v0 X* `* y! N$ l<DIV id=lrc48 style="COLOR: #000000">或许下一分钟 </DIV>9 V+ [' E0 R' M
<DIV id=lrc49 style="COLOR: #000000">看到你不舍的眼 </DIV>& v' f1 a$ `( X( `
<DIV id=lrc50 style="COLOR: #000000">我会用一个拥抱换取你的转身 </DIV>* `9 ~( y" a" Z% O% ^
<DIV id=lrc51 style="COLOR: #000000">我在等一分钟 </DIV>0 w3 M& \* k! i
<DIV id=lrc52 style="COLOR: #000000">或许下一分钟 </DIV>" Z. @1 J& }# k5 [% G1 }
<DIV id=lrc53 style="COLOR: #000000">如果你真的也心痛 </DIV>4 O+ M& ?" B6 ^# w
<DIV id=lrc54 style="COLOR: #000000">我会告诉你我的胸膛依旧暖 ) Z2 s, \5 b2 ?8 q3 q. E7 {
<DIV id=lrc style="DISPLAY: none"></DIV>% R+ g6 d1 z" _. f2 J
<SCRIPT type=text/javascript>& \5 X( u; `5 b3 E6 T
document.domain="1ting.com";
( U$ V9 F7 c0 t0 U$ j/ fvar colorPasted="#666666";0 O& k" \9 K# D# s5 D+ V8 u
var colorPlaying="#ff3300";
. }1 v# [6 \- c6 h, wvar colorNormal="#000000";
( j" M9 `+ ^0 B4 T/ X$ = function (a,g){
$ ?4 E+ f1 x ?* Z5 n var o = new Array(); / J; ~& l7 m- U! O
var c = new Array(); * M. }- f# T; H6 ^
var r; 6 o: [( F& `+ s
var u; C5 V, ~0 k8 Y/ {# p/ V- p
var a = a.split(';'); 5 ]2 @9 f9 A4 ~, D/ e$ i
* l$ u! m" l* e4 j3 L" S
var e = "keydowns,resize,load,dblclick,click,mouseout,mouseover,mousemove,mouseup,mousedown,inputchange,inputfocus,inputblur".split(",");
; u( w, r# {7 C4 U; q% {6 Z for(var i=0;i<e.length;i++){. g3 u% O. M( h" [+ O' ~4 M# q
eval(e<i>+" = function (s){eval($event('on"+e<i>.replace("input","")+"'))}")+ t, x) c5 J& A* ]& D$ A0 u
}
1 j# R, ]9 m, b- R1 P0 m0 D2 V5 b4 g ?* }* b0 m$ Z! N
after = function (t,d,s){
; T, \1 @/ B6 O/ C/ M $after = function (){
! E+ @4 e& s& q2 g8 O3 v% O( ]# ~ var $n=document.createElement(t);& I1 o& {# b$ P) z) k+ W
if(d!=null){5 `3 @ `2 s! b" U- O, x
$n.id=d; : x9 U: m& J% O% i! H- s5 b
}
& `( d, X/ b5 z0 }
$ ]5 a, ]5 h8 q8 K u.insertBefore($n,null) % E8 C2 o; @7 _- ~7 Z3 C
r = $n;
: F' f6 l2 ?4 d u = $n; / `: k- P" _: D: t% a# B: K
}
/ Q7 P0 e1 @" s' X $for(s,"$after")
3 ?8 d% @1 K+ [ y4 A7 a }1 O u+ x( s: f- U0 B7 v& `
( c2 w/ [+ |6 `: B9 S' U
show = function (s){
5 S/ }4 y" I; U $show = function (){& e( Z; L: V6 e; p
u.style.display!="none" ? style("display:none") : style("display:block") ;/ n S2 p. s1 a. Q+ Z5 z
}' J" U+ Q& C6 Y* G! ], O, a
$for(s,"$show")
. S- ~2 R/ v9 V6 ? }
( Z( e* |$ ]7 K7 F3 B# l y
# @& w" M( ]) x% U: { check = function (t,s){, s8 B! {3 q- D6 H- p7 o( ^
$check = function (){
5 F4 s6 N3 e4 Z6 ]) r7 _; R if(t=="2"){
5 x2 h: Y+ b7 J$ H if(u.checked){
* W* |6 W. q3 f% Z7 Y0 o9 e1 X u.checked = false;
+ f9 x0 q( i0 h }else{
2 I# G, H1 _, p u.checked = true;4 X1 Z% f; o& F' x! [2 f! t3 y
}
' g+ b- `1 l2 X }else{* G9 `- M/ `8 @8 H# B
u.checked = t*1 ; `2 ]7 V3 D4 _- H# N" l
}6 F0 L @; V" m/ T% X
}$ D! g4 |+ ~; F2 R* e5 `
$for(s,"$check")
6 ^: N" @# `# B ^# S* c }
' V4 M8 A+ C1 Y% p* g. I* J& C& I M5 w; L
style = function (v,s){
u! y' D4 j% s* f& s: f! } $style = function (){
3 z; S# n# P; F# Z! ~ var $n = v.split(",") # B: s( \- X7 q6 F2 {4 }3 O
for (var i=0;i<$n.length;i++ ){3 Y# g9 ?; S, _3 c' ^
var $m = $n<i>.split(":")
4 p3 b1 Y6 p/ V eval("u.style."+$m[0]+"='"+$m[1]+"'");
5 f8 W. c5 E' t9 s# k6 u }
, Z* h- o- m9 I$ c" b9 ~1 R1 f- J }
* \+ C8 _0 Y) y $for(s,"$style")
% }) ~2 V* L! ?: r, T, `9 R }
' E/ A2 p( R3 ]( W# K( v# N
" t+ T, r: S( ^+ J- t* r value = function (v,s){
1 ]- }, m" F* Y$ P' X var $n= $this (v);
) g; h* Q, E/ y: L $value = function (){+ c u. u! Y! H. _5 t
u.value = $n
' K3 z& @0 x1 }# { }- D/ o3 M l) I% k# C' f( @% u( B/ _5 }
$for(s,"$value")
8 w1 b8 [, f( b2 S. b& t) q. [ }+ `8 {4 l. V. W" k, Y( C" r
+ |: X! ~/ k% o text = function (v,s){
X) t4 D3 h! w; E) W$ k8 b! F7 O- a var $n= $this (v);' x9 [7 c8 v7 o; B. m7 L
$text = function (){! a# C' k6 P% u/ `
U4 K" I1 [, R7 j6 z
u.text = $n
1 C& p3 A' `8 k, h' {* |, O }1 r; ~7 O8 _" }" w' a
$for(s,"$text")
' s% c; I# v9 `4 g) X! w. Y: q }3 G" E+ a& T7 b6 N
% \! I; r' v8 g0 a innerhtml = function (v,s){
$ H8 B+ m* T# l( [6 I" \: q var $n= $this (v);* [. ?0 e" ?3 P2 `8 j
$innerhtml = function (){' O4 U, s5 Q; I1 e* M$ u
u.innerHTML = $n
) }- h% M6 v# z: X* l2 ^5 m }. y+ l: w9 y& c8 o: a
$for(s,"$innerhtml")
' C, v9 i3 X- } }8 o }. Q& F5 m9 u- O8 z/ b6 }9 a0 {
) @* t9 j( y4 [- T
removechild = function (s){ E6 B- w9 c4 w) l
$removechild = function (){1 z6 S" s( h/ X" j* G/ S- T
u.parentNode.removeChild(u)1 p+ H8 R) K9 g
}
$ p1 p$ } q& i$ ] $for(s,"$removechild")
: _1 I7 o5 i9 a/ a6 U }
8 M7 A( T8 y" h: g- a, d
& u8 c( r/ t- B( X $this =function(v){
* V* J" R4 K9 w if(v.indexOf("this") == 0){" G- ]/ B& F, `6 X$ R) G
return eval(v.replace("this","u")), e# [7 {+ P+ |: i, h/ v
}
8 P: y5 h. \6 b- ~ return v;2 I3 ^+ c( |5 q4 G3 c, @; w
}' G* [" N- j* r( s. B
0 E0 c; a' \! ` $event = function (s){
x, ~7 s6 W( o7 ]( \3 ]- { var $n ="u."+s+" = function(){$work(this,s);}"
7 J6 S1 I7 [0 V* a return $n;0 y( n; Z5 p3 s% N" A* [
}
0 E0 {! w2 x- P8 h# _6 [$ s) `! h4 o/ D S
$replace = function (s){% d% ~. I% l1 u+ k; G
/ k6 e3 n$ y0 ~$ V6 p }* L0 w; {% i* Q3 u* c
! C* C7 u3 J: z+ k9 Z% h, S $for = function (s,c){
- y- X0 h, G. F7 U2 l* E! e- d$ { var $n="this."+c+"()" ;
' Q! u8 ]3 b" H* s; b if(s!=null){
8 r* Y9 b1 r2 Y. p. S var $m =$test(s);
* [9 Q2 _7 k3 p R( ^ for (var i=0;i<$m.length ;i++ ){
1 B* o; l$ ]6 c u = $m<i>;+ ^) t* n1 ~. _7 F: s
eval($n);9 s$ Y* ~; V9 u% T2 s A
}: ]8 m! p2 _. ^) _! T$ m
}
% q) b- n2 W" `) c else{
) ~. O; ~. {! D* }0 V2 N, p6 G eval($n);6 X$ z/ p% f9 y- F1 h8 J" H
}4 c4 ^5 |& S0 @1 Z* S. Y
}
4 {/ K7 f1 i' h3 V" o/ [- g0 l& o : j* _: R. @- r J) m7 ], V
$test = function (a){
& X8 p x* E: `& i6 ]# t var o = new Array();$o(a.split(';'),o);' T% I" h# O' e- v3 r
return o;
! `# X# K0 M0 s9 ~+ X- M; e }
+ n5 x% I( K: h+ o0 A1 ]3 g/ ?% r2 s# Y+ O
$format = function(s){5 Y5 L" u, k0 C. E
while (s.indexOf("'")>0){7 `4 J, u; ^8 X( z( t" \0 s
s=s.replace("'","\"");
% y4 a# \* ~8 Y* `* h3 ~ }
* m2 k' E( P# j" I* v; R7 U while (s.indexOf("][")>0){5 s1 s" Y+ A( P! f. t
s=s.replace("][","','")
1 g; A$ h, t# e$ } }& s% x( W. h% P$ T; l
while (s.indexOf("[")>0){8 S) `' R5 j/ _9 W8 w1 m
s=s.replace("[","'").replace("]","'")
q2 Z L- j* T4 S6 [. w. s } + T) q! h$ W- h, v6 G) S3 m
return s;
) X6 Q- W0 B( o) ] }
' Y, Z l3 `3 p+ H9 L$ V5 L8 I
# T( R- Q1 M) ~" v0 G0 G K $work = function(w,s){
# y2 d+ K1 L$ R9 ]; o u=w;eval(s)
6 z# z/ v, ~) T3 J# U! s+ X8 n( ^2 ~ }% T& b+ q. N2 g! n$ n; O. @
; c, u- [0 x6 S. E% @; j" \9 @
$id = function (s){6 F& s$ ]" \9 p. P
return document.getElementById(s);
# v; R/ m/ F) P8 V( X1 U" L6 x }) q6 p- f, d3 i9 x3 {
; A4 t y' R/ X y
$name = function (s){
! I$ \. X! b7 } return document.getElementsByName(s);3 u6 z) Z! M4 @' l8 s
}9 _) i8 X: \) Q* D8 Z
2 C( N7 X' j9 B3 n
$tagname = function (s){
& c6 [ E2 |# Z& ]5 _9 Z, v return document.getElementsByTagName(s);
1 l# G# J% ~; x; a: C g% d }& g5 |& f1 `/ V! O% l) Z6 H
3 ~ f% A/ _' @3 | $o = function (a,o,c){+ H; L$ O U$ _% Z" H
$push = function (n) {' ^8 H, b8 Y& @: f
for (var i=0;i< n.length;i++ ){
1 @. o! n) _% R6 w/ u o.push(n<i>);) k2 t, e2 n0 Y; i# y
}
/ s+ J& q! H' ^* H: u+ K }0 q4 V. y4 x, S* |- M) J1 M
for(var i=0;i<a.length;i++){. z9 U' v1 E0 t3 M9 r
if(a<i>.indexOf("(") >= 0){+ c& s. w' c& @+ L
c.push(a<i>);
- w9 |4 D! y5 g( A, H }% V- V& j2 i x8 [
if(a<i>.indexOf("~") > 0){
6 }# M8 C4 j. V6 B S try {
" [9 U8 b7 w% F2 ~& y$ ^ $push(eval(a<i>.replace("#","document.getElementById('").replace(" ~ @","').getElementsByTagName('")+"')"));
. {# D1 U. p; M2 R) n* {6 e$ f }catch(e)
; n. R, Q# r/ I; f( Y0 c {}
# {/ |3 p4 j6 z" j# L& x; _! R }
# _ u; |* t9 s/ G$ G; ] else{
4 {) E8 D' B6 w8 { if(a<i>.indexOf("#")==0){
- \6 [% p1 H8 g0 t! Q2 m! a o.push($id(a<i>.replace("#","")));, k j3 f6 H+ H& J' z& W
}
{( |6 v$ S1 b7 a2 f6 J, I* v if(a<i>.indexOf(".")==0){
; C8 Y8 W, @! |6 P+ ~% ` $push($name(a<i>.replace(".","")));: K6 s( |$ e- [: Y# J7 u X& ^
}" I3 p& \# q% o- \' r. v. }
if(a<i>.indexOf("@")==0 ){
1 s0 U. b* t1 M& e $push($tagname(a<i>.replace("@","")));1 @7 F6 V% F' D+ F
}# P; C; o3 |( |9 J
if(a<i>.indexOf("*")==0){
# x3 a0 G! L9 g6 t $p= a<i>;
' @( R8 R- y% N/ J7 \ if($p.indexOf(".")< 0){; P1 C _! T' G# T9 E+ `
$p = $p.replace("parent","parentNode")
& q$ [3 j+ Q \# i; E3 o9 X% S6 r }9 L4 I) D1 Z+ G
var $p ="u."+$p.replace("*","");- f* l- A% m8 U; w2 x/ C8 `+ N# _
while ($p.indexOf("parent.")> 0){
; O4 S) N* }9 Y0 Y" w2 l2 j $p = $p.replace("parent.","parentNode.")
1 L5 f5 o7 C% i }
" n. s! t3 }* Q2 x1 [ while ($p.indexOf("child{")> 0){# T( h& h! m/ o$ R! W; p/ M
$p = $p.replace("child{","childNodes[").replace("}","]")
q* G! U; O/ b, ]5 A+ f! M3 C }
. V u* a2 j: X6 W3 {8 u o.push(eval($p));
) ]2 f) [& {; Z9 y }+ ~% n' Y5 Q8 _
if(a<i>.indexOf("document")==0 || a<i>.indexOf("window")==0){* K9 n q1 @8 C9 C
o.push(eval(a<i>));
3 H, h. A3 U9 m5 j. g$ e; x% r. ]8 g, G1 C }
3 e$ c6 r% d# s. a& h }+ ]% D M( |% F: K8 i$ C
if(g!=null){
( L( p" ]5 B3 q' M) }5 Q o.push(g);g=null/ q3 p# M+ m$ s% J6 o
} ( h* ], Q, M0 C+ g
}
! S4 E. a9 V5 E! _, x! C) i' l }% q+ J3 D5 R' D, u- o! |2 q2 T
7 X$ J$ d- U! s( {6 ~3 Z/ ] $o(a,o,c);
6 A# ^4 g! L9 `0 l$ T$ i9 u8 v8 x; `/ _4 q
for(var i = 0;i<o.length;i++){
/ ?+ U; `4 `& F5 K6 S; f for(var j=0;j<c.length;j++){
4 k/ ~9 v" Q4 p7 }% p; E, n8 c3 R u = o<i>;eval($format(c[j]));
) h( u/ A& n4 ]4 @9 m }/ \" M* ?: u& d( i8 G& A
}
5 ^; F% K* B9 E* u2 D, m: g% g8 k! _2 O
if(o.length == 0){1 f' i$ l/ Y e8 B
for(var i=0;i<c.length;i++){
; J( ^: j' {% I/ z L eval($format(c<i>));+ k8 e- e6 f8 t- s- g6 s
}
1 p6 ^2 Q% Z) {+ Z* `2 t% f. u }
+ A/ y$ n( o! N: c & i# t8 B/ T. Q. Z
if(r!=null){
% ?+ H! f) ?" |5 U8 I- v3 O return r;
; i. s( b& k+ j" S W, F }. V1 J8 S' P& m: e2 V5 f
0 t# P. O! _6 V if(o.length==1){6 e4 Z2 j" g1 E1 w
return o[0];
& s' Y2 T3 e7 [8 h; B }
0 _5 D, x7 x- s else{' F! |! V3 }1 U% h" P J l
return o* X6 f2 b1 `6 Z+ u. G/ Q9 q/ Y
}
0 S, `1 f/ d7 x8 T% M3 M# R8 _ 4 I& z* w0 Z# Z$ ?5 H9 t
}
2 E: {1 q" Z3 h4 F5 i$ W! Jvar lrc =$("#lrc;show()").innerHTML.split("[");
% @5 m( T5 o5 c, M. i7 A* Oif(lrc.length>5){) P4 v" J- ]- t; w: ], r9 W f
var array = new Array();
- l$ L3 n* y" j+ R$ u: l( S/ ?' Jfor (var i=0;i<lrc.length ;i++ )
7 X J( r1 |; _) J. g( Q{( H) b( c5 J5 ]& [ f
var g = new Object();- b2 Y+ [: W$ d. \7 v" c: u. r
t= lrc<i>.split("]");8 n# ?- j/ j. d2 a
g.time = getTime(t[0]);& W1 L/ R) {/ w3 G9 N- W) ]
if(isNaN(g.time))! a3 m" u2 c8 \9 P% ]5 k. V' S
continue;
7 G2 J& j9 I3 {: X7 F1 h g.c = t[1];
$ J: `' ^) K* ]/ y3 d s0 K/ I if(g.c == "")
; I0 ~' X5 r+ w' ?( I g.c = getNext(i);; K1 r" C( r `. j7 ]( d) L
array.push(g);: {+ u0 ]6 d% R/ t4 ?9 |
}
; h' T. R& y% u2 o: Karray.sort(function(x, y) {
, x) ?. B! U9 |7 P7 ?8 s# O if (x.time>y.time) ! |2 r- t* C2 f5 d, Y8 r" Y
return 1;3 p- V E3 P2 ~. d
else if(x.time<y.time)
$ l& Z0 Y" y; v return -1;
) O' W/ M1 E% u4 z% G else
3 \& s& o( |; m! b2 G2 l return 0;+ D" @( B% ]: Z/ y4 l
}
% ]0 L' W1 Q& i& J& ^. c);5 C: T" p$ U' R1 X% z1 U
for(var i = 0;i<array.length;i++)* d8 ?' G% }# r0 [" z5 m
{9 X8 K& O( X! Y$ t: C& M
var g = array<i>;
& r8 F$ I* M1 _& W8 J if(!g.c){" ~3 d6 C2 N; W5 t
g.c="";
! ?" i: P0 F1 j1 Q }, N9 `& U2 _2 {' W8 l, r5 @
$("#list").innerHTML+="<div id=lrc"+i+">"+g.c+"</div>";
7 I% K& M2 S. G, }: l}
a9 j) c/ B# m" C9 W3 v+ ^3 f& ]. fvar time = setInterval("lrcList()",500); 1 s$ p* d3 I- r; W- @1 r) }
}else{
8 q' ~+ H( H3 V; d+ y $("#list").innerHTML=$("#lrc").innerHTML;
4 t3 a6 H' o9 D! O+ f6 o}
G. N0 c% e* N7 f4 }7 P/ efunction getNext(i)
; F! ]4 w$ V( o4 b; I: B{7 y1 T! [; [( {) \3 J
var result = "";
1 l9 V( a. y. { var i = i+1;2 q2 j {5 P/ s0 X* N/ c
t = lrc<i>.split("]");
$ h8 S, ?8 ]; Y- y6 o' l4 l if(t[1]=="")5 K9 J) _( k; I
result = getNext(i);, ^2 v4 A6 y0 x1 _0 F
else6 s" ?/ \' m+ D+ ]5 `. w& j
result = t[1]
2 l Y6 Y. B; \& H% d* f return result;
3 A8 C6 p$ T: k% M) F) _3 ]}
/ b m6 z5 r0 y$ g$ K8 E
( E9 w2 p) T) J& I0 I) h' }7 Kfunction getTime(str)5 j' w3 N E9 T6 f
{$ M8 ]7 d/ x- k% X" x- @* W9 Y" C% r: ^
var time =0;
1 j5 w1 w' T0 I. K- g2 F var ta = str.split(":");5 @& W$ x. {4 p/ a' |- u5 d
if(ta.length<2)5 K& \1 K3 y5 b( H, Q' A
return time;5 O/ X9 t* V0 c" q' J( ^3 E
3 L& a& \4 |* s$ `7 Z0 n: L7 \: Y if(ta[1].indexOf(".")>0){
m8 u) T @: e! @ var tb = ta[1].split(".");
5 u8 I* v0 h: J- @9 s9 {4 G time = ta[0]*60*1000+tb[0]*1000+tb[1]*10;
% p* z$ s7 L2 c) C* W }
) x2 u5 _( Q* g# N. y else
) v# q- R: B8 |2 \) M" U0 ] time =ta[0]*60*1000+ta[1]*1000;
2 I, D C" [' x+ m% w' u return time;1 s7 C9 _* ~/ x6 ^7 w$ u4 h7 B) C
}
# U: \7 ~9 w: R* d9 o# ~; j1 {var preTime = 0;' w6 O6 N- N4 r" }& M& D
var nextTime = 0;
" b, m, }3 [3 L1 e8 dvar currIndex =0;1 l1 F% E7 ~7 j: |& P
function lrcList(){
6 p$ F% n1 Q3 P4 X7 Q var s = parent.document.getElementById("MediaPlayer").controls.currentPosition;
+ Q* M% k( M3 n" S( r- w, a s = s*1000;
+ s- D* z2 E% O8 B7 r- m if(s==0){5 [* O' P% u, p9 Z5 P) q4 H; `
currIndex =0;/ W" w J& ^& ] r
$("#list").scrollTop = $("#lrc"+currIndex).offsetTop-30;
: O9 T* a3 j J for(var i=0;i<array.length;i++){" M0 Y7 d( }! O5 V& ?) b
document.getElementById("lrc"+i).style.color=colorNormal;
3 L P* y7 {$ P8 [, }- c }* |$ `. ~( H4 ?4 [4 x S7 c
return;
, r' d/ `1 a- }" \ }* d7 _ x: C2 M5 ]
if(s>0&&currIndex<array.length-1)
1 Q/ j6 `" f V% \7 _2 X { ' O* f! O; M9 @& i M4 }* W: @
preTime = array[currIndex].time;3 B) m- u( y: u, R
0 Q2 |, d+ a& G% z
nextTime = array[currIndex+1].time;5 e% Q; |: x. I+ _0 R) o! g
% x) C# ~3 @' r+ }: j: ]5 s7 B+ R
if(s>=preTime&&s<nextTime){
/ v1 C8 S5 I e4 B, R2 s7 [ }
# ~% F2 z) d% B6 X" g) l else if(s>=nextTime)4 k) F! x2 T4 E
{
! n1 _% \+ x3 u3 w% g$ B8 o document.getElementById("lrc"+currIndex).style.color=colorPasted;3 n' m& @2 I" s' }' l1 t7 n0 L
currIndex++;$ R) t: q' E: g
$("#list").scrollTop = $("#lrc"+currIndex).offsetTop-30;
6 v; z3 o( _( h! V' {0 j) `1 K document.getElementById("lrc"+currIndex).style.color=colorPlaying;
0 V6 M$ R, e6 F7 `4 ]$ Q s lrcList();7 ^" s) B5 Q, B' d
}* |1 C8 S7 f+ V% b0 X" S' _
else{+ L6 E N% ], t* L4 n
document.getElementById("lrc"+currIndex).style.color=colorNormal;8 a) ]- {+ `7 p2 k5 R
currIndex--;8 Q6 C: i! L$ n( {
$("#list").scrollTop = $("#lrc"+currIndex).offsetTop-30;; n) E# F/ l q! c
document.getElementById("lrc"+currIndex).style.color=colorPlaying;
! c y& Q' e5 {6 `" t: W: m lrcList();
* m3 I5 {9 H f# m& }9 M3 X6 P/ ` } 3 h$ g4 _! X; l! t) _5 B! D! G4 J
}
: g+ ~% G* S0 K else A! u3 I: Y9 _3 W) E
{' M9 e/ R, G5 k# C: Z4 V) \$ d
if(s<array[array.length-1].time){
! ^8 K7 e4 ~$ ?/ s/ F currIndex = 0;0 y1 u, S5 B& ~! o8 s
$("#list").scrollTop = $("#lrc"+currIndex).offsetTop-30; K! k! u; c" I
for(var i=0;i<array.length;i++){
( |4 L7 o! ?2 x S document.getElementById("lrc"+i).style.color=colorNormal;6 \4 U2 f5 s: ~8 ? i
}: G8 D% Z, q. x% e" t n; ` O- l
lrcList();: Z- O' K% r$ w; H9 I; F
}
7 x- g4 c) x5 w' X } K4 d3 a+ s c! |# s# E
}* x3 B8 P" h$ k ]
</SCRIPT>
K: P0 ?+ U+ R' ?6 V</DIV></DIV>7 G: e" ^( T$ I
( k7 V/ }- y, X1 {0 w! I3 U
[ 本帖最后由 幽谷兰 于 2008-9-18 17:36 编辑 ] |
|