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