|
|
<DIV id=list>. ]3 E9 x U3 T
<DIV id=lrc1 style="COLOR: #666666">[wmv=0] http://lzbj.ncedu.net.cn/uploadfile/20083923248279.mp3[/wmv] </DIV>) q! L2 W6 {4 u; j, K8 r
<DIV style="COLOR: #666666">|等一分钟|听到这首歌,觉得它很动听,旋律很优美,很是喜欢,传上来给大家听听。</DIV>! R- K+ G2 x F1 `. `
<DIV id=lrc2 style="COLOR: #666666">词曲唱:徐誉滕</DIV>' {9 j4 D) o7 H2 s
<DIV id=lrc3 style="COLOR: #666666"></DIV>
, t- {1 L6 K; d: j* G* J1 B<DIV id=lrc5 style="COLOR: #666666">如果时间 </DIV>
; m; L) G+ F( i. b/ r9 Z* O<DIV id=lrc6 style="COLOR: #666666">忘记了转 </DIV>
7 a7 ^. F1 U( K' \<DIV id=lrc7 style="COLOR: #666666">忘了带走什么 </DIV>7 @" L9 p5 B- y3 a
<DIV id=lrc8 style="COLOR: #666666">你会不会 </DIV>
( Y. q' q% G6 j3 p. i- m<DIV id=lrc9 style="COLOR: #666666">至今停在说爱我的那天 </DIV>
2 N a8 }8 I. O/ i6 `2 R: S<DIV id=lrc10 style="COLOR: #666666">然后在世界的一个角 </DIV>1 x* c) F- X. \- w ?$ f- T
<DIV id=lrc11 style="COLOR: #666666">有了一个我们的家 </DIV># e8 F$ A- V: O( [9 u% P
<DIV id=lrc12 style="COLOR: #666666">你说我的胸膛会让你感到暖 </DIV>
, f) e9 ?3 z* N' ^/ I/ s<DIV id=lrc13 style="COLOR: #666666">如果生命 </DIV>* m8 U7 `( H# g! Y; Z; h! N
<DIV id=lrc14 style="COLOR: #666666">没有遗憾 </DIV>; T8 u9 s" a- T0 x( ]( ]; H9 H! W( Q M
<DIV id=lrc15 style="COLOR: #666666">没有波澜 </DIV>
2 Z g% W# Q; o- T% [<DIV id=lrc16 style="COLOR: #666666">你会不会 </DIV>
5 H0 s; P3 F; u% i |<DIV id=lrc17 style="COLOR: #666666">永远没有说再见的一天 </DIV>
8 {' p9 n3 q/ f! u3 e( U* y<DIV id=lrc18 style="COLOR: #666666">可能年少的心太柔软 </DIV>- [5 ^9 L) _, K/ h, e; e! P
<DIV id=lrc19 style="COLOR: #666666">经不起风经不起浪 </DIV>
3 y3 d' d" s; g$ R' V3 y9 Q<DIV id=lrc20 style="COLOR: #666666">若今天的我能回到昨天 </DIV>7 E/ [6 k; h1 o. w. V
<DIV id=lrc21 style="COLOR: #666666">我会向自己妥协 </DIV>( r& j8 G, v: D0 G, \) ~
<DIV id=lrc22 style="COLOR: #666666">我在等一分钟 </DIV>
; ]0 V( K _7 u+ x3 I/ J* w<DIV id=lrc23 style="COLOR: #666666">或许下一分钟 </DIV>0 x$ Y8 v( s+ m% l' ~
<DIV id=lrc24 style="COLOR: #666666">看到你闪躲的眼 </DIV>
# Y( Q& r& ?- r<DIV id=lrc25 style="COLOR: #ff3300">我不会让伤心的泪挂满你的脸 </DIV>
' A1 X) Y! ~9 x: M' L, O' ~<DIV id=lrc26 style="COLOR: #000000">我在等一分钟 </DIV>" ]/ `4 @9 C9 b
<DIV id=lrc27 style="COLOR: #000000">或许下一分钟 </DIV>
9 p' f- @5 u1 Q' C<DIV id=lrc28 style="COLOR: #000000">能够感觉你也心痛 </DIV>
$ A4 \+ l, m9 ]7 ^% u<DIV id=lrc29 style="COLOR: #000000">那一年我不会让离别成永远 </DIV>
* z" P% Q. R% P<DIV id=lrc30 style="COLOR: #000000">如果生命 </DIV>( v& G! `2 ]% f, M2 e# Y- c; u
<DIV id=lrc31 style="COLOR: #000000">没有遗憾 </DIV>
1 l! } ?' @1 d$ ~7 o# o<DIV id=lrc32 style="COLOR: #000000">没有波澜 </DIV>
8 X4 y5 H: f7 X* @6 E5 I- H+ O<DIV id=lrc33 style="COLOR: #000000">你会不会 </DIV>3 H4 j" [5 A1 K" ?" I
<DIV id=lrc34 style="COLOR: #000000">永远没有说再见的一天 </DIV>! @3 f1 \2 [0 Y& l
<DIV id=lrc35 style="COLOR: #000000">可能年少的心太柔软 </DIV>
; W/ [, ^' U ~1 s p( t<DIV id=lrc36 style="COLOR: #000000">经不起风经不起浪 </DIV>
( r; H0 V {: ] X, b' ~( F<DIV id=lrc37 style="COLOR: #000000">若今天的我能回到昨天 </DIV>
7 d* {& i, J' `0 r<DIV id=lrc38 style="COLOR: #000000">我会向自己妥协 </DIV>
3 _, H9 a8 r& d3 a, k<DIV id=lrc39 style="COLOR: #000000">我在等一分钟 </DIV>
) v/ @, Y2 o# m% ~9 F: h' Z; o<DIV id=lrc40 style="COLOR: #000000">或许下一分钟 </DIV>
& x% m% j' y3 t# l$ f. ?; ?# }<DIV id=lrc41 style="COLOR: #000000">看到你闪躲的眼 </DIV>
5 j( z* e% F+ w" l$ ]9 m8 I<DIV id=lrc42 style="COLOR: #000000">我不会让伤心的泪挂满你的脸 </DIV>
1 K6 a+ \% G+ h' o0 q5 ^" r# p<DIV id=lrc43 style="COLOR: #000000">我在等一分钟 </DIV>2 {% v' |& `+ H4 M
<DIV id=lrc44 style="COLOR: #000000">或许下一分钟 </DIV>
8 m$ B- O: [' c) H<DIV id=lrc45 style="COLOR: #000000">能够感觉你也心痛 </DIV>
# t: c8 L6 T c: C<DIV id=lrc46 style="COLOR: #000000">那一年我不会让离别成永远 </DIV>6 @* c6 B6 P& ~2 O1 ?; F
<DIV id=lrc47 style="COLOR: #000000">我在等一分钟 </DIV>
. D, t1 \5 g6 X7 t4 j4 A<DIV id=lrc48 style="COLOR: #000000">或许下一分钟 </DIV>
' y, O$ x" P0 A7 U. q<DIV id=lrc49 style="COLOR: #000000">看到你不舍的眼 </DIV>3 R, m$ h5 p; z6 H
<DIV id=lrc50 style="COLOR: #000000">我会用一个拥抱换取你的转身 </DIV>/ U5 s: L8 B: d/ L
<DIV id=lrc51 style="COLOR: #000000">我在等一分钟 </DIV>
( V; I7 a( u' _8 Y2 C$ k% C& {% A<DIV id=lrc52 style="COLOR: #000000">或许下一分钟 </DIV>
' \& |* A4 b G+ w/ j. I<DIV id=lrc53 style="COLOR: #000000">如果你真的也心痛 </DIV>
8 z; ]5 Y3 J) s T/ u<DIV id=lrc54 style="COLOR: #000000">我会告诉你我的胸膛依旧暖 : |; j- L' `2 |0 S% |& ]
<DIV id=lrc style="DISPLAY: none"></DIV>2 J; I+ y( l; [- q
<SCRIPT type=text/javascript>4 k2 B4 E1 ]9 n
document.domain="1ting.com";
6 C$ }8 |/ k+ E* \4 u+ F' p5 q- {var colorPasted="#666666";- X5 p$ R6 S* p$ z
var colorPlaying="#ff3300";8 k4 i) f1 T) \ t2 k/ M- F- m" }
var colorNormal="#000000";
+ [+ X" Z- r ^; }# d$ = function (a,g){$ Y$ x0 d: o( Y W( G K$ o
var o = new Array();
- k% U+ j4 D. d2 F var c = new Array(); 2 U" t' I( P' {
var r;
% b2 S8 {3 p* z# q var u; ) r" M8 [' c3 ]+ ?
var a = a.split(';'); & W/ v4 N) t5 p; i, }
4 g$ ^- E* l3 [ N6 H0 @1 N var e = "keydowns,resize,load,dblclick,click,mouseout,mouseover,mousemove,mouseup,mousedown,inputchange,inputfocus,inputblur".split(",");; c0 Z0 x- C, _; e8 F2 h
for(var i=0;i<e.length;i++){, P% Y. f; y" p e# T! u& N8 _& c
eval(e<i>+" = function (s){eval($event('on"+e<i>.replace("input","")+"'))}")
8 i2 m: s- M# \! y }
* H2 N" J: N0 c8 }9 I# u& C: x' d7 ~# v1 Y8 s
after = function (t,d,s){
T9 Q' m" Y* x5 z, O; |8 X $after = function (){
+ [! T! \& Z6 q. S Z ?' T var $n=document.createElement(t);
$ H; }* E/ ?5 P7 N! e$ ^7 o if(d!=null){
' ?% S5 D% Y8 H4 n! l. d/ t $n.id=d;
3 H8 M" h7 f8 R4 C) _9 \' T/ c }+ M% N) r6 ?1 W( [+ R
5 C( b& q) ]4 G5 g) Q u.insertBefore($n,null)
% x7 v' }5 V1 x5 T r = $n; : t3 W9 c0 y# F; @% V, l6 C
u = $n; 2 R K$ E2 j& ?) V
}3 T7 A5 r) {$ S
$for(s,"$after")3 }5 E- x P; y2 v* n, j% L
}
. u H# f+ o2 z! G$ u: h; C B+ ^3 i" r T5 u+ Y% m
show = function (s){4 l+ ~/ k! Q1 h4 T9 K) P o
$show = function (){
3 Y1 ? a5 K ]' N' T9 v; N5 T# T u.style.display!="none" ? style("display:none") : style("display:block") ;9 @5 n8 H8 Z3 ?$ v
}0 v' P0 J, k o) k7 f
$for(s,"$show")
7 a3 C" S# Q( J- t) b$ E% f }; q& E9 y. r- |2 O. f! z5 u
; l6 t0 T5 @+ B- Y check = function (t,s){$ w. V1 ]; O3 m5 \* I
$check = function (){7 o1 o; L2 z7 z# \& A" e) [
if(t=="2"){
/ d7 I3 t3 f* F% C1 G. @ if(u.checked){
2 g1 x9 S! I8 T6 r6 h u.checked = false;8 ~+ j4 A* R* Z v
}else{' b$ A4 C4 U" F9 P& q
u.checked = true;3 |4 f, O5 P( S8 }" e8 H
}
9 V' \! Q8 v- q) c0 O }else{
2 R ?5 |* t `. d/ j u.checked = t*1 ;5 q- p% w( I% i( }
}7 S9 Y4 R5 g" d) }
}7 t8 m m1 ?) q! d
$for(s,"$check")
% P" G; `8 B8 A7 p2 N, J* f. U }
& Q* P! p5 w7 \' {0 m) t d/ c9 \1 H! P/ Y& `6 n: W
style = function (v,s){6 Y& G R1 | Y9 F" W# J" W/ Q8 P3 T9 S
$style = function (){
" y, m" N: R$ I# M0 i var $n = v.split(",") 4 W" y' g1 b! w, v) o
for (var i=0;i<$n.length;i++ ){9 S7 T& `" U8 V' `9 ^% X! R
var $m = $n<i>.split(":")
4 W/ N0 l1 A9 X8 K9 _8 L2 ] eval("u.style."+$m[0]+"='"+$m[1]+"'");6 n; V9 O+ S( ?9 k9 V; z/ n
}+ }' L! z8 e) p! E4 X1 U
}. j* E7 _1 w7 G3 @( d: r4 {
$for(s,"$style")
" m$ k' D2 U7 R3 M( G }
0 `$ r. D" \- R. T! j" N4 y- w0 Q ~
/ b- d" Y8 {# e value = function (v,s){
- _3 Z$ U/ o4 e) Z$ P2 | var $n= $this (v);
/ B: ?6 Q5 H9 y8 }9 O7 J1 J$ o $value = function (){
' ~) v. Q: @! w! o9 E) l# ` u.value = $n
8 F; k2 O" q$ \ }
" P, a. m4 w2 W; q# T $for(s,"$value")
9 C3 J" Z, S- P5 p1 T9 u }
! H" y* e7 R7 x) H8 j% @2 z1 q8 c% {' ?7 W
text = function (v,s){0 _9 d8 Y4 U8 ?+ u2 F+ v$ w- s# j: p
var $n= $this (v);
4 Q. x0 g6 ]2 o7 p0 {" d- A $text = function (){
$ P* a. {+ ~: J, X0 j9 m9 r2 E 2 J7 G- ^1 }4 Z3 s8 i- ?0 y
u.text = $n
- f1 K) i) _# h9 o }
3 l1 }$ O1 w" a; }5 c $for(s,"$text") - D# I# G. @5 [1 W
}% M3 m/ K% V$ h! h
+ s+ v5 h4 T+ e: q% C
innerhtml = function (v,s){ P% \# e2 T& G0 a6 q9 Y
var $n= $this (v);* C% e% l$ E& @* n8 ]
$innerhtml = function (){
- A5 z+ d) u/ K+ U ] u.innerHTML = $n6 }2 u/ t8 p3 m3 Q/ [
}! r# S0 o6 u. |/ L& B2 T
$for(s,"$innerhtml")
, `# _* F$ u# O& p9 t }8 q' F9 |- B* U# A8 T
* H' m! m r7 k d) @3 V removechild = function (s){: R1 j+ w! Q% X9 z: e
$removechild = function (){) g+ o8 [/ x( }" l$ O+ h
u.parentNode.removeChild(u)" V8 s ^& t1 z! @# t
}
* r1 O0 I( R7 D" A $for(s,"$removechild")6 N- E6 L6 ^/ v: ^
}4 w$ |" A* L, K3 j' I
! Z/ q1 G5 G" Y& K6 i- e
$this =function(v){
! b, S' z1 K$ T0 z% ^" ]: H if(v.indexOf("this") == 0){
- N9 ~5 c1 J/ l: S1 b ?& \ return eval(v.replace("this","u"))9 `% i. o3 g5 j3 E! b
}
4 t- o* U( g, H( e E return v;" n z' h% e a+ d
}
_( K% J$ O* K! w7 d( K9 a7 ]4 C. e& b' W9 |) f1 y
$event = function (s){$ @3 ?. y3 \: ?7 k
var $n ="u."+s+" = function(){$work(this,s);}"
3 E' g6 E2 a" S* R/ A% e; [ return $n;
* Y2 I9 q0 c( ?6 p- y( B }7 p& s6 n' j1 i- h
- J3 o2 d& i* h $replace = function (s){ ]) A, N2 H! [+ z- Q r
+ y, t% X! f8 x" O' Q, q( j) p }% r% u$ ?( @! W$ M8 b- _/ _
! ]/ H$ V3 R! E: o5 t4 p, L
$for = function (s,c){* o5 s# p8 k G* C- i$ _+ p8 s$ G- a y
var $n="this."+c+"()" ;
9 A" w3 L }' X! X- @5 p4 Z if(s!=null){6 G" j& C# u- X7 U+ ~
var $m =$test(s);, T& }$ n, X' v( q9 K, J. A+ N
for (var i=0;i<$m.length ;i++ ){5 b5 q' w; ^+ ]; }9 k
u = $m<i>;1 c' Y: ^ _, H1 W; g/ H8 Q
eval($n);/ c" a$ G4 n* s5 R& I$ y
}/ ]! C$ U# O7 Y6 Y! J- } e# B
}0 h1 s) p' m: i9 j- z$ p
else{: G6 E& S# n2 S/ K! S S
eval($n);
7 L4 D& c/ N! Q: w8 A* Y) \2 i) L k }
9 i# C1 ?% b) q; V$ N }" ~- w9 ]" ?6 ?
$ v R/ i, _$ B% P4 i8 C- ] $test = function (a){
" [! e$ C+ g& d U var o = new Array();$o(a.split(';'),o);
1 e" o b8 Q2 F8 g8 n return o; h) t; p4 y$ p+ [/ c8 b |# s
}% t8 s8 l v$ T W, J8 n6 ~) o
# T& w. @4 k, }0 K* x4 Y
$format = function(s){3 Y$ V4 C5 Q( j% @/ M/ ~ }
while (s.indexOf("'")>0){
) G4 |; X( a3 }+ d s=s.replace("'","\"");) f! s0 y5 B- C. x
}
" Y u1 t" P: I! p while (s.indexOf("][")>0){5 U& [, _3 m; C/ a! C
s=s.replace("][","','")
. h0 x s# z4 f" N5 C$ x }+ r# \: D$ w2 `
while (s.indexOf("[")>0){
' o8 h- P9 z8 c$ Q5 @# Q' P+ t s=s.replace("[","'").replace("]","'")
4 e' W- O+ m. x$ u7 D1 p }
% h6 ^( h3 b& j; s' t2 w return s;2 {4 S2 h/ @2 D" ^4 u7 W, k
}8 n6 K) c+ g& ]! s
0 x4 a/ M+ C0 Q $work = function(w,s){" N# A4 Q z! v6 v, ~
u=w;eval(s)! l0 W& n4 x4 L( L! F! [
}
5 N6 @ [ X2 {) p. i0 Y, t) i* Q3 N! R, F8 [
$id = function (s){
7 p9 J+ S' i% z0 T return document.getElementById(s);1 k- l! \+ N% H( \
}) z- q& Q3 G) F4 J, i) |
4 w3 @, Z- K7 B, O3 Y, J/ m; }
$name = function (s){/ \6 g) h. T: w {4 T! N; r1 @
return document.getElementsByName(s);
( g4 ]! |4 _6 k }
: O& v P1 B, L" g# b" D& s$ B8 H, f W" H8 I; o
$tagname = function (s){) p9 Z0 O3 C( B/ p% N
return document.getElementsByTagName(s);/ O' W/ p2 o( |3 u4 }8 {
}
, k4 l2 l: }$ Y' Y k5 q8 h# t3 S# {' g. Z% y, a3 y
$o = function (a,o,c){; y- S: a' _3 o' T }
$push = function (n) {! c. _; U4 D7 H
for (var i=0;i< n.length;i++ ){
* I \; U0 Y; R1 q) Y o.push(n<i>);
7 E; m5 h4 S4 ?# Q: U: H1 o1 m }
& l+ T" t* H4 V. R4 ` }) m+ X. s; K [! Y( ~$ {- Q, V+ o
for(var i=0;i<a.length;i++){
* ]9 G! D9 d! w Q+ g9 A if(a<i>.indexOf("(") >= 0){3 e9 f! x1 ~& f! Z6 [
c.push(a<i>);1 w3 p( g1 K1 T6 a7 u: i
}0 Q4 X$ v, j& ^ _' l
if(a<i>.indexOf("~") > 0){( M& p6 F5 n) M. Z/ |
try {+ D1 ^( t; Q- [1 k- ?( G
$push(eval(a<i>.replace("#","document.getElementById('").replace(" ~ @","').getElementsByTagName('")+"')"));
7 w' }: W. \/ p3 a1 ~$ @ }catch(e)& A* ?6 O# R, r2 H& S! f: a
{} $ ^7 {. }3 M7 N9 Q! p
}! J8 Q1 O1 l4 c% x; x
else{* }$ e/ g; I7 h9 b4 M8 X
if(a<i>.indexOf("#")==0){/ _2 w* {; u7 R& z
o.push($id(a<i>.replace("#","")));
6 U, }+ c2 C t7 b) N n8 h }
; i! [2 f7 l! \& Q1 z if(a<i>.indexOf(".")==0){ \. r: \" m% m& f2 F
$push($name(a<i>.replace(".","")));9 g7 q% K, ~( {$ T- j: z
}
3 m- t4 R+ p0 O# F if(a<i>.indexOf("@")==0 ){
2 B! S. c, s) U' W$ O9 G; \ $push($tagname(a<i>.replace("@","")));
/ R* L( L# _. ~; k }
8 N: a7 O& f! z; |6 j if(a<i>.indexOf("*")==0){% {$ F2 N! J0 |& R1 X/ R
$p= a<i>;
8 w: y( U0 S0 f, K if($p.indexOf(".")< 0){/ O$ J! F% T: Z( j
$p = $p.replace("parent","parentNode")$ Y) ~6 @3 A' ^, L! [. U- P1 v1 O/ Z
}' d. h s* a6 h5 n v& c3 ?
var $p ="u."+$p.replace("*","");
, l. i2 g7 ]; g) V while ($p.indexOf("parent.")> 0){
5 h8 m& J. t0 g0 g$ l& ^1 T: l* M $p = $p.replace("parent.","parentNode.")" O1 I2 [) g( k/ v$ b
}. y0 y: W$ g. x/ q5 W$ z' H" |
while ($p.indexOf("child{")> 0){
+ z- {4 d7 c) w5 W1 s* J! c' A8 n8 ? $p = $p.replace("child{","childNodes[").replace("}","]")& [4 T9 v. R0 }7 E
}
- c7 f" w. A6 X6 D# A' Q& v1 o o.push(eval($p));6 k) C- c+ E+ l w I$ P
}$ A: O/ v# z, c7 Q5 K2 y( {; O0 @
if(a<i>.indexOf("document")==0 || a<i>.indexOf("window")==0){
0 {4 h$ T: e" z o.push(eval(a<i>));
' N w1 M% Y) _2 b8 `$ }) k: S }' |8 f; i# c$ c" s
}
' `% m' Z: G5 l, O) l5 N if(g!=null){ , U" S: n% N- w! g) T8 ^
o.push(g);g=null: b9 v- k+ n# l z
}
9 R1 m# a* T4 F8 l }. n4 x- o( n3 |
}
# o) z0 O, `5 L
$ p$ S' e# h! G. | G: }9 o $o(a,o,c);2 g! I0 T9 X( ~
- H" F# i! X9 O: b! {4 t
for(var i = 0;i<o.length;i++){
$ m1 D0 F, D* K, `2 E for(var j=0;j<c.length;j++){
3 L' u0 S& k5 k. J0 V u = o<i>;eval($format(c[j]));
4 Z+ i, y) x* Q4 a }
' T6 w$ ~$ ~0 r) U O. M* I }
: C8 f+ @" N4 M3 J7 |4 x! p/ x# Z. {. _9 {. @* z* D
if(o.length == 0){
% B$ m9 G, ?# d C6 n for(var i=0;i<c.length;i++){
6 l% d8 J4 m) e' }& H. | eval($format(c<i>));/ `! X- Y) R( w
}+ C3 A8 [/ x' c( Z h% r6 m
}
7 l9 R7 D' M/ C- R/ `2 f" M$ n" D ! ~& L1 _) k7 s* ?3 q d, U+ d
if(r!=null){3 a# v9 Z; P( F( q
return r; X6 V. F3 y( Y4 f
}
" r* i; q% c: G( T
( \/ F9 q+ A* p2 [& K1 o F if(o.length==1){
3 J7 g6 |- ~2 Y return o[0]; H3 Z, o( d8 u; C. @0 M1 M1 E* W
}
* g4 F) b; l- v0 w( ~; x6 | else{
7 R- C9 \1 c4 p return o
, d# t1 T! w: A/ Y q5 l+ Z% S }
- T4 U: ^- f" K3 S, a- Z9 O
: l, |7 F* g; U. @7 g) j- ]5 B2 Y }
3 u, o) j m" L/ F2 {# }6 uvar lrc =$("#lrc;show()").innerHTML.split("[");& Y/ _& `$ H$ J
if(lrc.length>5){. a2 P+ }2 W1 S: s
var array = new Array();7 o; J% H& ~/ W) {6 K
for (var i=0;i<lrc.length ;i++ )
: G ?- S/ k4 b2 w5 ]0 _{4 a. h. e1 n8 \, {
var g = new Object();
7 f5 f& z: F2 X. ^7 i t= lrc<i>.split("]");. W, }7 u2 J, I8 I' w5 X$ [8 V
g.time = getTime(t[0]);! Y X4 m$ G$ b
if(isNaN(g.time))2 e" k1 @0 {% C5 |3 H4 x
continue;! W' H) O) \$ Q( p& D% D$ `
g.c = t[1];! D, s" H. w& e
if(g.c == "")
; w: D* j- }: m6 b9 q+ d0 T3 [5 f g.c = getNext(i);
B# N" h* m8 y1 }: ?& D* ^ array.push(g);; x/ B' E$ G! ^4 g6 ^. e
}+ j- I4 u5 M# O* O
array.sort(function(x, y) {
+ [2 {1 _8 M- g2 \9 a if (x.time>y.time) ; ]4 {) p* I9 P8 N
return 1;' @6 v8 t+ |2 P3 ?% D
else if(x.time<y.time)
! w; Z H$ Q g+ m! W return -1;1 q0 {0 i. T- A0 m. V
else n# V$ J2 Z3 F, K2 r9 s9 T; D
return 0;7 X& q" ?% H" F$ @. f, x r
} % @7 b5 z% v: R* J% @0 \2 U7 U) P! L
);* \7 {$ u$ c5 ?/ y3 r
for(var i = 0;i<array.length;i++)) \. f4 x, X- i5 M
{3 O+ W4 Y, R, l
var g = array<i>;
3 c, w; a: `" M if(!g.c){
" W$ h) B& K& z- j3 Z g.c="";
6 M/ L3 U* o: K }
5 w2 M2 Z1 ]* H& `+ S $("#list").innerHTML+="<div id=lrc"+i+">"+g.c+"</div>";
2 X( a' {5 k8 ]1 x! f* [( `}- c% j( ?! @5 J5 R3 U- c/ U! {
var time = setInterval("lrcList()",500);
, e8 m7 n2 D8 e/ ^ K/ _}else{9 d0 v, I4 T {3 N2 R0 K
$("#list").innerHTML=$("#lrc").innerHTML;6 y. Q. y) D! b: b3 p+ D
}
% ?9 h- R% L" F1 qfunction getNext(i)$ |- V- F9 S, }$ r+ X* J4 N$ E
{
/ i$ H+ d7 j7 ]) _( o3 y i var result = "";
% \/ [& S3 s8 s. c8 [8 A var i = i+1;
. Q* G: Y4 E; v$ h0 h; i t = lrc<i>.split("]");7 t8 w) g- H( @' ?, {: i4 E7 m! w
if(t[1]=="")
/ k2 Y* @) K; I" |7 n result = getNext(i);
: h1 U: R8 ~: l+ y/ E else" O9 G! p, G ?& B( N. S
result = t[1]
: C1 a- D( o6 ^( h2 Z$ E, O return result;
$ D3 ] K4 f" q: z* k# i}: p, X6 `8 G" H* H
0 v0 V$ c8 I4 O! a9 c' n' a: rfunction getTime(str)9 ~, j" F& `! e- X) v4 R( t
{7 Q% e4 U N! c2 k4 P. N
var time =0;& T+ j4 a( r7 o9 m" f
var ta = str.split(":");
v! r# [! c: p3 Q/ `6 \0 t2 `. G if(ta.length<2)
7 n; k/ q ?: b7 a7 @% D" z. Y return time;
1 u% S& F V1 @* |
' g; Q9 j1 e8 Q# b' _8 [ if(ta[1].indexOf(".")>0){
1 k" u. l, w! Z6 b3 P4 _$ \/ F var tb = ta[1].split(".");
, \0 V/ ], `' \ time = ta[0]*60*1000+tb[0]*1000+tb[1]*10;
+ \! O% {' j2 Y+ }' o2 N$ l+ R }
' y3 y6 J1 [, Q& K" }$ t" ? else
. ]. `0 _) t2 \: b i time =ta[0]*60*1000+ta[1]*1000;$ `7 b+ Z$ x6 m& p1 t: l( o
return time;, {6 z$ z8 I7 C5 T( {$ R
}
' n0 i' f7 ~% \; cvar preTime = 0;
# v; M+ }3 d! \# z2 {3 X# Cvar nextTime = 0;
% `8 P5 I# a& j; _var currIndex =0;$ ?$ S0 C1 M# L
function lrcList(){
% c Q7 J7 N6 d/ E1 z var s = parent.document.getElementById("MediaPlayer").controls.currentPosition;
! p) l, N9 k# |. Y' c s = s*1000;# L/ i& i. ~, s; W1 l) O) g
if(s==0){ x) Q0 |4 T/ L; r( E
currIndex =0;
8 [1 W. A. k& P/ i2 i" V $("#list").scrollTop = $("#lrc"+currIndex).offsetTop-30;
, c: q, r) C8 Q$ B% p v0 A! L for(var i=0;i<array.length;i++){( O6 ?: \1 Q* L' e: C: p2 T
document.getElementById("lrc"+i).style.color=colorNormal;1 o! ~, q9 O2 |* n% d
}4 W9 G& T8 ?3 P
return;
' Q a1 J5 m9 z4 ~ }7 |! j5 D/ u+ s$ n% h* u$ c
if(s>0&&currIndex<array.length-1)% h+ _1 C) o# }+ {1 `! ]
{
5 i# g2 k g3 i1 l4 ^ preTime = array[currIndex].time;/ j! y! G0 c' k
- [( H" c# E$ ?1 y3 q7 g nextTime = array[currIndex+1].time;
- d- G" d# ~' r; A' ~ . t) A; _* ^" g
if(s>=preTime&&s<nextTime){
0 g; w0 b- O( b; z9 J( c% k }
4 B. j2 d P% V. o4 Q else if(s>=nextTime)+ a7 ?% K$ B q# }2 s' @" `
{; `$ @2 q) e8 R# o3 ?" h
document.getElementById("lrc"+currIndex).style.color=colorPasted;
- {& O5 q2 P7 e/ z& L currIndex++;5 H* d' \! M( e0 b; Y
$("#list").scrollTop = $("#lrc"+currIndex).offsetTop-30;0 r3 s t' {4 s0 P/ n
document.getElementById("lrc"+currIndex).style.color=colorPlaying;- w. h+ e; W; R" `5 E' M3 f
lrcList();
1 E4 i/ k$ H2 Z7 B! j' o- O }
9 Y4 Y+ A: a5 a2 [" I4 z- a else{
2 N6 ?$ U9 T A9 n2 A$ M. q! x document.getElementById("lrc"+currIndex).style.color=colorNormal;6 t0 n& W9 \7 N
currIndex--;
5 S. J! v& N1 C $("#list").scrollTop = $("#lrc"+currIndex).offsetTop-30;" r4 m5 I O. S- D& I+ `# R4 m
document.getElementById("lrc"+currIndex).style.color=colorPlaying;* Y& j% J, Q2 J
lrcList();
: V' @; d J3 K g }
1 H0 A) ~! p6 {2 f# { G }
8 J; |; \& {5 H1 ]) I2 |# V3 ~ else/ H* Q7 d# ]+ U+ n
{, c+ o# w* J" Z9 n
if(s<array[array.length-1].time){5 Q/ N# ~: i6 \7 z4 b% @
currIndex = 0;6 @+ P. V( q! V! l
$("#list").scrollTop = $("#lrc"+currIndex).offsetTop-30;
7 t+ F0 O* X, w/ d \+ t' { for(var i=0;i<array.length;i++){
' O, ^5 |; h! y& C8 @. ] document.getElementById("lrc"+i).style.color=colorNormal;8 U7 `3 W2 h* q4 l: ~; D7 Y% o
}
( t! S: K/ c/ H! T( X+ j lrcList();) E+ Z# z3 Z2 X! n; v8 e+ E. k
}9 _$ l: F+ ?. a' H3 P2 n" p
}
3 S5 M0 E7 b: W6 f3 E}
( E' _7 f' M5 f; l1 p</SCRIPT>
; S0 y; d' r; O* o* f; P</DIV></DIV>8 L+ I d0 H. M4 U$ f
7 P$ a/ z$ ?2 e6 L+ y, |! ^: u6 N$ H[ 本帖最后由 幽谷兰 于 2008-9-18 17:36 编辑 ] |
|