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