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