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