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