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