|
|
<DIV id=list>
7 R2 M& M" E/ s3 D- D% M- q<DIV id=lrc1 style="COLOR: #666666">[wmv=0] http://lzbj.ncedu.net.cn/uploadfile/20083923248279.mp3[/wmv] </DIV>
. f2 I* L+ w/ }, ?1 a2 o<DIV style="COLOR: #666666">|等一分钟|听到这首歌,觉得它很动听,旋律很优美,很是喜欢,传上来给大家听听。</DIV>4 f; b: R) c. f. p# U
<DIV id=lrc2 style="COLOR: #666666">词曲唱:徐誉滕</DIV>
0 r. ?) Z2 P" q1 [$ A1 k<DIV id=lrc3 style="COLOR: #666666"></DIV># l+ m5 L5 @- r2 G! r7 K5 L, E
<DIV id=lrc5 style="COLOR: #666666">如果时间 </DIV>9 [3 o" \& m3 @3 |. M& T
<DIV id=lrc6 style="COLOR: #666666">忘记了转 </DIV>
8 y6 k3 e d h0 y. y<DIV id=lrc7 style="COLOR: #666666">忘了带走什么 </DIV>
; @, R5 t8 q4 j* d# B( S# Z$ c4 r c<DIV id=lrc8 style="COLOR: #666666">你会不会 </DIV>0 f: f) M" L% z- X, w c' e N- M- M
<DIV id=lrc9 style="COLOR: #666666">至今停在说爱我的那天 </DIV>" C1 t; C; q6 D2 ~ N
<DIV id=lrc10 style="COLOR: #666666">然后在世界的一个角 </DIV>
) ]1 q$ ?2 t- F. z9 N<DIV id=lrc11 style="COLOR: #666666">有了一个我们的家 </DIV>5 `4 {( f# e6 Q- p7 S, n0 Z6 I: f
<DIV id=lrc12 style="COLOR: #666666">你说我的胸膛会让你感到暖 </DIV>
3 B: }' H' f% P" d ?+ @8 T6 d<DIV id=lrc13 style="COLOR: #666666">如果生命 </DIV>2 @2 ?- E9 d: l6 A; f4 p
<DIV id=lrc14 style="COLOR: #666666">没有遗憾 </DIV>6 I; Z9 b. p4 R. S, U. a
<DIV id=lrc15 style="COLOR: #666666">没有波澜 </DIV># Z$ w) C2 m- _: Q% u
<DIV id=lrc16 style="COLOR: #666666">你会不会 </DIV># W2 y' l/ N$ L& n/ L
<DIV id=lrc17 style="COLOR: #666666">永远没有说再见的一天 </DIV>9 k) {! n$ y2 K) j
<DIV id=lrc18 style="COLOR: #666666">可能年少的心太柔软 </DIV>5 j' J2 ~/ V- k$ v' [6 r
<DIV id=lrc19 style="COLOR: #666666">经不起风经不起浪 </DIV>
2 P& n# I3 v# R" U<DIV id=lrc20 style="COLOR: #666666">若今天的我能回到昨天 </DIV>
* m* E) G& _! d( J. g% T0 \<DIV id=lrc21 style="COLOR: #666666">我会向自己妥协 </DIV># B4 u4 b' Z. H6 J( k( i) _
<DIV id=lrc22 style="COLOR: #666666">我在等一分钟 </DIV>
9 [( F- |/ E |9 r<DIV id=lrc23 style="COLOR: #666666">或许下一分钟 </DIV>
) K ~# e7 d, e' o5 E<DIV id=lrc24 style="COLOR: #666666">看到你闪躲的眼 </DIV>' X0 B) W, U" ^# q a
<DIV id=lrc25 style="COLOR: #ff3300">我不会让伤心的泪挂满你的脸 </DIV>2 B t& A/ n5 R' Z4 U5 D
<DIV id=lrc26 style="COLOR: #000000">我在等一分钟 </DIV>
0 L8 ]8 l$ W. V, F<DIV id=lrc27 style="COLOR: #000000">或许下一分钟 </DIV>
; Q' V5 J8 V4 f& O! O$ y9 G<DIV id=lrc28 style="COLOR: #000000">能够感觉你也心痛 </DIV>
$ C& d7 Q: y5 _ Y; D" p<DIV id=lrc29 style="COLOR: #000000">那一年我不会让离别成永远 </DIV>& g. R4 Q% W* Z2 v' r6 V( `
<DIV id=lrc30 style="COLOR: #000000">如果生命 </DIV>6 \: b9 J3 @3 J
<DIV id=lrc31 style="COLOR: #000000">没有遗憾 </DIV>
# i' L- w& U4 C" `2 r# A/ s2 N+ A) s<DIV id=lrc32 style="COLOR: #000000">没有波澜 </DIV>
7 P# P. ?9 X4 h! O<DIV id=lrc33 style="COLOR: #000000">你会不会 </DIV>: o! z+ T4 a3 w' k
<DIV id=lrc34 style="COLOR: #000000">永远没有说再见的一天 </DIV>+ t2 w& r- H3 P& g/ S) F. C
<DIV id=lrc35 style="COLOR: #000000">可能年少的心太柔软 </DIV>
5 @' j( a1 H/ C; `; w3 ~4 j<DIV id=lrc36 style="COLOR: #000000">经不起风经不起浪 </DIV>
/ J% f) T( _5 q1 {/ A<DIV id=lrc37 style="COLOR: #000000">若今天的我能回到昨天 </DIV>2 {6 ]7 q x. a7 W4 @ G
<DIV id=lrc38 style="COLOR: #000000">我会向自己妥协 </DIV>0 m* D3 y* b; k. O% W) }* ~
<DIV id=lrc39 style="COLOR: #000000">我在等一分钟 </DIV>
" C) a+ g! o4 y0 F, `; L6 H<DIV id=lrc40 style="COLOR: #000000">或许下一分钟 </DIV>
& q6 K0 Q2 F6 p' U4 E<DIV id=lrc41 style="COLOR: #000000">看到你闪躲的眼 </DIV>
) ], \4 I) S8 y6 y) `<DIV id=lrc42 style="COLOR: #000000">我不会让伤心的泪挂满你的脸 </DIV>
/ y2 M9 D. F+ l5 P! x f# p& i) T<DIV id=lrc43 style="COLOR: #000000">我在等一分钟 </DIV>
! a) t: Y* w: V( w9 h<DIV id=lrc44 style="COLOR: #000000">或许下一分钟 </DIV>2 v4 u _6 ]1 P# |/ R) C( s
<DIV id=lrc45 style="COLOR: #000000">能够感觉你也心痛 </DIV>
' ~2 y. M6 R/ n<DIV id=lrc46 style="COLOR: #000000">那一年我不会让离别成永远 </DIV>
W# e5 x' E: _<DIV id=lrc47 style="COLOR: #000000">我在等一分钟 </DIV> O- a4 z$ Y E0 [7 v$ }5 S; [
<DIV id=lrc48 style="COLOR: #000000">或许下一分钟 </DIV>
4 f/ Y; X4 `4 u4 T9 z! H, v' @8 U<DIV id=lrc49 style="COLOR: #000000">看到你不舍的眼 </DIV>/ q ?% H. H5 _- Y
<DIV id=lrc50 style="COLOR: #000000">我会用一个拥抱换取你的转身 </DIV>
% Q6 v/ N' k# F- j9 F$ r5 D8 O<DIV id=lrc51 style="COLOR: #000000">我在等一分钟 </DIV>0 e! v! f& G# S& ?, h( ]1 v/ T' U
<DIV id=lrc52 style="COLOR: #000000">或许下一分钟 </DIV>5 }; K4 e5 o8 Z5 ^
<DIV id=lrc53 style="COLOR: #000000">如果你真的也心痛 </DIV>1 @# u2 X% ]6 B( h0 c/ s
<DIV id=lrc54 style="COLOR: #000000">我会告诉你我的胸膛依旧暖
- S0 L m2 x8 c<DIV id=lrc style="DISPLAY: none"></DIV>
: _9 _1 _+ a: W! q7 F: |; S( k- U<SCRIPT type=text/javascript>% p4 e H8 `- e0 ?$ ~5 G+ b4 T' L
document.domain="1ting.com";
) ?& {8 c+ }0 q1 E; T- w6 N9 lvar colorPasted="#666666";
4 Z" {/ a- f/ f; x. W; `var colorPlaying="#ff3300";
9 ^- g* I e: l( I+ Hvar colorNormal="#000000";
8 V) ]; E5 J' { i% A: D$ = function (a,g){
1 l3 F8 r$ r" P; B/ S var o = new Array(); 0 j! h. O {0 x/ g( Z
var c = new Array();
' K7 I& a2 |& L# g: L( U var r;
1 e# Z% s$ e) [ var u;
- t/ \6 |. a% c" U, { var a = a.split(';'); - I+ A4 s% ^+ _& W
- i) r9 Q- q% U& @) d6 H% o% k) N var e = "keydowns,resize,load,dblclick,click,mouseout,mouseover,mousemove,mouseup,mousedown,inputchange,inputfocus,inputblur".split(",");# c! _5 G: `, l0 }0 T
for(var i=0;i<e.length;i++){ n! \- Y& n$ Z: S, e! X) {# ]! v) U
eval(e<i>+" = function (s){eval($event('on"+e<i>.replace("input","")+"'))}")
, Q6 q! o* c; s. f! a* Y+ ^ }0 K9 Q. f4 q8 Z- |
. B# @/ U) B3 r* J7 H# Y- X0 y9 V after = function (t,d,s){
9 a1 k: }5 a& b1 G* N $after = function (){
+ \- t3 `8 |% i$ k, T: Z var $n=document.createElement(t);. r, P. [3 @1 c3 i
if(d!=null){0 |* H! [2 H5 ~. g$ Y
$n.id=d;
. Y* P2 _- h6 w: k8 G9 \0 K! [ }
$ e5 f* Q, o- ~ . a! H# c5 }' t% `6 g8 F
u.insertBefore($n,null) # @9 O! @: a4 p
r = $n;
. K1 V: _4 i) {4 E# z! N u = $n; - d: u8 n+ v" o( W7 C) q- l
}
8 ^, f( c2 U% j" q1 K$ s $for(s,"$after"), V% l+ B/ |6 O/ {$ ?
}* Z/ {$ K3 S( g3 Z+ w) G
8 Z9 n0 G% _0 k, L4 K/ V show = function (s){+ r6 x- Q+ O* g/ O. a
$show = function (){9 i) J1 G( z" A' I0 `0 U4 ]
u.style.display!="none" ? style("display:none") : style("display:block") ;; G5 i1 q$ F6 s' U' p; L
}7 \4 I I- L$ F' i3 B8 o: V
$for(s,"$show")
! ^. a) T! ^. s$ @ }: X% Q" \7 X0 |5 d* o
2 u! }- s$ ]0 S1 a7 `
check = function (t,s){4 O5 B1 y9 T4 z8 }$ H1 t& f! s* Y1 }
$check = function (){
# Y7 u% D" x) m6 L8 N if(t=="2"){' A+ I8 E6 N* C
if(u.checked){
5 b$ W) }" U6 j$ `$ ]6 R) g1 m. U u.checked = false;
/ Y5 U- b$ e/ W- } }else{! G3 J+ H3 _, u
u.checked = true;
: S4 u+ ?( ]9 u( Q9 N2 U }; o! R b) f% V8 |% y9 G# j* t: g
}else{
% [2 U5 d/ L' b: k* w u.checked = t*1 ;. c6 D( H' Z" k. O
}
7 g( F; i9 f# R1 k# S }
' v8 a, D: G4 V% v $for(s,"$check")
; p) B: b+ ]% r1 S# [/ L' r }" \) B' m y G( I7 P- s
/ v# y4 |2 _5 q( P3 ~8 [, K5 c style = function (v,s){
5 I: i" r8 u. [/ K J1 Z" R $style = function (){
3 _. l% m' |( U" k1 m var $n = v.split(",") " t3 h7 b9 Q( F l. O4 B
for (var i=0;i<$n.length;i++ ){
: x# b" P# x1 m1 r& V var $m = $n<i>.split(":") 0 m4 _ H3 f1 n3 x( z+ g; u4 z
eval("u.style."+$m[0]+"='"+$m[1]+"'");
& v! m0 E, N8 j" z4 U; Y }' c, m& W' E3 @& x
}
0 |( Y0 g) W" c. @) x, m2 u3 |' n $for(s,"$style")8 [. c) @. l0 a
}
4 {- V" Y# e3 B6 w# H I* H& B2 I- L) O- Z) x
value = function (v,s){* B, H) n/ e0 ]/ r6 W
var $n= $this (v);
5 j9 p! J- U$ F: b $value = function (){
' H9 }# ?8 d& B, ^6 M u.value = $n
- s+ F% J% F5 g2 a, W. U( d }
/ |# s- r/ j/ R: f- H& _. [9 V: Z $for(s,"$value")
! Q% y* k, k) X1 z }
( [3 o# D1 Y/ W5 Z h5 l7 E" ]5 A, A
2 k# C( ]/ m3 R4 `3 e. X text = function (v,s){
p( X% p5 k. N" k) w; \ var $n= $this (v);
# f& v4 H' h( D# e6 r $text = function (){
4 F+ w6 d/ _; K- f5 j
% U; U) O5 O1 i% y u.text = $n
0 \8 Q2 Y( Z: J3 s8 @1 y/ T6 C4 y }: c/ S c' `: W( R4 }/ A9 e
$for(s,"$text")
2 H* S; e! `2 S' M* u' W$ q }' G" y! N9 Z3 R. b' b9 s9 g) ?* z
, L7 w8 |5 g* Y/ a( q innerhtml = function (v,s){
% i1 o4 m# q- m& x: v var $n= $this (v);; e I, w& F& n
$innerhtml = function (){
; R% G P4 J. b0 X, y u.innerHTML = $n) a# F- N. ^9 S# ?) O6 ]
}' }* ^6 a9 c( k9 {+ a
$for(s,"$innerhtml")
4 ?# a3 e$ r' u! @ }
9 z; P$ T# T/ B1 k' e9 @7 F4 m+ M
2 \0 z8 E7 _7 B removechild = function (s){
7 |5 Z8 k& h& @) [" J A+ D* C- S8 o: s* [ $removechild = function (){
% w P4 k) |; W* A. u7 P$ y u.parentNode.removeChild(u)
- _/ U, g& r7 o9 |- \8 z6 z } R; n: j$ f' T7 s$ x
$for(s,"$removechild")
9 c0 B& e9 q! `+ i; [! E" _ }
* `. q h" V. i! Z1 S- N& Y) l2 S! w7 t
$this =function(v){. W/ S% J1 A. e0 f2 z
if(v.indexOf("this") == 0){
% K% ?/ n3 s K& o7 N% B return eval(v.replace("this","u"))
5 U, U6 p2 o8 H/ M }- L$ s! @4 N; m( A D
return v;
7 K$ u2 e& B! c; X9 m% u8 m& I }
. t7 |/ a: M- Y2 b. n x2 C% _. O5 q# z; O, }6 d
$event = function (s){4 L; H! u0 R! N' U
var $n ="u."+s+" = function(){$work(this,s);}"2 `; z( v& S8 ^) H) C
return $n;
$ a! y8 o: X! ]3 p! p }4 k0 G9 L7 I: B2 o7 Z1 G/ r1 A$ H0 b1 [
' p+ t8 A3 [/ {! G/ k $replace = function (s){
! ^ n/ _* B, H" B4 Y' w; g3 `
2 A/ I: |! m1 E }
1 I4 v4 h( `" \: T" C' P$ D- t) T/ I( n0 M# a0 x4 S
$for = function (s,c){
' Q( P4 r) V* ~3 c. H2 s var $n="this."+c+"()" ;
4 S8 v1 @* Z7 p) ~ if(s!=null){# _4 x5 @ f0 M% h( J
var $m =$test(s);
. X/ r9 L8 W; _& d for (var i=0;i<$m.length ;i++ ){- W9 U3 ?( S$ I7 D" g
u = $m<i>;- H3 u: E3 z8 a
eval($n);0 f$ B) i4 L' m8 W
}: j5 L |2 }3 h, p
}
$ O' e% P! S8 E, X else{3 V. I& K: [, E9 F, t' @
eval($n);
$ l1 h! z! e/ G4 e$ w) b. A* P7 s }. p9 W% U8 ~2 u* s# h3 N& E& P
}' b) ~" p1 e$ a! E. [! T5 p6 l4 {
* h: l/ S% ]% n $test = function (a){
2 n8 S) R0 M4 b var o = new Array();$o(a.split(';'),o);
# j' P' O+ X1 O! l7 q( r" s* K' } return o;
9 z8 t( m, a; D6 O }
) U r4 i+ i" w
: A# K5 L7 q5 `9 S+ m+ \ $format = function(s){2 t& y( U0 q! P
while (s.indexOf("'")>0){& \; @7 \' ^( G; E- S/ b
s=s.replace("'","\"");+ n2 m; s; ~! b1 k) O
}% u0 S: t" [" y0 \% [9 F
while (s.indexOf("][")>0){
$ I" K A5 W6 ?: g& S7 ]4 ~0 c s=s.replace("][","','")
' U% p8 v7 w2 s* [9 } }4 i' ~! r, i& Y6 m9 b( n
while (s.indexOf("[")>0){
/ k. W/ I3 U9 e# U B s=s.replace("[","'").replace("]","'")0 `2 W5 o. ~5 z" [
} : ?+ a1 u/ o0 ^3 j
return s;6 P' c' R, b0 y: C
}
+ Z8 a/ B+ a1 ~, x# O; J4 y8 T# {! [* }" A
$work = function(w,s){! m6 @" M6 ^1 F) O
u=w;eval(s)
' B1 e% ?: M- ^+ N2 R/ d; d }7 U V/ |0 n9 X7 O
5 U) P! a7 _/ W
$id = function (s){0 ~. {, l1 a' g! X( n, H
return document.getElementById(s);
3 J9 H& K* c, B1 f. P+ e Q5 O }
/ t# Q) ]6 W2 J9 y$ V7 c% ^, ?0 P6 m0 ^
$name = function (s){: T3 k) [- l- c; t; f; n" |
return document.getElementsByName(s);
! V0 c/ A# a; O& {% q }
0 T) M8 S" S+ _& d; a( i/ E! f/ m5 ?+ L
( v/ `: ]! D4 [0 ]. j% ^ $tagname = function (s){/ C, ^" g, D7 F; b# w9 t: E8 e( Q& s
return document.getElementsByTagName(s);
/ s2 f4 Z7 b$ N8 p( ?3 s }
7 q% {6 A7 c+ S' P
$ i4 ^/ V7 d; \5 a/ E9 r* w $o = function (a,o,c){
6 O+ _: |+ G5 I# s7 P $push = function (n) {* G% ^9 h" t& t: H
for (var i=0;i< n.length;i++ ){
c6 r( E: @% k! H0 d7 t/ s, b/ m o.push(n<i>);
* b- T) A% h$ E! Q }
+ ^0 H( g) l9 E6 \. S }+ \3 D: ?9 B0 o' W8 M2 I6 M8 I- z
for(var i=0;i<a.length;i++){3 V3 `/ S [+ d, n6 o
if(a<i>.indexOf("(") >= 0){
4 w! ~, G" [$ [3 o: d c.push(a<i>);
: n) P( b4 {0 J9 q+ f2 z/ U }4 t* k Y) K- ?% j$ A: s* L# p
if(a<i>.indexOf("~") > 0){
7 Q6 A# N7 _ W- P& k8 [' ^ try { N2 G$ }! ^* ^; g" f2 {0 ?
$push(eval(a<i>.replace("#","document.getElementById('").replace(" ~ @","').getElementsByTagName('")+"')"));: a8 }0 L: e' d( ~% {0 T
}catch(e)' L( V( P2 x9 m& J* d& S, e7 U
{} 8 w3 o. g0 ]- n! b N
}
8 s: g' P3 u' d9 R6 S* R3 j else{) |; S, @- @5 I8 _, e
if(a<i>.indexOf("#")==0){
: V0 S2 E- j: O0 Q" I o.push($id(a<i>.replace("#","")));! s; U. e# L7 d4 i" l
}3 J$ ?2 e6 g3 D
if(a<i>.indexOf(".")==0){, H7 P8 s! H; x. N
$push($name(a<i>.replace(".","")));* K! I$ y" I4 F q' W
}
& n! M9 j( y4 {# e) \. v if(a<i>.indexOf("@")==0 ){* t- |, ]! U6 z& B" Z( R! q
$push($tagname(a<i>.replace("@","")));# j. e% K% o. [& E" M( i5 N( B. r
}; x7 |$ t) ^3 T5 ]$ @ o
if(a<i>.indexOf("*")==0){
, P% [6 a: m* q& y' V* N $p= a<i>;* o/ H: [* ? b. m+ v
if($p.indexOf(".")< 0){
$ o+ F$ N# v) ?6 M: N- G $p = $p.replace("parent","parentNode")0 Q7 r- D2 K& M h
}. i% t; B9 P; A7 Y: I. z
var $p ="u."+$p.replace("*","");7 Q5 |3 Q# }. |+ M
while ($p.indexOf("parent.")> 0){: Q1 S( W5 n% z. c( `" L; W
$p = $p.replace("parent.","parentNode.")) z y" ~1 W" n* T5 S# r
}* O+ J* v& e3 l. @! B
while ($p.indexOf("child{")> 0){
" g2 ]5 c ~& C% N1 o# g $p = $p.replace("child{","childNodes[").replace("}","]")2 |8 k( E% p! S0 G
}
0 G6 d* P- {# @4 ]; M" i; P l o.push(eval($p));
/ z- s# N, w6 {1 U6 L4 e }) ]! t9 X' }( ` c U
if(a<i>.indexOf("document")==0 || a<i>.indexOf("window")==0){
/ r1 u3 O$ d0 ?5 e o.push(eval(a<i>));
8 [+ m) {& O$ \% Z/ ` }
- r% \4 y& l9 j/ D+ F: b( }' R } n# Z0 ]& A7 ?2 ?9 G) E9 Q5 D
if(g!=null){ : I6 g# u( N! c$ D4 Q6 N' d5 P
o.push(g);g=null0 Q# s' q# u$ ^* d
} $ w+ u3 \$ Z& s' t( g
}
) W7 h0 R2 v7 f }& ^2 N% `: Y0 v, g5 {/ n; O
2 w" b% I( J- q3 } $o(a,o,c);
/ q3 R' ^7 G! |8 Z( s
. m* r2 b- s2 f7 m4 i E for(var i = 0;i<o.length;i++){" K" J4 c8 ~* f+ E7 u1 W
for(var j=0;j<c.length;j++){/ |1 j) v. r5 i2 _# U
u = o<i>;eval($format(c[j]));
6 u; Z+ ]- o, `/ y' r }
# F8 s# b$ g8 q+ o& I2 D) } }
# u, Y9 G& u/ V! a* \4 p# a9 P/ m1 I& _8 y9 W
if(o.length == 0){
; o2 Z# [( Z. \ for(var i=0;i<c.length;i++){. ^8 h% Y! A4 t4 d
eval($format(c<i>));
4 i! |+ a( u$ W$ g9 X2 a }: h: L& c0 A" b1 d3 e- v9 p' e
}: {) }& l) F: H1 Q5 A! K: M6 y
5 A% h/ v: S6 Q: | if(r!=null){
+ `1 j+ c' Q9 ~* B3 s( B return r;3 a8 {! l! t" B9 G1 R" A1 A
}
' n# z( Z# t9 `, y% K+ N2 }
. }0 ~/ b' _$ ^# M1 q, e' g if(o.length==1){! C [! F8 m4 a' h
return o[0];
+ |* @* B8 J5 |3 C1 t8 u& l( W }
9 r, f1 b% _3 a% \* c% y else{
6 Q: D. Q/ v( k |8 |) |* H4 ], ] return o
7 Q6 q6 H9 ^- `/ q7 K7 M } 9 f3 i7 F6 W0 i$ I: ^6 w
5 Z, o9 b; P) h, m% z5 R }
4 l( U3 _4 R; v: o: ovar lrc =$("#lrc;show()").innerHTML.split("[");% f0 `7 H5 H/ ?& G
if(lrc.length>5){
4 c7 J2 r: G, J2 Pvar array = new Array();
1 S+ }- @& Q, z4 m5 mfor (var i=0;i<lrc.length ;i++ )- q1 g/ n$ b. Q
{) B$ O1 e( N/ l% g, V# a$ @% J
var g = new Object();
" s& ~2 _1 ^2 S1 x t= lrc<i>.split("]"); U( r, g- f- V# T/ r4 x5 ]2 V% d5 B6 h
g.time = getTime(t[0]);! J F+ V- \5 E4 J$ ]& }, G
if(isNaN(g.time))
! E# k* i5 _6 m- C: @$ x( w continue;- `! ^2 G. F$ K5 c$ D
g.c = t[1];: j4 B# y. \( o, h: y2 r
if(g.c == "")
# U- i. c/ M0 l3 u g.c = getNext(i);
y9 v8 y: @; R; k3 |& } array.push(g);) C! M4 y2 b2 F2 S5 _5 {
}
& O7 t0 K- I9 b( ], }3 y( narray.sort(function(x, y) {
, P4 c8 C m3 r$ s' r3 y2 s6 l2 F# z$ s if (x.time>y.time)
; ?+ Y- E; i+ h8 C return 1;" u$ E h W, ^
else if(x.time<y.time)
- Q# [& n+ E$ W/ I return -1;) d' k- U0 s/ E& f& {, A* r
else! T; n' b9 G Q3 v& e
return 0;
: D& i/ P# g1 L0 |, P } 4 O( I5 s% w$ {3 V \: i
);
9 {9 v: E" h9 M. t( X; @for(var i = 0;i<array.length;i++)
8 t9 h& p3 _; l+ E& n9 h, \" m2 q{
n L$ Y/ k5 ]% {4 Y' F var g = array<i>;
$ l# s' Z. f/ G, c9 [% B4 Y if(!g.c){
7 l& i! `6 ^' P! F+ q/ ? g.c="";. X- C! `$ y4 h7 F4 c# l
}
& @- H( Y9 J. x* x8 c" l $("#list").innerHTML+="<div id=lrc"+i+">"+g.c+"</div>";
: p+ W' o( b u' a* |/ Z0 e}
; T* L& N- k: wvar time = setInterval("lrcList()",500); $ V% s$ z; x0 y9 [1 o9 A
}else{
# h* b! z1 A, s, C- Q3 `% j5 D/ R" V $("#list").innerHTML=$("#lrc").innerHTML;
4 [# m; Z% @7 g5 n. N1 ]7 M, f}% l' `( h Z2 c' a
function getNext(i)# y( ~& @3 s) L( {- _4 [
{3 k# t( H9 x! J$ H1 b
var result = "";
8 c' J. ^- V8 I C2 T var i = i+1;- b/ ?" q6 x7 t ^5 f( N5 M
t = lrc<i>.split("]");
% c0 W U5 f! P* x if(t[1]=="")
1 M# n- a9 {* Q* ?$ O' Z result = getNext(i);
5 f( p6 f/ ^ [2 _ else
4 C' T h, c" Z. F. A result = t[1]5 f8 K- a+ V* d& o: D* G R" B
return result;6 C' l }+ C3 ^. ?
}: ^1 z1 D& ?. c) ]7 h
* ^! H% [& z- Ffunction getTime(str)7 b; p* n7 D$ n3 g2 `$ [" p4 z
{
% Y# d+ @5 d; A. x8 } var time =0;
9 R1 M( ?( p0 B- m var ta = str.split(":");3 X, ]- i: e# \, B- U
if(ta.length<2)
$ p# l% x3 v: Y; p5 g, Y return time;
5 N: s* p! U9 y0 V5 o( z; B2 R- X0 y u% b
' }$ [2 k) E4 i& P# Z if(ta[1].indexOf(".")>0){; N9 y8 u7 C3 s- k; l
var tb = ta[1].split(".");. c7 r1 d( c+ [! x2 {
time = ta[0]*60*1000+tb[0]*1000+tb[1]*10;
2 G7 d) b2 |$ ?& u }* m% J. i# }+ W( i
else! D! D. X! m/ C w; L
time =ta[0]*60*1000+ta[1]*1000;
6 }/ c/ |) t# n2 b2 v return time;8 j& F3 J# j! {. d2 g$ S
}
( K K6 r. N- i" k# N) ovar preTime = 0;* n7 W* V' O! J
var nextTime = 0;
+ r4 P. k0 }: svar currIndex =0;
) ^0 A8 \# P; e# y( ` L8 A; s1 tfunction lrcList(){2 l( x+ C. z, b4 q
var s = parent.document.getElementById("MediaPlayer").controls.currentPosition;
6 x$ O# e5 ~/ C, y/ m) L s = s*1000;0 }& X; N" ^8 t: Q) n
if(s==0){% I+ y, g5 v& N) G! N, B; S% T
currIndex =0;& e; ]- I1 I1 a! m5 q& a6 ]
$("#list").scrollTop = $("#lrc"+currIndex).offsetTop-30;
7 h, Q, N& X6 [) a& S, @, J/ y for(var i=0;i<array.length;i++){: r$ o1 R: W* o- S( p
document.getElementById("lrc"+i).style.color=colorNormal;
0 F) U& K3 u! e* {# o6 {9 d; w$ z }7 E# w6 ]% o; o8 r& D R/ ^! z
return;: `. b. T$ A0 O( q
}2 p& b) f3 f4 B' S' ~. E
if(s>0&&currIndex<array.length-1)( A7 x. D2 }$ K. |4 O$ q0 W
{
$ G+ b# ~! B4 x2 l8 W( n preTime = array[currIndex].time;
- {/ t* i) L( q$ i5 y* s/ T ( p/ A! U/ s. h; L: v
nextTime = array[currIndex+1].time;. }, T7 t8 s- [$ ]! Y
1 v" c: m; J: w if(s>=preTime&&s<nextTime){
2 X. j7 G0 H* Y0 \9 X) r- G }$ Z4 n4 M; J+ ?+ |- u
else if(s>=nextTime)
! s; f; v: s) e$ G4 B {
3 o' T" s& Y" r document.getElementById("lrc"+currIndex).style.color=colorPasted;
$ ~& O3 Y- ^3 N# w9 j- S currIndex++;
: J* c0 _8 S4 {" B5 ^ $("#list").scrollTop = $("#lrc"+currIndex).offsetTop-30;# w% ]* R% Z: ~3 n( h
document.getElementById("lrc"+currIndex).style.color=colorPlaying;; D+ y o4 I. g. {. ?' n/ N/ v k
lrcList();
g9 G' m% e! |/ w: c9 q* i, p* Z }
7 k$ l8 c* i2 B/ n- W else{
( i- v4 M% r5 b0 ^ document.getElementById("lrc"+currIndex).style.color=colorNormal;, i- i7 w9 y% l
currIndex--;
) h, @! F) @/ v! G9 {% q2 V $("#list").scrollTop = $("#lrc"+currIndex).offsetTop-30;0 `- ~9 k( R) s$ }% @7 f/ j
document.getElementById("lrc"+currIndex).style.color=colorPlaying;$ t. V& T( C m. ]$ f
lrcList();
2 V: B4 }3 M4 I) ]$ @5 a } 2 g2 h. p. J) _4 H" U
}) e$ S6 W! Q' J) M9 W2 ~
else
, p5 s4 G( ^5 J0 m {
' Q2 q; q; g! J; c) G" \5 O- f if(s<array[array.length-1].time){0 n8 e" U0 d+ t
currIndex = 0;' [5 _; t- U% y! { y2 r
$("#list").scrollTop = $("#lrc"+currIndex).offsetTop-30;6 S& s5 S( @; I" I+ {$ h+ r" d4 i) W
for(var i=0;i<array.length;i++){
) h( p( M. _* ?7 o& H* ~$ Q: r' a1 O document.getElementById("lrc"+i).style.color=colorNormal;
) G! M0 h7 F: y }
$ \6 [9 q% g/ T) @: m A, L7 y# n lrcList();0 t( F( l h$ p2 U: x
}' e$ _2 O7 R# g- c( q
}
/ m2 y( E# h, U: E2 O}
4 @1 P! x- ?) h& v, P</SCRIPT>
9 u) r3 }$ E3 z! n</DIV></DIV>
. k; h* X8 C9 H5 c; a
7 j3 j [# {6 g6 Z- F[ 本帖最后由 幽谷兰 于 2008-9-18 17:36 编辑 ] |
|