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