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