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