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