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