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