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