|
|
<DIV id=list> p1 M: W8 R) I
<DIV id=lrc1 style="COLOR: #666666">[wmv=0] http://lzbj.ncedu.net.cn/uploadfile/20083923248279.mp3[/wmv] </DIV>' o+ V9 j& K4 I- [4 j, |/ u
<DIV style="COLOR: #666666">|等一分钟|听到这首歌,觉得它很动听,旋律很优美,很是喜欢,传上来给大家听听。</DIV>
- T/ p: ~0 v3 B' U<DIV id=lrc2 style="COLOR: #666666">词曲唱:徐誉滕</DIV>) ^0 b& d4 _9 ?. K! w' R; a
<DIV id=lrc3 style="COLOR: #666666"></DIV>8 f2 W% P2 M F0 K7 y
<DIV id=lrc5 style="COLOR: #666666">如果时间 </DIV> }9 n7 b' ]1 m; T+ q0 Y/ U; K
<DIV id=lrc6 style="COLOR: #666666">忘记了转 </DIV>
2 z" }9 P( Y; X9 [- L9 B9 B<DIV id=lrc7 style="COLOR: #666666">忘了带走什么 </DIV>
0 r3 F _4 B \<DIV id=lrc8 style="COLOR: #666666">你会不会 </DIV>& p1 {1 V$ g9 m+ Q- D
<DIV id=lrc9 style="COLOR: #666666">至今停在说爱我的那天 </DIV>
2 k$ f2 I* W0 T3 f7 i8 Y. y; V<DIV id=lrc10 style="COLOR: #666666">然后在世界的一个角 </DIV>, ]- G9 {& v H7 n
<DIV id=lrc11 style="COLOR: #666666">有了一个我们的家 </DIV>
/ ~" ~% a" |. m6 x<DIV id=lrc12 style="COLOR: #666666">你说我的胸膛会让你感到暖 </DIV>* }: S! y* e; V. g5 M1 `4 B! }
<DIV id=lrc13 style="COLOR: #666666">如果生命 </DIV>! Q+ O. p- E9 ^4 k# S# Y0 b
<DIV id=lrc14 style="COLOR: #666666">没有遗憾 </DIV>
2 R" j3 }3 U% L& [2 \<DIV id=lrc15 style="COLOR: #666666">没有波澜 </DIV>
+ Y# h* o4 _8 H/ q2 B# d# J/ x<DIV id=lrc16 style="COLOR: #666666">你会不会 </DIV>5 U# M+ `4 p( U) g+ `8 v# a1 Y
<DIV id=lrc17 style="COLOR: #666666">永远没有说再见的一天 </DIV>
+ L0 g/ a, D! w- E6 N, Z<DIV id=lrc18 style="COLOR: #666666">可能年少的心太柔软 </DIV>
% K0 a, V6 Z9 V' g<DIV id=lrc19 style="COLOR: #666666">经不起风经不起浪 </DIV>
7 { \4 c q+ Z<DIV id=lrc20 style="COLOR: #666666">若今天的我能回到昨天 </DIV>
- O. Y/ J) W' r<DIV id=lrc21 style="COLOR: #666666">我会向自己妥协 </DIV> \) V! c2 x _
<DIV id=lrc22 style="COLOR: #666666">我在等一分钟 </DIV>
5 `5 F( l( r9 t<DIV id=lrc23 style="COLOR: #666666">或许下一分钟 </DIV>, s6 F, F$ J8 l9 n& p# a9 ?: c
<DIV id=lrc24 style="COLOR: #666666">看到你闪躲的眼 </DIV>
* E* [5 j4 s8 Q3 {; u; u<DIV id=lrc25 style="COLOR: #ff3300">我不会让伤心的泪挂满你的脸 </DIV>
1 [8 J. q) V- f* I7 q<DIV id=lrc26 style="COLOR: #000000">我在等一分钟 </DIV>4 b. L: A7 @0 e% W4 _; c
<DIV id=lrc27 style="COLOR: #000000">或许下一分钟 </DIV>- U: U( ~1 | |
<DIV id=lrc28 style="COLOR: #000000">能够感觉你也心痛 </DIV>
- Z& Y/ w4 J7 P( u: m1 P<DIV id=lrc29 style="COLOR: #000000">那一年我不会让离别成永远 </DIV>! [, `& z6 U& [$ s, B: ]7 {
<DIV id=lrc30 style="COLOR: #000000">如果生命 </DIV>8 C8 H% {9 Q' N% g7 ~8 {
<DIV id=lrc31 style="COLOR: #000000">没有遗憾 </DIV>' d# w% o# j8 q* v9 B
<DIV id=lrc32 style="COLOR: #000000">没有波澜 </DIV>1 k7 l) E; }$ m* M* T4 |! v
<DIV id=lrc33 style="COLOR: #000000">你会不会 </DIV>3 V1 j) z- {+ \0 G
<DIV id=lrc34 style="COLOR: #000000">永远没有说再见的一天 </DIV>
( o' k d* K3 z3 v& e<DIV id=lrc35 style="COLOR: #000000">可能年少的心太柔软 </DIV>- ~' I: @9 b+ f
<DIV id=lrc36 style="COLOR: #000000">经不起风经不起浪 </DIV>
2 ^+ g: m) g" d6 p. {$ k: U<DIV id=lrc37 style="COLOR: #000000">若今天的我能回到昨天 </DIV>
1 I9 E: l2 a1 {) [, I& n<DIV id=lrc38 style="COLOR: #000000">我会向自己妥协 </DIV>
+ Q# O, j1 \3 E! \4 z! w<DIV id=lrc39 style="COLOR: #000000">我在等一分钟 </DIV>5 c, R3 g- X+ F0 ~ x, R$ ~" ?: t
<DIV id=lrc40 style="COLOR: #000000">或许下一分钟 </DIV>7 p3 C5 S8 H' K& W
<DIV id=lrc41 style="COLOR: #000000">看到你闪躲的眼 </DIV>9 m. e. G2 C* q: W
<DIV id=lrc42 style="COLOR: #000000">我不会让伤心的泪挂满你的脸 </DIV>
0 v) C- j6 H: n5 r. ^+ M2 `- p<DIV id=lrc43 style="COLOR: #000000">我在等一分钟 </DIV>" W, }0 O7 P [2 q9 s5 e
<DIV id=lrc44 style="COLOR: #000000">或许下一分钟 </DIV>
8 X }$ m$ v4 i9 W8 k' J' I<DIV id=lrc45 style="COLOR: #000000">能够感觉你也心痛 </DIV>
, r7 R2 m; j, Z, r<DIV id=lrc46 style="COLOR: #000000">那一年我不会让离别成永远 </DIV>! u. B1 p; d5 V& T
<DIV id=lrc47 style="COLOR: #000000">我在等一分钟 </DIV>' W! |2 B1 _% |0 Z1 E: k
<DIV id=lrc48 style="COLOR: #000000">或许下一分钟 </DIV>
* i( F% h2 I2 e- B e<DIV id=lrc49 style="COLOR: #000000">看到你不舍的眼 </DIV>
1 ]2 N" ?9 ]5 h X<DIV id=lrc50 style="COLOR: #000000">我会用一个拥抱换取你的转身 </DIV>' o9 _, s! m Y" N6 f7 q+ C5 G
<DIV id=lrc51 style="COLOR: #000000">我在等一分钟 </DIV>
5 r( T" t- ]" | d" S<DIV id=lrc52 style="COLOR: #000000">或许下一分钟 </DIV>
6 c9 R3 p6 w0 B5 P8 p<DIV id=lrc53 style="COLOR: #000000">如果你真的也心痛 </DIV> ? |# y6 Z* L8 o; Z
<DIV id=lrc54 style="COLOR: #000000">我会告诉你我的胸膛依旧暖 ) [0 s! Q, U6 j: b, x& O
<DIV id=lrc style="DISPLAY: none"></DIV>
/ J" S- q0 g! I/ d' H<SCRIPT type=text/javascript>
/ [2 K( S2 G% O, u# I8 Ndocument.domain="1ting.com";
2 T) v9 [9 |& a& ~var colorPasted="#666666";
" x* r7 o) M+ Q' k" G: {7 Svar colorPlaying="#ff3300";' |1 j7 x! s+ D' O( I
var colorNormal="#000000";
/ H) L0 d- e. K0 d$ = function (a,g){
( E8 w% ]: G+ u. z+ t7 _ var o = new Array(); 4 U9 a. @7 v X% p1 n
var c = new Array(); 2 R! p j2 }% t0 |/ n7 q6 G2 {
var r;
0 ] U. y' d# |% X3 k h/ Y var u;
- N& [3 d) }2 w% @) o+ o! [2 |& | var a = a.split(';');
B C, o2 i$ N5 O, y, N
7 @) d9 r( d7 p9 j# {8 ? var e = "keydowns,resize,load,dblclick,click,mouseout,mouseover,mousemove,mouseup,mousedown,inputchange,inputfocus,inputblur".split(",");
+ q/ F, Y2 w4 |8 j; X" V for(var i=0;i<e.length;i++){
- t9 @. a" `8 T eval(e<i>+" = function (s){eval($event('on"+e<i>.replace("input","")+"'))}")9 c* H& h0 Q6 j: k- q
} v6 I' d7 d$ d# X3 L O
% k7 R) P% G# D3 o1 R after = function (t,d,s){
0 q' S/ o' A# c8 m- G $after = function (){
X- I, ~- C3 r m$ E var $n=document.createElement(t);
$ D9 T C( ^$ W5 H" F* `6 E2 q if(d!=null){7 J& R/ h$ ]$ ~: L( o. X9 v* p* a
$n.id=d;
4 T0 `' K( w5 H7 z4 o4 s' @+ B }3 P3 P/ ?: n6 B+ c
5 ]3 z" I* G0 X0 ?
u.insertBefore($n,null) : m! ~# H+ H/ E$ Y
r = $n; $ V5 U z4 x ?# s8 d A# l+ `
u = $n; + s1 _; O, {* i+ I: p
}
! h* v; |) T) J $for(s,"$after")
. T0 ?! [0 ^6 |& A1 E8 z }3 S3 ^3 s: I6 H1 ?, @7 \
" p# D+ p2 s- m4 n) t" C6 G3 x show = function (s){
E9 r) C1 S" t: N1 R/ N$ a; { $show = function (){
( N- L( X- ~9 ^% L7 @9 P' ^ u.style.display!="none" ? style("display:none") : style("display:block") ;* l! |2 F" C# d; _! v/ ]: g
}
+ A- C: ?% F6 x5 ^ $for(s,"$show")
( c) P3 X; s$ W2 t! q) p T }8 O; Y' j; D1 `1 X% N
- |1 \* K1 d- H9 e2 ]4 L6 R
check = function (t,s){
' ^. u+ {7 d. @) B5 U* \- y $check = function (){
U* k" R# w* ]2 n0 b7 S if(t=="2"){1 F6 T. p" x$ @& ?$ U
if(u.checked){
7 `+ m9 h# i* }; r2 g0 \7 } u.checked = false;6 Y7 p4 `6 o& s- t' [6 ^. s. F4 a4 \
}else{: N3 S; G! t8 G2 L6 t8 L. P) q
u.checked = true;+ p) X& E, ~. E7 d" L, i' L8 Z
}" W: t* r R" M, T" k
}else{+ U& p! V( M8 f4 V
u.checked = t*1 ;% I8 I: c% B. ^5 ]+ Z4 t
}1 [2 i" f# [' S, a, Z
}
3 S9 \) d* p# |5 H $for(s,"$check")
. Z9 M9 w' {4 b" o9 X }
2 G7 z" p# I' h3 s1 c" j0 h+ H8 o- v
style = function (v,s){- O' B" f! s5 [. e, `; z
$style = function (){
8 S/ }! \& ]& E( F' k3 ?1 a6 S var $n = v.split(",")
' N$ ]; o0 O# Y for (var i=0;i<$n.length;i++ ){
3 {6 J. V' t" h) o- m* n) } var $m = $n<i>.split(":")
9 p8 t) W# u1 Y eval("u.style."+$m[0]+"='"+$m[1]+"'");
) R1 F V- U% v }, C1 I0 m5 ~% O* h
}
- i) `! K7 `% L* R( s+ M# n+ d $for(s,"$style")
8 d0 y) w. L# _3 y' s0 a }
9 b- ^/ _* l+ m; m7 D. h
5 `7 y% I, G3 F" H% G1 _ value = function (v,s){
3 g2 m) ? V- I8 |+ P var $n= $this (v);
/ K8 ~/ ]- s: Y2 X: p $value = function (){1 P$ X/ t3 k5 g" l
u.value = $n, [; \& i9 U/ h# U; t' _4 D( `
}
9 B: P! }* E% e2 t8 }$ C2 V0 s $for(s,"$value") - B. [- G# |9 k. W [
}
4 h; P. L/ u4 Z9 Y
. r/ E, O1 @& K* j- D% \ text = function (v,s){0 M1 P) P8 X/ X% u b
var $n= $this (v);" s' v9 P8 c- S% F
$text = function (){
0 l. @5 S: A& |8 D! p 9 K: g2 F/ k" [* b) ^
u.text = $n
0 |& e% T$ Q# Q+ c, N' g. [1 N }. G: S. s. F- ^" U9 g6 w, y% I! ^
$for(s,"$text") 0 R, _% `9 P; Y# x
}& g( I6 T _' \; S2 H
4 v) i& A- u4 [- O: n
innerhtml = function (v,s){
0 y# W' \- [+ \- D, C6 U+ s6 H; A var $n= $this (v);
7 z/ q6 G; h( i" ~+ z* ~; ` $innerhtml = function (){) Q0 l$ y) o& Z8 o7 J# t6 y
u.innerHTML = $n
, m; }! _- q( L' S7 f8 k# ` Y }- C+ l# u) A& e$ H4 a2 t; f
$for(s,"$innerhtml"); q1 C0 c5 [1 X( @" a
}5 I2 M( F6 k1 |, m
. \7 e6 b# s4 `* ? C* y, U; J, z
removechild = function (s){
, z& b% g4 G3 d5 a) Q $removechild = function (){ R4 ^; w3 I- A) y
u.parentNode.removeChild(u)
, ?1 j8 q+ Q( {; d; l. k: a }
/ I$ I: E: s( d $for(s,"$removechild")
1 {7 x- k" i4 S5 a9 J }# \, c( D! |. l. G
: ?! H0 B7 e. t* y8 B" \ $this =function(v){
3 [$ P' M8 E7 Q8 g: D if(v.indexOf("this") == 0){; d2 Z& p& {! T+ E' x, u" i; \
return eval(v.replace("this","u"))
~+ w( ?; p A8 O" Y: j }
6 `1 V W( x+ c( ^- k3 n return v;- Q8 d K: k1 d
}
: k9 `3 c7 { ]* }4 J, \
) [2 L& d1 |% F4 M3 S" d& G5 Z. x $event = function (s){
q3 M1 Q' ]7 {5 v# O$ C var $n ="u."+s+" = function(){$work(this,s);}"
0 F1 V9 Y% l. }+ h return $n;2 w( ]. S0 Y. O# g
}
$ l5 m( e; ^) x$ I% a9 x+ J
$ {9 A* T) }* @8 J0 n3 u+ r6 ^5 w $replace = function (s){% G+ N0 U, `3 b- g3 l, S
5 a* A$ e1 S% {8 V' ^ }# g/ _4 y0 `" Z( m
' c2 {; P" [- F0 |
$for = function (s,c){
G# P7 t {4 e5 q C% @ var $n="this."+c+"()" ;
- I: p$ w( Y# K4 R( t% h* ^( y if(s!=null){
4 n: @$ s, K7 r. q; O( d( x var $m =$test(s);
6 H( G, c. |1 _: E* ]% M/ o8 T0 p1 j for (var i=0;i<$m.length ;i++ ){; |/ v# A2 }2 t$ R2 m* g6 X* S
u = $m<i>;( [; @3 P# `7 P2 q7 s9 h
eval($n);! h* x8 U7 i1 y6 }6 B" _
}
9 g6 E7 H0 C% r% g' C4 E5 j+ n3 r }
4 ]5 d) E5 U: p else{! X0 H- l) y4 X) \) E8 L
eval($n);
: O. L9 w& f# F1 y- Y0 q }5 g; v: ?3 R7 O5 C" v0 ?
}. ^6 o: \- D [
5 G: ^( `; S+ ~5 {( N $test = function (a){
+ E5 m$ ~# _0 f1 j. k var o = new Array();$o(a.split(';'),o);
6 R, y8 @+ U2 [+ v; r# K \ return o;
6 P7 `+ [4 r; A& e; j' L }6 Y& `/ {% [" Z& v/ w
1 N: w3 @% D9 T( | }: w: M7 q3 { $format = function(s){: ~$ Q$ a) U3 K" K I5 I
while (s.indexOf("'")>0){* x$ S( x- ] T q0 C( t
s=s.replace("'","\"");, x8 i/ l' J( J N& v3 ?7 {
}
$ n3 Y1 [+ c9 l7 P( ^ while (s.indexOf("][")>0){% u w: [* t5 o$ p3 R: Y3 q; C
s=s.replace("][","','")
2 q; Z( E$ N$ D0 `; _4 C ^ }
0 f! ~: V% f. v3 o' v while (s.indexOf("[")>0){
' u+ c0 O( r. q s=s.replace("[","'").replace("]","'")$ j; E8 r) f5 n9 M) L0 M% a1 q
} $ R+ V0 ]7 W- t8 g7 X
return s;% R" ~1 b3 z1 m* X4 x, W5 W+ P
}. m9 I) @# G- f( M' @) `2 [5 Q1 o
+ f; W; c8 d4 H1 n+ A0 F$ F $work = function(w,s){3 R/ x; x5 p8 n/ ^9 E
u=w;eval(s)
/ Q8 y- J, [' F x }
' `6 g' @4 v2 i0 M2 d1 x j
+ D B; t7 {# w( R5 s h* L $id = function (s){8 ?2 \) c9 |! `6 z1 ?# l: B: g6 x
return document.getElementById(s);) l* i2 T# ?8 {
}0 E. Y1 N' U/ @/ }
4 V) P+ i# y# n
$name = function (s){
3 e" p+ S1 J2 |# J) j return document.getElementsByName(s);
' X( A6 [. b- M2 ` u2 t }: [8 \2 B' ?0 B9 N
+ _4 r, b' l9 m/ h $tagname = function (s){0 R7 o+ g: l7 ^5 P* s2 V
return document.getElementsByTagName(s);
7 m, v1 [: D `* s }2 s4 w5 S0 x* f& d
3 W1 g- n5 H2 v/ L. K9 _ ^, u $o = function (a,o,c){7 w Y/ {8 G+ G0 d: H1 {
$push = function (n) {
# }" h ~, O G0 H. F for (var i=0;i< n.length;i++ ){
9 T5 P# Q- ?% J* @ o.push(n<i>);& F, _0 p/ ~2 n; V. Z# U
} * E+ B; f5 }3 ?% b6 K
}
! |* l" H" _; G, d7 T2 p+ p for(var i=0;i<a.length;i++){
9 Y, w0 v1 P/ e8 H3 m1 I: { if(a<i>.indexOf("(") >= 0){6 C$ Q/ z, m" d/ d/ b8 `$ h) n
c.push(a<i>);% z* M" e; v3 ~, r: {
}6 G" g, ? P3 O4 [2 w" x0 c1 h
if(a<i>.indexOf("~") > 0){) X, K* D" h& [& R9 a) [
try {! X% R% L+ q7 ^3 J& _
$push(eval(a<i>.replace("#","document.getElementById('").replace(" ~ @","').getElementsByTagName('")+"')"));$ z8 q: c, ?) P, u+ p! D
}catch(e)1 B1 {0 C8 q# l' x: u( C' g/ ]
{} % ]: T3 l! ^& r. w0 I
}
9 N6 g3 W, J. i. _( Z9 { else{/ O" v% C1 I; _5 M, t) R
if(a<i>.indexOf("#")==0){% a( I* m- m& P, j. i. _4 f) X7 u! [
o.push($id(a<i>.replace("#","")));1 `% U4 c( o) U; C! c+ u
}# G7 a* v2 P2 I
if(a<i>.indexOf(".")==0){
: C# L: I# k8 a- a" J) v5 R $push($name(a<i>.replace(".","")));
4 @- v+ y e! s% e0 ~ }
9 D4 |) m% p: q2 j" J if(a<i>.indexOf("@")==0 ){3 a: v! r0 M& |6 P/ r$ o
$push($tagname(a<i>.replace("@","")));
6 o: x# D$ @& }3 \( z* x+ o }
4 J- X" i' U2 o0 G( t if(a<i>.indexOf("*")==0){7 a3 m; C' G2 y) |" Q! h
$p= a<i>;
3 [- C" O1 E+ `7 E2 H6 K# X if($p.indexOf(".")< 0){& O( \* [$ G, M5 R
$p = $p.replace("parent","parentNode")$ {1 s$ ?3 u: B* S/ V
}
+ `2 L+ P. Z% W0 n1 Y var $p ="u."+$p.replace("*","");
( P$ m6 D M, e! u9 T while ($p.indexOf("parent.")> 0){& ~$ D& {) ?$ k3 O/ B. O3 J
$p = $p.replace("parent.","parentNode.")
( P6 Y, a7 D0 x2 N- f+ v }
, u! D+ ]* B& S' U4 v while ($p.indexOf("child{")> 0){8 {) @% O0 O, R. B1 C$ h
$p = $p.replace("child{","childNodes[").replace("}","]")
& _8 D9 O# }' x3 H }$ g7 H7 Z$ K/ w- u* Z+ R
o.push(eval($p));
5 A4 s( _9 A: N9 F }
( r0 Q4 o; r6 l6 w% J Q+ p if(a<i>.indexOf("document")==0 || a<i>.indexOf("window")==0){
* _$ y! t& S* p& l9 A o.push(eval(a<i>));; v4 u6 K+ s8 A$ V% f
}( d) v+ A7 j) J7 K4 \) v2 D; I
}
/ D M2 u" [1 H5 s9 m# ` if(g!=null){ : Z) V. D7 f$ e
o.push(g);g=null
5 {4 G8 m% i' F7 ]* G; q } ; `2 e, T& d( E- {
}
! p' s2 z0 [9 _6 v" o }9 F: Y- r0 x8 Q* s9 c& p; E7 _
/ q0 n6 A; G, g* O# q U $o(a,o,c);
* \. r" |. q& S8 T$ L T# ?# T$ G( [8 f: i Z; ^4 U
for(var i = 0;i<o.length;i++){/ x. W- P7 J2 y( f. Y
for(var j=0;j<c.length;j++){
2 B. h" ^: I, p2 B, M u = o<i>;eval($format(c[j]));3 x6 P- M' i7 V5 {& r
}2 d5 m- ~6 e, N7 r! }
}
: [! C5 S/ G. G3 V( u" o' `
2 v" U7 k" f/ K, a! C* x7 ` if(o.length == 0){
) ~1 K0 W4 k- D" V; {3 G* i' f! P for(var i=0;i<c.length;i++){2 y2 `& J" T7 t% i4 j! P- W
eval($format(c<i>));
% [* j9 ~6 B8 @* [; ~) Y( C }
. A( o3 w* N l% ]; t' G }/ p8 ?" A9 |) K2 e8 [
+ B. h, d, X/ J if(r!=null){7 c$ P$ X+ {# E: @6 @
return r;. [: q/ b' M* \) E
} K4 {* E( r3 J8 a5 g) P
2 C% J* r6 u3 H6 t
if(o.length==1){+ H9 G# R; J9 `
return o[0];" r1 P5 x! r" h+ Y3 e
}
9 N& I) E& O7 C+ D else{
, ~# T. n' x3 J" e* a3 ` return o
- L" {' ^$ w" h5 u } / \. o7 {, q5 _
# D3 |) g: j; F- ?& \
}2 v( k" e& I5 O9 C$ h
var lrc =$("#lrc;show()").innerHTML.split("[");
) X" O) Y5 H5 H8 h# l lif(lrc.length>5){0 w9 ^2 O" W8 y
var array = new Array();: T5 p: x4 |: T& T K) B2 J
for (var i=0;i<lrc.length ;i++ )& m0 `% ]' w$ D$ q R+ j* P% \- w
{
( K7 ]! @3 T) P2 `2 u var g = new Object();5 p8 `& z2 E0 H/ v& C' ?
t= lrc<i>.split("]");
( R- w$ i/ o. |! f" d g.time = getTime(t[0]);4 E/ L- V8 W% \4 s3 d0 B+ N
if(isNaN(g.time)): b0 E+ d* l0 j7 q% X% C4 n
continue;
* |1 E+ c: {& I. l6 H; t g.c = t[1];
9 n1 r( ?0 c2 `; }4 |$ D if(g.c == "")- M4 i, T; [4 [
g.c = getNext(i);
$ j( l# Y* `0 `7 |/ ^8 |' y array.push(g);/ N! t0 j5 ]4 E8 U" [, q* u
}/ k' l8 t0 v" r! Q, c
array.sort(function(x, y) {; m+ T* |8 B# n& z r6 s$ N/ t! s
if (x.time>y.time) 1 D7 Z- v$ E E& v
return 1;
" j$ t2 I$ ?: ?, p& m. K0 \ else if(x.time<y.time)! T @+ c- W1 P; z- U1 I
return -1;5 c* J" F( e* A8 k v l, o: O
else4 p4 H0 L9 _5 a/ c2 g9 X: T2 v. q' J
return 0;) [: s9 Q: [" k. ^" [: P( k# v
} % H+ a: x+ }' D L5 [3 l$ h5 H9 P6 s3 }
);
. Y" i" i6 H! ^* X& p8 H& Ufor(var i = 0;i<array.length;i++). w0 ?. t: p' J" e! g6 f
{) B# O) Y7 z+ j6 p3 a1 J* |$ s
var g = array<i>;
- {- x+ O7 m2 U8 C+ S9 W if(!g.c){
4 b- W% O5 J9 [. y! U# N. J g.c="";
V: Q0 ], h+ w0 r6 u }
! G; p9 H" C, g3 N. F, i4 ~ $("#list").innerHTML+="<div id=lrc"+i+">"+g.c+"</div>";
7 B: A& ]8 C. _3 v _}
7 H4 y+ r& `! p! Z# r3 Cvar time = setInterval("lrcList()",500); 8 k5 k% m0 c& L+ w
}else{3 ~) P2 C3 Q: @* d
$("#list").innerHTML=$("#lrc").innerHTML;, T1 o8 |& _% Z( k3 p; \
}7 x. n) [" a# F; q I' J. V
function getNext(i)
7 _; j' }1 N7 Q) F' Z4 I{& q2 @! r7 r7 m
var result = "";8 q y. {8 n0 U: O: v @
var i = i+1;
) l6 }' X0 Z( `% B8 ` t = lrc<i>.split("]");
+ {) `& U, H$ {/ r& `8 c8 T if(t[1]=="")9 I- f) F0 Z \, L5 h7 k e
result = getNext(i); _* T0 k% P+ K* z5 k' D
else: @! Y: i+ p8 y1 p
result = t[1]
' D3 n/ f2 m4 V/ ^& R4 v0 d return result;
+ y( @- [ f' b9 M" x; D}# L T! Y- @% D# {, ^; E- d7 l- K
2 D- e6 {8 Y3 k3 _0 d- ~
function getTime(str)! t! L3 j7 q# ?2 f- S+ r) }
{
2 m6 q# s& r' j U, W var time =0;( A& Z- ]1 \+ H; B7 l% C( ?+ A
var ta = str.split(":");5 X0 i/ x- t& y" h$ c# M, i
if(ta.length<2)9 |, u& D& R: O! T) q
return time;
$ U( V9 p2 l9 Q5 H! N! G# _" P" P4 N$ q. T8 C6 H/ @( `% w" j
if(ta[1].indexOf(".")>0){' l7 l; ~+ p+ [: ], w0 z# [
var tb = ta[1].split(".");
1 f* \& C0 F. v; M6 D time = ta[0]*60*1000+tb[0]*1000+tb[1]*10;
5 s. w ]8 p7 z6 D5 o5 p }
- ]. O; l6 p5 K else: p" S3 m9 z' a7 s# |* z, B+ b1 A
time =ta[0]*60*1000+ta[1]*1000;
7 b# P0 M, J. o4 b5 p return time;5 r- p" [4 ~: i8 j# k. }* P4 O1 q/ I
}7 w+ a- v) c+ `- O9 H0 d: `
var preTime = 0;
# _2 ? {, {! D# ~/ z5 a7 v8 q) uvar nextTime = 0;* [; B; k% U3 ?5 t
var currIndex =0;
6 i* a) E8 y' Pfunction lrcList(){
+ J/ U: ^. X9 O% z var s = parent.document.getElementById("MediaPlayer").controls.currentPosition;( I" W! B" [5 v
s = s*1000;
( w, v$ f; _, m; I% w# p$ V if(s==0){
# q+ |7 z' S! F) Y9 X4 H currIndex =0;
7 p# c, b9 L, x$ K# I0 q $("#list").scrollTop = $("#lrc"+currIndex).offsetTop-30;
/ L* w' [' s0 f, [ for(var i=0;i<array.length;i++){
1 F# s! d: j6 M0 x% U# E* ` document.getElementById("lrc"+i).style.color=colorNormal;
1 w2 d& ~6 T( X }: c" m. L/ z; u
return;
' F' A; a& e8 J$ B/ Q& W W" V }
. u/ I4 z4 H5 X. j9 g if(s>0&&currIndex<array.length-1)# `! Z8 O3 k1 ?& A+ K' @( d8 T/ S" ~
{ $ H$ q- }, G. b6 m+ z" {8 T1 Z
preTime = array[currIndex].time;% p q4 X" {1 i5 @& E) d8 j
8 S4 G7 @4 H8 n- h% R( H) a, l# @2 q6 f nextTime = array[currIndex+1].time;' v/ q" _' W: D0 r9 ^
2 Z. V7 @2 k5 Y$ B. W3 D if(s>=preTime&&s<nextTime){6 _+ P5 W& \: Z4 Q a1 K' \. c
}6 L) p9 r6 K. u4 r) o! Y3 \) g
else if(s>=nextTime)
- X: [2 w- k! d0 M' R) U2 | {
( `, J/ n. c1 E* y document.getElementById("lrc"+currIndex).style.color=colorPasted;
2 d! {/ f' Y8 B( V; ~% \/ o, n! B currIndex++;4 r0 n- A$ {- b4 c
$("#list").scrollTop = $("#lrc"+currIndex).offsetTop-30;3 j$ {0 u8 S S
document.getElementById("lrc"+currIndex).style.color=colorPlaying;6 N) b7 c# t% C1 o+ U; ] G
lrcList();. B& G b- \! I4 G# |" Z# ~! G' C( O
}
+ l; m( j% i V1 c t else{
; r# E% [( l5 E& c, d: S, B2 n document.getElementById("lrc"+currIndex).style.color=colorNormal;! y, z) X0 X. T/ c/ l
currIndex--;
6 \9 C! C" L4 X4 Y $("#list").scrollTop = $("#lrc"+currIndex).offsetTop-30;$ ]7 S$ A5 j- `: j* R
document.getElementById("lrc"+currIndex).style.color=colorPlaying;9 R/ w4 Q% t% j
lrcList();
9 l$ S1 T, v& R! M& ` }
& S; K; p. H( r }
0 f0 c* Q( n4 Y, L r# D1 | else
3 u0 l* Y" i. f1 q! ~7 u9 ?" X; G1 f {
! ?& F) i. w- @ if(s<array[array.length-1].time){0 @0 _9 _0 x! w* x) \6 T
currIndex = 0;4 ?' N% X6 m( A. F* i7 q% B
$("#list").scrollTop = $("#lrc"+currIndex).offsetTop-30;5 j$ X4 N5 z9 G x, c. l. t
for(var i=0;i<array.length;i++){. |% j7 a" x6 s5 k' @
document.getElementById("lrc"+i).style.color=colorNormal;( U3 i8 i7 a% V0 \9 F9 L
}, Z6 C) g [2 G4 g9 g9 [
lrcList();$ Z3 @+ C( o$ c8 U' ]! ~1 q
}2 K* R& ?/ ~% H4 i- Y; I
}
6 e- e$ Q: I( M% x}4 u: C3 @; Y4 e2 q2 p: n7 K% A- X) a) t
</SCRIPT>' V X" \! A' L' f
</DIV></DIV>
! \ L* z3 y. O) P C( |
- O; m/ ?6 I8 y1 U A[ 本帖最后由 幽谷兰 于 2008-9-18 17:36 编辑 ] |
|