|
|
<DIV id=list>* x! `4 l. Q* f' v9 p5 v. @9 w
<DIV id=lrc1 style="COLOR: #666666">[wmv=0] http://lzbj.ncedu.net.cn/uploadfile/20083923248279.mp3[/wmv] </DIV>
& X- [5 E( w, o4 \<DIV style="COLOR: #666666">|等一分钟|听到这首歌,觉得它很动听,旋律很优美,很是喜欢,传上来给大家听听。</DIV>+ Q' e5 G2 m% A/ `2 U
<DIV id=lrc2 style="COLOR: #666666">词曲唱:徐誉滕</DIV>' q4 p5 E4 [. h, j5 y! C
<DIV id=lrc3 style="COLOR: #666666"></DIV>9 P( J' y, _1 A# m/ [0 n
<DIV id=lrc5 style="COLOR: #666666">如果时间 </DIV>( o( s1 D, D' `( v# L h2 [6 B
<DIV id=lrc6 style="COLOR: #666666">忘记了转 </DIV>- j, C' N/ }$ ^6 r+ p% j- y
<DIV id=lrc7 style="COLOR: #666666">忘了带走什么 </DIV>
1 ]6 q" V* Z( I( u! d<DIV id=lrc8 style="COLOR: #666666">你会不会 </DIV>
$ e( `6 k7 H" I7 ?' C* e, S$ ~- R9 K<DIV id=lrc9 style="COLOR: #666666">至今停在说爱我的那天 </DIV>: `, H# M! }1 Z" x i3 i2 v
<DIV id=lrc10 style="COLOR: #666666">然后在世界的一个角 </DIV>
! G& p% l7 K% q8 K- f<DIV id=lrc11 style="COLOR: #666666">有了一个我们的家 </DIV>, X- d8 J) j( E* @, s
<DIV id=lrc12 style="COLOR: #666666">你说我的胸膛会让你感到暖 </DIV>
9 F/ p% \1 U) \( i<DIV id=lrc13 style="COLOR: #666666">如果生命 </DIV>
( ~/ H9 @/ \: i! \' e<DIV id=lrc14 style="COLOR: #666666">没有遗憾 </DIV>- \6 }! m* i1 B5 W- K+ e
<DIV id=lrc15 style="COLOR: #666666">没有波澜 </DIV>
' J( `, j' e( {: p L- ?<DIV id=lrc16 style="COLOR: #666666">你会不会 </DIV>) t# h" S* g, ?# \4 O3 b2 i: M; Z. l
<DIV id=lrc17 style="COLOR: #666666">永远没有说再见的一天 </DIV>
3 Y8 s9 h3 \- t! J( m5 ?9 b<DIV id=lrc18 style="COLOR: #666666">可能年少的心太柔软 </DIV>
5 N2 L! w+ i% x7 U<DIV id=lrc19 style="COLOR: #666666">经不起风经不起浪 </DIV>
. F8 t8 A$ |: @" Y- a<DIV id=lrc20 style="COLOR: #666666">若今天的我能回到昨天 </DIV>
7 P( `3 ~3 A- a<DIV id=lrc21 style="COLOR: #666666">我会向自己妥协 </DIV>7 X+ |& `# |7 h i" z
<DIV id=lrc22 style="COLOR: #666666">我在等一分钟 </DIV>
2 ` ]0 y4 b- r) P<DIV id=lrc23 style="COLOR: #666666">或许下一分钟 </DIV>2 @4 q6 J% X5 I: k
<DIV id=lrc24 style="COLOR: #666666">看到你闪躲的眼 </DIV>0 A3 A. t" }' a
<DIV id=lrc25 style="COLOR: #ff3300">我不会让伤心的泪挂满你的脸 </DIV>: j7 Y& k# Y* n ?( j# f1 o7 J
<DIV id=lrc26 style="COLOR: #000000">我在等一分钟 </DIV>
0 L. d# [6 O0 ]( g<DIV id=lrc27 style="COLOR: #000000">或许下一分钟 </DIV>
" y V4 g/ Z% R' ~: N$ ~<DIV id=lrc28 style="COLOR: #000000">能够感觉你也心痛 </DIV>
/ J3 u2 s3 h5 L: f" O<DIV id=lrc29 style="COLOR: #000000">那一年我不会让离别成永远 </DIV>, z& Z/ }# t/ g$ w2 E; ^3 ]
<DIV id=lrc30 style="COLOR: #000000">如果生命 </DIV>7 M/ {% H2 p$ ~' g/ V1 b* \
<DIV id=lrc31 style="COLOR: #000000">没有遗憾 </DIV>
& a" _- L) W9 ^! j" t n: D4 U<DIV id=lrc32 style="COLOR: #000000">没有波澜 </DIV>
! ?) N$ u" W, Z- Z$ [& N. w1 \<DIV id=lrc33 style="COLOR: #000000">你会不会 </DIV> H( Q4 E+ d* z0 }
<DIV id=lrc34 style="COLOR: #000000">永远没有说再见的一天 </DIV>3 ]; j- Y8 p( u/ ^8 W/ E
<DIV id=lrc35 style="COLOR: #000000">可能年少的心太柔软 </DIV>7 ~$ G6 V8 [7 ~) ?' |
<DIV id=lrc36 style="COLOR: #000000">经不起风经不起浪 </DIV>
' T( r- q# v5 [! g! s<DIV id=lrc37 style="COLOR: #000000">若今天的我能回到昨天 </DIV>8 K9 j9 O6 `5 Y) j6 t" U3 }
<DIV id=lrc38 style="COLOR: #000000">我会向自己妥协 </DIV>/ a$ L9 R" X# ?3 m4 ]. l; l7 h+ j
<DIV id=lrc39 style="COLOR: #000000">我在等一分钟 </DIV># Y y J# [& R6 A8 F
<DIV id=lrc40 style="COLOR: #000000">或许下一分钟 </DIV>! X/ |0 m- F4 T) Z
<DIV id=lrc41 style="COLOR: #000000">看到你闪躲的眼 </DIV>
0 H! h1 p9 h* t<DIV id=lrc42 style="COLOR: #000000">我不会让伤心的泪挂满你的脸 </DIV>
) N' d& P8 ~6 {<DIV id=lrc43 style="COLOR: #000000">我在等一分钟 </DIV>5 F9 ?2 Z% q' ?, Z- Z
<DIV id=lrc44 style="COLOR: #000000">或许下一分钟 </DIV>
5 M* [; M; k* T: R7 G4 i) j<DIV id=lrc45 style="COLOR: #000000">能够感觉你也心痛 </DIV>
8 F" P7 {( f, G& O9 }2 V<DIV id=lrc46 style="COLOR: #000000">那一年我不会让离别成永远 </DIV>
( F. R* g6 M2 ~7 I+ C f<DIV id=lrc47 style="COLOR: #000000">我在等一分钟 </DIV>! m8 \- J6 K: v+ f1 m+ N. Q
<DIV id=lrc48 style="COLOR: #000000">或许下一分钟 </DIV>
" @; v$ b2 M7 z- [<DIV id=lrc49 style="COLOR: #000000">看到你不舍的眼 </DIV>
R6 I1 V4 ?/ ?$ s- L/ z; ?<DIV id=lrc50 style="COLOR: #000000">我会用一个拥抱换取你的转身 </DIV>" T5 N \3 A% S+ G% Y
<DIV id=lrc51 style="COLOR: #000000">我在等一分钟 </DIV>5 y B- y: [, ?$ L0 \! G2 M! s
<DIV id=lrc52 style="COLOR: #000000">或许下一分钟 </DIV>
/ s; b! s7 i+ ^$ |- c6 F<DIV id=lrc53 style="COLOR: #000000">如果你真的也心痛 </DIV>
! Z3 j' g3 {7 _; j! T: M<DIV id=lrc54 style="COLOR: #000000">我会告诉你我的胸膛依旧暖 ( p- i, Z9 ?9 P/ I! t! V5 X
<DIV id=lrc style="DISPLAY: none"></DIV>
% Q4 J9 _! d- ?7 k. M( y<SCRIPT type=text/javascript>
`1 K5 R0 J( o; `document.domain="1ting.com";
, Y; C1 ?5 u6 w9 Q0 h6 l( uvar colorPasted="#666666";
0 k7 Z$ B! m# x% vvar colorPlaying="#ff3300";# T( Q6 L/ B# y2 B; d
var colorNormal="#000000";( T+ B5 J4 L) B8 j* r' B+ N
$ = function (a,g){* ?+ J. X! O4 ^: t3 d, c
var o = new Array();
. j: F) D- `% U/ g$ l var c = new Array();
8 c ~6 i# D& U2 R8 U/ R/ f. T var r;
) o- f& _0 {9 A5 _6 R: {) G6 Y var u; 0 W2 c' b" W$ O/ `4 S7 l' \
var a = a.split(';');
/ X* b) x0 U# b% p; S
$ d* Y9 F( \5 P0 |9 E% q var e = "keydowns,resize,load,dblclick,click,mouseout,mouseover,mousemove,mouseup,mousedown,inputchange,inputfocus,inputblur".split(",");, n, v) S9 G& c
for(var i=0;i<e.length;i++){
5 m3 W( r. y. |& K eval(e<i>+" = function (s){eval($event('on"+e<i>.replace("input","")+"'))}")
" B7 A. D8 K) Q- g- K5 s4 p }
! {7 V% T7 x( b" L* M4 \; d7 a# K# s" M6 U
after = function (t,d,s){* Q% a- _3 e" q& ?
$after = function (){/ Q9 {: O; S% o+ s2 T+ t
var $n=document.createElement(t);: o4 u9 ], v( n# u
if(d!=null){
& a! p# R( @2 Q" _! P $n.id=d; 4 S" r( z2 v: C6 L3 s2 H9 x
} S, Q9 e! F. A t p- o
$ h+ }* X$ _/ ~& f. b9 J
u.insertBefore($n,null)
! n( S4 \0 _- a" l/ b* T r = $n; ' M7 _6 F* B; R5 J6 u s, a
u = $n;
0 q$ |% U4 h- v }7 k$ M; g0 Z4 P6 y
$for(s,"$after")
O; {5 N7 U1 n# ]: h2 T }* D2 H ]' R7 U( P5 K0 A6 x2 U
# O4 g% I5 {" P$ L) ?6 V$ ~) v
show = function (s){
4 ^% n1 E1 \9 `( J $show = function (){
. n% [. I# x3 @2 f! ?$ e& q. L u.style.display!="none" ? style("display:none") : style("display:block") ;
" r0 U1 z3 s9 ?4 T2 t" w$ m3 l }
; u" o2 S3 c( W $for(s,"$show")! P: P* Z0 S+ V. L8 o6 B) n
}
& q5 X; s m! N5 ^" n5 O! Q- O; \0 J1 b
* t$ V/ E7 @( V/ `" U% m check = function (t,s){2 _ S( Z7 |& K0 Q2 {$ n2 h
$check = function (){
0 H4 F/ o9 h$ ^ if(t=="2"){7 m2 p8 c5 [/ j) Y2 I5 _
if(u.checked){
4 U* n) z6 G7 c" n+ Q# a5 y u.checked = false;1 S7 e" L4 g# ?/ X) x( V
}else{
0 K: m' e" N, T# }7 S u.checked = true;
* `5 W9 {! {, z2 O }
4 g3 ]+ T+ E1 W! M+ B% N: Q }else{+ f! F% f7 Y9 Q, H
u.checked = t*1 ;
" D5 |$ \' I4 d$ M4 {7 j( B% Z } O, N5 _$ T3 g$ Z7 X
}
$ b/ B$ [: o* J5 `0 g. n8 C $for(s,"$check"); T. Q5 {& K- k7 ]
}
7 h& M* g4 u) F& m3 c9 Q) e7 q
3 B, _3 B- a& P; m: X5 T style = function (v,s){
7 e0 B+ P0 R: S0 F $style = function (){
- H' h+ {: R: a7 V4 s& ~( B1 A; | var $n = v.split(",")
* ^# `. u! E8 Q, S1 n0 a for (var i=0;i<$n.length;i++ ){, y8 `2 i; {( e! p i, [
var $m = $n<i>.split(":") 1 m4 O4 O l5 {7 |+ H1 o9 v
eval("u.style."+$m[0]+"='"+$m[1]+"'");$ p* ] q- V8 p0 ]; v9 V. N
}
& ]5 }: \* z5 [3 ] M5 _1 l }
6 Z z$ V6 d* _. }' @3 E9 T# U$ Z $for(s,"$style")$ ]* T' T8 K6 h4 o
}
1 B$ ^$ j# a& c* ~7 ^5 m$ M7 ]* R& _; @, N- s' @; p4 h
value = function (v,s){( ^- w& p! A' k
var $n= $this (v);
: `/ e* k( B' ?$ V5 t $value = function (){
( Y2 V. \5 q3 D2 o7 ^ u.value = $n6 y5 F( p' r8 c1 W* U9 a: ]2 c+ f
}
/ k, y6 Q% K3 } $for(s,"$value")
$ \, L! E; x T8 E }
. B1 Z( b2 u; n% {, m& N
& q0 K. g( y3 y; W, a; T text = function (v,s){# v3 F/ b z, T! d- z. U
var $n= $this (v);
: ^5 u E; ^* P1 N7 b: ? $text = function (){8 B5 \% M/ J. G4 y
4 Y) |: Z9 h1 Q9 h u.text = $n
: a9 b* ^ P- k' D }
* }2 d1 a1 O, ?' o $for(s,"$text") ( k6 l; m% Y$ Z
}/ D% j$ T$ N* l: D
1 g' S/ M- x0 H9 M+ `% M; _3 l7 s innerhtml = function (v,s){
+ b0 X4 [) D/ U4 g# v' |5 h var $n= $this (v);! | ]4 r* e p. c$ n* C
$innerhtml = function (){
2 p; S7 `) e' E' A' Q u.innerHTML = $n; A# X5 n$ @0 r% Y6 K# @' D1 X
}
8 N9 g7 w1 i, N $for(s,"$innerhtml")
5 k8 I( s. X! v }: B: X* P1 b3 W9 m
+ Y `4 c, T" P( G( Y2 q4 c) ] removechild = function (s){
" i4 O* p9 q5 z; N! E- d9 | $removechild = function (){
; E' `* k! K [. ~ u.parentNode.removeChild(u)
5 U: m; m. d6 g( p' o* p }
$ O3 [) {& ?; W; I/ ?5 ~/ M $for(s,"$removechild")
5 q- N- F1 F. ]$ x }1 c$ k% b$ A/ f) u. T9 J6 B
3 Z! ]$ D( A! h! d+ L5 \4 i, O. p $this =function(v){( P1 r8 Q/ b" `# u9 d" @) E
if(v.indexOf("this") == 0){
5 H1 s. s9 N$ |% L) z return eval(v.replace("this","u"))
/ I2 A `& V. h+ x }
! ?. c1 r+ g7 r$ J return v;/ C0 x9 i5 y& W! u. `3 ^$ a
}& V$ I4 j% y% U% {' j) ?
% u" `- C) k) t8 m' q $event = function (s){
( s9 G F5 b8 N. W var $n ="u."+s+" = function(){$work(this,s);}"
: b% w* g2 ]& `3 \6 } return $n;5 Y$ b5 a+ Z0 r) D6 i/ p
}
' Z2 P* Z% a4 z: s9 Y" E1 D9 U* `! I; ^
- H2 F& d6 D% V9 S& x $replace = function (s){7 M+ @2 J! A% [7 ?* W
* Q% Z: w$ E4 k' H5 e. x
}7 B/ Y8 _4 Z! D/ [0 l! D
6 \! t: X5 y9 U1 S! a; O
$for = function (s,c){3 \6 [: W& x6 O8 G5 \
var $n="this."+c+"()" ;
" P# W5 D& v3 F4 v: s7 c+ \ if(s!=null){/ M* `" U5 F& [3 H3 Y% J6 P
var $m =$test(s);
$ u! W$ t2 x( h5 s# Q$ W- u* N for (var i=0;i<$m.length ;i++ ){4 s5 Y2 o. b% k$ a8 N" s) J
u = $m<i>;0 c) M. G! n+ C% g2 R' {" K/ S5 @
eval($n);& B% I- j z/ q, {
}
& n3 g& d" \! r }' p8 v+ z3 S2 y$ U. x* R* ^% C( n
else{
) J) j+ W7 S4 T$ c- E" B eval($n);
- [- X. k, U; Z- F$ \ }2 M0 B8 T8 X* K0 I
}# ] A7 y% C4 ]: f
9 I$ E1 H" F# o/ J $test = function (a){
. g" P& t# O' p% a2 T) ? var o = new Array();$o(a.split(';'),o);- T' S; T! d$ j4 `7 J
return o;1 ^- x* l9 f; U
}
; f8 o$ X g7 f$ E
+ m2 G* c( Y1 o" h" ? $format = function(s){
' O" t2 }# A6 t while (s.indexOf("'")>0){
+ H+ ?; c7 Y: Y6 L1 C, S" N- I8 k s=s.replace("'","\"");
\8 D/ k. B, t6 v/ k }
/ v1 Z; h. H+ f9 n% K3 D; ~ while (s.indexOf("][")>0){# |" }" q7 Q( D2 ?. w, L
s=s.replace("][","','")
! U7 {, F- r8 K, x }
0 t1 b! G- x% m5 R4 } m4 Q0 T while (s.indexOf("[")>0){% S' k+ j5 x1 n" t7 Q+ H
s=s.replace("[","'").replace("]","'")
/ w& \# _+ m( {8 S5 S }
( d7 f8 w$ j; r- S d: X return s;
/ B& }, b& N/ i6 x) N% f }
- a5 e* d9 b9 e0 Q3 Z# J1 Q1 T6 ], M- l) n3 y: {1 O
$work = function(w,s){
4 ?7 f. i+ H$ x! f" a6 l u=w;eval(s)
6 F4 T! `. b8 \) v; ] }- w6 Z6 Z5 X" X! A
( _) Z3 P. `$ X+ i3 f
$id = function (s){0 m& G' L& S6 I. B* K. ^; n
return document.getElementById(s);% o; f0 p) f8 E/ W: h' v) ~
}
, L: i( G8 W# i5 E" r# I0 f( G9 f9 U9 U; k0 c
$name = function (s){
: M( j) T4 Y' x( Z3 } return document.getElementsByName(s);
8 P; }7 K7 V* t4 K }
! f; X) l% u7 A
" I/ a/ S7 ]8 w$ U- l3 D $tagname = function (s){
! N: q2 y/ I4 `& {9 @$ E return document.getElementsByTagName(s);
+ }7 B; H$ ^( ?' ~8 f' t }
7 i* z9 f L0 h/ F. E/ b! _3 q: d+ N" g
$o = function (a,o,c){
! Z k* ]( s6 o; j0 H6 h; M $push = function (n) {' G6 D$ u; a7 K; O8 P5 L* y
for (var i=0;i< n.length;i++ ){
( ?# `, y5 b8 `! s( L+ Z+ j o.push(n<i>);
+ G y6 q8 X; H! y3 H* G s } 5 \" o" k! b) r# R) p
}/ d( | A9 J7 q
for(var i=0;i<a.length;i++){! Q# f8 d/ v3 t! e% U
if(a<i>.indexOf("(") >= 0){9 o# `- ]( A$ Z- D6 F7 n
c.push(a<i>);
$ G6 V" d- _& j }
# |2 V5 D; {0 Y B5 w if(a<i>.indexOf("~") > 0){7 n2 f. n; n f# C# {
try {
$ C" k& V1 h0 g p2 u" ] $push(eval(a<i>.replace("#","document.getElementById('").replace(" ~ @","').getElementsByTagName('")+"')"));, J! c8 p+ N3 L9 F$ p+ ~
}catch(e)# ]$ y) U' I+ B1 u5 I; ^1 |2 o
{} & z( L; X3 V3 j I+ H- c
}' a M" W }# P/ g- S
else{
$ T' c6 b; n" o% ], a* Z4 T6 @. o: `" Q if(a<i>.indexOf("#")==0){
% h; _: a6 E) Y o.push($id(a<i>.replace("#","")));; {* \9 F2 a9 H' d' P# s) B# Z' u
}
" N! B9 y T% W% a; P if(a<i>.indexOf(".")==0){
; k% @& p* w0 P- c" R! s $push($name(a<i>.replace(".","")));
3 ~/ K/ S; E8 Q t) L }
+ }/ z3 z4 ]' g$ B1 L/ w7 s4 {; O$ Y if(a<i>.indexOf("@")==0 ){8 Q' \' R. ]3 z$ D" c6 v8 `
$push($tagname(a<i>.replace("@","")));
/ I% _' [$ d! Y6 Y" ?' X0 W* ? }+ S2 s5 Q9 V$ a5 {' f4 s4 }* b
if(a<i>.indexOf("*")==0){
' o# `6 g4 ?: L $p= a<i>;
& d6 T4 K2 R9 Y2 e9 I: Y0 p. R2 Q if($p.indexOf(".")< 0){( g. L4 f' I) o# S1 O4 g) N" G* I5 K
$p = $p.replace("parent","parentNode")# y$ J+ u6 i, ?8 x& a: b4 r. U" I
}
, y& d; p9 M. ^ y2 v3 ? var $p ="u."+$p.replace("*","");
) L& Z8 l( o$ ] while ($p.indexOf("parent.")> 0){
& C4 R% a! {4 ]( A0 j+ C! U $p = $p.replace("parent.","parentNode."): c6 [! L7 Y! e7 j* @* G
}9 t" A( a: P9 r, X; M( Z# z
while ($p.indexOf("child{")> 0){
! q6 ? m! v: G $p = $p.replace("child{","childNodes[").replace("}","]")
3 ^+ A6 J1 i. f7 k7 q }4 S6 ?$ @9 Q8 m9 t3 Z, r
o.push(eval($p));
& b9 ^/ C% t" B( r+ }9 y9 k }
' R4 k' B: u0 H& N if(a<i>.indexOf("document")==0 || a<i>.indexOf("window")==0){( ]& n/ ?# B0 d2 q9 ?# r0 Q# `4 H0 F
o.push(eval(a<i>));
' E; K& {# v4 [( ^" Y* e* s }+ m9 c5 t" n& e) Q+ t* u
}9 b; |. a7 @( r/ I
if(g!=null){
, S& }- j5 r v+ e o.push(g);g=null
% J( {' k p! H" W }
0 D c" B6 I8 K+ R- a }- M* N/ A+ ]( i. l6 a6 b5 ]
}5 ?: I. S0 a7 Z$ Y6 C/ `5 r
/ m) F6 b5 x. C9 K& o+ a $o(a,o,c);9 _( t8 Q5 I+ K9 ]5 K" P# `4 G
6 Z3 X, x3 A& E' ?( P) o for(var i = 0;i<o.length;i++){8 ]: t8 t$ A4 e# f% |
for(var j=0;j<c.length;j++){
# ^1 H5 o" D$ f& L u = o<i>;eval($format(c[j]));
8 v* O6 v% r0 x4 o; q }6 J* m7 c. Q7 x- H+ L$ ^2 Z' g; X# S! [7 p
}
) H; n8 w, v2 f+ T0 t# M% L9 r1 F) c7 X4 C
if(o.length == 0){
" H$ r! ~3 f1 I/ q3 } for(var i=0;i<c.length;i++){$ q4 s# n/ x3 q r4 z% Q
eval($format(c<i>));
1 n! |1 A$ |+ ]/ f+ k8 a/ P }
. X+ f- U! l5 f& G& Z4 z }
. `! S5 H8 \& {. ~' x/ g
4 ]& F) G- y5 b" q if(r!=null){' B: s9 ~5 i7 |' u
return r;" E7 c8 s8 r' n0 Y& [
}
/ P9 \6 F1 Q+ }% t% |6 c- c: I$ q / Y' B2 \9 W% Y& x9 W
if(o.length==1){5 L3 B8 e$ @5 p3 q3 [2 k
return o[0];% \, J, d5 d, n+ t& H
}3 O$ T1 Q8 h! {7 {1 i7 {( W
else{
1 ] |8 J1 ]1 d return o
, m# f+ c. t4 \ } ' ]4 Z; j+ d+ q: I, R% K
: t# M% m+ j0 x& s4 h% }
}
* I& z. b: Q0 nvar lrc =$("#lrc;show()").innerHTML.split("[");
5 j- w* P+ U7 v, g8 l5 U- Mif(lrc.length>5){
+ P1 c0 F: J9 S1 r; r* Qvar array = new Array();
1 n* Y/ F6 ?. zfor (var i=0;i<lrc.length ;i++ )
5 G2 i$ O! x8 E2 p+ a7 e L) d{5 D& A# f; o5 y9 M
var g = new Object();
0 j L: H* I0 D5 ]+ J, e t= lrc<i>.split("]");
' y% P# _5 M: k2 S g.time = getTime(t[0]);# p. K- i6 e- @$ @& e2 j" ]. M
if(isNaN(g.time))
0 [& A1 ^- _1 B$ w( @' P continue;* F4 f- b9 M2 S3 D
g.c = t[1];
9 L& c' C! E& ~ q: ]# X if(g.c == "")
! y- s0 P% ~/ l' H g.c = getNext(i); v3 |% E0 G, a
array.push(g);+ }0 E0 Z' w+ H0 |4 T- r4 G" i
}* w: C0 C, G) Y# e
array.sort(function(x, y) {
) r$ }6 R+ d; @. f3 o if (x.time>y.time)
1 r& J7 b: D# O" e. `4 t2 K return 1;
. R2 T& S6 |: N. o' f7 O else if(x.time<y.time)* Y" C }( Y" W8 `# F! U5 p+ c
return -1;! E- C- h, S% l' Y& o3 m
else( V4 b( _& D, u, _; S" N1 b3 s
return 0;
8 N/ f: Y% r+ R. R; ~ }
' Z6 V# _5 v/ K);
/ M1 Z) V/ O1 e- Tfor(var i = 0;i<array.length;i++)
. z; B8 ^8 B& ~% G' }: i9 q{8 e+ ~* S% x0 J$ I( Y9 {9 S
var g = array<i>;. l5 }1 J1 y& \
if(!g.c){" E- M" y& ^3 t0 L
g.c="";/ t# J" U0 v: V
}/ K5 j% P! j. Q
$("#list").innerHTML+="<div id=lrc"+i+">"+g.c+"</div>";6 i- X/ D2 A% C) `6 I& C% D( K: \: R
}
& d: b8 `+ G+ j$ p; D$ @var time = setInterval("lrcList()",500);
; T" B: w/ Q+ ~' r& o}else{ b% A: T) [* W! a% S. d: B6 q; I
$("#list").innerHTML=$("#lrc").innerHTML;
6 t0 f* z# r8 V8 S9 m3 J}
5 |2 ]4 n( N/ X- P* G- s4 h8 Qfunction getNext(i): Z1 ~! H: y4 E1 x) _$ Z6 u
{
* h5 ?+ [" l" v% Z! r( A, g; a; Z var result = "";+ y$ t+ R8 T W+ R* ~- c. ]
var i = i+1;
+ v& \& L0 X* f t = lrc<i>.split("]");3 c& F' ?# J1 U; A3 o' s
if(t[1]=="")# |7 [) J9 ]! P" U& G4 g
result = getNext(i);
2 a& v7 `. v4 X" g7 d; _ else
" F4 x6 f; U% w7 o- D' z& I result = t[1]: z( O, O( K& y3 a4 f) y7 Q
return result;& C) \8 N$ Z$ q0 a! G
}
3 F9 b5 G8 L$ s% x$ O( [# [: [$ o$ h' l. Z5 D& d9 [
function getTime(str)
! m \) l% W! V: H' ^2 G0 g% e{
+ V! a, |* [% V, Q% A var time =0;1 h/ l4 q* q: n
var ta = str.split(":");; a3 b" }4 K+ `( M& r
if(ta.length<2): x* ~5 ^- u$ r2 b& c' {
return time;
4 Z5 f. U' J5 n: r' z1 y6 \( i7 S7 W9 [6 j8 F5 G% l% F/ W) B/ t
if(ta[1].indexOf(".")>0){$ j/ e% Y# w- }3 @* ?4 T) z
var tb = ta[1].split(".");+ {) I; Z5 ~: ?3 K s W
time = ta[0]*60*1000+tb[0]*1000+tb[1]*10;0 o& J7 A, z: f8 P, e4 v% K
}
. S7 _; h: f. t: n% R0 ?/ U else
' F) s, f6 f7 s! H time =ta[0]*60*1000+ta[1]*1000;
" r! ~8 \8 d0 b. p return time;
: U1 l0 x# M' B}- i! q6 n/ {2 v% B0 J6 b' N; I
var preTime = 0;: o, ~# t9 Y3 F. l6 o
var nextTime = 0;
: A; t O0 l, O0 o) ?var currIndex =0;0 b8 `) M" i: R- e* D
function lrcList(){
i. ~, V: i% {& g0 t var s = parent.document.getElementById("MediaPlayer").controls.currentPosition;( \6 X- l1 O, s! r8 E9 ?2 M" ~! m
s = s*1000;
: X# y' `; D' ]7 U, t$ i' x if(s==0){% N& C' M; M6 s+ {6 v$ @
currIndex =0;
0 C7 Y8 U$ g7 _ N: P, F$ Z $("#list").scrollTop = $("#lrc"+currIndex).offsetTop-30;
0 y# r1 o$ ~* r1 [" h( ~ for(var i=0;i<array.length;i++){7 W# }7 B; V ?3 L& A6 J9 ~ {% ?$ v
document.getElementById("lrc"+i).style.color=colorNormal;
+ l8 R$ _( e' v# ^- p: \ }
* ~& @ K% z$ k8 _ return;7 S* _8 [# |8 |0 s
}
1 }* n1 g. u* ?+ A. A if(s>0&&currIndex<array.length-1)
' f- z, ]$ C l' o! C {
" _; |; l1 U& P: \" q preTime = array[currIndex].time;
5 t( U8 T. }8 S ) c. I* v0 M! ?) A) ^
nextTime = array[currIndex+1].time;! V# O' f! g! ?7 }: X- a4 u* ]
4 B+ C U( R' l( I5 E% K1 `% ?
if(s>=preTime&&s<nextTime){
4 I+ a- f% X: f$ {" t }5 e- J$ b8 T2 ?8 O7 R
else if(s>=nextTime)9 r: F: x8 c4 d ~0 ?
{$ L! ?" F7 F3 l1 r
document.getElementById("lrc"+currIndex).style.color=colorPasted;% `9 [! J1 K- N0 o5 A
currIndex++;2 R1 }" o, _- ~
$("#list").scrollTop = $("#lrc"+currIndex).offsetTop-30;7 Q3 Q6 b9 {# E' W y8 \8 b
document.getElementById("lrc"+currIndex).style.color=colorPlaying;
` R: E$ f/ \* |2 U& V: u2 e/ L% r lrcList();
, e9 T! A2 P; I" P }# O6 F: b) M% V9 n
else{/ n6 n2 B8 W9 J D, U+ W
document.getElementById("lrc"+currIndex).style.color=colorNormal;
; ?# E$ |# v, p7 y/ N# ] currIndex--;
0 t: ~* u) q8 V+ w& r6 [8 l $("#list").scrollTop = $("#lrc"+currIndex).offsetTop-30;3 J- m# `' T7 q5 `0 W
document.getElementById("lrc"+currIndex).style.color=colorPlaying;4 v% @9 t" [8 ]( N: l
lrcList();
: s w6 S& I' F# B; i6 c# d0 D3 g+ i }
, y n" q% B' o6 l1 A }% ^' t. q; y7 ~9 ?( D2 ^
else' t2 x& s# O G4 a/ d
{
3 J- @/ l0 P4 o P! z* _ if(s<array[array.length-1].time){
1 M+ T" c7 v5 c( i& ^ currIndex = 0;
/ b- W- @8 z1 D; l $("#list").scrollTop = $("#lrc"+currIndex).offsetTop-30;, {; t' `2 v- }/ R5 G1 L: v1 p# f5 C
for(var i=0;i<array.length;i++){
- E' v. }4 z; \$ P# ~5 [- q document.getElementById("lrc"+i).style.color=colorNormal;; r/ D: Z9 @& d2 r! P8 G
}
% Q9 y$ l1 ]7 t7 g lrcList();
8 a0 F h4 i- U2 ~- i }
9 v( Q2 y L7 H& e% ? }1 w x$ p2 w Z' z0 A$ q
}
! r: l8 |4 j7 z% ~1 \! f& p</SCRIPT>6 Y) u8 u( ]% N7 L( u
</DIV></DIV>
; p! Q2 @' e7 h$ f+ V! T
4 ^& Q0 K; P) h[ 本帖最后由 幽谷兰 于 2008-9-18 17:36 编辑 ] |
|