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