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