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