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