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