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