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