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