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