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