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