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