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