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