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