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