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