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