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