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