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