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