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