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