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