|
<DIV id=list>1 }+ U: A6 R1 T, t6 J
<DIV id=lrc1 style="COLOR: #666666">[wmv=0] http://lzbj.ncedu.net.cn/uploadfile/20083923248279.mp3[/wmv] </DIV>
+ b" Q0 X) e9 u3 }; r<DIV style="COLOR: #666666">|等一分钟|听到这首歌,觉得它很动听,旋律很优美,很是喜欢,传上来给大家听听。</DIV> w% k$ W4 M) M* q6 t5 r
<DIV id=lrc2 style="COLOR: #666666">词曲唱:徐誉滕</DIV>
) N" S/ r0 U- c/ b/ f<DIV id=lrc3 style="COLOR: #666666"></DIV>
- O" G$ U9 K; Q+ ?% ^6 O* w9 N j' I5 d<DIV id=lrc5 style="COLOR: #666666">如果时间 </DIV>
' j# \8 i" }( I- Y<DIV id=lrc6 style="COLOR: #666666">忘记了转 </DIV>
# f ]: x1 `1 g+ S0 A9 l, w" S) S" w<DIV id=lrc7 style="COLOR: #666666">忘了带走什么 </DIV>
; }( j* o0 K$ ]% Y<DIV id=lrc8 style="COLOR: #666666">你会不会 </DIV>
, l, y! }. [* s+ m+ K) B$ |<DIV id=lrc9 style="COLOR: #666666">至今停在说爱我的那天 </DIV>
8 B' [# v s: M<DIV id=lrc10 style="COLOR: #666666">然后在世界的一个角 </DIV>. f( G! a: f9 J& s
<DIV id=lrc11 style="COLOR: #666666">有了一个我们的家 </DIV>8 K( l @9 m8 {7 o: M3 C( ^
<DIV id=lrc12 style="COLOR: #666666">你说我的胸膛会让你感到暖 </DIV>
4 D& V- C+ t5 U% r5 q<DIV id=lrc13 style="COLOR: #666666">如果生命 </DIV>
) i8 ^# m/ a+ P6 V/ ? j<DIV id=lrc14 style="COLOR: #666666">没有遗憾 </DIV>2 m# K7 t R5 G Y
<DIV id=lrc15 style="COLOR: #666666">没有波澜 </DIV>+ o1 C0 G7 L' u/ }
<DIV id=lrc16 style="COLOR: #666666">你会不会 </DIV>5 u& O- N. g' I$ t: k
<DIV id=lrc17 style="COLOR: #666666">永远没有说再见的一天 </DIV>0 v$ j; @" t; ^1 a7 n! X1 ]
<DIV id=lrc18 style="COLOR: #666666">可能年少的心太柔软 </DIV>( c5 X8 c; ]; P" z
<DIV id=lrc19 style="COLOR: #666666">经不起风经不起浪 </DIV>6 ~( a/ O5 y- M% n: x2 C
<DIV id=lrc20 style="COLOR: #666666">若今天的我能回到昨天 </DIV>
, G+ l9 } R) N" r<DIV id=lrc21 style="COLOR: #666666">我会向自己妥协 </DIV># w2 E- B* V/ e7 K2 {8 [ }' @
<DIV id=lrc22 style="COLOR: #666666">我在等一分钟 </DIV>
1 w! n( e" f! Z4 H# i<DIV id=lrc23 style="COLOR: #666666">或许下一分钟 </DIV> k4 x6 q: I) ^: H, {
<DIV id=lrc24 style="COLOR: #666666">看到你闪躲的眼 </DIV>
$ k2 m Z+ q$ D2 Q8 k2 Y. c<DIV id=lrc25 style="COLOR: #ff3300">我不会让伤心的泪挂满你的脸 </DIV>
( Q+ o R; [& i+ h1 ]" T6 Q& P/ W<DIV id=lrc26 style="COLOR: #000000">我在等一分钟 </DIV>! A1 g' ?# f, u! d$ r- B% }! i
<DIV id=lrc27 style="COLOR: #000000">或许下一分钟 </DIV>
8 r& ^. L% L$ r- V0 I& d<DIV id=lrc28 style="COLOR: #000000">能够感觉你也心痛 </DIV>
% r! R, r+ G {1 C2 e<DIV id=lrc29 style="COLOR: #000000">那一年我不会让离别成永远 </DIV>7 |& G; l4 O: f8 X/ v9 F$ u# {
<DIV id=lrc30 style="COLOR: #000000">如果生命 </DIV>7 ] O& }! H+ o7 i! E& d3 s, L
<DIV id=lrc31 style="COLOR: #000000">没有遗憾 </DIV># I/ o$ j8 ^& G) ~$ x
<DIV id=lrc32 style="COLOR: #000000">没有波澜 </DIV>+ e/ R. s3 Y. R0 p. t/ X T$ w, R
<DIV id=lrc33 style="COLOR: #000000">你会不会 </DIV>
/ m( ]& p: U. N# A2 b* d7 g<DIV id=lrc34 style="COLOR: #000000">永远没有说再见的一天 </DIV>! I0 q/ ?2 o/ S$ d7 Z
<DIV id=lrc35 style="COLOR: #000000">可能年少的心太柔软 </DIV>4 P! P ^0 u6 u# d& l2 w
<DIV id=lrc36 style="COLOR: #000000">经不起风经不起浪 </DIV>
' V2 ]" N' Y7 u) d% `) o, X<DIV id=lrc37 style="COLOR: #000000">若今天的我能回到昨天 </DIV>5 f% J. l* c0 s0 `, W! ^ B5 D$ y
<DIV id=lrc38 style="COLOR: #000000">我会向自己妥协 </DIV>
. [& D6 k: l$ M, h8 o4 s1 M0 U<DIV id=lrc39 style="COLOR: #000000">我在等一分钟 </DIV>2 i) K& j' Z% ?& R8 I% {8 S
<DIV id=lrc40 style="COLOR: #000000">或许下一分钟 </DIV>
, ]# p9 K9 M) U/ L1 J+ B, `) C) N<DIV id=lrc41 style="COLOR: #000000">看到你闪躲的眼 </DIV>; c% ?8 Y9 \ ?7 H! a
<DIV id=lrc42 style="COLOR: #000000">我不会让伤心的泪挂满你的脸 </DIV>/ ?- }* U0 I1 x: D7 N
<DIV id=lrc43 style="COLOR: #000000">我在等一分钟 </DIV>, X$ A% I6 C0 k, z& O) k
<DIV id=lrc44 style="COLOR: #000000">或许下一分钟 </DIV>
# [0 o. T' e: m' f$ }6 Y<DIV id=lrc45 style="COLOR: #000000">能够感觉你也心痛 </DIV>8 K. D6 U( `. L, D* ]
<DIV id=lrc46 style="COLOR: #000000">那一年我不会让离别成永远 </DIV>5 z( m% N$ r, r9 X: E8 p q5 w; ^
<DIV id=lrc47 style="COLOR: #000000">我在等一分钟 </DIV>* }$ C% s4 x. k
<DIV id=lrc48 style="COLOR: #000000">或许下一分钟 </DIV>
# ~6 U4 w! [+ n) z- o' p, f; |( S! S<DIV id=lrc49 style="COLOR: #000000">看到你不舍的眼 </DIV>4 E2 X# D9 n' [! W& f2 }2 O
<DIV id=lrc50 style="COLOR: #000000">我会用一个拥抱换取你的转身 </DIV>
. d5 _0 H1 {9 o4 E! M! f<DIV id=lrc51 style="COLOR: #000000">我在等一分钟 </DIV>" Z9 J: T$ P1 y. Y/ _9 A5 X3 u
<DIV id=lrc52 style="COLOR: #000000">或许下一分钟 </DIV>
: f' H. x: w; f; o0 a9 f2 m) b<DIV id=lrc53 style="COLOR: #000000">如果你真的也心痛 </DIV>
# Z! d0 z: Q) u. z; t! @<DIV id=lrc54 style="COLOR: #000000">我会告诉你我的胸膛依旧暖
: i# O( }) k# C- B- p, u3 V) c<DIV id=lrc style="DISPLAY: none"></DIV>
5 J1 _& H' C8 a& J- N- ~<SCRIPT type=text/javascript>
4 W* E7 z+ G: E. C% Ddocument.domain="1ting.com";# o& c, G, w# g, }/ O: S- w A% e% P
var colorPasted="#666666";: P/ K7 j/ s# D f4 [3 A
var colorPlaying="#ff3300"; H( `2 C( c8 g& Z, W
var colorNormal="#000000";% s. a' g: M) `- D! n
$ = function (a,g){
6 M- s8 X) a9 ^/ Y8 R9 r4 ^( k var o = new Array();
/ ^3 o, S- E) |1 z; [ var c = new Array();
8 V9 D% {" |( Y var r; 7 Z3 A" l5 o- B5 L
var u; : ?# m: {) W+ E/ K$ X
var a = a.split(';'); " S, e( W6 N% p! Q
2 [& r+ Z: U* @% i% |- }8 I7 C var e = "keydowns,resize,load,dblclick,click,mouseout,mouseover,mousemove,mouseup,mousedown,inputchange,inputfocus,inputblur".split(",");9 t# X# b1 i- w- ~- ? y
for(var i=0;i<e.length;i++){/ g* i8 R0 t2 k' K4 ]! w
eval(e<i>+" = function (s){eval($event('on"+e<i>.replace("input","")+"'))}")
3 |5 P/ X, k6 B& `3 g }
0 V Q6 c" Z4 Z+ F9 F6 U5 c% q* e0 X G- }4 N6 Y: M5 z5 E7 H- X
after = function (t,d,s){) X; u- P) ?+ ]0 P+ b5 ?! ^
$after = function (){
$ E: v6 g0 X) q( }2 c1 b1 R, z- c var $n=document.createElement(t);. b- Y* v4 a9 ]& M6 X0 J
if(d!=null){
3 n' v& R5 V4 j $n.id=d;
8 P, w. m' }6 U0 \: {8 v2 |4 d- p }/ C/ W% q; K4 \/ X( h+ R
: `# d: A' D& x4 I5 ?) f# {
u.insertBefore($n,null)
+ u3 w; ?/ m2 `8 O r = $n; $ K' H' m$ T4 p: N4 a
u = $n; . F9 V1 o2 [' v7 D; e; U0 r
}2 L- W1 s) M( C- [0 c+ Z
$for(s,"$after")9 H+ M! W1 X, \3 X' T
}
5 k2 @# o ~( [. m+ V8 q
% p4 n, q1 m) t! `8 i/ i$ T* w) _ show = function (s){6 L9 s! D5 g) F( v+ s1 E
$show = function (){
- A1 h4 W' b! l" o+ o, R u.style.display!="none" ? style("display:none") : style("display:block") ;
1 c/ h5 S3 [" ~8 l8 m; } }0 k) z- X- a+ e3 D6 {2 z
$for(s,"$show")
# S4 c5 b$ g* E; F }6 y5 o& n$ S4 J, f/ b
, q7 ?# i) Z- W$ q6 V2 n
check = function (t,s){
" e5 E( f5 C5 c% B% R/ g0 B $check = function (){) V8 a& S7 [" | Y! V& `5 d# a
if(t=="2"){
+ [* h, S# }; {% H if(u.checked){
" e7 D2 C7 H1 f u.checked = false;7 f. Z+ B* t: I4 u6 m" Y- o% H: U
}else{
- [4 I/ `, s6 N6 Z6 N- c u.checked = true;
2 `! O6 f2 h4 }1 r, Y! ^6 S- o$ i }( V5 U, `+ b) k# Z/ \. M
}else{; g3 y ^% q* k5 e5 B7 [5 V( C
u.checked = t*1 ;- m; d! F/ o$ j/ N, ]9 f; t
}
- }; k/ S3 e: Y. _4 z }* |, r, l* e1 a
$for(s,"$check")0 i, ^* U* p8 }4 N7 O
}) L; s" I7 M7 ~! G
, W i0 B$ A! A9 z
style = function (v,s){( |; D: n2 L/ \: x9 |
$style = function (){2 z: `7 v. y& p5 J( d: \$ q
var $n = v.split(",") ( o# `, }" j+ a5 q6 X1 @
for (var i=0;i<$n.length;i++ ){
* U; b, o5 _( x# P$ r. r var $m = $n<i>.split(":")
t# d, I0 ^( ^5 @) S6 z eval("u.style."+$m[0]+"='"+$m[1]+"'");3 [* B2 q) h% P# N
}9 z, K4 k1 [, a8 }
}
3 H3 @$ b! l, ?% o5 E $for(s,"$style")) @5 `% l. J# F8 X- q Y- q
}
. f9 D$ q1 B; \* P. s, T8 |- G# J5 M4 h' S- X# d
value = function (v,s){5 {5 U6 H' y" w" T6 @
var $n= $this (v);0 f3 c( h/ a) m
$value = function (){2 O6 W6 I- m" J, G& @
u.value = $n
Z$ e) J7 n1 u: C$ E( ] }3 B& ?$ e& L! C7 F9 `/ y1 C3 y
$for(s,"$value") & J& C F" E3 k/ g7 i J& S j% W9 n
}2 G# \5 W( a. J2 G" ?$ j3 z7 w
% X! |% |+ K; J, e( ~# h
text = function (v,s){
6 O9 x0 a1 {$ \; D var $n= $this (v);
/ X5 G3 R5 Q. n' N4 ]* b $text = function (){
# @4 h; n C" R! N4 S! q p * c. _# |3 ]7 S; D' D; Y$ X" _
u.text = $n# i" N& D/ L6 ]
}
# c) }7 F' E ~! n. W& r" f' n( H $for(s,"$text")
1 `4 k' `% m* O }
& j3 ~" E" Q5 S4 k' I; p" M8 L5 I9 E7 o) W- ?
innerhtml = function (v,s){
: X" J+ Q' n, q var $n= $this (v);
; T6 [/ T2 v: ^+ a" o8 ^6 |& r $innerhtml = function (){5 }# m6 a3 [% I9 i" X3 q. w
u.innerHTML = $n8 N$ a0 |) d5 Y& N2 }
}$ w! m5 k% r' w# X; [8 h
$for(s,"$innerhtml")
; `$ h) M0 I: f6 Y* d2 E$ q( s }9 G. N2 g( `2 u
& y* E# D/ N* F. `) T- P removechild = function (s){
6 P9 F+ F8 k( C7 L# x! @6 r $removechild = function (){0 G, M4 C+ q3 G9 T. c
u.parentNode.removeChild(u)
6 k1 U# W3 A k/ T }
r# Q$ p& e% j) W, _! h $for(s,"$removechild"), j! z0 u) B- A- H
}: Q1 `2 ~- f8 v/ ?
+ P8 `: O" ^! w0 j! O' [) c1 _1 }
$this =function(v){
5 ~; x5 Z% E1 u G4 X. v/ O5 m if(v.indexOf("this") == 0){
( U* J9 F( H; q& B( P- l return eval(v.replace("this","u"))
! G; ? _% m4 l% l2 u } i5 e3 I8 `6 o: z
return v;$ Z/ q. ~2 W' u/ H
}" j; G' |% P) i/ a$ R
; P4 Y# [2 z8 {1 Y3 \0 ]5 h8 d $event = function (s){
, F( B* s3 J* h" c var $n ="u."+s+" = function(){$work(this,s);}"$ @. w, {- { l9 w" g
return $n;) W* O: S, t; v( z4 `% E5 S0 ^
}
2 a* M: m& w/ Q4 V1 J+ b4 S
& i/ W% i- `( ]. r $replace = function (s){
+ E. f" s" h- B) h; \- Q+ W O: x4 p3 Q
}
/ E5 g7 ~" z- ` e7 q. Q; k
/ y9 S+ b) ^0 m3 ~/ t $for = function (s,c){9 K) n5 w( y) L, i: C1 n" I9 s5 o
var $n="this."+c+"()" ;
) l' H) r, a1 m( G1 L4 R if(s!=null){
- }, }" Q! D& ^2 z var $m =$test(s);- A1 U- e! M* V- R( q& H5 ]
for (var i=0;i<$m.length ;i++ ){
& E4 c6 a8 H- e! C u = $m<i>;
% a1 w& E' b2 K( a eval($n);$ {$ T& _' H. T5 a0 F6 |
}
7 t: {0 w% J7 r5 r& X- i u }$ H4 ~/ a2 e8 a& Y! D
else{
; f/ C- b7 m) `1 R& k: F( s, _2 v eval($n);5 w7 u; T4 Z+ ~
}1 [. p0 f3 O6 _
}7 ~/ V+ U l( c7 P5 _+ P. O
3 C( w# M8 _; R" k* G+ N3 U, H
$test = function (a){( G' {" \9 X) i6 t
var o = new Array();$o(a.split(';'),o);
, D# w: K. v. n# E9 R- N return o;. A' h( G+ M# a% S" C
}, u, a/ X. O3 g) h6 }
# d, H! h! E4 y) B. U( ]# L $format = function(s){: F2 I" w3 k6 m, d4 W
while (s.indexOf("'")>0){
4 w4 q1 O4 @% o s=s.replace("'","\"");2 u% e8 q' l0 J3 N' X3 b6 B
}
( Z/ u! e0 G* \ while (s.indexOf("][")>0){( F1 G9 f. m: q
s=s.replace("][","','")
, W+ m, x$ k8 g. R& i) j }0 K* h- X w7 o( }6 ?$ a; v
while (s.indexOf("[")>0){5 i, B* F& Z& [ @
s=s.replace("[","'").replace("]","'")
7 n- L5 g8 ^, ~# n& ], O* | }
# f0 {8 Y: O* R8 q* c return s;9 W j, m5 r$ }1 W3 q6 k0 U
}: t3 C8 {" x7 M0 S9 {
9 _; Z3 d5 I0 h% W; Z; u7 e
$work = function(w,s){! x7 N8 V/ j- k) W; Y
u=w;eval(s)5 U3 b$ O. o" M6 M
}
7 o6 S6 e6 T1 Q0 \
a" `0 @/ |0 N* G I4 d $id = function (s){0 h+ K8 F; L1 ]5 e5 y9 |
return document.getElementById(s);
( s* O0 O( J. V! ^ }
, Z1 Q! h/ J. F
5 A' y+ a; o: S" q1 [- [ $name = function (s){
" V( [+ ? s7 K return document.getElementsByName(s);1 h, ?5 y+ l& _5 J, K( s
}' e. A/ j& m& q
J: G. e( ]7 ^8 Y
$tagname = function (s){
3 y, \5 W+ A% s7 Y return document.getElementsByTagName(s);
+ z( g3 m- |8 K# { }1 _/ W; y- \1 h6 o2 Y
6 g6 @5 n0 F" R3 v- _ $o = function (a,o,c){! l" Z1 O1 e" y+ R
$push = function (n) {& I4 \: P6 q# U: \
for (var i=0;i< n.length;i++ ){
" z" X2 Z( g" j* S" ] _ o.push(n<i>);, H2 \9 g% K* |; ~8 D
}
/ i. m" W9 w. N4 T H }! N7 p: z2 d3 H- c- r
for(var i=0;i<a.length;i++){
( A) V! C- s" D: S' N if(a<i>.indexOf("(") >= 0){/ D3 S2 |9 O5 B! W, Y
c.push(a<i>);
. d3 K- d$ w' I; c3 a }7 B! R5 z a2 M+ S- k0 F
if(a<i>.indexOf("~") > 0){
0 n g9 {' Y' c( u try {+ }6 N# Q' \1 Q; h5 B7 k% _
$push(eval(a<i>.replace("#","document.getElementById('").replace(" ~ @","').getElementsByTagName('")+"')"));2 |* t5 X( \! P4 \( ^
}catch(e)+ c+ V5 ?; Q0 L m- b
{} % \$ j) a. Z: n
}
]# {/ ^: W% j) X& A else{# C" `5 Q" _, a% V5 b2 s% X1 k: T
if(a<i>.indexOf("#")==0){4 I+ D1 a; {6 l0 b2 M1 K2 a. ^
o.push($id(a<i>.replace("#","")));: _% Q+ o7 v; B. @( W: a' z
}
) e+ A! K. |$ x U! p if(a<i>.indexOf(".")==0){
+ S# Y; e" J" [- s/ b' |* w $push($name(a<i>.replace(".","")));
6 x3 Y j* C( u8 |9 w9 h, @7 J } G6 [" u9 w$ V! @ u
if(a<i>.indexOf("@")==0 ){
3 y) K) t, o7 T0 Q $push($tagname(a<i>.replace("@","")));
# U9 F2 [. V; D* U P/ q }- \8 q) ~( ^' \9 U( ~
if(a<i>.indexOf("*")==0){
+ f) ?+ W" f& _" f9 F8 F $p= a<i>;' D3 X4 b4 \( @, T1 ?3 T! J
if($p.indexOf(".")< 0){
3 ~2 z" F" ?! Z7 d, ] $p = $p.replace("parent","parentNode")$ g$ L+ g t5 s6 `4 Q, i' Z
}
6 g" @0 g- Y! `4 z- o var $p ="u."+$p.replace("*","");4 E+ L3 K$ s5 r
while ($p.indexOf("parent.")> 0){
/ \. R( j2 N, s: ?) S $p = $p.replace("parent.","parentNode.")3 W; w) K/ _5 S6 s8 i
}: k, r2 f4 u: n. ?$ {8 ?
while ($p.indexOf("child{")> 0){
, }8 n* d4 R2 a0 s $p = $p.replace("child{","childNodes[").replace("}","]")
- P0 X5 r6 n7 m# x1 n$ l }' r# b4 U3 y# j$ i- g7 C& }
o.push(eval($p));( T' L( o. _; Y# [) k2 B C
}
) x! ?1 u! q( z t if(a<i>.indexOf("document")==0 || a<i>.indexOf("window")==0){5 H- q7 e. P8 Q- Q, X k/ q
o.push(eval(a<i>));8 A0 A2 J1 c7 z) q7 i$ R
} S. M" s# q( U1 x, N! R
}
f- ]* }1 n$ c) p if(g!=null){
. x+ h; i* [8 ?9 p( x o.push(g);g=null
: u% ^3 Y* {0 a. O9 r# B }
, d# V9 ~; q3 f$ y/ H }, h# N& S$ S W# f5 T! w3 E# P5 `
}6 V' _, {; [& C3 h# L
$ S) p9 O: s( K1 U
$o(a,o,c);
) f8 y5 V! x* U! F- ~6 g* { V
4 }' V9 |2 K9 a8 D for(var i = 0;i<o.length;i++){
& Q z2 u6 h% q. B8 B; m5 I7 x8 v for(var j=0;j<c.length;j++){, j* c# e: R' a. b
u = o<i>;eval($format(c[j]));, F6 B$ \. k& Y3 d4 K
}, o; G% S4 k; [1 N
}
6 x3 h$ n. I2 j6 D
* B- a; h' n( [% {6 X if(o.length == 0){
/ {6 M* Z/ p) f) M) s% W# f: x- V for(var i=0;i<c.length;i++){: W! b5 a- b9 I4 ?4 d1 g( m
eval($format(c<i>));7 v9 c; [2 S6 \- v& z0 S4 N" f4 f
}1 t4 B5 p! s' g9 l: n# [+ w
}+ l& Q& S7 b$ F6 w
- d, }2 h" Z2 c. Q8 W+ d
if(r!=null){* }1 E% D. K/ Y8 e* e
return r;
, ]& u( r7 y+ y: H }( e$ v$ C% @$ U, U5 d$ `
9 H9 I0 H, A$ X2 D( \9 o$ O& ^' B
if(o.length==1){4 O! w" d- a9 E" c; `2 r8 ~
return o[0];
- Q( K* r/ A0 B3 N. z7 x9 @5 y }3 @8 I! K/ b# z) |
else{% p" r. K, X$ M: M5 s1 y" f) C
return o
c; k- K) X1 |% ]2 {$ ` }
; i `* b1 s$ ?
& `5 b$ i# H6 _7 m }
1 ~: ~" r3 \6 ^1 F6 O3 Qvar lrc =$("#lrc;show()").innerHTML.split("[");
2 S! p6 {7 o6 R6 k* Mif(lrc.length>5){1 u7 b: p- Q3 U9 ]5 z( O4 _
var array = new Array();
2 u8 k1 t" ]0 ~5 wfor (var i=0;i<lrc.length ;i++ )3 X% T7 ]( }4 i1 x+ C: ]! @
{
3 y8 m2 ]% ]! p: ]% J1 o; Z var g = new Object();
5 _) _8 u! Y* n$ T t= lrc<i>.split("]");" y/ M+ [# H6 g/ A1 t! ?$ j/ p6 f
g.time = getTime(t[0]);4 S; B; h r# ?6 [) g
if(isNaN(g.time))9 g/ Z0 m; X2 z+ Q8 O3 G5 r5 }, g, o
continue;
; m5 H5 u! v. Z2 o+ c L g.c = t[1];, M" C* o P' c$ g- n7 | Z
if(g.c == "")
0 ^9 g8 x" { }. M# y$ \! x5 U# Z g.c = getNext(i); }( C) f% M! w7 U5 h: K0 k
array.push(g);, _& \+ h3 D+ p, H; Y' \3 q
} u( `9 b1 x, \+ J& @9 E
array.sort(function(x, y) {. o% I& T) p- X: h2 s, u
if (x.time>y.time)
# A( ~% N5 `, q& L5 ] return 1;/ g8 L, E% Q/ u6 w: o
else if(x.time<y.time)" N; @3 h" N) Y
return -1;
) v0 q p5 H1 d! j3 c2 D else& X: F7 e% [ b; l' }/ u
return 0;5 e* C0 y6 U6 ?+ f* Y2 h" Q
} ' y! `! U. ~ f7 e
);
9 [. n' J! ?, l7 _* k( Ofor(var i = 0;i<array.length;i++)
6 _: ~4 H0 I% G* o{. Q5 {9 \# Z2 y* E3 K
var g = array<i>;
6 _% B! T/ z* e0 t: U# S3 M if(!g.c){
# x" O1 V( C! L6 p9 U, J5 C8 D7 q5 Y g.c="";
+ O. q6 l1 {: a3 C: W* d }
$ D' B; Z) [( g0 a* r" ]8 r# T $("#list").innerHTML+="<div id=lrc"+i+">"+g.c+"</div>";! b5 y2 t' j; F! W) m+ `
}
7 H! \' ]) o/ I8 o- Zvar time = setInterval("lrcList()",500); ^. I4 B- y+ W4 w1 U
}else{
2 f8 `+ U) z* Q $("#list").innerHTML=$("#lrc").innerHTML;. }1 w$ f7 ? ]; C9 V
}# ^0 [) |# X# g, M6 [
function getNext(i)- t$ a; f* ~ k+ X" F/ F
{
6 j. m; A2 j2 d- |8 i8 y7 i: a7 w var result = "";7 r9 x! w# u4 v
var i = i+1;* T: c" L6 Q: Z0 z. O: k
t = lrc<i>.split("]");6 _% a# j8 x8 B+ M
if(t[1]=="")9 g% m( F6 C- v4 S
result = getNext(i);
- d) S2 L$ C, [& [. x( v: w else
2 B% g) Q# u' b) w result = t[1]4 i* G; P) W6 c9 a+ X0 r' G9 o" q7 n
return result;6 W& [; q, G% J7 y+ V7 `
}
% ^* Y1 u/ D2 F- b+ j5 K2 |7 ?9 i a$ _$ n; x7 B6 H! g h- V
function getTime(str)5 C' g# N; U. m( ]7 M/ _
{% U: {9 N- i- }; m' D& O3 N* P
var time =0;
2 E8 Y/ z5 x4 [* \- U var ta = str.split(":");4 h9 `1 r. d5 f6 Z7 A
if(ta.length<2)
5 @2 j+ x G* b return time;6 _ o% k5 v' [8 k
: v' U/ Q! m: I# h9 @1 l* W3 Y
if(ta[1].indexOf(".")>0){" A5 @) R2 `! {
var tb = ta[1].split(".");
: t0 b2 M0 G9 X0 a9 F6 g time = ta[0]*60*1000+tb[0]*1000+tb[1]*10;
. s0 W" B2 L3 b- o% ^1 ? }- O# M1 \; t; g; v
else1 o. `* \& B3 n& i/ \7 G
time =ta[0]*60*1000+ta[1]*1000;% t7 `1 M- }/ ?
return time;, x" z2 z8 P' L; W# ~1 a' r
}
' d8 m9 l, S; t3 U( I" xvar preTime = 0;) Z a4 ]; X/ W. P6 ~+ L
var nextTime = 0;
, R2 l6 Y$ l2 @$ L, dvar currIndex =0;
1 [$ t% }9 m, u/ H. g8 Hfunction lrcList(){6 w }# y8 Z; |. K8 u
var s = parent.document.getElementById("MediaPlayer").controls.currentPosition; J. `+ H) u9 e ^8 w
s = s*1000;
0 D6 d e0 Y3 A& M; a1 E if(s==0){
4 U, w: Z3 X$ _; Q5 u2 i: o4 L currIndex =0;
1 X# q& @6 d9 p5 O6 F: W $("#list").scrollTop = $("#lrc"+currIndex).offsetTop-30; h$ P$ a& C) s8 l6 `5 k6 r8 x+ w
for(var i=0;i<array.length;i++){, P6 K: v1 w9 @0 m0 S. q" t3 f( G
document.getElementById("lrc"+i).style.color=colorNormal;7 Q6 x) f$ }* a' n
}1 g' s6 r3 _8 _, y9 F" F
return;
' V: G6 I6 ]' d9 s% u! ]' f, q }8 q/ ~4 h; W5 L3 w
if(s>0&&currIndex<array.length-1)+ \9 Q- O- X. N# H! q& z
{ / T9 v( v$ I7 [. p1 [1 |3 O
preTime = array[currIndex].time;
3 p; t0 G% x) H / t, c6 q! H+ w& \; G1 [% }
nextTime = array[currIndex+1].time;" W. J) _/ H, {
/ W% q" I8 U( E+ h
if(s>=preTime&&s<nextTime){4 Q. D6 F4 V0 @- C/ L
}
( {& o% c5 T) {- S8 Y* `- w# t else if(s>=nextTime)
( K/ ~* M* T) V9 e9 t6 G {" ^: [- `# K1 E( P7 r
document.getElementById("lrc"+currIndex).style.color=colorPasted;
& n1 C, p* r: ?8 J/ N currIndex++;0 s' e& f/ N, q% S3 z
$("#list").scrollTop = $("#lrc"+currIndex).offsetTop-30;
* c* _/ }9 Z! d8 k" q* v* z' k, x7 G document.getElementById("lrc"+currIndex).style.color=colorPlaying;
. q# b6 Y+ `+ }2 ^+ b lrcList();
& o: H: y; z6 }9 ? }
9 [% H6 s9 g$ }$ y8 K. f3 \ else{
: d, H5 l- \7 J$ w6 z9 y& H% L document.getElementById("lrc"+currIndex).style.color=colorNormal;) w Q+ a# F; ?0 x+ a9 A' @
currIndex--;; J$ @2 v4 }; L; ^ z }9 z
$("#list").scrollTop = $("#lrc"+currIndex).offsetTop-30;: y0 q& `( S% j8 f5 o
document.getElementById("lrc"+currIndex).style.color=colorPlaying;3 C9 m D( [/ Z
lrcList();
$ {% Y' X# m8 o& t1 _+ h8 a* F/ g; x }
( O" ?3 u* Q# y+ \0 A, P) l4 c }
1 j; x: y" G+ u x% q h0 v/ i else
) O' D, V9 ]2 d. f' B {
- Y5 G: A8 A+ ~' q3 H/ W; U if(s<array[array.length-1].time){
$ g. ~5 f" h8 Y; T% _4 g currIndex = 0;
! {+ r9 u2 D6 U- m $("#list").scrollTop = $("#lrc"+currIndex).offsetTop-30;
; E! {5 x4 J7 Z" @5 [ for(var i=0;i<array.length;i++){
4 }4 c9 O: T( R( u document.getElementById("lrc"+i).style.color=colorNormal;
4 J( f/ i, w5 l9 |* E1 l% v }
0 r D2 \7 M& g" a lrcList();) J6 y, ]4 i7 G% t/ e3 I+ N
}
" O) ~( W- U5 G0 F: a' [ }
1 E5 _% J i! h. T" G}
. b4 ?, a9 y$ o" p</SCRIPT>; O" I- S# O% @1 g; Z: d
</DIV></DIV>. m0 D$ Z0 f. f- [3 P8 e
1 X$ D6 Y7 Z, [+ v
[ 本帖最后由 幽谷兰 于 2008-9-18 17:36 编辑 ] |
|