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