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