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