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