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