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