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