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