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