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