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