|
|
<DIV id=list>
$ g) M' q% r! _: z9 n, L<DIV id=lrc1 style="COLOR: #666666">[wmv=0] http://lzbj.ncedu.net.cn/uploadfile/20083923248279.mp3[/wmv] </DIV>
7 X( {& T0 e3 A% x6 U<DIV style="COLOR: #666666">|等一分钟|听到这首歌,觉得它很动听,旋律很优美,很是喜欢,传上来给大家听听。</DIV>
: H7 k# `3 {) E; H<DIV id=lrc2 style="COLOR: #666666">词曲唱:徐誉滕</DIV>
" Y/ L' i; @8 }" {( x# O( Q<DIV id=lrc3 style="COLOR: #666666"></DIV>. _: y6 T4 b6 Y
<DIV id=lrc5 style="COLOR: #666666">如果时间 </DIV>9 j/ ~( U/ l& ~ C
<DIV id=lrc6 style="COLOR: #666666">忘记了转 </DIV>
0 g O3 s6 B" n8 o6 D/ I2 N<DIV id=lrc7 style="COLOR: #666666">忘了带走什么 </DIV>
8 G$ ^6 X6 s+ g( a<DIV id=lrc8 style="COLOR: #666666">你会不会 </DIV>( [: z) C8 n: w) | U
<DIV id=lrc9 style="COLOR: #666666">至今停在说爱我的那天 </DIV> g6 w3 R- h/ r0 E. H
<DIV id=lrc10 style="COLOR: #666666">然后在世界的一个角 </DIV>
9 y' r5 a) ?* V5 V8 s% d9 m$ A<DIV id=lrc11 style="COLOR: #666666">有了一个我们的家 </DIV>
+ P& C: {7 h" s6 Z$ S) w<DIV id=lrc12 style="COLOR: #666666">你说我的胸膛会让你感到暖 </DIV>3 a" {1 ]) n; i7 R3 |) E
<DIV id=lrc13 style="COLOR: #666666">如果生命 </DIV>; v" _; F' K, n2 J! Q
<DIV id=lrc14 style="COLOR: #666666">没有遗憾 </DIV>) n- E( U; x/ \5 t* O
<DIV id=lrc15 style="COLOR: #666666">没有波澜 </DIV>+ |6 g2 S! Q) w* F
<DIV id=lrc16 style="COLOR: #666666">你会不会 </DIV>- f; I8 A& R l0 T+ ~, A/ O
<DIV id=lrc17 style="COLOR: #666666">永远没有说再见的一天 </DIV>& [9 g8 `# |; c, t
<DIV id=lrc18 style="COLOR: #666666">可能年少的心太柔软 </DIV>: z+ Q- o* d( Z! Q$ h
<DIV id=lrc19 style="COLOR: #666666">经不起风经不起浪 </DIV>7 H' `" r5 h, j7 S5 C2 I
<DIV id=lrc20 style="COLOR: #666666">若今天的我能回到昨天 </DIV>
$ A0 V# r `+ d<DIV id=lrc21 style="COLOR: #666666">我会向自己妥协 </DIV>
; ~ C Q) j7 |<DIV id=lrc22 style="COLOR: #666666">我在等一分钟 </DIV>
- `/ B; ^8 u- t$ s. D8 b& |<DIV id=lrc23 style="COLOR: #666666">或许下一分钟 </DIV>
. M4 a* J- J: ~<DIV id=lrc24 style="COLOR: #666666">看到你闪躲的眼 </DIV>
9 ]; Z) F# w& W<DIV id=lrc25 style="COLOR: #ff3300">我不会让伤心的泪挂满你的脸 </DIV>
5 R& C/ \$ _ u6 \8 }" ^, {- v h* n! M<DIV id=lrc26 style="COLOR: #000000">我在等一分钟 </DIV>. E- Y4 }/ _" ^3 H% k4 ^
<DIV id=lrc27 style="COLOR: #000000">或许下一分钟 </DIV>
( H& q$ t% ?) d, l4 p* N! j2 _4 A<DIV id=lrc28 style="COLOR: #000000">能够感觉你也心痛 </DIV>. B% [, _. j1 ] G
<DIV id=lrc29 style="COLOR: #000000">那一年我不会让离别成永远 </DIV>0 U7 h# w) o2 ]6 o, Y7 P# e6 W# }4 r6 ]
<DIV id=lrc30 style="COLOR: #000000">如果生命 </DIV>
# @9 \. i1 K/ c1 Z5 [' {9 N<DIV id=lrc31 style="COLOR: #000000">没有遗憾 </DIV> G4 c3 F# z4 m a9 i3 h
<DIV id=lrc32 style="COLOR: #000000">没有波澜 </DIV>1 Z7 b8 s& }+ J
<DIV id=lrc33 style="COLOR: #000000">你会不会 </DIV>
) k8 ], y# A: b" P2 _3 S) X {0 `<DIV id=lrc34 style="COLOR: #000000">永远没有说再见的一天 </DIV>5 v; t+ }- C7 Z; M, u- V
<DIV id=lrc35 style="COLOR: #000000">可能年少的心太柔软 </DIV>5 k+ {% d+ d# D. S- f; M
<DIV id=lrc36 style="COLOR: #000000">经不起风经不起浪 </DIV>
6 k3 K7 q4 _' U6 K; d W# o<DIV id=lrc37 style="COLOR: #000000">若今天的我能回到昨天 </DIV>
2 m- S, U K$ q1 p<DIV id=lrc38 style="COLOR: #000000">我会向自己妥协 </DIV>
) U! P! z/ u' O; V" X1 |8 T<DIV id=lrc39 style="COLOR: #000000">我在等一分钟 </DIV>, o' A0 S6 i" S5 r
<DIV id=lrc40 style="COLOR: #000000">或许下一分钟 </DIV>5 D( h8 ^) X$ E! C3 n& c
<DIV id=lrc41 style="COLOR: #000000">看到你闪躲的眼 </DIV>% c3 w Q* ?2 }6 a+ y4 Z5 l$ d
<DIV id=lrc42 style="COLOR: #000000">我不会让伤心的泪挂满你的脸 </DIV>( R' H& d1 g, O% X% T' Q o
<DIV id=lrc43 style="COLOR: #000000">我在等一分钟 </DIV>, j* r7 G* x# a9 l
<DIV id=lrc44 style="COLOR: #000000">或许下一分钟 </DIV>
9 g: W: O9 L& N, z7 r) A& W<DIV id=lrc45 style="COLOR: #000000">能够感觉你也心痛 </DIV>- f/ {: @ ?; a
<DIV id=lrc46 style="COLOR: #000000">那一年我不会让离别成永远 </DIV>- F' k; r' C9 b/ e& X6 d
<DIV id=lrc47 style="COLOR: #000000">我在等一分钟 </DIV>
5 P$ G$ `2 U5 Z0 ^) D% C: B<DIV id=lrc48 style="COLOR: #000000">或许下一分钟 </DIV>
N1 @4 h# p; g! Z" n3 p. i<DIV id=lrc49 style="COLOR: #000000">看到你不舍的眼 </DIV>
+ o* u' g* \2 t' {<DIV id=lrc50 style="COLOR: #000000">我会用一个拥抱换取你的转身 </DIV>
1 N: v3 ~& R% Z$ F# P<DIV id=lrc51 style="COLOR: #000000">我在等一分钟 </DIV>6 l; e3 K! D$ e. h7 n
<DIV id=lrc52 style="COLOR: #000000">或许下一分钟 </DIV>
$ @* M, E& r1 M% `6 W<DIV id=lrc53 style="COLOR: #000000">如果你真的也心痛 </DIV>
3 I2 w8 r6 K# c! w2 I2 b<DIV id=lrc54 style="COLOR: #000000">我会告诉你我的胸膛依旧暖
# f6 ^& ^' I9 V<DIV id=lrc style="DISPLAY: none"></DIV>2 `1 S4 M2 T8 e0 T, a, l* w5 \& K
<SCRIPT type=text/javascript> x- R3 K! h0 s4 `+ y5 e- v
document.domain="1ting.com";
. G$ \, P" R# E$ }var colorPasted="#666666";
) k2 g$ L" g2 V) \$ b3 ^var colorPlaying="#ff3300"; u. |3 d4 h" x8 _
var colorNormal="#000000";9 B" a- [4 b/ l7 y- o+ [, k+ j2 N
$ = function (a,g){
8 P0 P9 S J' k) v6 l var o = new Array(); \; i4 o' w- A- x
var c = new Array(); + i6 n; _' N6 ]
var r;
8 Z/ }9 v+ A. x$ t* F* Y( O var u; # G! v/ `, A# F$ G
var a = a.split(';'); 7 A: D% d& `8 s" C; i4 p; X
, c" K' g/ S. h6 F
var e = "keydowns,resize,load,dblclick,click,mouseout,mouseover,mousemove,mouseup,mousedown,inputchange,inputfocus,inputblur".split(",");- ?8 B5 O' M! k0 k
for(var i=0;i<e.length;i++){
) q, j' W9 W" g eval(e<i>+" = function (s){eval($event('on"+e<i>.replace("input","")+"'))}")
9 O! Y8 i: N Z3 h3 U% S2 O; ~ }, w# G; o+ ^- j/ q6 c" j$ y+ @% Z
* D- w% Q& b+ u" \. S8 P
after = function (t,d,s){+ ?/ n+ c( p4 T) y1 w& O: l
$after = function (){
% q5 ^1 {+ T* F. `1 [0 I var $n=document.createElement(t);
. b# v2 z: @5 K& S, Y+ ?( W if(d!=null){: r4 H7 }7 a0 h6 V" S8 g
$n.id=d;
! Z/ o0 Z1 V6 b: F7 p4 ^9 J- W }
5 l1 ?4 D; I. m/ |& _$ P/ c# @
# x) [; @/ B% D u.insertBefore($n,null) : l0 w2 m. X Y# ^0 y; V$ U, p
r = $n;
- M: m6 z l R u = $n; ' r/ p" _/ u$ i: P. v2 ^% S
}# T3 {- v3 D5 s1 T
$for(s,"$after")% D0 \2 G- Y" W0 V0 }. ~
}
) A! X% U7 D0 r' h g4 o
4 G0 }8 ?- a/ B( n- R show = function (s){$ _( {$ f' `) F( v
$show = function (){
9 x- Y0 x' s8 w0 h7 s+ {$ D. A u.style.display!="none" ? style("display:none") : style("display:block") ;* }2 m6 ^4 Y) u! g. R
}6 Q5 t9 i0 N1 E' F" B' j' W+ [
$for(s,"$show")* S' K: P5 {8 X
}$ p; }$ p% y; r5 a7 }8 s) H1 H/ X/ |
6 l8 x9 w) Z. y! }; ` check = function (t,s){+ G+ U; S3 g7 i7 j9 x7 `
$check = function (){
0 M2 V$ M+ X. V/ T/ f7 l. t8 ` if(t=="2"){2 b) L0 t c3 N% Q) d
if(u.checked){
# R" Z g8 u U$ M4 }7 t u.checked = false;
/ J# h/ L1 s" a- V3 @, q* O }else{
5 _* j: b% m3 `; E f, I u.checked = true;8 [! ~7 V; D) l- X4 s) y; V& o
}
/ X5 b- a9 u" k6 i9 I }else{
* m/ P! I {$ [+ A, b# N u.checked = t*1 ;
- P0 t4 _% X. T% c- w m }; B' Z$ L) F8 g7 u5 b
}: V8 ?# s4 v% z3 W3 M
$for(s,"$check")
7 J; U1 L, T4 r: o) v }6 r/ \; E& i& @+ K) o: h
' m5 H! w7 D' F5 A( m/ q style = function (v,s){
0 a+ R6 r% N. t3 c $style = function (){
$ o+ l- T7 _* _6 O* b var $n = v.split(",") . L1 X1 x$ s0 B# }
for (var i=0;i<$n.length;i++ ){" |1 ~" S2 R& b
var $m = $n<i>.split(":") % {) ]1 c2 @% M. Z9 f% U
eval("u.style."+$m[0]+"='"+$m[1]+"'");& |( I% n0 q0 S
}& `$ _( \/ f: M) g
}: G! ] D4 |$ b) X: S# a( V3 b4 y! l
$for(s,"$style")
: }. B- o5 y6 C- e" O9 Q }1 d; R9 m4 \& p0 w
$ q/ o8 k# _( i8 @% R6 S# x' S value = function (v,s){
8 D8 O) c0 q+ O a! o7 O var $n= $this (v);7 |) S' o1 _8 w8 ]0 y
$value = function (){
3 ^* d K; \) P* x( H0 k' D7 d u.value = $n
1 V+ c* ^) m: i! g- \7 P% x+ O }
3 h$ S0 _9 B0 n! Y7 N9 R% R $for(s,"$value") ) `4 H( y: _" Z( R
}. X$ e! U/ R0 Z* b7 ]2 Q7 K* s
( \% n+ C7 S' }8 f( N/ x! @
text = function (v,s){- P& M0 G- v* {- {, c
var $n= $this (v);- k0 x' o! |1 J0 o; k' p- h% h& l, a
$text = function (){9 i6 R# [' [2 }3 V" h* {
, t# g( K" M, L; _9 j
u.text = $n; u$ }* J7 U) b9 z( V: s' F; w
}+ p% _! C5 s' ^7 P! P. O4 K+ H: z
$for(s,"$text") 6 ?( u9 A0 n& v' ^2 d0 Z
}' C- X/ X6 P8 M5 R
! W7 K f% L9 ]. e
innerhtml = function (v,s){2 U- x/ S& F( U8 e+ O. f- V. c" m
var $n= $this (v);* g6 G; [& E0 M2 c/ f5 o
$innerhtml = function (){9 ]" Z' G+ }1 t: [: f' P) |
u.innerHTML = $n F" c! c6 \% r' d- y% y: l2 S$ P
}+ o6 l3 y6 {: h* u5 T
$for(s,"$innerhtml")3 L+ }0 n3 f" F4 t
}1 i* R) L# o; d. S
, h+ f3 t4 g6 ~8 V! x removechild = function (s){
' g. h8 M! F/ t $removechild = function (){1 \& i4 z D d
u.parentNode.removeChild(u)1 \: [* x* k* ~+ c' h1 O
}# x3 [& Q' I( i
$for(s,"$removechild")' r: v Z6 q* V" D, Z
}
/ ^' I9 N: R4 |1 q0 C0 I" V( }. d3 l. C
$this =function(v){# X4 R3 T- T/ w- w
if(v.indexOf("this") == 0){
% G4 Z* @# M3 `- G return eval(v.replace("this","u"))' A) {) i, r" t' @
}
# R! q7 \& h( x3 `3 t8 a: K) h0 h return v;
6 c. q, s6 ]3 {6 [& d+ y. ]5 E H }
: ]. J' e& @" m9 t# B5 m9 m% ]$ w7 u% u9 K& U
$event = function (s){
# N& \; }; d& [& s% [ U var $n ="u."+s+" = function(){$work(this,s);}"$ n. i+ f: T+ ^' L/ i' C' }
return $n;
, G4 _; @, n% I }$ n+ A0 U: l w) n
. J W. W/ o0 K4 {; z $replace = function (s){
2 ~" R' @3 _/ |2 J- U. s' H
# ?3 b; Y* O% _ [9 l0 K }
0 k+ u3 r2 T" |- X8 o0 I
0 K E' \6 M9 ?- e $for = function (s,c){% @& @, o0 `: x
var $n="this."+c+"()" ;( S% `& C- m2 H! e
if(s!=null){
, F/ T. `, h" o, M; R: n- H9 { var $m =$test(s);
6 e/ I, f( K% S" ^ for (var i=0;i<$m.length ;i++ ){
4 ?' ~% B* N" W% I5 u u = $m<i>;& T; n0 I! J; \* @
eval($n);
1 f, F1 P, L7 ~4 [! x9 E9 U }- K, a) N/ j8 d a% ~) g' [
}
1 E. Y/ G- k- Z5 s2 y' [0 ] else{5 V+ O/ T: z \) \5 B
eval($n);# ?1 B$ u9 R; P8 E' j7 a; b. Q3 J
}$ y$ \, g% S0 B: w
}3 V$ H: c' b- O* e6 d
( n# C2 I: V U0 K& m' a4 {+ O: d( u
$test = function (a){
X% g" L& E# o6 e' W; ^ var o = new Array();$o(a.split(';'),o);
* O) p8 n: Z' g! Y8 W return o;
! h2 E) W: G2 P: T* h3 L. N }! _) `, h5 O" j7 s* l( X
6 x0 d+ q' f' M2 J0 a; \
$format = function(s){1 o; W' ~2 E# v" R& n9 E' }# U
while (s.indexOf("'")>0){3 j4 b# r ?% k
s=s.replace("'","\"");" L: g* ?! i; P. T6 H
}! v0 e% H- b2 Y7 j7 ]9 j! u% x
while (s.indexOf("][")>0){( ?; Q2 H; J1 W) R& Z
s=s.replace("][","','")
2 p9 v0 M( E1 f* s }
3 \! \9 V! I4 N5 B4 H9 a while (s.indexOf("[")>0){6 |# [$ H1 a7 j6 v
s=s.replace("[","'").replace("]","'")
3 c# u: i; k+ x8 c4 G( K0 r: K1 M" u } / F, |- y$ [! K9 ?
return s;% i( l. p& E4 V/ v l& Z
}2 [/ _( k& t1 H5 X
" w5 G0 E) u1 ?2 v% O
$work = function(w,s){
0 Q' l2 r8 A2 v& r6 g7 d1 b4 Q) U8 G u=w;eval(s)! {# t. _$ `* R3 U2 F
}/ g" \8 t% D2 E4 \/ c+ V
9 q6 e% }, i. k
$id = function (s){. j$ n- ]* @$ Z- |$ c1 Z y
return document.getElementById(s);
/ q4 c" r; {$ F. u9 [6 F1 [( z' N }
% a/ ]1 a$ m7 ~/ G+ P2 u; m
# d0 `& W8 f; ^ c $name = function (s){% |) }% B7 N& I& u
return document.getElementsByName(s);4 X* e' A" D7 a. e7 |9 \
}6 | I9 @! \' b# i) j( i3 a
5 ^; M( X/ x1 T4 A& H% A $tagname = function (s){$ v7 c O# h2 q T# B) g
return document.getElementsByTagName(s);6 m/ X5 @7 Q# ]
}
6 ?; t) W8 [5 s1 v" E! I2 j$ R- z* @% o3 ]* @4 Y, u4 O4 [
$o = function (a,o,c){, `+ C+ K2 M+ n! |
$push = function (n) {. [$ R( E4 i- C, l! ]9 B! |
for (var i=0;i< n.length;i++ ){
" O+ r, _% h- X8 s8 y/ G, K o.push(n<i>);
9 u/ G; b& f7 I8 W# W }
& i6 {# P$ Z' A, V: C. O) L }! o. @) @ A. o5 V2 {* R3 I
for(var i=0;i<a.length;i++){
* t% U7 y! n' E if(a<i>.indexOf("(") >= 0){
+ B, n" T, y J8 F, a, x c.push(a<i>);9 g$ c! @0 x/ J
}1 @' W5 i- o" i7 {( \
if(a<i>.indexOf("~") > 0){* j! A0 s- n* b9 a3 c
try {
! O% f! @4 _* `' I& w% C, D m8 E $push(eval(a<i>.replace("#","document.getElementById('").replace(" ~ @","').getElementsByTagName('")+"')"));2 K0 t- n4 A3 f- J" [
}catch(e)
$ V% V# @& X0 {2 m. @; q; i0 H {}
9 h& h6 W: q( e }
% \! F1 N/ M5 m- k; y) S0 M# \ else{
! Z4 d: E0 E, R& H if(a<i>.indexOf("#")==0){. o6 J; N& ]7 Q8 h" D; v
o.push($id(a<i>.replace("#","")));
6 `& p+ v! ~8 ]( d5 s4 e7 e }
) N7 @! S: {( R1 n+ H if(a<i>.indexOf(".")==0){
% |7 u% j) Q [( B" Q $push($name(a<i>.replace(".","")));& r7 q" S: G9 i9 X Q; j7 o7 Y2 A i
}
1 _( H- G( i* i8 d$ l1 v* H7 I if(a<i>.indexOf("@")==0 ){
) l A) W) t: X7 e: ]+ e% L; ? $push($tagname(a<i>.replace("@","")));
. M e% H" c' j2 z* W6 y# n; F }0 `) _* _9 z+ B- g" I! _/ T. Y3 p
if(a<i>.indexOf("*")==0){
% P. s. ^ h$ V: N/ Y$ p0 r $p= a<i>;- I9 n& n- s5 _5 k( y; V1 d3 F' k
if($p.indexOf(".")< 0){
9 r- T1 T' g- b4 L5 ^ $p = $p.replace("parent","parentNode")
8 S# h* Z% V+ T4 i" j& f }
( a, {- B/ Q' T' M, V' Q var $p ="u."+$p.replace("*","");$ d* |3 s4 @+ u: B) x A$ w
while ($p.indexOf("parent.")> 0){- H' D# x5 F+ t$ y0 _
$p = $p.replace("parent.","parentNode.")" i+ W# k7 T. r4 o7 C( \, b8 R2 p
}- g N7 I) G; s8 W
while ($p.indexOf("child{")> 0){
m6 b( H% V: ]3 W, i3 V1 D $p = $p.replace("child{","childNodes[").replace("}","]")8 t1 b- U( ]6 e# E5 E* d: R& H
}
" X2 i* q! N5 H- ?1 p$ w$ f o.push(eval($p));
9 U2 r) P6 l! f/ g# h: s) N }
& Q: n9 E2 |6 C* y if(a<i>.indexOf("document")==0 || a<i>.indexOf("window")==0){
0 w) ~6 |& g0 j* u: | o.push(eval(a<i>));
+ U) J I' k! N- L1 \& @/ M- ` }: P3 w6 f- {4 G
}
4 {% Z3 P8 ]' J. p. A if(g!=null){ - B' L4 q" v; D# ^+ \7 e l
o.push(g);g=null2 Z! ^! H% {$ R; ?& y: e. Y5 \
}
+ M1 P1 r: x1 y( z; R2 h. S/ h }- a% W* E! g' [. {7 b; G
}
2 p; {0 Z$ Y2 v h- I, w' g
, r0 f# G B) i $o(a,o,c);
9 L* }5 q4 z0 p7 f# Q5 h- q$ X: \% Q
for(var i = 0;i<o.length;i++){
9 L) G8 p/ f. h; O# ^7 r for(var j=0;j<c.length;j++){
3 Y9 q ?# V. n u = o<i>;eval($format(c[j]));
$ t4 L4 v* ~8 P2 t9 H( f9 S2 { }
% ]4 X! A- E( e }% w' R$ x/ E! i( b. b$ |& }
" F' D! u2 m: |# j2 H: [7 C/ a4 }' w
if(o.length == 0){
: R6 S1 g; [& w for(var i=0;i<c.length;i++){; S7 _/ I! D/ n8 \) w( M6 G
eval($format(c<i>));+ H4 _3 e: u# Z0 q6 a8 T
}
2 Y% z* d/ ?" Q9 b* D+ D D7 p3 {& h }* K, u! l2 s. b0 b8 g
% S$ a, {$ F1 x0 U" s/ {* h' f- B7 z
if(r!=null){
6 U; v% u5 X& W# d return r;
( b' {/ w( q3 _9 j# F1 H5 U! S6 {7 E }
# U7 o7 s2 B4 o1 L- p
1 H0 O# {6 s/ U1 g if(o.length==1){' d4 \7 {4 Z' h6 F6 L" g
return o[0];7 t) A3 F0 Q' `2 s
}
7 Q/ ]+ h- ~' @ Z1 ] else{: J3 x: o" I# q1 w9 Z
return o/ ]" m0 p( w" e2 U
} 1 t% H, r/ T9 ]! G1 |2 m
2 G6 y' w- O D }2 V. }$ s/ L5 E6 S, b6 i, M
var lrc =$("#lrc;show()").innerHTML.split("[");
1 e8 J' F+ F5 |9 _* m; Iif(lrc.length>5){
8 s) {% s; I2 W5 Z8 _' w) {8 r0 ^var array = new Array();
z1 { C! h2 @1 p) {: u# l* S( ifor (var i=0;i<lrc.length ;i++ )1 u" k8 a: X4 D! k' i9 [3 e
{
( s0 ?2 i2 {7 d8 f$ ~2 v+ H var g = new Object();
8 B( W# ~4 I; X3 p7 K% ^2 R9 w) } t= lrc<i>.split("]");
" x" l0 Q0 c- k2 M g.time = getTime(t[0]);0 }1 V, K/ v/ U) @
if(isNaN(g.time))
0 C) b) l" B1 K- B, G continue;
, s4 G- x8 d: k g.c = t[1];
, z0 T# u \/ [: U if(g.c == "")& {! [0 r P0 x. Z: \& P
g.c = getNext(i);% ^5 Y! C& C2 Z) T5 H u
array.push(g);
7 O2 [5 d' A9 Q+ \}- T) e0 e) @8 x- P5 Y
array.sort(function(x, y) {
8 `; Z9 n. U, m/ b4 C if (x.time>y.time) 1 f# T" P, Z0 D
return 1;
/ x" }$ F# U; Y# s& f6 _6 }6 V else if(x.time<y.time)7 ?" M4 t B6 E. @% u% D& u7 Y
return -1;. b; b3 A6 f6 A; u
else) I1 V/ w r0 ~8 W
return 0;: r: P$ J* s9 K( [' B
}
( U8 t1 V5 t+ _" E8 c/ F);
6 K9 o; W+ r5 C" @for(var i = 0;i<array.length;i++)
; g& a8 l# Z# r& R9 O{" X# U5 c4 a z4 d& h; s; l V( S
var g = array<i>;
Q |3 \3 f1 x" O2 K if(!g.c){" i# E4 S* @7 T- z- f
g.c="";7 ]7 j* _7 z3 x' ?
}
% a" {5 u. i% U* M2 ~. B $("#list").innerHTML+="<div id=lrc"+i+">"+g.c+"</div>";
+ k$ ]8 u' h8 q- ^/ ~( U& A, p}8 K# w- X1 u j6 m" B' G. A
var time = setInterval("lrcList()",500); F$ g9 u1 Y2 {
}else{7 b% i# f- \9 s3 ?/ ^
$("#list").innerHTML=$("#lrc").innerHTML;, P+ Z. b" X4 \* J
}; |0 j7 N H# t
function getNext(i)
f: w/ H, [' w( E" p2 b" a{
0 w/ u2 E1 f% Z% l! S0 o4 { var result = "";
1 I4 B0 s1 |% B* Z! a2 r var i = i+1;+ d$ e" F; V7 j
t = lrc<i>.split("]");8 V* z) Y( p( O" i2 G
if(t[1]=="")# Y" k3 Y% W7 v# Z5 a5 k% E+ _
result = getNext(i);
$ A% C9 p/ o" Q6 V' t3 U else
; O, t6 ]' l* H6 r. P/ P8 | result = t[1]
3 ]9 ~. _8 A$ M$ k" }" H: @& l* | return result;
. z: M' w& A+ ^2 S2 h}
8 Z& g4 z: \& [' W* n( r; [9 K- \. Y& \! k" w1 v* Y2 ]& T* j
function getTime(str)
: r9 r5 j& M( C1 f{
! [1 }4 `8 L$ R0 Q var time =0;# p" b) Y% A! N4 l
var ta = str.split(":");; ?/ \/ E$ U& m; [* g
if(ta.length<2)
% J! G0 B0 |2 Z+ C4 s$ X. M2 a) _ return time;5 x; d6 c- i: {% S) K
6 D7 Y; v% D ?! ~+ p& f" Y) C6 v if(ta[1].indexOf(".")>0){
3 \" L# h3 C1 S, V0 y% f var tb = ta[1].split(".");
, S. y; T4 u) W8 y W- j time = ta[0]*60*1000+tb[0]*1000+tb[1]*10;9 f5 c) p+ S T* {6 z8 r
}
9 p! W9 C8 g- ~ else
; s7 i2 G2 m- W4 `) n time =ta[0]*60*1000+ta[1]*1000;+ \2 v. x8 V; T5 h; D6 \7 O$ j5 A
return time; ~# i( M9 R. F' y* C8 Y
}2 o( O* x3 h/ b0 A* Q7 J- _ t! z
var preTime = 0;5 ^+ J7 P+ A' \7 B
var nextTime = 0; W# X D, d3 v6 ?
var currIndex =0;
( l* Z8 M. {+ h; wfunction lrcList(){4 ?2 p/ L. V1 D
var s = parent.document.getElementById("MediaPlayer").controls.currentPosition;5 Q- T7 n8 p$ f; F' z
s = s*1000;
5 G9 n' M8 z$ { if(s==0){
6 M! r- {8 A: h8 j currIndex =0;
' o5 ]+ D& m# C% @9 D [2 Z $("#list").scrollTop = $("#lrc"+currIndex).offsetTop-30;
3 i J& }* z. c for(var i=0;i<array.length;i++){
# \ }4 y" _+ }, I document.getElementById("lrc"+i).style.color=colorNormal;& |# k/ ^# G, i" a
}
& ], W1 {3 q6 A$ O9 Q9 k return;4 k% ]0 H6 [9 [2 q+ o6 Y" r6 \( T- Q
}
5 W4 m% f/ {; q- ~$ Q if(s>0&&currIndex<array.length-1)
* Q( @: Y, o& i/ Q' i- } {
4 M" |- Q9 e1 w+ }" o preTime = array[currIndex].time;2 d: @2 x9 ~- f* q, U
S- N! U9 U! ]$ @# B) n, y' _
nextTime = array[currIndex+1].time;
7 f5 T: b7 [- V1 |" R
# J) c3 k9 i& h7 Z! ^" O if(s>=preTime&&s<nextTime){
4 M" E6 r$ A5 N* ]) e& ^; \ }4 [4 e0 I- k1 |* O# ?2 [6 z7 \4 R
else if(s>=nextTime)6 ]2 m$ J6 M6 \! n7 o3 `2 {2 ~
{
. N* R4 T7 @6 R7 M, M document.getElementById("lrc"+currIndex).style.color=colorPasted;
) Z6 a# ]5 W |$ b: D; i2 C currIndex++;
" _" A& o/ w! x6 x7 u ~ $("#list").scrollTop = $("#lrc"+currIndex).offsetTop-30;
6 v) a5 n% K: h9 z: y1 F+ W document.getElementById("lrc"+currIndex).style.color=colorPlaying;
; e' T) e2 U+ v! D" D lrcList();/ m# W0 P1 X3 R' R, D r
}+ G1 G6 X8 b q8 N# `
else{
( p( \' b9 F9 b2 M% z document.getElementById("lrc"+currIndex).style.color=colorNormal;
* y9 ~, w1 I+ a& `0 ^ currIndex--;
- X; d1 u) q8 B+ T $("#list").scrollTop = $("#lrc"+currIndex).offsetTop-30;
! d T3 }; e* s document.getElementById("lrc"+currIndex).style.color=colorPlaying;
1 \# A7 r# }' v+ g- i P lrcList();
! c' d" i6 {) ~# s& a }
! E+ @2 A8 R: C2 y; I: k0 s }
& R5 J9 b3 i _; R4 m" Y* Q' F else% S, B9 R- G) F7 }3 a+ M
{
2 _3 @: |; q' n if(s<array[array.length-1].time){- N4 X3 q v4 r% `5 P6 ]
currIndex = 0;2 w" m0 R" r: j/ u4 G" }# Q/ p5 m
$("#list").scrollTop = $("#lrc"+currIndex).offsetTop-30;
; ^7 |8 @0 X( l8 Z6 p8 ? for(var i=0;i<array.length;i++){ X7 X8 p( r$ [( A( w
document.getElementById("lrc"+i).style.color=colorNormal;: z9 q( T# f0 R+ h: n: R/ v
}
7 L& c! s5 b: S) I2 _# Z lrcList();* J# n" I' P) h# U% w& ?2 S3 P
}9 I& m5 N9 Z" I7 E* g2 W8 Y
}
r: ?+ p5 C: e0 c: I+ [/ V}5 y& }8 F5 j; b7 d8 h& S( q
</SCRIPT>- P0 i! Q5 c+ B/ m) c
</DIV></DIV>
/ l+ f" x( @7 {, O
. |4 q+ d. N' C) P* A4 i3 D; u[ 本帖最后由 幽谷兰 于 2008-9-18 17:36 编辑 ] |
|