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