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