|
<DIV id=list>3 t) B G. d2 S. }* C5 N W9 r
<DIV id=lrc1 style="COLOR: #666666">[wmv=0] http://lzbj.ncedu.net.cn/uploadfile/20083923248279.mp3[/wmv] </DIV>
+ X" g, E; ?0 K D r<DIV style="COLOR: #666666">|等一分钟|听到这首歌,觉得它很动听,旋律很优美,很是喜欢,传上来给大家听听。</DIV>
% b# Y5 _- G( o: E; H0 g<DIV id=lrc2 style="COLOR: #666666">词曲唱:徐誉滕</DIV>6 [" m+ g) L, J7 U0 p* K3 N
<DIV id=lrc3 style="COLOR: #666666"></DIV>
+ ~( b' h: B4 L: r8 `5 `2 p8 h<DIV id=lrc5 style="COLOR: #666666">如果时间 </DIV>
6 o' o' S2 U' R; x/ w% ]. W<DIV id=lrc6 style="COLOR: #666666">忘记了转 </DIV>) {! J9 t" G! l, B; G: O% Y( N
<DIV id=lrc7 style="COLOR: #666666">忘了带走什么 </DIV>$ Z; Q# D5 K" J0 C' {( c0 d
<DIV id=lrc8 style="COLOR: #666666">你会不会 </DIV>2 D" r0 J. L" _ y! p: Q7 J
<DIV id=lrc9 style="COLOR: #666666">至今停在说爱我的那天 </DIV>
# ?$ S4 e# S9 d4 c }- [) c<DIV id=lrc10 style="COLOR: #666666">然后在世界的一个角 </DIV># X+ ^: y7 C4 W4 C7 ~1 Z3 p
<DIV id=lrc11 style="COLOR: #666666">有了一个我们的家 </DIV>7 A# N( |5 q: O$ N: u: X
<DIV id=lrc12 style="COLOR: #666666">你说我的胸膛会让你感到暖 </DIV>' k# j& x6 e7 l6 A$ F/ j- V
<DIV id=lrc13 style="COLOR: #666666">如果生命 </DIV>" g8 } T Z, l
<DIV id=lrc14 style="COLOR: #666666">没有遗憾 </DIV>
- o& h4 T) L2 W1 G; Z<DIV id=lrc15 style="COLOR: #666666">没有波澜 </DIV>
( `, s1 o/ F( z1 t<DIV id=lrc16 style="COLOR: #666666">你会不会 </DIV>6 t( |. m# J9 _+ C t5 ^
<DIV id=lrc17 style="COLOR: #666666">永远没有说再见的一天 </DIV>4 \9 f( R, z' x' p6 y# x
<DIV id=lrc18 style="COLOR: #666666">可能年少的心太柔软 </DIV>
) j1 @2 i# n# D0 \ u<DIV id=lrc19 style="COLOR: #666666">经不起风经不起浪 </DIV>
: B$ P" ^* y8 N6 T" x3 @& g<DIV id=lrc20 style="COLOR: #666666">若今天的我能回到昨天 </DIV>8 n2 Z4 z- b. f0 r1 b
<DIV id=lrc21 style="COLOR: #666666">我会向自己妥协 </DIV>' O+ b6 M# o) R. t0 s: K+ P4 h' _. {* ]/ ?
<DIV id=lrc22 style="COLOR: #666666">我在等一分钟 </DIV>0 X" T$ A; s7 j2 W: e
<DIV id=lrc23 style="COLOR: #666666">或许下一分钟 </DIV>
; ~. z6 x5 J) r<DIV id=lrc24 style="COLOR: #666666">看到你闪躲的眼 </DIV>
8 N3 F; v* p' e% L @( M<DIV id=lrc25 style="COLOR: #ff3300">我不会让伤心的泪挂满你的脸 </DIV>
7 O: P3 {6 E% m6 [5 W$ r& t<DIV id=lrc26 style="COLOR: #000000">我在等一分钟 </DIV>; s$ e0 W0 p+ N# B$ J+ m
<DIV id=lrc27 style="COLOR: #000000">或许下一分钟 </DIV>
5 ]- [0 K4 N5 {9 l2 G7 \9 Z<DIV id=lrc28 style="COLOR: #000000">能够感觉你也心痛 </DIV>
M* d) D6 p, `, \<DIV id=lrc29 style="COLOR: #000000">那一年我不会让离别成永远 </DIV>1 @1 T. t1 E7 p& R: }$ Y1 U9 u0 P
<DIV id=lrc30 style="COLOR: #000000">如果生命 </DIV>
i' C9 ?: A" ^+ p<DIV id=lrc31 style="COLOR: #000000">没有遗憾 </DIV>" ~: _0 Q9 j, J- e( I9 B
<DIV id=lrc32 style="COLOR: #000000">没有波澜 </DIV>
1 p y$ { `7 M$ F/ {<DIV id=lrc33 style="COLOR: #000000">你会不会 </DIV>
; z7 o6 B$ T) P# ]% l0 D3 g/ c<DIV id=lrc34 style="COLOR: #000000">永远没有说再见的一天 </DIV>% Y" o' X; K& P$ m! J
<DIV id=lrc35 style="COLOR: #000000">可能年少的心太柔软 </DIV>% i I7 I( C; M
<DIV id=lrc36 style="COLOR: #000000">经不起风经不起浪 </DIV>
1 s" L+ d: y: e0 q2 x- c% z<DIV id=lrc37 style="COLOR: #000000">若今天的我能回到昨天 </DIV>
+ W( K% t- Z" K% k% y- R% s# `<DIV id=lrc38 style="COLOR: #000000">我会向自己妥协 </DIV>
8 {" E! o# `( q5 A5 q<DIV id=lrc39 style="COLOR: #000000">我在等一分钟 </DIV>( |" K- c% s" [4 B: ]6 H
<DIV id=lrc40 style="COLOR: #000000">或许下一分钟 </DIV>. y1 E- L! ?$ a4 e" Y" O' `5 a
<DIV id=lrc41 style="COLOR: #000000">看到你闪躲的眼 </DIV>0 M8 t1 I$ @1 ]. _. J/ X2 n
<DIV id=lrc42 style="COLOR: #000000">我不会让伤心的泪挂满你的脸 </DIV>3 v3 w. Q$ g# s& n& ]$ x- t
<DIV id=lrc43 style="COLOR: #000000">我在等一分钟 </DIV>
7 e; n# o0 |9 f( y1 j<DIV id=lrc44 style="COLOR: #000000">或许下一分钟 </DIV># z ~6 w& {) @+ k3 ?
<DIV id=lrc45 style="COLOR: #000000">能够感觉你也心痛 </DIV>
! I, K0 S) T* [% k: f<DIV id=lrc46 style="COLOR: #000000">那一年我不会让离别成永远 </DIV>
9 i2 ]# c2 m' k2 F3 H2 v+ L<DIV id=lrc47 style="COLOR: #000000">我在等一分钟 </DIV>6 Q' k/ I& q6 C6 N$ }
<DIV id=lrc48 style="COLOR: #000000">或许下一分钟 </DIV>
2 M6 I9 j- N2 F) M* z" t9 R( l<DIV id=lrc49 style="COLOR: #000000">看到你不舍的眼 </DIV>6 Y1 H' ^* n6 A3 K$ K+ m+ I( i
<DIV id=lrc50 style="COLOR: #000000">我会用一个拥抱换取你的转身 </DIV> q+ d$ w8 K7 x0 X1 `3 r
<DIV id=lrc51 style="COLOR: #000000">我在等一分钟 </DIV>2 v, q; t$ l. {/ Y
<DIV id=lrc52 style="COLOR: #000000">或许下一分钟 </DIV>
' m" Q1 M7 t0 ]& p* M" f+ P<DIV id=lrc53 style="COLOR: #000000">如果你真的也心痛 </DIV>( \: ]: G1 M* z
<DIV id=lrc54 style="COLOR: #000000">我会告诉你我的胸膛依旧暖 ^1 ~. D# L! ?& p! `' t
<DIV id=lrc style="DISPLAY: none"></DIV>8 f% }+ m6 l4 j# {8 e) y& o% P
<SCRIPT type=text/javascript>
1 a9 v/ @% t1 c! ]/ idocument.domain="1ting.com";
% c6 z$ s% T/ ]1 @* k: Dvar colorPasted="#666666";+ t7 T6 P$ B" C/ a
var colorPlaying="#ff3300";- x3 a3 ?" `- F w) ]% X
var colorNormal="#000000";
6 y# e% D& z& b4 Z, S$ = function (a,g){
1 f) x# u; Q! t" p4 R4 x var o = new Array();
7 E, |- M [& i1 q/ F" c var c = new Array();
( Z: x" o5 q( O) N* A) x var r; ! H+ w7 n% ^* ]# [# z& X
var u; : X" e( w! F- _/ N* h. W. v
var a = a.split(';');
# _3 x. E" j5 {2 d/ ^8 b
$ ]9 u, f6 A: d% y$ y' ^5 h var e = "keydowns,resize,load,dblclick,click,mouseout,mouseover,mousemove,mouseup,mousedown,inputchange,inputfocus,inputblur".split(",");
. g$ h- k1 t. ? k+ A* x" M for(var i=0;i<e.length;i++){3 C# I% `. y4 _
eval(e<i>+" = function (s){eval($event('on"+e<i>.replace("input","")+"'))}")$ u/ j( c0 Q; ?8 ^7 P" J4 k9 B, { K
}$ [, k* [- x( n* p' |/ B
& r: J5 j5 T& r5 i" j; F" `% o6 `
after = function (t,d,s){/ x+ P/ M8 a3 P5 C9 s i
$after = function (){
2 S' S6 E- R* ]" t3 z; H2 K var $n=document.createElement(t);8 m$ v/ l) r" s+ e) y& I3 u5 ` D
if(d!=null){
5 b; ]1 S" Y, p, X. ^# m $n.id=d;
2 i6 t4 P9 D* r: C4 d }. h4 R6 X# e. X& Z+ J4 |' B5 N8 r' o
4 ~) d3 q! P( G. |! p
u.insertBefore($n,null) + u# D3 n# }7 U6 X
r = $n;
! F/ T8 H7 V% R. Q. n u = $n; $ t6 [- L/ T9 h6 A5 _8 P9 M
}0 ~) z8 q) ]+ J. }# u ^
$for(s,"$after")
! f5 B4 e9 d! F, g/ k }
2 G- X% n4 J" i( _+ M+ D, H2 c
6 C# O7 w8 Z: p5 k" d+ k show = function (s){
5 X) ?7 |; N7 z& x; U# A/ h; O $show = function (){' |! H% y8 J( q9 l
u.style.display!="none" ? style("display:none") : style("display:block") ;
, ]: M) a, f3 d4 `5 r) O( {3 U }
- V1 W x; A. Y3 m. w- F0 U $for(s,"$show")3 z$ w3 P% I7 j0 o- w
}
+ x- r7 b' N L* `& S) i& Q$ o3 k3 ^7 }1 |- Z
check = function (t,s){
. ?5 W4 Y( [% J5 h2 O( I $check = function (){1 Z# I4 K+ ~; g. y5 x6 t* }
if(t=="2"){
$ J- V) E+ C, [/ x4 G9 b2 a3 } if(u.checked){( m5 t) B' _( m t9 g; _6 z' \
u.checked = false;* T h. E- N& [; K# D) m
}else{! T5 F) h: _, f3 W/ p
u.checked = true;
6 ~2 A( j% B0 p5 k3 ` }' `) ~0 Y E; h" B
}else{
" e, Z4 r7 q3 H+ k u.checked = t*1 ;
0 h3 V: m' J! S- j( h }
# s- h' h6 _: i) V# Y }0 ^! ~* J; L2 ^+ g/ y% _5 C" R
$for(s,"$check")
1 q% m& f3 v) o' n/ C; E) G }
6 k( d+ v. m3 h" F
6 c- Y; N6 ]/ E1 x' a$ { style = function (v,s){/ c+ f6 g+ a( s3 I. e+ f
$style = function (){
6 d1 a5 z3 [, H& d1 s- c var $n = v.split(",")
2 n: ^: {' \# w) _# B8 v for (var i=0;i<$n.length;i++ ){
/ C5 q+ p# p/ G var $m = $n<i>.split(":")
( h: A% R3 L. g X1 A7 _! x eval("u.style."+$m[0]+"='"+$m[1]+"'");& z& W0 j0 p: I9 V3 O
}
* y( {) v( `. r+ S2 T9 `1 W }
P2 h4 |! l( E+ @0 \% |8 p $for(s,"$style")
- ?) e; Q8 X# j7 R$ n }
% E. d3 d3 w @7 }5 _- D+ I
; S) I7 l' O! ^3 c; x- L value = function (v,s){
. q9 G4 Q- C8 O9 W R4 [ var $n= $this (v);! F6 h8 u. g0 F% c+ T: {: r; T
$value = function (){( @9 [1 B) @5 N# S
u.value = $n
% X9 K: J/ q9 u6 n2 \3 ~ }
; c8 s3 T* l5 e $for(s,"$value") & ]2 a" p x6 F
}
! p/ {# z; K" v2 \* e& Y, K) P+ {* N3 {8 W1 X1 r
text = function (v,s){. d0 Q j, E/ ?9 u5 Q0 H
var $n= $this (v);8 D k+ R! ?3 t" c/ B9 X2 t8 y- C
$text = function (){# A9 G5 Q5 |6 ?3 a
) p y0 z0 K$ K% I/ l u.text = $n
$ e" d1 f* A* _. W2 E, C }. w1 C1 B/ `2 j
$for(s,"$text")
8 {% ?* ^0 r- A+ w7 Z- H& r% L }! d; G/ K. w U7 ^5 B
5 s) o: \+ g: v7 W+ L% g
innerhtml = function (v,s){
2 l3 p; |8 I/ P) T1 T' G! S var $n= $this (v);+ ~: V4 s2 v1 c, L3 g+ ^3 F
$innerhtml = function (){
2 m6 X6 A' ~) t, o% w- W5 U u.innerHTML = $n9 E) [$ c; L/ |7 g
} }8 \* h6 e" e; C7 X3 ^
$for(s,"$innerhtml")
5 c5 p8 A- Z4 Y+ T }& X7 g$ o$ H# z- `4 }( L; M
! `% S3 D0 H. ?+ ~4 g+ k# e
removechild = function (s){& b3 I3 ?6 V. w0 w5 h
$removechild = function (){
2 V$ z7 C5 q7 @: r1 f& c u.parentNode.removeChild(u)" j @5 ~5 S2 M' ^+ U$ g
}. {+ {0 y$ z3 ?
$for(s,"$removechild")3 y4 H) v5 a9 y8 I8 w! j: [
}
& Q" J* p/ u. p2 S0 ^) A5 k) u4 A$ d: }, Y% V
$this =function(v){
0 L$ H# X- b9 w h, M; n) z if(v.indexOf("this") == 0){
4 F; ]; ?4 C% L5 }: d: Q4 b0 h5 W return eval(v.replace("this","u"))
* v. a: L) R S% s* d* K }5 i. w) g, j& D0 A- h. q! H3 I
return v;+ O3 E8 @' b T9 L9 m- h
}; n7 ?9 u0 j" Z1 [; O" W
% L* z; t. X; u9 l' c; R $event = function (s){
) M! u# H: B, j( J/ g5 G var $n ="u."+s+" = function(){$work(this,s);}"4 \6 g; G% N) m! `8 l4 a
return $n;5 J6 ?* Q$ y. `3 e
}0 @9 k( w& H6 u0 N; |
2 p+ y% Z5 ^9 i5 a( n& ?# r $replace = function (s){; e- P' ~6 Y/ j8 \1 {$ X( V
( k7 e# Q @5 v1 W
}
$ u" R }9 y3 c, @: R- k6 }1 v9 K4 x7 a
$for = function (s,c){
* p% T; ^2 Z1 J9 M& H3 R/ O- F var $n="this."+c+"()" ;
7 s3 c7 \' f. |0 S. b if(s!=null){* n2 B) ]0 ?! t Q
var $m =$test(s);
6 ?; k- J- j; h$ e for (var i=0;i<$m.length ;i++ ){8 V! @! e1 e8 t4 [
u = $m<i>;0 l6 V* b& t7 a4 L/ j# n* z* e
eval($n);
* J/ v+ X( I( y5 {9 L }
2 ^" a% r( O3 J6 }! t }, I, R/ F/ W' s2 t" A, V
else{) R# e+ a+ I& V
eval($n);4 h7 A- G/ t+ [( z
} v7 E- p* i- a- U* f
}
: K, @1 z; L. s# b' o- y! k
9 R- |& z5 m7 }. G& P1 B% Y $test = function (a){
8 h) w U7 ?2 Z, z% U$ [5 l var o = new Array();$o(a.split(';'),o);
0 P! ~3 |7 v/ P2 ^' V: w return o;
6 |+ X9 D) R8 U }
; L1 r4 P% d- Z$ ]' g
* s/ l& l8 B* v $format = function(s){
6 o5 y4 r4 q+ Y) e, B while (s.indexOf("'")>0){5 N- ~2 ?& ]! P9 f0 g4 i
s=s.replace("'","\"");3 {. B7 J- m" C
}
+ U5 a' v+ G& ^: L% o, f$ B( d% a while (s.indexOf("][")>0){
. h* s g+ ]% E2 l) I+ j- n s=s.replace("][","','")# [4 X* T/ ?3 o+ d; C. M
}
" N$ k; ]$ v+ V! K3 Q8 } while (s.indexOf("[")>0){
$ R7 j3 ?# z6 { s=s.replace("[","'").replace("]","'")
0 M. |) l2 U2 ^. U. x A } # h7 B! Q/ e! H
return s;
. I# V3 h$ f2 j* F& h0 R }! {# p9 q" m& z0 T/ a
0 D3 q# s& f4 ?% M4 P9 L" U& {
$work = function(w,s){
2 \- T6 J% g& W8 d# Y$ d$ X u=w;eval(s). L. R0 q! U- o
}
, ~7 n# x: b" N! d+ {0 B
; J% g, m6 n+ X D2 g $id = function (s){, L3 G3 F' v2 C2 z+ A! R9 b
return document.getElementById(s);
, X; W2 n+ `- d2 f: s% d" x }
4 d/ ~. p5 }% n' a# U% S% c" @6 _( d! h+ E* @, ?# S; g7 n- {
$name = function (s){
$ x2 k5 r( z* p return document.getElementsByName(s);) F+ t; b+ }' k. c, ^3 t
}
% v. o5 ]' n, N/ _, t/ X3 a) T" e) k4 o
; M- ]/ ^$ O* k: m $tagname = function (s){
: Q/ ]5 m3 T8 K% f$ E! ? return document.getElementsByTagName(s);
9 t ?, J% S5 b" x, S9 }, L/ D }" f6 i$ T R6 k. d% `) n
u( P% s- E' q9 l7 @2 o3 [" v
$o = function (a,o,c){2 J$ v0 w. G, _# y- f0 N$ ]! k
$push = function (n) {
% [: Q. a, x2 l" ~* J6 ~1 G for (var i=0;i< n.length;i++ ){
7 r/ ]0 q! W" _3 t* l' z o.push(n<i>);/ ^0 A3 Z f, L/ a$ \. i& A
} * c2 e: n5 P' ?, e9 {5 y
}
. r2 M; Z' D! t4 v for(var i=0;i<a.length;i++){
5 J9 O& I1 _( Q if(a<i>.indexOf("(") >= 0){( l& }0 V) h3 K. {
c.push(a<i>);1 L [+ Y' X/ P7 @3 T/ `) j
}
9 C ]6 ?/ u9 \2 j6 D. S+ x/ l if(a<i>.indexOf("~") > 0){, x9 x% e9 v$ ~( R/ T1 R, u; m
try {
% r7 o7 [: D. A: E: v$ F- y$ G# c S $push(eval(a<i>.replace("#","document.getElementById('").replace(" ~ @","').getElementsByTagName('")+"')"));
' u' V; s4 n8 p) [8 n }catch(e)
/ N `5 J' ]& V8 L* V* o. O {}
c" P1 U9 a( q4 l7 B }
/ V$ G1 x p9 k- B7 k* O, @ else{1 J8 E0 V& R1 G7 j7 k
if(a<i>.indexOf("#")==0){1 ]$ F5 V( F) a( J4 p
o.push($id(a<i>.replace("#","")));
, b6 m# t" t# Z2 D }! w6 k. I) V( E. X3 z8 n: V! T
if(a<i>.indexOf(".")==0){
8 G: v0 b( K9 j' j $push($name(a<i>.replace(".","")));
1 p# B6 q; `2 L' D1 Q }
: K+ f' v. R6 R# n/ H if(a<i>.indexOf("@")==0 ){
6 n+ ]1 z, F# T $push($tagname(a<i>.replace("@","")));1 J% t Z, L1 P7 h
}0 q' ?2 ? I; k6 h9 j. ~- [/ |* i, y
if(a<i>.indexOf("*")==0){
: p3 X I* U8 b( L $p= a<i>;' t, d1 S* J% d) R# L8 R
if($p.indexOf(".")< 0){
+ h: k9 E Z" o# o5 K5 ?. v" U $p = $p.replace("parent","parentNode")
2 A/ p; o! k# k' Y* `: V }
* }8 ~9 y2 N5 Q" c6 B var $p ="u."+$p.replace("*","");: [3 Z0 ?9 D2 _/ N8 G* i- _
while ($p.indexOf("parent.")> 0){
* B9 q8 Q& j7 K ~- o( g$ o `9 X $p = $p.replace("parent.","parentNode.")
5 ^$ u4 O# M. w2 \1 Y$ S# C; b: a }
) z9 c9 E; e k: q0 n while ($p.indexOf("child{")> 0){0 R/ K9 A5 V/ ^ Z" F+ M! L3 G: U
$p = $p.replace("child{","childNodes[").replace("}","]")
( \9 ]( b! O$ I% b' @: m }
% g0 t# @* l- ~ o.push(eval($p));
+ v# S( h' A) z' ~2 }5 A }
; Y' I) k+ w1 C5 W9 [7 K8 \, } if(a<i>.indexOf("document")==0 || a<i>.indexOf("window")==0){) o) h2 w6 r; Q2 F. B! o+ ?
o.push(eval(a<i>));
1 Y3 ^, E+ K! @' J }6 f- ]# a; |4 A5 \* A5 ]3 Y5 Y$ b
}
: Y7 M! S7 E) T1 {5 v if(g!=null){ $ y9 p# E/ q9 C2 `& u" i2 u
o.push(g);g=null% T Y2 V( b9 t8 |0 K1 \# `
}
# c9 L6 D8 _( W1 {9 T }
) y; B0 J) D+ p3 V1 S, B6 w7 D }
& i5 H5 m2 I3 d- O4 X
, Z \4 r9 [% D( s( u, s $o(a,o,c);# h! n, T3 k t! a4 B) W9 }" k
- ^ o) n" R' b4 I" S
for(var i = 0;i<o.length;i++){$ t4 _0 n' N/ Q2 l9 C" ^
for(var j=0;j<c.length;j++){
2 `4 R R% K( J# g. I* T u = o<i>;eval($format(c[j]));1 W* ^) Y: K3 T, H/ Q4 g( o
}
7 S! z, J% l+ A6 s' @& m! [$ H' H }* y; @( i7 Z3 \$ v9 a
$ f+ l* L8 T. I3 \+ j# {5 u2 h if(o.length == 0){+ c, [. o, S7 i# {
for(var i=0;i<c.length;i++){
5 q! N0 T' b6 m) {. L' ~ eval($format(c<i>));! | d4 ?8 @* S+ m H- `" h* e) h) X
}
( Q \+ J) R9 b5 X& E/ V1 L }& f( z4 K' V6 K* m- d
& P8 l0 u2 B) s! X3 Y! p if(r!=null){
+ C; r" W5 B3 [1 ` return r;
! D4 s# N$ K# L; n0 Y1 `9 n }. ~7 m6 j& ^ n) T$ Q. V) |: t
, u$ C. D" a3 K7 V if(o.length==1){; w: K' g. w( Q/ v1 o6 t: n1 T
return o[0];
* I2 v1 c3 Z0 D/ R7 N! ]5 p' n }- a. x6 L E: d5 U* U
else{' t/ ]! e( w) R9 F8 k
return o
' a" u% S' ~( f R9 e' B }
5 Y6 K$ i2 N/ e( V. C; G' p8 c
6 R7 o" @# q/ L8 n0 Z% u }
& z( z8 U- @2 ivar lrc =$("#lrc;show()").innerHTML.split("[");
" w5 H* T+ \4 N4 `( ^1 D1 K1 A) oif(lrc.length>5){
4 c+ _$ m: j$ `9 S# C9 F, Nvar array = new Array();( C$ F5 o) g, }5 R5 J
for (var i=0;i<lrc.length ;i++ )" t; f4 Z/ K e
{
3 v4 ^9 e7 V; U) | var g = new Object();2 y1 M5 l7 D) h
t= lrc<i>.split("]");4 j0 K! A6 R8 F( N0 S: {& M+ ]
g.time = getTime(t[0]);! F3 D. p% g- x
if(isNaN(g.time))
: Q& v+ j9 Z# [+ ?6 U& X' o7 F continue;, t4 J; ]! C9 N
g.c = t[1];
0 I4 F, t+ x3 ~1 R if(g.c == ""); [: N; c; J) j% {4 [& {
g.c = getNext(i);: _. m: _6 s+ |7 D
array.push(g);7 d H/ j% R, R# B. K; @# f
}
: D& f4 G- X- \9 ~array.sort(function(x, y) { u# u# Y+ O. @% R! Z
if (x.time>y.time) ; T7 D3 T( ~3 Q j! D
return 1;. u# K/ b7 [1 p0 u5 H
else if(x.time<y.time), P% |! [' A$ q/ x
return -1;
1 D" \9 T5 Y8 L/ T; L/ T j; X else# M3 u* Z* b) i
return 0;* V+ w6 f! W5 y! i7 ?. E
}
# y" H3 t! C* H2 _: q% m+ N);
- y( I' v6 Y' @$ R, Efor(var i = 0;i<array.length;i++)
: T. G) X! q) i: t+ V{
5 i! j* _0 |8 V var g = array<i>;
^/ e2 @& S2 C" \ if(!g.c){' p4 ?" Z6 ?8 {, v! m
g.c="";) B: {7 h- J2 j! A+ U
}
6 o* ~8 Y8 g7 r# ~+ F $("#list").innerHTML+="<div id=lrc"+i+">"+g.c+"</div>";
2 B+ M. n3 ~# ?) g7 }( y}
3 K# z* t7 N+ F# q3 dvar time = setInterval("lrcList()",500); & {, q/ _4 m, o# F5 E7 x6 I0 e( P
}else{
/ D, x" _ k$ w $("#list").innerHTML=$("#lrc").innerHTML;4 C9 c# v( w+ G2 S: l( I2 V4 A
} Z2 h( x8 u4 v5 }
function getNext(i)
% h) N0 L! p( P! m4 F* d{7 o. H' ?. n' W- }7 F
var result = "";
# l1 f1 t6 {" Z% t var i = i+1;" Q% ], g; R5 o
t = lrc<i>.split("]");+ e3 b- ^( U5 i5 c9 a
if(t[1]=="")# m' T. J1 R8 o1 O
result = getNext(i);
- |9 f# ~$ Q# Q( n- n else
4 M6 [' i4 `7 t% ]" A9 _, x% U; i result = t[1]
* V5 o4 A* K A& x9 }( P return result;$ o. G5 D) U/ g2 l: V6 Q6 Z' U: t
}
8 `( V4 X4 U3 c! R1 p' B" e' k+ U3 H
9 T! q0 z! c1 o( q& b& kfunction getTime(str)
! U) N) o; C! @% J0 c+ W( n{
4 T B1 T0 U s- S6 G var time =0;1 k$ z5 R0 K! ~- m/ w% U
var ta = str.split(":");
# o) c) N: e4 ]8 d if(ta.length<2)% C, N3 _) g+ E/ I7 F
return time;: f2 J% B# g2 m& s6 o/ Z2 H z
6 B6 Q4 m* O0 G, ^# N8 ?
if(ta[1].indexOf(".")>0){3 {- `* L2 `* v
var tb = ta[1].split(".");2 Y# U$ G: P: N. b
time = ta[0]*60*1000+tb[0]*1000+tb[1]*10;7 \8 Y1 t7 v. T8 x, _+ y1 ~8 D0 d1 Q7 H
}( i9 d0 L3 I; x; ]4 y, A4 L
else( W/ Q9 p1 {: o
time =ta[0]*60*1000+ta[1]*1000;% m& b L9 _/ D5 h% a. j$ X
return time;
+ Z: ]0 B5 Q8 D! c* [4 |}
+ ]; P7 ^# X, Evar preTime = 0;
% t) r: ^7 V2 L2 Avar nextTime = 0;
1 g# X1 B* l$ g$ U6 E$ Y) Bvar currIndex =0;
3 l2 u5 }9 q6 i& N2 K2 m4 b9 e9 x% B$ Z/ |function lrcList(){
* l* @& G" x0 p5 K Q var s = parent.document.getElementById("MediaPlayer").controls.currentPosition;! H* o1 _8 P3 N6 Q5 M
s = s*1000;
7 D& c/ Y2 {1 y$ Q7 S if(s==0){3 \( i# }* H: J2 T: }) q7 Z3 T
currIndex =0;) } |# p9 W* a
$("#list").scrollTop = $("#lrc"+currIndex).offsetTop-30;4 r2 I1 ]' z, ]6 _
for(var i=0;i<array.length;i++){
: u! G; e/ X. q8 P2 z! p7 L document.getElementById("lrc"+i).style.color=colorNormal;
" \$ j2 X, D- L# K: Z$ C, j% l' _ }
& _- {$ |$ ~# v9 b5 U return;
. ?3 p, ~$ A y3 K1 L, U }
. }/ k* t6 t4 i+ v9 i if(s>0&&currIndex<array.length-1)$ h1 ~7 P( g( b! ?" N3 i
{ ! ]7 E0 [1 S1 p! a8 A
preTime = array[currIndex].time;
9 B- o) ]( _ I f + q$ b$ A2 ?% ` A4 U3 _% }
nextTime = array[currIndex+1].time;7 _' ], b4 E7 s! u! L7 _
& V+ H, _8 g" }0 k* \9 B if(s>=preTime&&s<nextTime){
+ N; o* @: Y! _1 h0 p8 H# X }
2 M7 ~: g z6 @9 L- w/ q else if(s>=nextTime)! g ~' b, z5 B" w3 j" M
{
+ b# R7 B9 R$ W document.getElementById("lrc"+currIndex).style.color=colorPasted;
5 f# E7 c( p' z% h$ o currIndex++;
( w+ M, \0 ^" {8 `' g3 H; M $("#list").scrollTop = $("#lrc"+currIndex).offsetTop-30;
0 [$ l o" I/ k document.getElementById("lrc"+currIndex).style.color=colorPlaying;* { v1 M* ~$ q, N
lrcList();
- ?/ n, a4 w" Z1 a }9 y% G: B5 }( o( o$ V$ u
else{
- O" W0 M) U; r* e* G' a$ n5 \ document.getElementById("lrc"+currIndex).style.color=colorNormal;6 H: B' b' J7 |8 T+ h! x* _: r8 T" u
currIndex--;
# y, v6 Y% m' V* j o8 e4 r: D/ s( e6 \ $("#list").scrollTop = $("#lrc"+currIndex).offsetTop-30;
* Q) v+ h: O' p0 ? document.getElementById("lrc"+currIndex).style.color=colorPlaying;2 z6 O. Z V3 }0 H, z' C
lrcList();
4 w1 o' U9 |8 g5 u( I }
4 K" J5 B h, t. m/ y. p }# p- W$ G; Y5 t5 ?- x4 z
else
. O5 M) R9 M: m D {
: D9 [/ t; @: ]6 D if(s<array[array.length-1].time){1 B4 [9 A' j+ r& t% M. _7 F
currIndex = 0;3 D" Z' g( y& R* _) D: C1 u: y
$("#list").scrollTop = $("#lrc"+currIndex).offsetTop-30;
4 s' n- E8 z& P2 q+ J for(var i=0;i<array.length;i++){
: j* p, A3 v" g; d/ W5 a4 w document.getElementById("lrc"+i).style.color=colorNormal;4 P7 ?5 i: r J- x4 H \
}
6 k' g! }. C2 h( g1 t! ?' ]* B lrcList();# Q" C+ {1 K; ^ x/ t* x
}
5 _# d) j3 g: w/ ^* D }! O+ n9 H r4 D3 I" S& l; J; D8 z w
}0 ]7 X$ G @; C/ O8 t* n, P6 ~
</SCRIPT>
. t/ Q+ G6 r* H% y: D2 T</DIV></DIV>$ X" m9 X! _' p/ y- B
3 J) h; d0 Y8 T# D
[ 本帖最后由 幽谷兰 于 2008-9-18 17:36 编辑 ] |
|