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