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