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