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