|
|
<DIV id=list>
. @1 U4 e f! y<DIV id=lrc1 style="COLOR: #666666">[wmv=0] http://lzbj.ncedu.net.cn/uploadfile/20083923248279.mp3[/wmv] </DIV>
7 O" `5 E: Y6 `9 V) g3 o) s<DIV style="COLOR: #666666">|等一分钟|听到这首歌,觉得它很动听,旋律很优美,很是喜欢,传上来给大家听听。</DIV>$ y7 h& V& y# h! g- {/ x2 p
<DIV id=lrc2 style="COLOR: #666666">词曲唱:徐誉滕</DIV>
, f0 [" b$ @7 |: G<DIV id=lrc3 style="COLOR: #666666"></DIV>) l8 i) Q1 u# [4 J7 b0 A
<DIV id=lrc5 style="COLOR: #666666">如果时间 </DIV>( S0 ]7 y* [ M: {3 `7 ~
<DIV id=lrc6 style="COLOR: #666666">忘记了转 </DIV>
% `5 b- h2 q) U: D* [! f' @<DIV id=lrc7 style="COLOR: #666666">忘了带走什么 </DIV>
8 b! a5 y- i, U2 g+ {1 `# J<DIV id=lrc8 style="COLOR: #666666">你会不会 </DIV>, F j8 v: s/ Q4 v
<DIV id=lrc9 style="COLOR: #666666">至今停在说爱我的那天 </DIV>
6 R0 q6 b" M8 k' B) \<DIV id=lrc10 style="COLOR: #666666">然后在世界的一个角 </DIV>) a3 D4 O( E- K3 R
<DIV id=lrc11 style="COLOR: #666666">有了一个我们的家 </DIV>
1 \* a3 s3 ~: o! x9 d4 T<DIV id=lrc12 style="COLOR: #666666">你说我的胸膛会让你感到暖 </DIV>, X3 v' u6 ]- f2 x7 k& {% i
<DIV id=lrc13 style="COLOR: #666666">如果生命 </DIV>
, h; R" p6 V$ T) k) h<DIV id=lrc14 style="COLOR: #666666">没有遗憾 </DIV>
. J- [8 P; H) ]+ ?<DIV id=lrc15 style="COLOR: #666666">没有波澜 </DIV> d2 {2 _6 x) W. F, {; W
<DIV id=lrc16 style="COLOR: #666666">你会不会 </DIV>
7 x+ }( V+ O" d) m9 L4 p<DIV id=lrc17 style="COLOR: #666666">永远没有说再见的一天 </DIV>% P$ _% A8 D( i/ y8 Q! W
<DIV id=lrc18 style="COLOR: #666666">可能年少的心太柔软 </DIV>
- ?! u: f- a! z" L" J' ]<DIV id=lrc19 style="COLOR: #666666">经不起风经不起浪 </DIV>
' @% J( O V! v/ ?% r; L( t5 a6 f<DIV id=lrc20 style="COLOR: #666666">若今天的我能回到昨天 </DIV>
; G1 l" |0 v# H- `* t l) ^0 h<DIV id=lrc21 style="COLOR: #666666">我会向自己妥协 </DIV>
, n6 V, {5 N* D9 m# W) k* u8 c<DIV id=lrc22 style="COLOR: #666666">我在等一分钟 </DIV>+ ~/ ~- y" A6 T
<DIV id=lrc23 style="COLOR: #666666">或许下一分钟 </DIV>
5 R- A& t7 w6 a J: }: G<DIV id=lrc24 style="COLOR: #666666">看到你闪躲的眼 </DIV>
% T! \' S1 [! Y/ }' H& j<DIV id=lrc25 style="COLOR: #ff3300">我不会让伤心的泪挂满你的脸 </DIV> Z$ c5 t" H+ r% X! K* I1 h1 |. C
<DIV id=lrc26 style="COLOR: #000000">我在等一分钟 </DIV>
. u- U$ b. ]1 `* ?7 E<DIV id=lrc27 style="COLOR: #000000">或许下一分钟 </DIV>/ P; }6 Y. a2 e# `7 Q
<DIV id=lrc28 style="COLOR: #000000">能够感觉你也心痛 </DIV>
) \. m$ X+ \. r( ?8 k% z<DIV id=lrc29 style="COLOR: #000000">那一年我不会让离别成永远 </DIV>$ z$ c1 e: k$ ?% @1 G% ^
<DIV id=lrc30 style="COLOR: #000000">如果生命 </DIV>+ H( ?6 Z4 P2 B' [# y; \7 n
<DIV id=lrc31 style="COLOR: #000000">没有遗憾 </DIV>2 J- [( y; p U2 C2 v# y# g
<DIV id=lrc32 style="COLOR: #000000">没有波澜 </DIV>! H2 z! s) e: G2 z3 R% K3 B0 P
<DIV id=lrc33 style="COLOR: #000000">你会不会 </DIV>: ]3 p# Q0 ]4 d0 {. d! }
<DIV id=lrc34 style="COLOR: #000000">永远没有说再见的一天 </DIV>
m- }- _" P3 R' y. }: q6 R<DIV id=lrc35 style="COLOR: #000000">可能年少的心太柔软 </DIV>
3 ^) `" p8 p' g) ?3 C/ O<DIV id=lrc36 style="COLOR: #000000">经不起风经不起浪 </DIV>
3 k, R" Z6 z( N5 r( s<DIV id=lrc37 style="COLOR: #000000">若今天的我能回到昨天 </DIV>
2 F% {9 B5 K; A& K9 n* Q<DIV id=lrc38 style="COLOR: #000000">我会向自己妥协 </DIV>
3 m, f q1 G9 @3 q<DIV id=lrc39 style="COLOR: #000000">我在等一分钟 </DIV>
+ ]) ]6 P( c7 ^<DIV id=lrc40 style="COLOR: #000000">或许下一分钟 </DIV>4 a# O# u% l! |
<DIV id=lrc41 style="COLOR: #000000">看到你闪躲的眼 </DIV>' c& g2 ] F7 m: x
<DIV id=lrc42 style="COLOR: #000000">我不会让伤心的泪挂满你的脸 </DIV>; q' S- ^4 B* }. j; Q$ |1 h9 U# Z9 V
<DIV id=lrc43 style="COLOR: #000000">我在等一分钟 </DIV>
% m9 w' r' Y1 i, ?<DIV id=lrc44 style="COLOR: #000000">或许下一分钟 </DIV>1 D1 W2 c0 r0 k
<DIV id=lrc45 style="COLOR: #000000">能够感觉你也心痛 </DIV>
! E- y* o4 } b4 I0 j& e: T<DIV id=lrc46 style="COLOR: #000000">那一年我不会让离别成永远 </DIV>
) p2 @7 B! N' u. t<DIV id=lrc47 style="COLOR: #000000">我在等一分钟 </DIV>4 ^' W% [9 a; S6 G
<DIV id=lrc48 style="COLOR: #000000">或许下一分钟 </DIV>
S% b ^4 i5 F4 q9 X<DIV id=lrc49 style="COLOR: #000000">看到你不舍的眼 </DIV>
4 G+ |! `7 F* N$ `" l<DIV id=lrc50 style="COLOR: #000000">我会用一个拥抱换取你的转身 </DIV>
! [' n- I9 g' \6 y: e; _/ l<DIV id=lrc51 style="COLOR: #000000">我在等一分钟 </DIV> O' d5 a% G# i
<DIV id=lrc52 style="COLOR: #000000">或许下一分钟 </DIV>& K6 [: {' b" ]- |
<DIV id=lrc53 style="COLOR: #000000">如果你真的也心痛 </DIV>
# U5 l6 g1 I* m# A D2 Z<DIV id=lrc54 style="COLOR: #000000">我会告诉你我的胸膛依旧暖
( J m; |3 I& O Z3 v<DIV id=lrc style="DISPLAY: none"></DIV>
6 S) J- x: W0 \/ l<SCRIPT type=text/javascript>
5 D4 }- {" i" I7 ]5 S3 E: l( Wdocument.domain="1ting.com";
: F+ M/ ~) R' T' @- Qvar colorPasted="#666666";
3 ^3 {1 s9 {3 H6 i" V: F& L1 q) L% Evar colorPlaying="#ff3300";" z* s5 X. G: \; y5 {* W
var colorNormal="#000000";
4 Y% b* h, ]) {+ y' x$ = function (a,g){2 Z& k2 {5 m3 J$ q- S* Z3 E( v
var o = new Array();
8 J7 B/ f7 [9 W/ A var c = new Array(); - D' r1 Z* w6 O1 |# P
var r; ( Q- ? {/ h' O- {, [' g" N% k( g
var u;
5 Y& o! M! H2 ]% o var a = a.split(';');
, I: m4 y( j8 c/ n/ v0 q. ]- O0 e. }! a2 X+ M) L: c a# v5 P
var e = "keydowns,resize,load,dblclick,click,mouseout,mouseover,mousemove,mouseup,mousedown,inputchange,inputfocus,inputblur".split(",");
) r5 l: W, j5 B0 G" D5 T for(var i=0;i<e.length;i++){
e4 |+ i8 l: f$ N eval(e<i>+" = function (s){eval($event('on"+e<i>.replace("input","")+"'))}")
9 I1 j3 p/ n1 `) n- d+ i5 o }+ z1 l* ]7 c* W2 M* I
! D9 k/ ~- Z, Z after = function (t,d,s){
2 x9 v9 H+ m9 x, ]7 k! ?- l5 s4 I k! A $after = function (){
2 D4 O8 F8 t. V' C5 ^ var $n=document.createElement(t);% ]) a. D( r) h% x, c3 y
if(d!=null){; p0 l1 m7 Y* W% Q
$n.id=d; * e+ A4 Y9 T! K* M6 P5 }
}
" L9 r, b* [: w( _8 d+ S
B0 c* k$ T+ G W- G/ a u.insertBefore($n,null)
" l$ W7 | W, q1 Y3 e r = $n; ' P" }5 ?# O. T# l6 a# ^
u = $n;
; d! u9 i+ |8 f8 e# D7 f3 m$ t }
8 D- Y( N2 @! g# Q" F# B" Q2 u $for(s,"$after")
: c2 W( [& n& D' ^# @ }9 ?8 P$ _) ]* N7 O
6 p, q5 x; Q. d4 h; F show = function (s){2 \, s1 q/ ^& T# l( ^+ N
$show = function (){9 w( p, X8 ]4 {
u.style.display!="none" ? style("display:none") : style("display:block") ;6 D( ~$ j9 m3 J, t7 C4 e7 F
}3 N$ f9 c0 G2 a( s3 ^) P
$for(s,"$show")& o5 H( c% i; a
}0 N1 R2 M! e" Z& h8 w
- Z {( g, z, w9 r# ^. U+ I" I( z, M check = function (t,s){" [- z8 x# y" y) J' x
$check = function (){
* ]2 e9 P2 ~" u' k9 C' E6 e if(t=="2"){; }# F& _3 A' g. p
if(u.checked){
) v0 S7 W7 h! M- b4 a u.checked = false;
( i0 _$ I. Y8 o1 A y }else{
% D C' h3 n! ]/ \2 R: ^7 C/ B u.checked = true;7 n1 K. G) W' a2 ^$ O
}
" S/ t7 Z" v6 r2 u% Q/ ]( g9 y }else{. I6 K+ D, I m1 T/ I) C. w
u.checked = t*1 ;8 ?3 v, g. U9 e( ?
}
% \+ [2 X% s& ~7 w" d# A6 T$ [5 {+ v }
# q% x2 c8 V# n' t; L' A3 ?' H $for(s,"$check"). m- X! j ?# t0 B3 r+ G
} w/ l, G, i% L1 b3 j+ j
+ Z f! A7 v3 a, X% x- \3 m style = function (v,s){
# X; \, g8 ^" J0 h) n. ], _ s $style = function (){0 C+ l) Y0 |, c# ^$ B8 i0 |6 S
var $n = v.split(",")
$ O: {; @+ ?4 ` for (var i=0;i<$n.length;i++ ){8 F# r; ]" g( ~# Y* F% S6 e
var $m = $n<i>.split(":") 3 T8 l# S0 n. @! Q0 p
eval("u.style."+$m[0]+"='"+$m[1]+"'");
/ |- S2 E4 i! A; g s) P; M/ t* p }
' u9 r: y1 T- g- a' J- y, I- ?+ h }: y* B5 L3 h; S0 Z! z; t
$for(s,"$style")* C. I9 y$ x4 C' R
}
- V2 d C0 n8 F# h2 ?! h9 F+ N3 K3 _& |# t; G
value = function (v,s){
' J6 ~" C# t! r: V4 I" | var $n= $this (v);
$ [; }. Q9 f; x2 n9 A $value = function (){# `) V+ i: i7 O
u.value = $n# z" T9 n2 R: @/ J
}
0 y3 y6 w" p- S/ Z! J $for(s,"$value") ) q: ^; P; d7 h
}+ [# @% ~1 F2 C7 g+ h7 n
2 a$ |. k& s9 c, p0 W1 W- Y text = function (v,s){
* Q2 Q9 @0 i ~! d5 n. u2 e0 o2 e) f var $n= $this (v);
& U! a5 } e- I) ~6 q $text = function (){3 s" A* x- q3 r( k) v9 t) k
/ M4 q8 S: D, c. Z- ~
u.text = $n
" Q' ^/ ~1 [; [: L/ P }
$ j, p! d- J. p$ t- g0 ` $for(s,"$text")
; U1 V3 T! p# Q5 }" \( z }/ ?) p1 v% o% ^9 F, F% ?, S
~& s& R+ d/ {% _9 B innerhtml = function (v,s){
9 V. c0 r9 ]& [( q/ h5 [; i9 g' {9 t# L var $n= $this (v);
7 K9 X3 B5 W* O! G$ v( k4 h2 R $innerhtml = function (){9 @* v# A* W: {- D+ Z. ^' z
u.innerHTML = $n
3 ~6 K) H4 J" t% v9 G0 S3 e }
5 m5 r* ^9 q' o2 ? $for(s,"$innerhtml")) x1 x7 `) O, p
}
3 Q2 C$ l" _4 }5 l7 k " s9 t! X( J- M* m3 k3 A
removechild = function (s){# ^* Z9 E5 G/ f: d
$removechild = function (){
) H4 j: c' J" h- P- q u.parentNode.removeChild(u)4 a1 g- g5 e$ p7 \
}+ a3 y2 P: o2 B4 x' l% d$ s
$for(s,"$removechild")
* a- B$ `$ P9 p4 \# {; E6 W }$ J7 `+ i: U0 P! l: g
4 \1 S% `6 D3 X6 i7 o $this =function(v){# t# R& R* Q0 W ^6 e K. Z B
if(v.indexOf("this") == 0){
' K) u3 e. ?) j; _7 u* o& V return eval(v.replace("this","u"))
- H# l* s4 e) h) ?, q. f0 p }
7 R. z1 L/ ~$ @; T, G; M) _2 [ return v;
* F$ f+ _4 Z, h* A3 d; J }7 [ R6 t7 E% F5 {
2 n9 o" _' X& C, n: R# K5 N2 L
$event = function (s){
. d' i5 r0 ?! M& Z var $n ="u."+s+" = function(){$work(this,s);}". o& F; ]' ?" O
return $n;
' C) u: F/ R& W }+ q( K% |5 y9 m% Z+ W8 `
- l% U7 q: d$ }
$replace = function (s){4 Q2 e$ c2 c, a4 H3 e
$ ]/ p5 T1 V! r+ }7 T; k! q9 C
}) D$ j9 o" J- {: A0 W* b( ?
8 C. X$ Z& N5 c
$for = function (s,c){
$ f: _0 a7 J3 Q; e# d var $n="this."+c+"()" ;
3 |" N9 }' ]8 u' ] if(s!=null){$ V2 s9 }. v7 c7 L- p
var $m =$test(s);) w9 x: t, a! _
for (var i=0;i<$m.length ;i++ ){$ o x$ l7 k$ q% O1 e
u = $m<i>;
8 S! B) K+ ?7 m& j3 a( n" z6 n$ ] eval($n);' m) ?& U' i9 Y) R7 c/ x
}
1 B- v3 E1 y6 U, P b% R" [ }* E: \( d0 n3 p1 \, q$ r6 B+ K
else{! }, Y! B6 }- n
eval($n);
: o, x5 a6 S/ Q; z2 e, W1 x' j }! H: e- \* Z5 d5 R1 v+ ]
}. C3 |% @- ]. s% z2 r5 M& @- V8 W: H
, Y) e' e' d4 ^4 w. S
$test = function (a){2 }: o2 Y9 I; g" D
var o = new Array();$o(a.split(';'),o);
. g' f3 V) y7 M8 s: k return o;
% ~6 T+ P- ]! F. N$ ]0 S' @4 k }
. f: `; k( p8 A4 b7 I: s) E
: V9 @% d; Y0 J $format = function(s){1 U l& {! E1 u( h6 V. M( s
while (s.indexOf("'")>0){
3 U2 |* `4 P, |4 z4 T s=s.replace("'","\"");6 a# Y$ ]/ m, _8 z' B+ g
}/ q9 r$ i- t, N1 c
while (s.indexOf("][")>0){6 U3 ?. ]: S) u
s=s.replace("][","','") U8 ]; |( D1 [8 {
}
, m5 `! V* M2 j' Y; u- J while (s.indexOf("[")>0){
% E& l, }! `9 `+ V8 I+ a3 O s=s.replace("[","'").replace("]","'")
, M" B5 b1 }/ L3 o" j5 | L } & m2 f( v7 B! \# D9 w- g4 w& t! Y, c. v
return s;
/ j: ~7 c' f6 O }
8 Z- W& z7 ~8 K: v
q' x. Y) j9 C& D0 g2 Q. x3 u $work = function(w,s){
, G* J6 Q& S9 D# \2 R( ~& ?& _+ k/ @ u=w;eval(s)- ]. d/ y+ x3 J
}
& h1 H- r- Z4 x( ?9 x+ r
# S& R" A5 _/ x1 S7 i3 W" ] $id = function (s){
% \- y$ h' s4 @8 W1 W return document.getElementById(s);
) c( G+ A; X, Q0 J! R- o) ^ }
8 T3 V8 Q, F% W$ V* r9 R) f; K6 [+ e; p8 t- K+ Q9 Y* J" u
$name = function (s){
2 I) e* F3 H0 D) D% S7 e8 \ return document.getElementsByName(s); g1 J$ n, u: G, E
}
: V% N! B# o4 G- Y9 _! z, B
; X: e+ \* E* \. ] $tagname = function (s){
. { f: ]; O: e0 f return document.getElementsByTagName(s);3 ] \: y @3 b9 W& M, y
}
' E7 {; f" k$ o. a; Y- i4 j6 K
* a% U' y H9 s$ S6 Y; l $o = function (a,o,c){: P- \; P! H! |7 T
$push = function (n) {
# K5 x- u, r4 q for (var i=0;i< n.length;i++ ){; Q6 u, h4 I2 B6 Z/ ~! D
o.push(n<i>);: z h7 {+ |2 S: l
} ^, q5 g$ V+ i2 ?! \
}* j- X) g' z. |6 t1 o, ~ E
for(var i=0;i<a.length;i++){
; @ M9 l! K8 v# d- h/ J if(a<i>.indexOf("(") >= 0){) r4 M# ]1 b6 t; d" A8 D0 a+ H
c.push(a<i>);; B5 J4 _( i5 ~% @( L
}
% y9 V, I- R: s5 C, V: J* `, V% u if(a<i>.indexOf("~") > 0){8 W# o+ u3 X* ?% n3 j
try {
4 ]$ k( _( g Q1 d7 B% C $push(eval(a<i>.replace("#","document.getElementById('").replace(" ~ @","').getElementsByTagName('")+"')"));2 S5 V& F8 R2 f/ q. M
}catch(e)
3 n" U: t5 w$ g- h0 N {} & z: U8 ?* A/ n6 b6 H/ W
}% b: ^* T% R! x7 N8 ~/ X" P
else{5 v& E& X. g0 `! l
if(a<i>.indexOf("#")==0){, d. ~* J. z5 L/ x4 ~ E# i9 i
o.push($id(a<i>.replace("#",""))); t* v: J4 z8 J
} e8 D" h: ]7 l4 }0 B, P: J' N# E
if(a<i>.indexOf(".")==0){
1 L5 X) ^1 R. J3 C0 Q $push($name(a<i>.replace(".","")));$ W3 H! o' F1 i
}
! N" L; k7 U) q9 e& Q$ E# ` if(a<i>.indexOf("@")==0 ){, Q, q! B( z. M
$push($tagname(a<i>.replace("@","")));
; [6 ?8 L& `% L }
& h0 f5 o, }: n1 F+ p if(a<i>.indexOf("*")==0){& @$ M& R/ K, r3 P7 [! z
$p= a<i>;: a; _% m+ Y' I* A) {
if($p.indexOf(".")< 0){" {) v5 M! u u7 ~4 ]. q2 a- t# K+ c
$p = $p.replace("parent","parentNode")
- i! z1 h- a+ @6 Y) } }( S. C+ i! t* G6 b u- r& H
var $p ="u."+$p.replace("*","");& o( z) w! K- V/ d$ u
while ($p.indexOf("parent.")> 0){; _2 D* J1 Y. {! E( J7 R
$p = $p.replace("parent.","parentNode.")
9 X2 t" S; ]3 i3 h3 A3 I/ j }
, I7 o; _6 L I8 m5 \ while ($p.indexOf("child{")> 0){* R2 V% O- U% m
$p = $p.replace("child{","childNodes[").replace("}","]")
. n S! y. w* n9 T }
6 Y$ r; p* J) U8 N: }$ |6 l o.push(eval($p));+ \% x5 X5 }0 Z* F6 A
}5 ~( N- p0 X" P N0 y! H
if(a<i>.indexOf("document")==0 || a<i>.indexOf("window")==0){8 d8 Z& {; x2 F9 M1 d- E
o.push(eval(a<i>));
8 Q$ _- \; K0 \' Y, C }, i2 k5 g* u1 q z$ g& \
}; y9 V% K( ^. \ m/ c) K
if(g!=null){
( z8 }% R: v( f: V- e4 F o.push(g);g=null
; r4 t% K8 Q1 C5 [: q4 }4 Y: W } 2 q, i: H7 x: T
}
# Z0 ~* {% \2 v f% c8 P ~0 ~ }
$ S$ p7 j- n8 o6 x# ~
3 i9 w, {- K A7 J! h. v $o(a,o,c);" W; v% ^1 H' ?8 ]
: l+ [' m# l0 \' S& [
for(var i = 0;i<o.length;i++){
3 _% Z# R |& p, y4 b& |3 v for(var j=0;j<c.length;j++){
) j3 o# }: h" R4 `( P u = o<i>;eval($format(c[j]));
( \0 `/ r! F9 C3 F' g+ N }$ x7 M6 }5 n3 r& \* k( x( O- r2 O. n
}* C2 C/ s2 Q6 |4 Y% d# r0 C& `! i
, w9 x9 c8 q- [ M. J! \
if(o.length == 0){, I# Q% Q+ Y7 F. O1 i
for(var i=0;i<c.length;i++){
2 z4 b( M& H* l9 z7 T* w eval($format(c<i>));8 k$ _% W5 r! m
}# d+ c. T' @/ h9 e% |$ }7 e
}
o5 g/ I; @( z. F
' p0 t* b, |" _8 w if(r!=null){
' V( q. _! i; y! m5 a* r/ l& G. y) K return r;4 r! i/ P: e. [- j6 L5 A7 a# g# _
}' {6 L1 q8 D: _! z' ], I
- `8 M* }- }4 A if(o.length==1){0 _; f3 _( h' Q3 _$ K: ]
return o[0];
8 u% B1 F# Z4 V- H: l* k. z w# }$ m }; B" ?: T' d" ~* k) G
else{
& K7 @+ W5 T; z0 v return o- _" W5 P: P" L: w3 q
}
) ]. C2 i- b) C1 V& b % L* j6 @, q# S$ D
}8 o5 t! i1 _8 `# g- J# N" l. l
var lrc =$("#lrc;show()").innerHTML.split("["); j8 x; V7 k" ?0 h& i4 S
if(lrc.length>5){; {8 K1 F1 ?/ |) j" U
var array = new Array();
7 Q, r2 J$ ?% g! Rfor (var i=0;i<lrc.length ;i++ )' f: `# f2 l: o1 e5 _! y, B
{
9 D5 ^: g- K. R9 @1 m* i) o- v var g = new Object();
: O2 o* ?+ f, M t= lrc<i>.split("]");
+ H/ a. w3 H: U# ]9 r% s" A: k" V g.time = getTime(t[0]);8 K5 ?1 z2 O9 I; h6 d/ x
if(isNaN(g.time))
/ d" b: c% j- Y# \ continue;2 K) {. t: C1 J5 W" @$ v
g.c = t[1];
- ]$ A) O3 E2 a5 I5 h% S if(g.c == "")
+ Z! M; r0 i7 a( y! ]& \ g.c = getNext(i);
; P0 l f* j8 ]9 B0 [ array.push(g);
. p! w' o+ |0 }}
( r( \, c6 s7 V" n barray.sort(function(x, y) {& [6 Z4 t* _+ n' l
if (x.time>y.time)
& s& D2 K Z. P0 n return 1;
% x: J7 m9 |, a else if(x.time<y.time)
1 g( z2 U7 b) n$ q; Z return -1;
. n! \& Z3 n1 g( t else4 }8 Y7 D6 v- ^5 @
return 0;, V+ S2 M, A+ \- |
} ; _& Y2 p6 `; \
);
! E7 m& w( G1 ~9 J; Z: `for(var i = 0;i<array.length;i++)
0 { B9 y# I" V, H{
& Q7 P$ y5 T$ o var g = array<i>;
) G4 {, S R2 b& U8 [ if(!g.c){5 r, ?9 X% l' M) Y# B/ i
g.c="";
# J; e6 V2 o; I w } S( v ]) M |/ K" |! E
$("#list").innerHTML+="<div id=lrc"+i+">"+g.c+"</div>";1 U1 c( t( l. R5 j( Z- i5 [2 `
}
* F! ~- d/ m/ q, j# m/ hvar time = setInterval("lrcList()",500); % h1 r4 q5 h+ d" b( Q7 e/ z
}else{9 ^3 q9 o& L6 f( P! B: T
$("#list").innerHTML=$("#lrc").innerHTML;3 X* B4 S" m" U/ K3 V9 `4 C; x! `
}
0 k3 M2 g6 _! L Afunction getNext(i)* ^0 K4 P7 o$ v
{: u$ \1 l* C% c
var result = "";
5 [. ^9 T, H; L1 e var i = i+1;& m+ Z; S2 |' J) O: a8 V* u; D
t = lrc<i>.split("]");+ e2 U2 c; }" {$ V4 u
if(t[1]=="")8 S' f0 j9 ]+ \7 }8 \
result = getNext(i);# a9 U* d2 V+ Q( J
else9 f4 r7 q( _, ?5 i y( b6 z: V
result = t[1]4 o; \4 d# f& W
return result;# G5 ~5 n4 r+ f5 h- a
}) _+ x0 n. N% o" H4 B9 ]
9 G8 W# z" y9 M! ~$ u Sfunction getTime(str); N- ]2 d% M$ m, r% d& a' H
{
& l" Z$ E- D7 I6 P var time =0;6 K j: p8 U( h
var ta = str.split(":");! q( I, x, U* F8 X' V; a4 L
if(ta.length<2)3 X6 c# G* }2 d! Y. Q4 x/ q
return time;
( `2 l; x" I$ O, w( h) J
/ V. L' M3 }8 U if(ta[1].indexOf(".")>0){7 @" H9 a* R# {7 h
var tb = ta[1].split(".");
) Q7 A; z$ q3 L time = ta[0]*60*1000+tb[0]*1000+tb[1]*10;3 \: s) v) A3 c; ]* x; z: p- l4 I4 P
}- o4 M8 R3 w) U( v* D
else. h6 `; }. a! S
time =ta[0]*60*1000+ta[1]*1000;
5 E% }# v- Z* P7 E- }/ n# K return time;4 y- @7 a: n/ C) D( |, _
}
0 i9 l- o; I* E, `3 Ivar preTime = 0;5 n2 G' u) E7 D+ C: j
var nextTime = 0;
' g# Q5 U+ j) mvar currIndex =0;+ e! `9 r* a& {: G$ M& n
function lrcList(){3 m/ y/ |. q1 n1 k3 z: z0 {9 C
var s = parent.document.getElementById("MediaPlayer").controls.currentPosition;
$ [! c7 v. ]/ i F) b s = s*1000;
; Y- T: I& J: U9 X: ` if(s==0){
. B! x! n; p x& Y4 Y/ m currIndex =0;( `5 F7 k5 A& I4 \7 w
$("#list").scrollTop = $("#lrc"+currIndex).offsetTop-30;
/ l6 w- B+ s! h& {- ] for(var i=0;i<array.length;i++){1 t( T e' H8 x/ j% z* Y
document.getElementById("lrc"+i).style.color=colorNormal;+ B9 o! ~! m4 {# R4 V% v
}
+ h+ x& y7 O3 I9 n; h* I5 q return;
3 s; H2 S+ N1 ~& Z. t# y0 l } V1 e5 S& {+ O3 Y
if(s>0&&currIndex<array.length-1)% n$ u1 G4 z& ^
{
% E; q& ~6 D# |' k# Q" a, H- { u/ j preTime = array[currIndex].time;0 j: Z0 Y! I0 N, l4 C1 ]
7 y# A1 b" c' p W8 Q" v5 m
nextTime = array[currIndex+1].time;
6 f; b' Y- E5 [& c" w
6 H4 k3 B) [2 e+ c) } if(s>=preTime&&s<nextTime){
3 G# V# o0 W1 Z% N8 C# V" E- Z' K }
v! p- h9 H+ C8 h( Z* p else if(s>=nextTime)
8 E& V* i+ V0 ^9 m {% l' w. o' a5 O3 Z8 Y% X7 n
document.getElementById("lrc"+currIndex).style.color=colorPasted;" o, a# @/ P# Q8 y0 \' B
currIndex++;
+ T3 R S0 J4 ~9 ^* n4 V" X7 o $("#list").scrollTop = $("#lrc"+currIndex).offsetTop-30;! Y0 A% e$ u( t/ z1 V
document.getElementById("lrc"+currIndex).style.color=colorPlaying;
; d/ d- N' E. j; Y lrcList();1 Q% E1 ]8 v" f: i. P, W: |
}4 f3 M; B @9 f7 ]
else{: |( D# y( b' H* R
document.getElementById("lrc"+currIndex).style.color=colorNormal;& `7 _% K: S$ F4 B5 W: Z/ f6 v
currIndex--;+ F4 K+ V6 F5 k7 }4 k; {6 j7 R2 M5 \
$("#list").scrollTop = $("#lrc"+currIndex).offsetTop-30;
& g4 N% {2 k2 { document.getElementById("lrc"+currIndex).style.color=colorPlaying;
; W8 F4 W& M/ ~+ }( j' O lrcList();
. {& Y0 r2 |6 M9 n& Z }
- b8 r! p4 B' ]1 I9 k. s& {" A }
0 A) Y/ x* M* M# Q T9 X& ? else
) `2 E8 j! f, ? {$ O7 }& b3 a3 y
if(s<array[array.length-1].time){
) a# a! j* m# n2 K1 ]" Y, T currIndex = 0;' R5 B( L$ |' M* ]5 R, C+ W& F
$("#list").scrollTop = $("#lrc"+currIndex).offsetTop-30;" [5 d, X. |+ ~; a( s: }
for(var i=0;i<array.length;i++){
. P* B- A* V/ a5 a+ ]! W* B, k- } document.getElementById("lrc"+i).style.color=colorNormal;
9 L, H3 x* _- c2 D0 M }2 I3 J# n8 |) ~5 X- N
lrcList();/ L- y* `- Y. u, K/ E' `& h' _: H: m5 {
}
9 w. I1 {3 z6 w- }: u* T }
- I8 T3 M/ X0 U6 u}
3 ` I! p# i1 R5 X2 q- e</SCRIPT>
# O: d$ t- D3 I$ G1 V7 \. v! f</DIV></DIV>
3 n# S$ a3 h- I; A9 b7 A: i# U( ^8 e% p. P
[ 本帖最后由 幽谷兰 于 2008-9-18 17:36 编辑 ] |
|