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