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