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