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