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