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