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