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