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