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