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