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