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