|
|
<DIV id=list>
- L" K# E2 @" W<DIV id=lrc1 style="COLOR: #666666">[wmv=0] http://lzbj.ncedu.net.cn/uploadfile/20083923248279.mp3[/wmv] </DIV>
' {4 f% b0 ?7 e/ W8 f0 ]# Y. l, \<DIV style="COLOR: #666666">|等一分钟|听到这首歌,觉得它很动听,旋律很优美,很是喜欢,传上来给大家听听。</DIV>6 K# Z# |9 A+ {6 a6 A
<DIV id=lrc2 style="COLOR: #666666">词曲唱:徐誉滕</DIV>
/ D0 b, ^9 z K<DIV id=lrc3 style="COLOR: #666666"></DIV>) L m3 g. A0 e- d! c
<DIV id=lrc5 style="COLOR: #666666">如果时间 </DIV>
5 P! Y+ X4 M; U1 J' ~+ A<DIV id=lrc6 style="COLOR: #666666">忘记了转 </DIV>
* n8 L8 p. S3 ?# n( g<DIV id=lrc7 style="COLOR: #666666">忘了带走什么 </DIV>
, c$ [2 a4 W) q! Q* H9 p Y<DIV id=lrc8 style="COLOR: #666666">你会不会 </DIV>
5 L3 P# D/ z! w% \<DIV id=lrc9 style="COLOR: #666666">至今停在说爱我的那天 </DIV>. V8 B3 H( h1 U
<DIV id=lrc10 style="COLOR: #666666">然后在世界的一个角 </DIV>4 O0 A6 {9 _ N6 S3 u/ ?' Y4 e/ d1 T! U
<DIV id=lrc11 style="COLOR: #666666">有了一个我们的家 </DIV>8 x/ C1 t+ F/ {; T% b/ s! {3 t
<DIV id=lrc12 style="COLOR: #666666">你说我的胸膛会让你感到暖 </DIV>& x, P2 m+ B+ D3 @2 h+ M6 p3 O
<DIV id=lrc13 style="COLOR: #666666">如果生命 </DIV>
$ }2 j/ S9 R) }8 P<DIV id=lrc14 style="COLOR: #666666">没有遗憾 </DIV>4 Z1 Q. R+ g$ X( T3 A7 t) D3 D2 O
<DIV id=lrc15 style="COLOR: #666666">没有波澜 </DIV>
, y* z9 l: H$ W4 M8 h<DIV id=lrc16 style="COLOR: #666666">你会不会 </DIV>* h$ d* _$ ~" } ], c& ?
<DIV id=lrc17 style="COLOR: #666666">永远没有说再见的一天 </DIV>
, {7 ?' p9 Z8 B! q7 w<DIV id=lrc18 style="COLOR: #666666">可能年少的心太柔软 </DIV>, @) X/ N8 Y+ y# l# s8 Q+ s# H
<DIV id=lrc19 style="COLOR: #666666">经不起风经不起浪 </DIV>
" n" f, }. s7 v<DIV id=lrc20 style="COLOR: #666666">若今天的我能回到昨天 </DIV>( v& j) |' I" S) O
<DIV id=lrc21 style="COLOR: #666666">我会向自己妥协 </DIV>
9 N$ c8 ^* p' n" c: ~<DIV id=lrc22 style="COLOR: #666666">我在等一分钟 </DIV>
& b( a% `4 G- j* r9 l<DIV id=lrc23 style="COLOR: #666666">或许下一分钟 </DIV>( g1 x6 M5 K, G! R" w& K" G
<DIV id=lrc24 style="COLOR: #666666">看到你闪躲的眼 </DIV>
/ F, u }. i' v$ x, q; K. a6 c<DIV id=lrc25 style="COLOR: #ff3300">我不会让伤心的泪挂满你的脸 </DIV>
! q3 W+ B/ {: m; H+ \& R* {<DIV id=lrc26 style="COLOR: #000000">我在等一分钟 </DIV>8 Z) U; V( e7 x9 J" H
<DIV id=lrc27 style="COLOR: #000000">或许下一分钟 </DIV>
' `! m; Y5 v& \0 o0 J<DIV id=lrc28 style="COLOR: #000000">能够感觉你也心痛 </DIV>" v6 d& z$ C* V7 z6 q) m
<DIV id=lrc29 style="COLOR: #000000">那一年我不会让离别成永远 </DIV>5 t4 \) L8 `9 A7 i6 H
<DIV id=lrc30 style="COLOR: #000000">如果生命 </DIV>! O/ N. z$ ^! G. n& Z
<DIV id=lrc31 style="COLOR: #000000">没有遗憾 </DIV>* V2 |, Y0 K, E( d! _5 @) a; W
<DIV id=lrc32 style="COLOR: #000000">没有波澜 </DIV>! k: j, z' y$ h7 u- V+ j
<DIV id=lrc33 style="COLOR: #000000">你会不会 </DIV>- D$ O2 U% s# g' U
<DIV id=lrc34 style="COLOR: #000000">永远没有说再见的一天 </DIV>/ |5 ~" w8 _3 H' S* ^
<DIV id=lrc35 style="COLOR: #000000">可能年少的心太柔软 </DIV>& r/ r! y- w3 X/ O: i
<DIV id=lrc36 style="COLOR: #000000">经不起风经不起浪 </DIV>
1 s& _7 |* g7 b( b2 g<DIV id=lrc37 style="COLOR: #000000">若今天的我能回到昨天 </DIV>
5 P6 }. B2 q( o Y y. T<DIV id=lrc38 style="COLOR: #000000">我会向自己妥协 </DIV>$ b& K. S; [, `, R) Q5 c. E
<DIV id=lrc39 style="COLOR: #000000">我在等一分钟 </DIV>, n* V n( t- C% s; v. v( ?6 Z
<DIV id=lrc40 style="COLOR: #000000">或许下一分钟 </DIV>) L& }! ^* i( m7 z/ p
<DIV id=lrc41 style="COLOR: #000000">看到你闪躲的眼 </DIV>
: ]* H& e7 z8 [) k<DIV id=lrc42 style="COLOR: #000000">我不会让伤心的泪挂满你的脸 </DIV>8 W% A1 V# d4 V. U& V
<DIV id=lrc43 style="COLOR: #000000">我在等一分钟 </DIV>; W; U) g& k& _5 X( {% Z# u! J
<DIV id=lrc44 style="COLOR: #000000">或许下一分钟 </DIV>5 X/ D% @2 V$ f4 A2 I2 M c
<DIV id=lrc45 style="COLOR: #000000">能够感觉你也心痛 </DIV>
- ]5 v( x8 K6 u+ E6 I1 ^4 W<DIV id=lrc46 style="COLOR: #000000">那一年我不会让离别成永远 </DIV>; d' I' m" n& x* H* p! E
<DIV id=lrc47 style="COLOR: #000000">我在等一分钟 </DIV>1 S8 }+ `) |) s. _$ R* L1 G' @
<DIV id=lrc48 style="COLOR: #000000">或许下一分钟 </DIV>
$ s9 o e; m" q. n) F: A<DIV id=lrc49 style="COLOR: #000000">看到你不舍的眼 </DIV>2 o5 P X' V! l: w# p- I' p3 J* \
<DIV id=lrc50 style="COLOR: #000000">我会用一个拥抱换取你的转身 </DIV>: ]+ O! G/ O) r7 g+ n0 X8 O5 H
<DIV id=lrc51 style="COLOR: #000000">我在等一分钟 </DIV>
8 f" O- }) D6 T2 T/ b<DIV id=lrc52 style="COLOR: #000000">或许下一分钟 </DIV>
8 |; K8 O5 C8 X/ H<DIV id=lrc53 style="COLOR: #000000">如果你真的也心痛 </DIV># _" [& m2 s( |( n# w$ a
<DIV id=lrc54 style="COLOR: #000000">我会告诉你我的胸膛依旧暖
5 h5 J) i' O: F; b- N. I<DIV id=lrc style="DISPLAY: none"></DIV>3 [1 _# ?& a) ^% X- R' V6 K. l
<SCRIPT type=text/javascript>( i, r; y. X9 w0 c; B' E( t
document.domain="1ting.com";, \' B8 W( c2 Y, l5 e7 H& I b
var colorPasted="#666666";
: i* n% v3 M' e2 X* c, n% [( v: mvar colorPlaying="#ff3300";
" n2 ]) g) O$ b+ j0 jvar colorNormal="#000000";
; b! Y4 W. k2 I5 G- R( v9 u$ = function (a,g){
) a* d3 K1 v1 \& A var o = new Array();
6 e( A0 s: A' B L, P3 F2 ]( z var c = new Array();
, E" P. _( v9 C) {5 ]3 j. h- { var r;
8 N3 ^" I' V! J% M/ ^/ R. u var u;
7 I \4 R( Q3 D Y6 `5 W# S var a = a.split(';');
/ e' L) S* Z# R; x
7 H# p) M5 m. ^5 R1 t var e = "keydowns,resize,load,dblclick,click,mouseout,mouseover,mousemove,mouseup,mousedown,inputchange,inputfocus,inputblur".split(",");4 l! P ?2 ~# } y$ D/ _
for(var i=0;i<e.length;i++){
! y) C! f% c/ ~% c* R/ |3 _, i. Y eval(e<i>+" = function (s){eval($event('on"+e<i>.replace("input","")+"'))}"): x& V% ~& ^0 i) U: a
}
& `) R' J1 ]; x9 d% g* W! Y: x7 r2 Q6 w
after = function (t,d,s){
' T& u- J' B% t# `7 ~% g: a, x $after = function (){
! a- q | O: f var $n=document.createElement(t);
; u; u# z, V0 { if(d!=null){) J+ r) i4 O# C/ g( v
$n.id=d;
- t" e# q" z# r2 j& Y }, o) l0 @. [2 X0 X5 z
$ ]6 m1 U5 D8 ^% S- L: }& H2 Y
u.insertBefore($n,null) / L: x% h8 {' H. V, H, P
r = $n; % O9 ^) n! E* P# v+ D2 W- v5 w
u = $n;
1 y9 J' x- o/ H ^ }+ j7 H! o% n$ Q5 T
$for(s,"$after")
9 U8 Q g1 A4 m; E, _6 l }. J7 l- f% G7 Q
1 F8 k# Y& |: R* s show = function (s){6 e- n% Y+ R8 f5 b* ~4 P
$show = function (){
( |, \% M+ b" f3 g- b4 s u.style.display!="none" ? style("display:none") : style("display:block") ;
0 Q: N8 D7 e [/ h3 r: O P1 n }
# b4 c# W9 H+ }+ x $for(s,"$show"); I4 T5 ^. j8 Y6 ^) R4 e
}
' k: r9 Z0 t- K6 F9 X
( _0 e, `" s6 H4 D. i1 z check = function (t,s){
7 Q5 {: \6 t; @9 E $check = function (){" i I0 K2 ^. `, s5 i7 U% L( w
if(t=="2"){
, k1 ^" k* U" t4 t if(u.checked){, w- x) T: z- F- A- d/ |
u.checked = false;/ o* ]! w( N' q9 w/ I
}else{
+ g- a: B1 }& R8 b u.checked = true;
; u0 Z/ b+ ?% T+ d' S# J% \1 i }
6 Z1 T% i& e, |( m; x3 b& V }else{! Y" X: l# A6 q9 K# B+ \' l$ s
u.checked = t*1 ;
0 X- i( H' q5 o! h- J0 n: m; z1 n }
1 o( O( p, T% J) _' W$ [/ M. T* a }
4 e( [8 [) c1 x/ S& q2 s $for(s,"$check"), V/ \; k* _) J5 k* s8 O+ F! X7 a
}0 m* t* k1 v4 e) U' k0 a
) {' }# u6 v: D- o
style = function (v,s){* i+ }/ z" v; b0 \
$style = function (){
- }$ H5 W, \0 d5 r" A4 r' l0 ] var $n = v.split(",") * t6 W+ `6 g- B, d- A% b
for (var i=0;i<$n.length;i++ ){% r. t/ r8 E( W( D) m
var $m = $n<i>.split(":") 7 `& A$ _7 q$ d" |
eval("u.style."+$m[0]+"='"+$m[1]+"'");
9 q* j( p5 s6 c }
) Q1 r- K4 o& ^9 C+ l& ` }+ o4 V. Q" v2 R9 @5 S# N: T& i
$for(s,"$style")
/ W7 g9 I4 \( a" Q9 m# }" h% ] }/ o' {- q/ v8 Q" J7 _( ]
/ k! F% D, h8 ~. M, w) j7 g1 j value = function (v,s){0 ^% f: H5 k+ ]/ ]3 Z8 P: H9 ?+ c3 K
var $n= $this (v);- ]0 X) n, y: A0 X
$value = function (){
/ Z: M! v! z, d& K( ~3 S' |4 W7 O u.value = $n
% F, o. H" q- ?% P o# J' S r# Y+ C }2 s, d1 O4 o" d
$for(s,"$value") ; c. E9 A5 c* @
}
& R% D& B+ ~# A- m2 d) ?9 a" Y6 m: {* z) r" X: d
text = function (v,s){
) ~$ K% e# q" Y9 F var $n= $this (v);5 ?9 u0 g' W/ F0 `
$text = function (){* W8 D6 [$ C4 R2 G. E2 u) d+ f6 U
* R) \# s. R9 @. `% q u.text = $n
$ h" F8 b* } {) l }
' i- }, ^) H% ^/ p/ x $for(s,"$text")
+ }+ f9 I1 T' R% C }! \& J6 \1 c- J' q% |
# j- [" k" f2 Q9 D
innerhtml = function (v,s){
0 K3 f9 ?: \' q j/ U var $n= $this (v);/ [# d5 _' ~/ ^9 R3 L1 c. ]
$innerhtml = function (){
9 j ?$ U' s0 \/ r. |: C u.innerHTML = $n
1 `$ x0 `9 c. N4 ^" u/ F }
5 A3 V6 P% g+ C, d- U $for(s,"$innerhtml")
" y. \+ ^7 }" I ~1 E! ] }
6 ~) w$ B; s$ @1 b4 @ 9 V* f G1 |4 Z
removechild = function (s){
, i) i+ d4 \) t $removechild = function (){1 |/ X( ^; b' g2 V7 }
u.parentNode.removeChild(u)4 L* d. T7 p v) _6 M" o
}2 Z/ W7 U# p/ d, T" L5 M
$for(s,"$removechild")3 p( X; l+ V F5 c7 K- a: x
}
1 r* H3 ~, n4 `/ @/ t
+ L8 m3 c: v5 x1 P ` $this =function(v){
& V/ r& n g! p0 i if(v.indexOf("this") == 0){
7 J' i; R. \5 m [8 S* H return eval(v.replace("this","u"))
/ h6 y0 E, w7 H4 G5 t) B }
2 D s- c, C$ T% p return v;
7 O) a8 K% `; g) p. j }+ a' k, F( I8 b
# Y! d, m; }) O6 ?; I9 N, D $event = function (s){ E/ K7 h( u+ v( [# e
var $n ="u."+s+" = function(){$work(this,s);}"
# S7 k# [/ v% f+ [7 S/ P* ~8 O return $n;2 S; o: Z3 O% p$ \! Z
}1 d. V7 j3 z0 V
- \1 f. s% t; O$ @& q
$replace = function (s){
, Z9 o% }4 b" L/ J' d
0 v* p7 u$ l% l, {% O; Q9 x! H. U }
3 p3 t/ t. _* ` m' B3 A
; [7 }3 S _3 P4 y$ y8 E% Y+ E% T $for = function (s,c){
( I: b* o7 t2 _ |. G4 e4 H2 c var $n="this."+c+"()" ;
$ a. G: r# ~# n5 W V9 \. ] if(s!=null){* C E; R2 r; i! _' P8 Z, v* I: O
var $m =$test(s);
k h/ y8 }4 |$ h0 f for (var i=0;i<$m.length ;i++ ){
+ Q! T0 j# r7 R" v# \+ O u = $m<i>;
* g7 K7 U6 E" E' f7 s6 H eval($n);: x1 H8 K7 U7 V: n4 O; t
}* @# p4 t) o0 M0 ~
}5 w) w8 o7 i* c( `
else{" K( V- a9 A* u
eval($n);( Z1 P. `1 @/ I _
}
; U- q! J; X, Q9 h# D1 O+ V }
! s6 a4 ?; ^5 P) |5 b6 r& L1 H) b
$ G( l: ?3 g- p A $test = function (a){
" d, m! b$ a7 x var o = new Array();$o(a.split(';'),o);/ }+ k, O8 c, r/ _4 T6 d. y+ d
return o;4 c6 ?5 ^ ?/ ^6 y
}
/ ~2 u6 N6 J' `. ~ J I$ u& U1 }0 d$ \3 B$ A* h% v
$format = function(s){7 | ^) ?. M5 Q' }3 M
while (s.indexOf("'")>0){7 S. e. q, J: |3 t# ?* {' M/ z
s=s.replace("'","\"");
' A/ E: i# j ? }& f& j, j0 L/ f+ \) g
while (s.indexOf("][")>0){% e* T# C( s K& C
s=s.replace("][","','")$ H8 v2 y- J! p" {1 Q* S
}
l9 S9 Y8 u+ ]) h j9 P5 I5 D- t while (s.indexOf("[")>0){
, U3 F# u1 Z- \- r( J1 V. ~9 r s=s.replace("[","'").replace("]","'")
; }) E; o& d3 Q8 ?3 r, ?; h# c0 h) n } 3 t, T- H5 Q1 c) e. _, B, t
return s;6 k& S" t5 s. m j. M6 ?
}5 ?8 |1 n; l4 Q- S& v
) X) p4 {" S: v7 z$ F4 _* w $work = function(w,s){
' G. n: D, `4 X7 p- y% ? u=w;eval(s)
* ]& q; ^0 t5 n/ |- h$ t }
) `' [+ l: N1 z* `6 v2 k X; m8 N+ Y+ o7 Q. e: |# a H0 O/ c# C; ]- A
$id = function (s){
2 N# `) ? v+ R |3 \ return document.getElementById(s);
: |4 X6 L9 F7 E; R6 h0 H8 E }
; K+ x, j r* _) y( }7 O+ }: Z; |3 Q) \6 H( I
$name = function (s){
3 R& Q/ v6 C( R w' s return document.getElementsByName(s);
7 b& m$ c/ `! y5 s }7 K8 O' U: T2 s, J$ f' S2 ^
3 n T; v8 z0 p3 r1 m7 F; ~$ o' L
$tagname = function (s){
6 {/ C5 h- n# b8 f$ e return document.getElementsByTagName(s);. J. ^) |- ~) n5 @0 P
}
/ U( R, V, d* J) i- G/ ~$ ]) r, r; ]6 ]) W1 i, w, g
$o = function (a,o,c){& Y+ @! H( `5 E
$push = function (n) {
3 e4 `; B8 U( x for (var i=0;i< n.length;i++ ){. ?# d3 w( O/ Q% t" l: p+ h+ ~6 V
o.push(n<i>);- d" p8 F v# B6 Z f) x. y# B! F
} ) k" x0 T: J) ?" R* p5 A5 P+ _
}
# N6 G8 S& y; J0 O: @: l& y; W for(var i=0;i<a.length;i++){4 h) F1 A& c1 U5 D9 r6 U
if(a<i>.indexOf("(") >= 0){0 h. t, V7 j% X6 P6 U
c.push(a<i>);
! @; B) m6 C: \2 c8 |# I) k5 N }
$ T- n/ r& P3 R9 `$ `& k, i if(a<i>.indexOf("~") > 0){: O( P; m* F+ P* B
try {# ~) }( W" L( ^7 P3 G
$push(eval(a<i>.replace("#","document.getElementById('").replace(" ~ @","').getElementsByTagName('")+"')"));1 m$ t4 P1 a8 y8 }/ y- O, o- q
}catch(e)
7 ^) y d" S3 ~2 H5 m/ o' Z+ | {} . B- l" D, G. k
}. k2 U2 o. V, D2 |! G/ P+ [
else{1 ]& C, J% C7 b
if(a<i>.indexOf("#")==0){1 T- s( |% I" x* W, ?3 _/ E
o.push($id(a<i>.replace("#","")));3 Z, x _/ d' ^, a
}
% b; Q- C. r+ J" }5 Z if(a<i>.indexOf(".")==0){
: [3 r N+ X/ e5 @+ B+ t: X9 F9 N $push($name(a<i>.replace(".","")));4 l4 K* j; d% E. f: [0 S
}
6 t9 B3 B% B" t, A3 ] g if(a<i>.indexOf("@")==0 ){$ o. U9 O: H. u$ k8 c" s& C
$push($tagname(a<i>.replace("@","")));3 @8 T J+ W& X7 Q! e
}$ `9 S7 w- n. c/ T
if(a<i>.indexOf("*")==0){
# e5 ~, B4 \' J' Y8 [( \+ E+ G $p= a<i>;1 [$ g; c% R3 A7 I" k) _
if($p.indexOf(".")< 0){ n u0 ~' y+ q; o
$p = $p.replace("parent","parentNode")
1 t% }* v: g) N# F: L }
1 K( o7 d+ T1 i6 h1 Y9 Z+ r7 O var $p ="u."+$p.replace("*","");
5 w5 ~2 W5 L! `$ |2 B3 b while ($p.indexOf("parent.")> 0){
0 e# {) Z8 o& G1 {5 u $p = $p.replace("parent.","parentNode.")
0 {) I% m v0 K; I; |5 r% i$ l }
# U( k' z5 z* Z; H' I while ($p.indexOf("child{")> 0){' e4 ?/ s8 j3 U p8 }& ?
$p = $p.replace("child{","childNodes[").replace("}","]")* [4 ^2 K7 ^% L, s
}) M; f" j1 D, S( w* n
o.push(eval($p));
7 I& I) f+ w) ]' P' o% l+ a }
, w# ~' ?8 K9 @0 t& O if(a<i>.indexOf("document")==0 || a<i>.indexOf("window")==0){$ ` [, u" b2 V" T/ O2 {+ \
o.push(eval(a<i>));
- t$ r. a# X2 U7 U }0 P+ j7 N& r4 ?. B; _
}
6 q% X3 Y5 J9 k! N/ y5 P" S if(g!=null){ 5 S3 }# F: S' ?9 l9 f3 H5 ?. n
o.push(g);g=null
; c) G9 d5 d7 ]4 f, ?/ W } 9 C9 p1 Z; \# ^2 t0 T
}8 n, a3 L; P* y* {" v, r
}1 r: g/ L, U) C; s
$ I$ W! r; R4 c/ h# z% Z
$o(a,o,c);
7 T* V6 K( b$ |: w3 w, a2 o( [5 m4 t: M8 |
for(var i = 0;i<o.length;i++){: |7 @8 } i: D) L
for(var j=0;j<c.length;j++){
3 q( d& Y( t8 d* H1 k: `, { u = o<i>;eval($format(c[j]));
7 X/ ~- Z Q! |5 J7 S }. I) w% j( c' \% M" v/ M! N
}: z" B. y- U" v/ r" e1 |
5 x" Y) r a; d( w- d* L/ h( L if(o.length == 0){
) M3 G$ q: M7 O A for(var i=0;i<c.length;i++){
' h; G( x/ P! i4 l, O eval($format(c<i>));# g1 U! ^/ J7 ^3 x s- B
}
: E+ W2 M2 Y" t' F }
4 R& @; _. b2 @- G $ Q1 x4 T+ o$ s2 J( V/ i
if(r!=null){
+ ^& | K7 F* X2 o$ {5 ^8 a return r;
/ B' q1 {) R, f8 ? } F& Z. d; \! w# W4 g: g
# ]/ y8 \# M+ [3 ^) l if(o.length==1){
; z e2 U# N5 }: d, }& S; j return o[0];
( A4 A) d* O( Y9 I- H( ] }9 B' u* m% }2 x8 ~
else{ W8 Q5 d( w- N! P# n8 ?
return o& y) M+ ~ w) y# `: n/ I' P7 J3 ], @: l
}
/ m$ v, _7 K( r: o+ E9 O7 g9 { 1 T( f5 n* n; B; V1 E5 s! {) N
}8 r' m; z( \2 c( F
var lrc =$("#lrc;show()").innerHTML.split("[");
/ \5 f" a6 t2 M7 eif(lrc.length>5){1 c0 e( \# x* [4 d. b6 y$ {/ e
var array = new Array();( B% Q ]: j5 \ Z* V
for (var i=0;i<lrc.length ;i++ )
* @; }6 D6 L- [) Q3 G ~- {{
3 x+ C/ ~ y+ Q* R3 e$ k% t var g = new Object();: s2 X$ `/ ?! I
t= lrc<i>.split("]");1 ^9 T& V$ U! h, _% W) g7 R2 ~+ G
g.time = getTime(t[0]);
1 D3 y8 Y9 T" a if(isNaN(g.time))3 f" k9 ^( J. {9 u9 d0 h- A
continue;
$ z2 x, ?. E( Y, r8 E g.c = t[1];
8 v" w3 o. }. l1 U( d. U. [+ h( l if(g.c == ""). l! C8 m2 }2 C) @5 P- Y
g.c = getNext(i);
8 w3 w$ f: H. U+ ^. n; i array.push(g);! I+ R1 Y# }! |$ p- \0 t
}
0 I5 }' U2 d& Y d* d# Y/ Y1 G9 rarray.sort(function(x, y) {8 ?! }" a; c6 ]& q* U. z7 H
if (x.time>y.time) 7 P# `( {- l5 b3 d2 q9 U
return 1;8 c( J# \# z7 s; s# P- q
else if(x.time<y.time)
9 x4 Y1 q7 _& \& R4 G return -1;: V( v5 |, Y5 H- [: k. P* S
else2 c" f8 q0 ]% }$ ~2 N
return 0;1 F7 [; z! C" T T6 _1 o# t, s# w7 f
}
7 t# ~/ g. g0 |8 a);
) }) a8 O+ I- D' m; B( X9 Rfor(var i = 0;i<array.length;i++)& R2 w w7 U% h3 H# C
{2 X4 G! \, C' Q/ Q& T& }
var g = array<i>;! k9 I8 f6 h3 I* K7 P
if(!g.c){/ ]( z9 R1 j: O. e( n9 ]9 a
g.c="";- d+ Y. q1 d$ e5 f$ z! A
} j$ `1 x% o' m1 h2 W7 y
$("#list").innerHTML+="<div id=lrc"+i+">"+g.c+"</div>";
! T: I& ~" C4 K/ A}$ n+ C* W! z* p
var time = setInterval("lrcList()",500);
1 I6 e4 L5 G& b}else{
6 c) p+ J' m1 y0 O- ` $("#list").innerHTML=$("#lrc").innerHTML;$ v* d1 W3 g- ]
}
?1 I7 v2 E6 c* F* g( O3 ?, O8 Yfunction getNext(i)( i- |1 Z0 ^5 w! Y$ n! n" ?7 @
{. h) K8 K# r( [7 L5 M
var result = "";
7 r! q2 @9 L: c# ~# ^ var i = i+1;& y/ Y2 N3 Q5 A; M- u0 }
t = lrc<i>.split("]");& l: s7 s( g- n5 a5 b
if(t[1]=="") ?: {4 |3 Z/ o3 E5 ^/ _2 A8 q
result = getNext(i);4 {! v% z; p- I- O. O. w2 k
else. _; ~9 T0 `! D4 L2 O
result = t[1]
4 n* n7 Z' ?7 Q8 S1 C/ a- p return result;
2 g1 H% B( y# }- s}
0 A" E# B! d" ~$ K- E. H/ K
+ a7 m4 ~' e1 k% l" |function getTime(str)
^% O" F. q) P{3 ~$ a E* ?" ^0 S0 x, M
var time =0;
. \) p4 ]- M# W+ ?( Z var ta = str.split(":");
' x* |, ^) ]; B1 b' P if(ta.length<2)$ m- _9 E" [! @" u4 U- @) Z! ^
return time;
# c. Z% @! Q, @. p& ~4 B/ Y! J; N
0 Z9 l7 _$ ], V( C8 f. ] if(ta[1].indexOf(".")>0){
6 O9 `- ~" K, T: r# C6 a. L var tb = ta[1].split(".");8 n) m8 Q1 ^# Q
time = ta[0]*60*1000+tb[0]*1000+tb[1]*10;; e* {- x$ O9 |1 r: u; o
}: s' Z9 m$ w; z
else
* B7 y$ _) e6 n3 b time =ta[0]*60*1000+ta[1]*1000;" G9 h4 E8 K" e" t4 n
return time;
7 u' E; `9 w/ Q. v% }3 N4 i8 c. a}$ Q$ U* \+ p( d
var preTime = 0;: k- d+ n+ t z: l
var nextTime = 0;
5 U0 H1 ~) u% L% Q& ]var currIndex =0;
$ m( g7 Z, L. @& j$ ~* @& tfunction lrcList(){2 f5 Q4 d4 J, p$ I3 a
var s = parent.document.getElementById("MediaPlayer").controls.currentPosition; y: }6 U- U' Z; W3 A! h$ z) R
s = s*1000;9 A) m" u1 U6 U1 A
if(s==0){
9 ? n; t" M2 d3 C currIndex =0;) ^. l7 U8 l9 S2 k$ `; s. q$ J {
$("#list").scrollTop = $("#lrc"+currIndex).offsetTop-30;
9 D/ N4 `% d' Y for(var i=0;i<array.length;i++){9 \8 S9 K4 N+ y$ D
document.getElementById("lrc"+i).style.color=colorNormal;5 `1 X& a: L% W P
} W7 f1 c3 t" B) ^2 s9 U$ i6 ?
return;4 Y: D8 X, |5 v9 Z5 z, a
}# f0 N8 {9 o' B0 n7 s
if(s>0&&currIndex<array.length-1)$ ^5 u5 y ^% r# C$ c5 R$ }
{ ; O/ o* `5 q" y! I- i, a% Z
preTime = array[currIndex].time;
* u# Y( a6 B& v 0 c. m2 J$ B9 d# q) A6 Y( [" Q
nextTime = array[currIndex+1].time;
! r8 m4 C; n: B C$ n" v) p) I6 [) Y: P
if(s>=preTime&&s<nextTime){
1 a3 p3 S$ T) Z0 D }
& r* l* y0 ~0 [" F1 w0 V; k else if(s>=nextTime)0 S# a/ a% s6 B/ F+ d9 s% I7 {( ] a& o
{6 T5 M+ P3 N0 V. R
document.getElementById("lrc"+currIndex).style.color=colorPasted;
- I/ g) A% ?: {1 c& S3 ~( e currIndex++;
/ p( l6 U$ C" u7 C; G) z $("#list").scrollTop = $("#lrc"+currIndex).offsetTop-30;
) r- s3 a$ v; M document.getElementById("lrc"+currIndex).style.color=colorPlaying;
% G8 X" x- j! p$ ]1 o! P# ~ lrcList();2 \; |# _# D6 s( d
}
' [& k) V# V" ]/ @ else{
. a7 N4 t# T3 k8 j document.getElementById("lrc"+currIndex).style.color=colorNormal;
) b3 o/ M" B# l currIndex--;4 J/ O+ N% F6 E$ w: {1 x
$("#list").scrollTop = $("#lrc"+currIndex).offsetTop-30;
8 ]. J' g+ M ]9 U3 d- {: I document.getElementById("lrc"+currIndex).style.color=colorPlaying;
! E4 p+ Y- f2 z1 D lrcList();
3 f4 R1 x% C) p" Q2 c! ^+ k } 7 m" {9 d; h" c% q! d
}
; [6 O S! m+ Y$ \$ s else
3 T* ]9 Q: l- m$ \ {8 p$ x4 X+ G* e% g4 ?. s
if(s<array[array.length-1].time){
1 E8 A7 M) Q2 I( S currIndex = 0;/ w# f' t8 _( N. l2 T
$("#list").scrollTop = $("#lrc"+currIndex).offsetTop-30;5 j7 \# e+ h* s; \* a& H
for(var i=0;i<array.length;i++){
& V- E1 ]: d- s' n9 f5 G- f document.getElementById("lrc"+i).style.color=colorNormal;- i( _7 |2 p' @9 j* x$ a
}
" P5 o& X+ Q$ f; p& F lrcList();0 `) J# Z1 s3 X* W2 v J
}
0 O) ?8 h$ p0 F+ _8 ]) k }
- k4 \7 l: ~6 D8 B}
8 B% u( u( M8 [</SCRIPT>
; b. o- p+ J% v# r4 Y. o* h</DIV></DIV>6 g6 Z( w4 Z! H
! C0 g" x9 z- m4 x
[ 本帖最后由 幽谷兰 于 2008-9-18 17:36 编辑 ] |
|