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