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