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