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