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