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