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