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