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