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