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