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