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