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