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