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