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