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