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