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