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