|
<DIV id=list>- ~+ e* Q3 k2 m7 v1 Z4 G7 h u- b4 P
<DIV id=lrc1 style="COLOR: #666666">[wmv=0] http://lzbj.ncedu.net.cn/uploadfile/20083923248279.mp3[/wmv] </DIV>& a) S/ ? G8 K* J' J+ k
<DIV style="COLOR: #666666">|等一分钟|听到这首歌,觉得它很动听,旋律很优美,很是喜欢,传上来给大家听听。</DIV>6 L% D: t7 X5 q4 r; W$ o; ?
<DIV id=lrc2 style="COLOR: #666666">词曲唱:徐誉滕</DIV>
) C- i2 a6 ~, J1 z1 S. L( |<DIV id=lrc3 style="COLOR: #666666"></DIV>% v- L1 j2 v O" T. T: y/ @! W
<DIV id=lrc5 style="COLOR: #666666">如果时间 </DIV>
5 e! L( T5 l1 z% g5 i9 y! U<DIV id=lrc6 style="COLOR: #666666">忘记了转 </DIV>
- m$ \3 P4 h. ]( S5 t<DIV id=lrc7 style="COLOR: #666666">忘了带走什么 </DIV>: o3 l" s7 ?! R+ d/ h3 U9 [
<DIV id=lrc8 style="COLOR: #666666">你会不会 </DIV># h/ T6 R1 M/ @ x
<DIV id=lrc9 style="COLOR: #666666">至今停在说爱我的那天 </DIV>
4 `0 R8 I. v. L: d' A<DIV id=lrc10 style="COLOR: #666666">然后在世界的一个角 </DIV>
- F8 W; d7 ?* s2 x5 j7 }) h4 ~; v<DIV id=lrc11 style="COLOR: #666666">有了一个我们的家 </DIV>
/ ]" q2 r/ I$ ?<DIV id=lrc12 style="COLOR: #666666">你说我的胸膛会让你感到暖 </DIV>
+ A/ f, ~2 u3 v<DIV id=lrc13 style="COLOR: #666666">如果生命 </DIV>5 U0 r9 @/ B2 w' |
<DIV id=lrc14 style="COLOR: #666666">没有遗憾 </DIV>" P2 O1 F9 X; Y [- y5 e% T* k
<DIV id=lrc15 style="COLOR: #666666">没有波澜 </DIV>' s: V$ p. f0 K s
<DIV id=lrc16 style="COLOR: #666666">你会不会 </DIV>
, d! i; I% L$ H' v2 O9 R<DIV id=lrc17 style="COLOR: #666666">永远没有说再见的一天 </DIV>
3 n x% U; k% P! V# Q<DIV id=lrc18 style="COLOR: #666666">可能年少的心太柔软 </DIV>/ y$ H, c/ c- f o, P5 k! D
<DIV id=lrc19 style="COLOR: #666666">经不起风经不起浪 </DIV>
3 f' l; T. E( o0 m; g8 U5 z( A<DIV id=lrc20 style="COLOR: #666666">若今天的我能回到昨天 </DIV>9 R& X- f: t+ C( i8 W: l4 M
<DIV id=lrc21 style="COLOR: #666666">我会向自己妥协 </DIV>
; e% \- K" p( ^6 N( ]<DIV id=lrc22 style="COLOR: #666666">我在等一分钟 </DIV>! X2 w7 O, L7 ^5 O, @3 g
<DIV id=lrc23 style="COLOR: #666666">或许下一分钟 </DIV>
3 j6 f. l: c- d# y. H3 ^<DIV id=lrc24 style="COLOR: #666666">看到你闪躲的眼 </DIV>
$ x& |( M; H6 }' M0 ~ y<DIV id=lrc25 style="COLOR: #ff3300">我不会让伤心的泪挂满你的脸 </DIV>! X% e: R1 E$ q; t( q
<DIV id=lrc26 style="COLOR: #000000">我在等一分钟 </DIV>. d6 z1 J# j6 j
<DIV id=lrc27 style="COLOR: #000000">或许下一分钟 </DIV>, E: J3 b5 q3 P
<DIV id=lrc28 style="COLOR: #000000">能够感觉你也心痛 </DIV>
" K* r4 L" \; Z% b' t. Q7 {<DIV id=lrc29 style="COLOR: #000000">那一年我不会让离别成永远 </DIV>
& } ~5 Y( A' \7 p8 M# M<DIV id=lrc30 style="COLOR: #000000">如果生命 </DIV>- Y5 e- ^9 ~# a# j- t
<DIV id=lrc31 style="COLOR: #000000">没有遗憾 </DIV>
/ S2 ?+ f' }8 \<DIV id=lrc32 style="COLOR: #000000">没有波澜 </DIV>1 u# U! D7 `# L% h8 n7 E- t" j
<DIV id=lrc33 style="COLOR: #000000">你会不会 </DIV>2 K; ~3 {4 l: q' b
<DIV id=lrc34 style="COLOR: #000000">永远没有说再见的一天 </DIV>$ c" `9 I8 u2 l9 Y
<DIV id=lrc35 style="COLOR: #000000">可能年少的心太柔软 </DIV>
7 l' p' G# B, l, C! [2 d& l$ Y<DIV id=lrc36 style="COLOR: #000000">经不起风经不起浪 </DIV>* t& y& a% p/ s( C2 h9 D% t7 N
<DIV id=lrc37 style="COLOR: #000000">若今天的我能回到昨天 </DIV>& ^) i% L" Z7 A- ?! M" A
<DIV id=lrc38 style="COLOR: #000000">我会向自己妥协 </DIV>$ E3 a6 j% x9 q
<DIV id=lrc39 style="COLOR: #000000">我在等一分钟 </DIV>' u9 X+ q/ q; L# \$ B$ N) P
<DIV id=lrc40 style="COLOR: #000000">或许下一分钟 </DIV>
' E: w! o' a7 D2 I- ~; J: f<DIV id=lrc41 style="COLOR: #000000">看到你闪躲的眼 </DIV>
+ _9 k; r% j# j3 i# A, a<DIV id=lrc42 style="COLOR: #000000">我不会让伤心的泪挂满你的脸 </DIV>4 p* A6 W; H1 \& j- _8 Z
<DIV id=lrc43 style="COLOR: #000000">我在等一分钟 </DIV>& I# g3 b6 G h7 v7 t% A, Z' f
<DIV id=lrc44 style="COLOR: #000000">或许下一分钟 </DIV>
4 c+ O! n; h3 ~; W# [3 O2 y8 Q<DIV id=lrc45 style="COLOR: #000000">能够感觉你也心痛 </DIV>) V1 B8 t! b) v
<DIV id=lrc46 style="COLOR: #000000">那一年我不会让离别成永远 </DIV>3 x) c+ a$ Q3 Y9 \/ ]8 E4 V
<DIV id=lrc47 style="COLOR: #000000">我在等一分钟 </DIV>
. M( l1 t |5 C% `5 \" ~2 p<DIV id=lrc48 style="COLOR: #000000">或许下一分钟 </DIV>
( [5 x% {: T5 e8 Z$ m$ ]<DIV id=lrc49 style="COLOR: #000000">看到你不舍的眼 </DIV>" O" F7 N; d! w3 A1 e3 x
<DIV id=lrc50 style="COLOR: #000000">我会用一个拥抱换取你的转身 </DIV>% K& R1 C( h4 k! w
<DIV id=lrc51 style="COLOR: #000000">我在等一分钟 </DIV>
. C4 [2 e! M6 ?1 O7 M<DIV id=lrc52 style="COLOR: #000000">或许下一分钟 </DIV>! L7 a% o r/ j/ i& B3 ]# P$ f# @# H
<DIV id=lrc53 style="COLOR: #000000">如果你真的也心痛 </DIV>0 A/ T( Y5 g$ ~% z8 X* C, i
<DIV id=lrc54 style="COLOR: #000000">我会告诉你我的胸膛依旧暖
7 \& t9 h2 b6 w. ]+ A% {<DIV id=lrc style="DISPLAY: none"></DIV>
3 Q8 m e) F2 b. V5 V& V9 i) O6 x<SCRIPT type=text/javascript>5 x" i/ a# E6 ]6 ]) Q! v; Z
document.domain="1ting.com";
1 _5 y! M* q5 z, [) j% Evar colorPasted="#666666";4 }5 Q, L/ c; p( {
var colorPlaying="#ff3300";6 Q/ Q$ A3 j$ v, M4 e9 `1 t9 u
var colorNormal="#000000";
6 e% @6 _. r' f$ = function (a,g){1 }) L$ K+ d+ [
var o = new Array();
- t9 l+ H1 ]$ M+ ~$ ^; e( U var c = new Array(); 9 M j/ a" N/ b: L
var r;
* L, {! {& n! {+ p var u;
8 h/ H5 ~) P5 N8 y var a = a.split(';'); & } @( {/ D# F& m0 R5 I1 O
. G9 K7 k0 I3 o0 i% w8 u var e = "keydowns,resize,load,dblclick,click,mouseout,mouseover,mousemove,mouseup,mousedown,inputchange,inputfocus,inputblur".split(",");# r9 P; e1 r4 ]4 D
for(var i=0;i<e.length;i++){
7 g* H" @& m+ x/ D6 ~5 `, W! e eval(e<i>+" = function (s){eval($event('on"+e<i>.replace("input","")+"'))}")
4 E( a: w" X7 r8 c4 w+ G2 L# X' W1 [1 ~ }
/ q$ H) }8 F' N e! k) K& D/ q& W2 r6 B3 p1 S# h2 }, f& X; \
after = function (t,d,s){
: D' R0 T$ a$ E E t $after = function (){
. P2 z, ?- o! y* j1 s var $n=document.createElement(t);
5 {. V" Y* M4 T& ? if(d!=null){
, |% S7 ^0 i9 y! d( k* h $n.id=d;
4 r3 |: B6 H+ w }" l' w/ [( M, f/ f: N) h3 v
b5 c/ G; A3 a5 I( [/ @! ]1 m: L u.insertBefore($n,null)
; A# d: f( M, F r = $n; ! q, v0 a2 F* C4 \# L6 k8 e7 |& R
u = $n; % S; J+ S6 b, z; q8 T: |! z
}
! L3 X7 v7 [+ G; P2 s2 p2 e1 G $for(s,"$after"): h# g8 a( Z+ q7 h
}! [; \. z# `, t) u+ Z4 H8 e
! N9 ~ ?4 i7 | show = function (s){
. `8 V J6 C% y( q $show = function (){' J6 R$ T2 E/ c( ?, U* A- c0 p
u.style.display!="none" ? style("display:none") : style("display:block") ;7 v* P6 v0 j+ M( A7 ~$ D6 q( f. z6 D
}
# q7 B+ {% E" M $for(s,"$show") h s' w7 L$ r
}7 K, w" C8 S8 b4 T% H' @
+ o8 q( |, S( B$ D5 x
check = function (t,s){
0 M3 C1 e. u7 e2 D) G $check = function (){! T- I$ G$ ?* @/ }9 t8 i9 k( Y; u- |
if(t=="2"){
9 K, v9 B6 F. D3 ` J if(u.checked){# c5 Y& l& ?' I, Q+ V: ^' S
u.checked = false;; C) B/ p- q6 G) o! R4 P- H/ \
}else{ ]* Q% M5 J) m- T9 k9 D: V+ P
u.checked = true;
% m' k1 }" W$ t }
* B w: y$ E" \% W. d: h( I% C e! J }else{2 v& \8 F6 o$ G2 h9 H5 R
u.checked = t*1 ;
5 p, p, ]$ p+ q% w, l }, y* Y# s% x/ g% d0 Q( A' h6 T2 s+ I" A
}
, k8 {( E V8 y0 r, u9 h ` $for(s,"$check")7 j* N+ Q1 T6 O, Z3 v4 m
}
- Q+ m, h- b5 y3 f: L4 v
1 P0 J3 h3 y+ _: O% } style = function (v,s){
# A1 H) p. P' |& u% Q: I; e# ` $style = function (){. X `3 _" O- Y5 E
var $n = v.split(",") : J2 F( q; D* ?- {: ]
for (var i=0;i<$n.length;i++ ){
4 V4 R8 a2 w' G! t9 s var $m = $n<i>.split(":") , R# h. [- u& O6 I. m
eval("u.style."+$m[0]+"='"+$m[1]+"'");3 ^# H, J* ]% G' Y) U6 m( L
}5 _* S3 z8 Q1 v& D
}* @' u) ^% ~7 @) h" p( b5 q9 ^
$for(s,"$style")
9 R8 H* s8 [7 n, J' M3 _ }3 q: r- }$ S6 S2 E; Z
: A2 w' t9 T3 p
value = function (v,s){
1 O4 z, b* v3 T% V; | var $n= $this (v);
2 p8 g8 j1 `& n# X5 f $value = function (){. \0 E+ d* d& h& X- ~; w" F3 z: i: k
u.value = $n) g1 Y- v1 R+ }8 y
}
1 @: v1 m4 w' e# z- P- j( d2 Y& Y $for(s,"$value")
7 G( P% y& S: \1 C) v+ O, j, i* O }5 G, V; |4 K4 b, ?0 U" M; }6 [
# r3 @5 i$ Q9 t1 D% M t text = function (v,s){
& D! c' W' C) a var $n= $this (v);
! A( J: X# L7 P& F- O" ] $text = function (){
& v2 v0 K" v1 r: C/ ]3 n x- ~( Q
- J! ]/ ^% o1 V u.text = $n
5 \- S2 }6 d1 a1 t }
% y; D7 f) b$ _- Y5 O# j $for(s,"$text")
' S4 E }4 t4 i" ] F% Y: z& _: W9 G( A/ m }$ ?4 B# X9 J: O: E) U6 D% c
0 z. B% W5 T. ~
innerhtml = function (v,s){
$ F& V0 F: M0 ?7 M) H5 | var $n= $this (v);
" o8 _& p& @4 {6 r) @, `7 G* L $innerhtml = function (){
6 I0 \3 l5 s6 Y2 X( x u.innerHTML = $n' d7 `. T+ N: n! o0 T. Z
}+ I3 i7 X" j) K* {2 S9 k
$for(s,"$innerhtml")# e `- A' Q1 p# F
}1 E* i7 u, I, d- o7 L
% O- I4 J4 B% i* n# |) M0 s removechild = function (s){4 ~: ]! f1 y/ p; I; p0 u4 a+ ]
$removechild = function (){
$ ]: B3 y0 \% {) F u.parentNode.removeChild(u)) h4 O) J. B; Y/ @* {
}
+ }8 b; J3 S! j% l- x& o! e- a5 H $for(s,"$removechild")
# `7 T- ^2 y" w1 v; t. T }- H! \. Z# C7 k8 n, H
' P$ D* {4 F& z/ t! y. j
$this =function(v){8 f+ B' ?" a" p7 |6 j
if(v.indexOf("this") == 0){
' i! O& C$ M# y* X) S9 T return eval(v.replace("this","u"))
! ] ^6 Q* L: `5 ]' L: }# r) J }. E; r: p* _2 J3 w1 Y, D
return v;
& F# D7 _+ \( ]8 i4 p( S }
$ W7 x4 C5 ^; e' E. b4 ^* h! K& |2 S. T3 B9 e" U7 g7 n' x
$event = function (s){; X* {9 L; V% }. Z8 @+ O# l. n6 z# |
var $n ="u."+s+" = function(){$work(this,s);}"
& Y3 W2 Q1 S& V. H. ^" ^. @ return $n;1 u- E3 P# a9 W# [, d
}
( }" B% Y Q1 }3 f0 U5 n. R- O0 @4 x4 U1 L
$replace = function (s){7 @; m3 _5 q# Y+ ]. m# h8 _
) o# g4 _2 d4 ]* W/ S
}- f2 ^' S( S/ W- x" T
. L2 P) [4 \0 Y. p( F" z1 D
$for = function (s,c){6 n+ j8 O! b7 U2 x) l
var $n="this."+c+"()" ;2 r0 z8 p6 A, p% G1 f; G
if(s!=null){# r" Q+ @: O% s
var $m =$test(s);+ _* f# r0 Z8 I+ H
for (var i=0;i<$m.length ;i++ ){ }" g2 l: r0 Z, q0 l
u = $m<i>;% o7 `( z) l& u- N
eval($n);( A' ?9 B k( k$ [- c2 K( m
}2 E- ` @) O8 P7 q5 z
}, ^, D m1 U, s8 Y" }$ e9 M/ d
else{' m1 \& L6 D1 a, g
eval($n);
" C, h8 \" z( H7 `8 ]# |+ w# q0 @ }
0 j# a7 A* _" M J4 J( w& P) i }1 V+ `; R p2 N' E
' {, I, e" g. X: [
$test = function (a){% e$ H c! U% T! t/ i" F6 Z" b8 [7 ]
var o = new Array();$o(a.split(';'),o);( [. o; t4 o7 z
return o;
- b2 M2 c$ Y( ~ }
% [* @7 p" w) _
H( b, ?# _: ]0 E$ E# N. y, b3 L" A $format = function(s){/ j, I1 B1 E% K# a; r+ y2 p. x
while (s.indexOf("'")>0){
1 a9 c% v4 X. R% ?& e/ L s=s.replace("'","\"");5 D4 e6 w0 d$ B0 o0 r
}
& V) a% f5 l8 U- \4 _ while (s.indexOf("][")>0){
7 a" v2 c5 W* }, g6 x, s; R8 V s=s.replace("][","','")
9 _8 G# I3 ?. k; k }
1 k+ I1 d: n7 m7 E$ Q, F while (s.indexOf("[")>0){
* w! N4 j# v% {8 h s=s.replace("[","'").replace("]","'")
! X% q/ F7 v$ a } ; C3 p& ]' k) a. l, d- b
return s;, C9 E; J% @# N
}
. G' S+ ~8 ^, A) E
4 l8 L: `0 Y6 P; Q $work = function(w,s){8 B4 t" {8 Z7 s, ]8 s5 r
u=w;eval(s)
; d0 o' G! W' [; @ W+ m1 ~ }
! m9 q3 n( L1 E5 t: T: b: Q. A+ S3 Q, S' k, h
$id = function (s){
/ Y0 C' `3 V- O, l0 i) w return document.getElementById(s);7 t7 q2 E7 x9 f2 w c2 i( B
}9 r3 u+ x9 n5 i; w) Y* e) ^& _
2 b( T' Q1 x% ~, E. w3 b* ]
$name = function (s){
. g+ O" S) }; `( p, X" Q: k( ? return document.getElementsByName(s);
% [. R# Y8 b* j4 u }
: S. F8 ]/ M l3 z P) o- ?* I2 e7 D3 @0 i& s& b
$tagname = function (s){, {; y, F0 n5 h$ W3 t- \ i
return document.getElementsByTagName(s);% r. ~* t8 V/ X5 `
}
: V8 U0 ] T! H- D( w8 V; E/ f
# @# T1 _% z8 k5 O $o = function (a,o,c){* A# M; a5 h. r% ^
$push = function (n) {& o: u, f0 p$ m5 o: c: ~
for (var i=0;i< n.length;i++ ){
/ ?" V- f% p6 c% M7 W o.push(n<i>);3 a+ u9 o! g! I* D7 g# a& u0 |, ~* C9 B
} 8 u* v$ v% ?+ a/ M* \
}, m' |$ V- o# K9 @: B3 q! Q
for(var i=0;i<a.length;i++){
$ C* U8 V4 W f# y if(a<i>.indexOf("(") >= 0){
2 d7 p' w% ?1 M( C o" | c.push(a<i>);# p8 Y" r7 s# i; q3 t' o; R1 O
}
6 J3 |2 w: `1 h/ Y/ }4 z( s if(a<i>.indexOf("~") > 0){
. c6 `, m$ J2 j7 j8 m) l. }. g try {/ \' _, C+ i8 }4 j1 V2 D0 p6 w
$push(eval(a<i>.replace("#","document.getElementById('").replace(" ~ @","').getElementsByTagName('")+"')"));
7 I$ w. A) |8 n u' T/ c }catch(e)" O: O7 o) p2 e5 b* H
{}
* n+ `6 w& w( Y }8 Z M5 o" g* q3 K& q
else{
2 ^+ j# K/ U9 ?' j" N/ h if(a<i>.indexOf("#")==0){/ i3 @9 }8 t8 v- U- H
o.push($id(a<i>.replace("#","")));, X$ H6 e- a# ~3 Z9 A7 A
}* x6 j$ a. r4 Z: Y/ p1 X" J* k
if(a<i>.indexOf(".")==0){
# C* ]* u- J3 e $push($name(a<i>.replace(".","")));
2 u& {' X$ k' O1 R) D. ~ }
; @( f4 P/ Z$ X if(a<i>.indexOf("@")==0 ){
# M$ G( T$ Z- J( E $push($tagname(a<i>.replace("@","")));: [ o2 Q4 g/ ~& e: b0 |6 G x
}+ b" Y3 ~4 t4 b2 D
if(a<i>.indexOf("*")==0){6 u$ t; s4 D1 }! j/ @5 P
$p= a<i>;9 J; K& c* [& Y& d- V
if($p.indexOf(".")< 0){' x9 ^. ~* y/ o) _( r4 \: S9 t# d" ?! [
$p = $p.replace("parent","parentNode")% C8 V2 B: d6 C5 h0 }# {0 q
}. t4 Y' j3 h. V8 l5 c
var $p ="u."+$p.replace("*","");$ p9 f: G8 {/ q4 K: e/ H2 ~9 y! `
while ($p.indexOf("parent.")> 0){
# }3 |& ~: e/ A. c4 g. D& j* j $p = $p.replace("parent.","parentNode.")
- @* U. s. y/ B' ]* r }
2 [/ b# T% x S I while ($p.indexOf("child{")> 0){! y- v/ O- B- u; x( f6 ?3 q
$p = $p.replace("child{","childNodes[").replace("}","]")
9 [. ^ z E' m/ ^" [2 q* Q }
0 ?$ q' B7 ^0 o; f( n o.push(eval($p));
$ S* t8 f5 P( T }6 |0 p: x% |) X4 M8 _
if(a<i>.indexOf("document")==0 || a<i>.indexOf("window")==0){ G; J; @5 j$ _6 _( ]/ h5 |( L
o.push(eval(a<i>));
8 U8 ` J. {7 ]! o }9 S8 ^2 t) b5 X* |
}, t C3 {. C; i
if(g!=null){
2 c1 h$ K0 n6 Z# I* w G o.push(g);g=null# o5 Y/ w6 x' t- ~# a* f
}
2 P5 x2 ?% ^- w }; h! j( x0 q. m5 | a
}. D9 L2 v9 s- `; ^7 V5 a4 ^# W9 w
0 ]. {. y; U! k4 {- M4 x0 d, C $o(a,o,c);( @! T3 p4 h9 J2 p" X
7 X6 ]$ h# w1 A7 N! G
for(var i = 0;i<o.length;i++){$ s* J/ x" q# f- k3 q+ f+ a) f
for(var j=0;j<c.length;j++){
2 \8 O. y0 N' C u = o<i>;eval($format(c[j]));
+ H6 n) L2 B, }1 u- N }$ ]* W, a: A0 ]5 |
}
7 r% G: Z: N, }" w, Z! i1 z* O+ z' J
if(o.length == 0){
+ H, G% }! ] l3 O# ^) q) h; ? for(var i=0;i<c.length;i++){
# h, D- H( S8 s' m eval($format(c<i>));) O* k9 B J/ L/ I
}& H8 j% V# E: [
}1 F, T- g, W1 ^
0 d1 D: ~" x5 f5 e8 e
if(r!=null){/ A- J# Z1 i/ ~. i3 N
return r;$ W% C4 W. C2 e+ R- u$ \# z" ~2 x. N: x# r
}0 _" ?* ` I. ^1 e
5 j0 y2 L M( r; W3 v if(o.length==1){( k$ H9 D/ z& a$ y+ C
return o[0];& ?; ^4 |( c# v
}
! B9 r) b- A: g; i else{! u s6 n0 y7 w* O1 v
return o& C( u. ]$ H, X. r& x+ Q
}
! u7 E- |8 m# L* k% \8 ^0 V
( _% w) V- H2 L. l, |2 |1 o }
* T; l1 O. X( evar lrc =$("#lrc;show()").innerHTML.split("[");5 R u" L* D V" z2 Q9 j) s
if(lrc.length>5){( g f; h8 O' L3 R
var array = new Array();
- f+ ?4 m& k3 {) zfor (var i=0;i<lrc.length ;i++ ): V; Y& N* N% C* F6 B6 k' l, B
{5 O3 ^. Q8 ]4 x- M
var g = new Object();
' z1 T- R0 B3 {* o t= lrc<i>.split("]");
) }. p6 K: C3 m6 r9 F* M9 s5 z2 ~ g.time = getTime(t[0]);4 `) S; }- u7 v, m* Z
if(isNaN(g.time))
; d1 ~3 A+ k( z continue;
0 S0 e8 G# C6 A g.c = t[1];
) G- u7 t+ |! {4 k6 T if(g.c == "")9 t/ Z0 R9 d1 S, ?! \3 R
g.c = getNext(i);( y% l$ S- O/ ^/ \; d x7 t7 }# r
array.push(g);0 a' M& H- [9 w) k! s" ]
}9 ~; ]1 L5 U+ p g
array.sort(function(x, y) {# O) Y6 Y0 {: y6 m5 J
if (x.time>y.time)
; c9 a* J8 N% g2 F) \1 t2 N return 1;* F7 J8 O* t% K7 u
else if(x.time<y.time)
) `: |) \! L4 y& @) {8 n return -1;/ }* {" V5 g9 t/ d( K4 p
else/ s: Y. T' s( J' h1 x
return 0;
) ~ N1 w0 U* J" f+ W$ f1 B. V }
5 M r, g; a6 O+ Z4 l);
7 {1 \5 T1 J4 p+ l8 x- }/ [6 Ofor(var i = 0;i<array.length;i++)
9 w( S& e9 w \1 X) G{: t) g8 G! `! c& I; y3 Q
var g = array<i>;
! G( L: w7 ~3 `. { if(!g.c){( e2 z0 C n) @9 k9 Z8 q. X4 k3 q- @
g.c="";
; k: M% S: u2 {* I5 R) B }7 @' x4 F9 ] {4 `! _8 ^. p" C
$("#list").innerHTML+="<div id=lrc"+i+">"+g.c+"</div>";# D8 }9 Y; ~. H
}( K) R1 K7 o+ `- R: x' ~2 r. k# B" }
var time = setInterval("lrcList()",500);
' ^" s. c! S5 w6 V2 M; M}else{
?: P; q/ ]$ H) S0 z) V) P $("#list").innerHTML=$("#lrc").innerHTML;
* C1 [" ?( M- K# ]}
( C8 W- _4 l) [+ Y& `/ V$ Q! _function getNext(i)
5 G6 Y7 u' k! A* t' ` ~) I{
6 b# r0 t, i# j i9 X3 a3 A var result = "";- I$ l6 ]. M# ~+ w4 W7 c* |
var i = i+1;
4 d' L6 C" R, }' x5 } t = lrc<i>.split("]");
% V @0 N0 J4 {' [ if(t[1]=="")! ~* t8 f# l8 k1 _# S
result = getNext(i);
& y! \5 b% R' `1 g/ }" s) U else0 T r; K2 r- R9 T3 C8 K# N
result = t[1]" }6 V# `2 s' l E) y
return result;
: t2 \& q9 o* m" ?: E}* E( \" s, V7 z) z
# J1 A! t X5 M) _) ~4 K* t
function getTime(str)" \/ w/ R6 Y* f" T- N
{
' u; v9 J) z5 k$ p0 v. I, P" ]% s# |7 I var time =0;
: T% i. Z6 ^# ?: I0 L# u! K4 N var ta = str.split(":");
5 W' F0 `$ s3 f* w; d if(ta.length<2)& h1 Q0 F9 h3 P4 G
return time;
* x! B# W% z$ w; V" u0 N2 b8 O# ?& T( N6 U! \# b2 ^6 N
if(ta[1].indexOf(".")>0){
7 r* v q- i2 w! d) Z var tb = ta[1].split(".");
* M( ~7 V k; Y& h& s time = ta[0]*60*1000+tb[0]*1000+tb[1]*10;
+ k/ b9 T7 H; n! H/ v6 _ }& ~; o' J) k, j/ n) D
else, h* @2 b5 k$ M2 Q. [
time =ta[0]*60*1000+ta[1]*1000;
; p: E; p( v. N" Y3 f, j. ^ return time;0 {- X7 r4 i' B2 q/ l% o. f& d+ g
}
" r( |9 S+ n7 T: O& U( {- b+ Wvar preTime = 0;; o+ Y5 M7 ^8 y0 |) P3 b. R1 y
var nextTime = 0;1 S$ r; d/ i' v
var currIndex =0;0 t0 k6 T; i1 L( O; \& k. g
function lrcList(){% P4 S9 p+ K7 ~* P
var s = parent.document.getElementById("MediaPlayer").controls.currentPosition;; O* i- H6 l9 j( X/ G) o
s = s*1000;( r& z* Z3 d) G9 G7 {& g
if(s==0){
0 Z$ O: X: I! w m( z currIndex =0;
( q" j4 W1 b1 t7 ` $("#list").scrollTop = $("#lrc"+currIndex).offsetTop-30;
! I0 o6 B3 | h: I$ B U- W3 l$ W$ x for(var i=0;i<array.length;i++){! _2 D6 P& c0 D, V }0 R
document.getElementById("lrc"+i).style.color=colorNormal;3 U; R2 }4 G1 l- L
}
0 i" t# t! V( t1 Q% p! n* \! [: r return;
5 `% ` {# q/ P$ V0 F) E, d }$ ^1 |" w" r4 G
if(s>0&&currIndex<array.length-1)
5 |; l- F) M( a! H# n! a9 Z { : | T- c \- t
preTime = array[currIndex].time;1 k5 X7 D/ P+ ^: a
1 }: ?2 q; n0 a nextTime = array[currIndex+1].time;4 @1 c& P/ X+ g* T
. u2 k3 q( x6 m3 M if(s>=preTime&&s<nextTime){
! R5 _" ^5 X* Q6 j. r3 F- D" @8 _ }
6 U: k0 E( R# X1 i# D+ f else if(s>=nextTime)5 l o& G/ @0 \7 B9 L w
{
: q, c6 f" R/ @- y! I6 H document.getElementById("lrc"+currIndex).style.color=colorPasted;& Q3 L/ M \4 d3 ]
currIndex++;
7 M+ c. N4 G# f* O $("#list").scrollTop = $("#lrc"+currIndex).offsetTop-30;
8 c& O" B9 z: v" N% E0 Z" ] document.getElementById("lrc"+currIndex).style.color=colorPlaying;3 U7 H" C) d4 {+ X
lrcList();2 S( [, y" D, ^" ~6 Z
}
* O7 n- X- K2 L2 o6 _. S else{' i7 U! ], m7 C0 T9 ^. r- D1 K6 l3 J' H
document.getElementById("lrc"+currIndex).style.color=colorNormal;/ ]& b9 X4 m* f1 Z) R
currIndex--;
. c3 S4 r/ p- t4 }1 A$ c $("#list").scrollTop = $("#lrc"+currIndex).offsetTop-30;
A% i; P. |% ~2 C0 x4 z+ ]6 Y7 A document.getElementById("lrc"+currIndex).style.color=colorPlaying;
# Q% l2 x6 D; h' [5 l' B lrcList();
- u; j0 y% n2 n% K }
4 |& d8 h# k5 T& ~! L5 k }
3 @* x" w8 j6 L6 g( y6 ^ else3 e- d/ {- j. @& Y! X! C9 P
{
) {+ p& P& ^1 ] if(s<array[array.length-1].time){
0 }2 f( a+ n+ G( K4 E currIndex = 0;0 P( _+ B0 u) O3 Y6 L, d2 u
$("#list").scrollTop = $("#lrc"+currIndex).offsetTop-30;
3 g3 ^* V# d# A for(var i=0;i<array.length;i++){
0 d0 n6 b7 Y$ q% H document.getElementById("lrc"+i).style.color=colorNormal;+ }( a% q q/ p# f2 x
}. k/ F' Y0 I# \1 n) d5 E+ Z3 h" g `" _
lrcList();
+ `7 P8 P+ D- M% x b }
4 E, R' p+ U+ a- ?$ o. W }
4 A# Q6 Q" W" z9 N5 @} S( k1 C4 x% |- \0 F- f5 M
</SCRIPT>
9 i: x" U9 Z, u4 q O! o, p</DIV></DIV>
0 P0 h& f. Q/ `) G6 S7 ?$ z: X
, _5 F' L" j4 j- t, C2 p' t[ 本帖最后由 幽谷兰 于 2008-9-18 17:36 编辑 ] |
|