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