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