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