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