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