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