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