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