|
|
<DIV id=list>" J$ R! Q% N/ }2 x$ h
<DIV id=lrc1 style="COLOR: #666666">[wmv=0] http://lzbj.ncedu.net.cn/uploadfile/20083923248279.mp3[/wmv] </DIV>
( ~/ B9 o" a, @! K5 ~5 {<DIV style="COLOR: #666666">|等一分钟|听到这首歌,觉得它很动听,旋律很优美,很是喜欢,传上来给大家听听。</DIV>
1 H7 p+ v" e2 v& s3 M8 ^" k0 J, ?& T<DIV id=lrc2 style="COLOR: #666666">词曲唱:徐誉滕</DIV>
6 |% ]) _. N5 u( f% R6 f<DIV id=lrc3 style="COLOR: #666666"></DIV>
( B' r2 e4 g4 ^: p: w<DIV id=lrc5 style="COLOR: #666666">如果时间 </DIV>8 M2 M' h. [' M" ~% O, w7 o+ w" ~0 S
<DIV id=lrc6 style="COLOR: #666666">忘记了转 </DIV>
+ p; Q" [2 c8 E8 e3 `<DIV id=lrc7 style="COLOR: #666666">忘了带走什么 </DIV>
6 @7 I3 V' K5 j% o<DIV id=lrc8 style="COLOR: #666666">你会不会 </DIV>- ]$ ?8 m# h, x% B2 r7 Z& u6 N3 `9 k. U
<DIV id=lrc9 style="COLOR: #666666">至今停在说爱我的那天 </DIV>! V/ b: j }& R, g- @
<DIV id=lrc10 style="COLOR: #666666">然后在世界的一个角 </DIV>5 Z, x4 I" h z
<DIV id=lrc11 style="COLOR: #666666">有了一个我们的家 </DIV>& r" O" j) u- P! I# K3 [
<DIV id=lrc12 style="COLOR: #666666">你说我的胸膛会让你感到暖 </DIV>
* K/ E/ \$ U3 a4 {' ?<DIV id=lrc13 style="COLOR: #666666">如果生命 </DIV>4 f! Y3 ^2 z+ I- c
<DIV id=lrc14 style="COLOR: #666666">没有遗憾 </DIV>0 n/ A# V0 u( i% L P9 h/ Q/ K# L
<DIV id=lrc15 style="COLOR: #666666">没有波澜 </DIV>2 i) F7 g( h& L9 n6 R/ Q6 }- c
<DIV id=lrc16 style="COLOR: #666666">你会不会 </DIV># j0 D2 o! k2 y
<DIV id=lrc17 style="COLOR: #666666">永远没有说再见的一天 </DIV>
7 T. `6 D! x/ X6 ~0 P' [! `" W! c4 q<DIV id=lrc18 style="COLOR: #666666">可能年少的心太柔软 </DIV>
8 G5 u9 h9 T& n0 J3 x* |<DIV id=lrc19 style="COLOR: #666666">经不起风经不起浪 </DIV>* o' Z& S A: C2 J9 N
<DIV id=lrc20 style="COLOR: #666666">若今天的我能回到昨天 </DIV>
& {% D# w+ J" ?4 L) W/ ^<DIV id=lrc21 style="COLOR: #666666">我会向自己妥协 </DIV>% C% Q6 _5 Y+ ^, A" d. u! M/ Y
<DIV id=lrc22 style="COLOR: #666666">我在等一分钟 </DIV>! [( Q: M4 D: ?0 t
<DIV id=lrc23 style="COLOR: #666666">或许下一分钟 </DIV>
. B$ B2 k% c. h( W4 L1 G& E<DIV id=lrc24 style="COLOR: #666666">看到你闪躲的眼 </DIV>
% I3 h. A) p P+ Z9 F<DIV id=lrc25 style="COLOR: #ff3300">我不会让伤心的泪挂满你的脸 </DIV>
1 l9 b; V( W- I0 {7 j( n1 z8 _) W<DIV id=lrc26 style="COLOR: #000000">我在等一分钟 </DIV>3 ]* l: n; x3 H
<DIV id=lrc27 style="COLOR: #000000">或许下一分钟 </DIV>3 c( f- y v) z I
<DIV id=lrc28 style="COLOR: #000000">能够感觉你也心痛 </DIV>
) J: v0 K' q% a: }! B1 _<DIV id=lrc29 style="COLOR: #000000">那一年我不会让离别成永远 </DIV>
( e5 Y' a. [ z3 c$ ?<DIV id=lrc30 style="COLOR: #000000">如果生命 </DIV>
1 N- E' ]. N3 K4 P<DIV id=lrc31 style="COLOR: #000000">没有遗憾 </DIV>
8 b. x5 J2 w) S& K( \: `<DIV id=lrc32 style="COLOR: #000000">没有波澜 </DIV>1 |# e8 E* L1 l' Z0 l- P' b% i) z2 j: b( h
<DIV id=lrc33 style="COLOR: #000000">你会不会 </DIV>* |0 ^$ w$ B% b$ E
<DIV id=lrc34 style="COLOR: #000000">永远没有说再见的一天 </DIV># A- d. P& X( e# x
<DIV id=lrc35 style="COLOR: #000000">可能年少的心太柔软 </DIV>
7 \- A3 V5 S, L2 c6 H<DIV id=lrc36 style="COLOR: #000000">经不起风经不起浪 </DIV>* g4 S) x+ ?' W& F1 h6 P3 |& [
<DIV id=lrc37 style="COLOR: #000000">若今天的我能回到昨天 </DIV>
/ J' j- J- T; m! L0 R) D7 P<DIV id=lrc38 style="COLOR: #000000">我会向自己妥协 </DIV>
: T5 j# I4 B, U" t% }<DIV id=lrc39 style="COLOR: #000000">我在等一分钟 </DIV>
4 [8 W4 [& _) a3 W* s<DIV id=lrc40 style="COLOR: #000000">或许下一分钟 </DIV>
8 D, a* Z$ Q, k9 E& e<DIV id=lrc41 style="COLOR: #000000">看到你闪躲的眼 </DIV>, z7 G7 O% a% i3 u) _
<DIV id=lrc42 style="COLOR: #000000">我不会让伤心的泪挂满你的脸 </DIV>6 O: o; S( U3 l6 k d3 r
<DIV id=lrc43 style="COLOR: #000000">我在等一分钟 </DIV>
, D4 Z1 P |$ V, _<DIV id=lrc44 style="COLOR: #000000">或许下一分钟 </DIV>: t" V$ l/ b% F! T( b
<DIV id=lrc45 style="COLOR: #000000">能够感觉你也心痛 </DIV>
) ]9 q, T8 G- ~; @# @- T3 }. m<DIV id=lrc46 style="COLOR: #000000">那一年我不会让离别成永远 </DIV>: N8 {* O8 I9 j5 i% k
<DIV id=lrc47 style="COLOR: #000000">我在等一分钟 </DIV>
, z k. Q7 \* K. d. K9 w<DIV id=lrc48 style="COLOR: #000000">或许下一分钟 </DIV>
: V" S; `" G5 Z, z<DIV id=lrc49 style="COLOR: #000000">看到你不舍的眼 </DIV>
# z2 M- G$ h( [$ [) V$ q1 C8 v<DIV id=lrc50 style="COLOR: #000000">我会用一个拥抱换取你的转身 </DIV>) [' a5 G/ C$ `; u9 F4 @* r
<DIV id=lrc51 style="COLOR: #000000">我在等一分钟 </DIV>7 |+ S, d& q- F# n0 s5 d
<DIV id=lrc52 style="COLOR: #000000">或许下一分钟 </DIV>
w8 j8 O4 T0 Y" m- b<DIV id=lrc53 style="COLOR: #000000">如果你真的也心痛 </DIV>
5 f' ?) b8 s6 ~* V5 J<DIV id=lrc54 style="COLOR: #000000">我会告诉你我的胸膛依旧暖
: C4 k' N; m. M1 h<DIV id=lrc style="DISPLAY: none"></DIV>
( q! K2 e. p- D/ M<SCRIPT type=text/javascript>) W' |, X5 r8 q, X( U4 X
document.domain="1ting.com";: [. [) N3 a9 @8 s# T; a5 ~
var colorPasted="#666666"; Z; d0 c, z6 R) K2 n: A! m9 w
var colorPlaying="#ff3300";2 v7 _; u) \5 D6 `- G2 M# u, g# ?" P
var colorNormal="#000000";
7 ^" W& f( H# P9 j: l9 x" j% V$ = function (a,g){% e5 f( D' a+ K5 a1 M( ~( X& e
var o = new Array(); ; p7 U/ O, G& ^. ^
var c = new Array(); 0 J0 y0 n7 V( ~' W2 W& t
var r; 7 a& B) h0 L# E6 v) d* @
var u;
2 s# X: w/ A" j5 B" g var a = a.split(';'); # e( ~3 A* o" h3 ]8 h: y
1 X6 x4 |. p) \8 I, W$ z, B var e = "keydowns,resize,load,dblclick,click,mouseout,mouseover,mousemove,mouseup,mousedown,inputchange,inputfocus,inputblur".split(",");9 T; ]- a+ V' M
for(var i=0;i<e.length;i++){. C. g$ F1 K6 s2 |7 v
eval(e<i>+" = function (s){eval($event('on"+e<i>.replace("input","")+"'))}")9 r( Q- S3 [8 x- V
}
! s: p# A# `1 w$ _- t& c
# v4 c1 x4 s b: p1 l6 G( @1 s after = function (t,d,s){
4 @8 d( @2 K0 O4 I7 R0 y: e6 N% N $after = function (){5 D5 N. U6 p0 r" E' x9 B5 Z; p
var $n=document.createElement(t); u x i- C. U/ Q' K
if(d!=null){# `8 T$ k/ R) d7 \, w
$n.id=d;
, n( ?7 v% _+ g! O. b, i& \- H; n }, g5 P; A* G+ a. r4 [
- L9 ?2 [, k$ s) {4 e7 t9 C3 z
u.insertBefore($n,null)
3 e0 ^& E0 X2 a, o w8 _ r = $n; ( q/ H( ?" U6 X4 U1 U: c
u = $n; ' {1 y3 T' H0 E
}5 O5 q/ ^! D* I5 T4 e) s5 Y" m
$for(s,"$after")6 j+ p3 {7 c3 }$ e9 A P
}( l' W3 g3 `7 L% R1 Z
+ G+ J# S t( S( N |3 I
show = function (s){
1 ?9 z- ?# C$ T, m $show = function (){* `0 z8 T8 e, o8 j. C3 B
u.style.display!="none" ? style("display:none") : style("display:block") ;
! _ g) W6 L+ [% E }
5 D6 l3 e/ N4 j! c; n0 t $for(s,"$show")& Z. O( W/ R4 k# A8 o
}/ K3 E* I6 w4 \( l! T! R' q
7 P, l/ c8 ^, t
check = function (t,s){7 t. m7 x% F3 p
$check = function (){
" g' m) c2 X: o+ ]9 B3 [! F' c if(t=="2"){% ~5 S1 q7 ?7 X i
if(u.checked){
& C2 I5 j1 R( T" E# S u.checked = false;
7 x' E$ b# a5 E: F }else{) ^% G- A5 i1 X
u.checked = true;0 f' z3 z; T. N$ g v/ s
}0 g& @# j# R$ ?0 g1 m4 p
}else{- j1 g2 Y# k! x& c3 v
u.checked = t*1 ;
+ R. o# \2 v4 M4 f+ y }
! {5 O& I& W( M2 Z5 I* C0 n4 v9 Z% | }
9 v5 @( Y: i D. ` $for(s,"$check")% o) P+ c: e ^& w
}
C+ w( E$ \ g0 {1 Q* @9 o1 L& N0 y; H- a- G, x- O- |+ Z w
style = function (v,s){2 s* i5 ], `0 L% B& g1 @
$style = function (){
4 t0 h/ H9 E4 C( ]5 E6 v" @$ g var $n = v.split(",")
9 @: L8 @' u; Z4 N for (var i=0;i<$n.length;i++ ){7 c9 c! z3 u7 ~: n6 D
var $m = $n<i>.split(":") ) r u3 }+ R2 Y0 q
eval("u.style."+$m[0]+"='"+$m[1]+"'");$ k. c+ i2 Y0 X4 ^
}) j2 z5 Q2 D$ s3 A/ C- `- @; _
}
% E, Q2 Z" r9 ~$ l $for(s,"$style"), L7 Q# v6 a% J" c" J
}
5 U% |& n* h% {# }6 c; H$ i9 F3 S5 X' D% x. p
value = function (v,s){3 d# `- h. M% k/ y! F: E& z/ y2 J
var $n= $this (v);& P0 ?* [4 k; q5 @4 @, m: k
$value = function (){, D" r6 ?" O$ S& f, @
u.value = $n
0 y+ A8 Y% J) l& ?$ V3 ^7 ] }
/ s( A ~+ u% w3 Y, {) F; d" L+ Z $for(s,"$value")
. F2 j% b" t% _8 o2 R: `$ s }
e4 j* O ^# z5 P" s; g
4 i% M# ?# C- W t3 T# ^% \" l text = function (v,s){
/ C$ m2 n" @- P- A var $n= $this (v);2 L/ E+ n+ p w% L5 B: ?& d
$text = function (){
# M% W; Z" ^. D( c$ g, t # \& d5 T+ ~! G4 {- p; N
u.text = $n# U- l% E5 M. J
}3 \5 X1 a* W! ]/ |* D# B2 j
$for(s,"$text") 1 O# \8 x* E0 T
}
$ Q* I8 O$ }: ~4 l
" M: Y4 D5 a) U2 z2 i( a! ~5 l innerhtml = function (v,s){
, s& i1 _; ]$ o2 X6 y8 O: R var $n= $this (v);! B6 O& Y: k; v- _/ `. z
$innerhtml = function (){
: u# U& W d- I9 Y. r% S% ]; U u.innerHTML = $n8 L+ J- y) `) c; D* k' z+ [
}
& x* e+ C( d# Z3 E' j1 X% Z $for(s,"$innerhtml")6 S% `, V% n1 P X8 J' e
}% q0 F r3 _& |
* P9 ?. z) i( {
removechild = function (s){. T" m: J; D0 Y9 b. ?
$removechild = function (){
2 m' v1 P* ^5 T7 H1 Z& @" O1 i6 S u.parentNode.removeChild(u)% r+ o9 ^' S" o
}9 W0 g9 @! r* |' F# D# L4 U- y
$for(s,"$removechild")
; D# C0 U% }/ D+ s$ W3 ]) m }) c, o( e/ ]3 m
2 z5 t4 w- P6 R' I
$this =function(v){
. k0 l! ]& g1 m% M/ k' s& m2 U if(v.indexOf("this") == 0){
9 j4 |' |+ f7 A4 T! {' W, U' p X) I return eval(v.replace("this","u"))
. T9 n' l. _5 U8 e# |% l5 B }" ^3 Y0 _4 x! c) X, W% i; z3 @
return v;5 w" a2 }# a3 Y7 e) `1 |5 ]
} E. k7 U* C g; z5 S& A' [
- o, S2 y$ X+ p5 x# y4 S
$event = function (s){
7 A( t0 j+ j# _2 Q; y$ _0 E var $n ="u."+s+" = function(){$work(this,s);}"
4 }- g1 |; A; I& s! M8 k0 z return $n;
3 j8 [: ] h0 e/ |# G7 X2 } }
! y h: z6 P* @ ^8 f+ @
6 f) c) a5 x' y; @2 S6 e7 I. `2 Y $replace = function (s){
, t8 t6 C# D& d) @8 v0 z9 g
3 z# I- L6 p- L8 \ }
6 f1 Y3 V K: H L) f! m
! f9 B0 O6 N1 K J, r4 @ $for = function (s,c){
2 r% i6 ^! h5 S5 H& c4 I' h) } var $n="this."+c+"()" ;
7 P: t+ k" ?4 k if(s!=null){
) O& E& b* v+ X8 o6 [9 P) Z8 T var $m =$test(s);
4 [8 N$ w9 s, S, O/ J+ m" k for (var i=0;i<$m.length ;i++ ){
, U8 I1 c( [; G' V. o. u u = $m<i>;
; s/ a- ~, e/ \& O& Z8 s eval($n);/ L1 M. l. C8 z6 r8 z+ A
}
! H- i5 T; q1 e0 j9 ~: j: A5 N; z }' H9 I% g' }% E% p6 [4 Y
else{; Y# {' ~. H6 h, X# ]
eval($n);( ]: x1 w' d; e3 r
}
% y9 c% A( y) o: H. Y& e0 \ }0 T L6 w0 Y2 w0 e" a Y8 ^# ~
+ c* z. P3 ^& U+ V- ?
$test = function (a){
' p# y' j# A5 b$ M0 n var o = new Array();$o(a.split(';'),o);
' D& O1 Z7 o6 e$ f' [$ j' P return o;
/ k# G! C5 r x$ {/ r7 w }$ D' G+ G- L- k* }
, ~/ @+ V' u$ ?5 b( p) ~, a: z3 {
$format = function(s){
& J0 v; C t" {; A- _ while (s.indexOf("'")>0){+ @! q7 P/ d* k z
s=s.replace("'","\"");; f# U3 F: {( M# E9 [3 P/ u6 w& M
}; H) `, y3 N$ y4 S( Q4 a& m& k* H
while (s.indexOf("][")>0){. u+ H; H X2 |2 ^! k" o
s=s.replace("][","','")
' Q' ]# C8 Q' U2 Z; r }
% Q+ y* i8 I( a2 K4 W9 d while (s.indexOf("[")>0){8 r e4 [3 K; z V. h. _/ g
s=s.replace("[","'").replace("]","'")
- L) P1 d/ M+ I } 5 u1 q4 O J/ Y0 f, A: @; m9 x
return s;
5 S( M8 s) v2 u# E7 K# n }( X% G' V% b) i& c: C
& {' b( t+ r3 C& |# q# D6 Q# Y $work = function(w,s){
V1 @, w% v' p v- G5 \6 n" f u=w;eval(s)
( \# s( c/ d2 m! c0 A( e }
1 \) X% H; C6 ~. X& k$ T9 M' z3 |! l! z4 j( K6 Q1 F; z. U6 s7 M: O
$id = function (s){
2 U' y* K5 |8 I9 o: X" t N3 } return document.getElementById(s);# A8 Z5 V! [9 }! J2 }6 K
}- K0 j: _& Z( I3 e+ u' N
. F/ |- s; O+ a6 Y4 Q7 D
$name = function (s){
$ c$ U6 X3 ~1 m* o0 q4 I9 Y return document.getElementsByName(s);6 D- ]3 \" @4 ^) s/ N$ p1 l5 k
}
' t* w% f) ^" D. ?
$ O) g" o9 ] ^' h! Y% ] $tagname = function (s){
: [* K4 R3 d+ Z return document.getElementsByTagName(s);
}) @9 G& m' F8 C8 ^7 _6 U* b0 ~$ m }8 i/ D# ?: _7 y
! b8 O7 V9 s; o0 Y, p/ A) L $o = function (a,o,c){- U' Y" C0 u( S1 V
$push = function (n) {+ R/ h- I+ {( N0 b
for (var i=0;i< n.length;i++ ){% o2 E' e( W$ b6 e
o.push(n<i>);
5 o) c w2 w5 }6 c } 3 R# z# S f6 |* w
}
2 d/ t- ?' \3 i( o) V" { for(var i=0;i<a.length;i++){& D3 q3 ]( t4 G% V3 e8 j& _- {. @
if(a<i>.indexOf("(") >= 0){
$ [0 ~+ E1 p5 M( e" O c.push(a<i>);
3 `" Q" r0 H# o* y }. p5 h9 z/ A* }0 b
if(a<i>.indexOf("~") > 0){
% z. P% n- L* q/ y3 {/ a try {
! q; X3 k, v' w# X; m $push(eval(a<i>.replace("#","document.getElementById('").replace(" ~ @","').getElementsByTagName('")+"')"));
( @' B0 Y9 E. C }9 e0 G# X* U6 ? }catch(e). ?4 x# x' i, U9 f
{}
" E' E' V$ A1 f$ t k' h7 r) S }( P4 X* a& @! |% T, W
else{
! E2 s+ P6 x6 J' ?3 |2 ?, r P3 B if(a<i>.indexOf("#")==0){+ }* p F' t5 @2 Y9 A6 u
o.push($id(a<i>.replace("#","")));
* S4 J0 k0 J) M: J" A }5 L8 {7 j! P @
if(a<i>.indexOf(".")==0){" a9 `' w, m+ H6 a" h
$push($name(a<i>.replace(".","")));
: d1 }) Z" L' N. i! w }
- d: O6 y, Q1 m4 l if(a<i>.indexOf("@")==0 ){4 p( e+ R7 b8 |9 I# w2 ?0 E" K0 d# p
$push($tagname(a<i>.replace("@","")));
$ e" X, r2 g- {) t, @4 E }
+ M9 v6 A- H/ q5 h+ n if(a<i>.indexOf("*")==0){$ l% ?" W* @- Z" c/ V. T
$p= a<i>;8 C# c/ P J+ R! K! L. A4 @. @
if($p.indexOf(".")< 0){) R* q A; Z( _2 e/ [$ a
$p = $p.replace("parent","parentNode")
* G" g$ b T' ~ }
4 I6 L w3 Q, z" A8 ] var $p ="u."+$p.replace("*","");
& @/ o$ x1 S# G: F: j. l" I while ($p.indexOf("parent.")> 0){
( L# ?" f" `7 |& F# Y0 n2 G $p = $p.replace("parent.","parentNode.")/ m& v! }5 g+ V9 r1 b( a5 T. g3 t
}
1 K8 s. |" z a. v! \ while ($p.indexOf("child{")> 0){
+ i0 q' R! S* A* j! o( A $p = $p.replace("child{","childNodes[").replace("}","]")* v0 A' H+ G. g6 f7 q5 _& g
}. U7 E; Q% i, O
o.push(eval($p));. i0 f, ?7 w: O5 W3 a7 i1 {
}1 c5 @* }* x9 {
if(a<i>.indexOf("document")==0 || a<i>.indexOf("window")==0){4 Q8 ~! \4 ^% k4 |
o.push(eval(a<i>));+ a% {: |; s5 S) l+ \! Z5 |$ e* [
}
! U# w1 e$ u+ ]) f2 U7 F3 t5 a! [ }6 f: l. C+ R( Y% D
if(g!=null){
/ ]" t T4 j8 t# K" V o.push(g);g=null4 l5 i* h, c# A) E) W% p
} 5 U$ U; X8 R& r
}
9 d9 q' @/ ~$ q }+ K8 `: B$ `4 k
& q2 c- B6 d4 A$ B9 S, S, U2 i% f# A
$o(a,o,c);
; w: S* y4 q1 W ^" g$ }; a+ ^' C/ V( }3 _9 w, W; B
for(var i = 0;i<o.length;i++){
. w* i4 ]0 i: ] for(var j=0;j<c.length;j++){
" x" |4 o6 e: W( T/ E u = o<i>;eval($format(c[j]));
% }7 M$ Y1 S; s" @ }
1 m! C7 J- F) \# s" g$ j- ^% x }
( e8 a/ E7 P' L% X7 L% ^& g2 m( `
) E- D' \+ D5 D8 p i0 W6 O9 _1 O if(o.length == 0){& Q; |9 {8 U( L$ T
for(var i=0;i<c.length;i++){
D2 w: U$ k, I eval($format(c<i>));7 g; |$ s% b9 S1 S8 B) Q
}; H' Z) Y/ N/ n8 P! D- e
}9 v& w) {. L' p' I' A
# I9 ^* r& R2 i1 m' l* \5 P# v1 {
if(r!=null){. Z! [6 E# a3 O$ z4 o/ [
return r;. |: V( n" r$ P5 h3 p1 f& |
}5 |% _+ ]+ y* i) |% K; W
1 z3 h' `6 p+ ~( t1 j/ Z if(o.length==1){3 P1 p+ y/ I* N+ ?9 U6 b
return o[0];
! ~( c$ l# D5 D9 E V- x' @ }! D8 r5 a, u6 G, X
else{
. `/ R0 _5 |8 I# b( E% D1 A6 g5 W return o& z8 c4 _0 o1 b, {" h, a p
}
" l$ `4 i* o, E
c4 R; o+ A4 g8 W# _8 S }+ D& M. j$ k$ V3 [, l
var lrc =$("#lrc;show()").innerHTML.split("[");
$ C' b9 ?$ T6 H7 J' K' Wif(lrc.length>5){
1 L# F6 A( b$ p( z: jvar array = new Array();
: W5 H" T1 s6 t" _4 V3 Vfor (var i=0;i<lrc.length ;i++ )
: o3 M K4 Q$ G{
& M' M; d& C3 f3 e( i1 B* c var g = new Object();
* M4 z! @; F2 O0 V$ Y t= lrc<i>.split("]");& d2 r6 y0 A. h
g.time = getTime(t[0]);
4 r) Q' G9 g# b# J8 {3 L& y* b if(isNaN(g.time))
5 v' m7 J3 B6 I continue;
' v$ E2 X5 x% E g.c = t[1]; F* |9 f+ M+ G# O2 ~! g
if(g.c == "")
; I# R, \. O0 _( ^: R# G5 | g.c = getNext(i);
( f* t$ w, c1 v: ] array.push(g);
0 a& }3 \4 f; T; N0 W5 i6 R) }3 A}
! }& v; Y0 S" `4 i) w6 marray.sort(function(x, y) {
' N: H6 I/ n8 T0 `0 g, G if (x.time>y.time) & P8 Q! f' G S
return 1;
% \( X0 L" U& F8 J0 Q1 p else if(x.time<y.time)& E$ ^, V* h' Z7 ?6 Y9 I, r
return -1;
) X; ?" [, n- W( G" E) B9 l, Q else( Y0 @* z6 C( l* V, _# `
return 0;
: q9 A8 F. J; `8 y }
1 Z& z, P1 M( l$ U6 ^. w7 Q$ W; \5 y);1 o. z" f5 n# v! z
for(var i = 0;i<array.length;i++)
) e. I0 t; {, g" F$ o2 A{
& c+ B9 S8 M$ v var g = array<i>;
9 w; d, M" U0 m) f! c if(!g.c){* a, Y1 X( C! {* y# J
g.c="";
: u7 b" S, n, r" R }
: U5 B1 Y1 s. m- Q1 I. m. G l( b) N $("#list").innerHTML+="<div id=lrc"+i+">"+g.c+"</div>";! h# e. s. Q9 c$ D
}
- {8 l7 k3 ]0 R* [0 e5 d( Zvar time = setInterval("lrcList()",500); 5 R* A( Y3 J! P
}else{" [3 c* c9 Y1 M) X
$("#list").innerHTML=$("#lrc").innerHTML;9 H$ u! `+ C* A; W7 S( g! J
}7 E# I0 E7 e6 W! f# L9 e% y
function getNext(i)5 l( D1 ~6 p4 t; ^: f$ _8 a
{
b" h' C6 M% I8 |( A' |/ _. y var result = "";9 i& @: h2 p/ x% [; _! N4 O" W* x+ W
var i = i+1;
+ s2 y7 x0 c' t& ^" Y3 g, t t = lrc<i>.split("]");, n% y7 r* p! m$ R" s1 B1 b
if(t[1]=="")
7 d4 }8 h& E! {# J% j result = getNext(i);
# m& w1 C1 z9 V* X; m4 W else
5 O) S' F2 J# L" I* w* h. \7 q4 I result = t[1]
/ W4 X+ r. P% _( v9 g return result;/ `! r: i9 D+ ?7 l
}; Z/ B7 T6 ^/ X5 L3 z' Q% ~- |8 O
1 s! C, ?0 C1 B. _function getTime(str) F v& B8 w! i. \
{4 F4 _+ ?6 p Y) k1 @ v
var time =0;, ?) o# X; v1 C, ~; G4 J6 J/ U3 T: q
var ta = str.split(":");
- o6 O* b% {/ H if(ta.length<2)! a J R( U- ^: m7 ]2 b, f h
return time;+ d' l, a+ h: s9 N) v( T4 h% y1 { m
2 Z* p+ i! g5 T6 d
if(ta[1].indexOf(".")>0){8 c- [" k& t% n' @# F, Q( p
var tb = ta[1].split(".");
, l B2 q p5 |6 e4 t time = ta[0]*60*1000+tb[0]*1000+tb[1]*10;
+ M4 @- Q- `: n( O, b }
" b% r! _0 }( h else2 X, K2 P# n. A5 y3 R# \, ?/ J
time =ta[0]*60*1000+ta[1]*1000;
: p4 t0 a/ @2 C( ]. q return time;
* q& B7 w) g& Z. r( d}
- U; G1 _- G/ f) E2 Vvar preTime = 0;
, g# Q, r8 c- d# i$ avar nextTime = 0;
+ w# h2 c2 k2 Dvar currIndex =0;! _) u9 w. D; z: ` w1 [% u
function lrcList(){
1 s; f0 x; Z9 P var s = parent.document.getElementById("MediaPlayer").controls.currentPosition;7 j8 j& I2 P+ U( g k
s = s*1000;
" K8 {& G9 d4 o+ H' q& e2 } if(s==0){. |9 X# ?8 H/ f" G& d
currIndex =0;
; p/ E' w( z, E, u* |% ?! T- q1 F $("#list").scrollTop = $("#lrc"+currIndex).offsetTop-30;
- y) S6 o7 n$ n; R- o for(var i=0;i<array.length;i++){
( x) O& I9 O' n, A. E3 U document.getElementById("lrc"+i).style.color=colorNormal;
0 W- j! V* Z% ]4 m0 W: f. w$ e }) b. u& b$ J. ~- e; A
return;& P8 G# V* k0 g- j& m5 F8 l
}
" p z8 B% N8 @7 U+ D) t2 v7 a if(s>0&&currIndex<array.length-1)
, ]# x9 g3 m: f2 k { ' m4 O/ V$ n% E. Y& P
preTime = array[currIndex].time;
5 W+ F4 \: }$ r1 ~' D( D% r" x& I
6 i- L7 k% R6 S0 D {2 p) a- |* C nextTime = array[currIndex+1].time;
! O- r' a: A9 D/ R6 W
) o C9 b/ E9 h$ x8 }7 w if(s>=preTime&&s<nextTime){
# y4 z7 Y% ^" O u }" g U/ F Z2 w3 d- q) m1 }6 `
else if(s>=nextTime)
4 e2 L, k' R$ x2 S {' e! Q+ {+ g4 z' {3 ~
document.getElementById("lrc"+currIndex).style.color=colorPasted;
6 @0 q* h4 `, V# b7 @ currIndex++;
6 X) c# S6 S! A+ Z8 Q/ q $("#list").scrollTop = $("#lrc"+currIndex).offsetTop-30;) D' l- M0 z& D/ }
document.getElementById("lrc"+currIndex).style.color=colorPlaying;$ f: r$ y- A4 A' G! M3 ^
lrcList();( x u" n- |' F+ e
}) `6 D0 M1 M1 E2 D- F2 |" Z/ V, t: Q) _
else{
0 \$ L ^. e* u9 f6 d1 l document.getElementById("lrc"+currIndex).style.color=colorNormal;& \' |& I$ [( C/ T: [6 W( V
currIndex--;
) s6 A3 a1 ]) Z $("#list").scrollTop = $("#lrc"+currIndex).offsetTop-30;
1 p2 A( X6 a' e' M( [- J9 ~5 x document.getElementById("lrc"+currIndex).style.color=colorPlaying;1 R* O( Z0 t* E8 X
lrcList();
" y2 M* K; q' D" z/ o; M9 E }
, s9 i; V1 c( P# B }
4 k2 @7 P4 Z1 U6 n; p5 \( b else
, `* S# E( X0 t6 d8 W {7 `; a9 J$ ] F# [% b' S& _" X
if(s<array[array.length-1].time){8 `9 A0 i3 C7 ~4 a4 R, q4 w0 W
currIndex = 0;
3 s0 [* W" r, T2 C/ M% P $("#list").scrollTop = $("#lrc"+currIndex).offsetTop-30; [. }# Q! }. U4 X. \. q1 ?; S
for(var i=0;i<array.length;i++){
: A+ |/ k4 N4 i. R document.getElementById("lrc"+i).style.color=colorNormal;% ?/ w. m" a- ]/ ?" [9 R# g ~( b3 v
}$ M D) k, K% k
lrcList();$ X3 W/ X* g" F! ~2 h
}
9 D0 Q2 X+ R( }5 c* h- k$ T& ] }* {# ]- k, I" W$ P/ `7 f
}* L. B& P! \& n6 B: T3 l) e8 I# b
</SCRIPT>
2 `7 ]! }: A7 u2 t</DIV></DIV>& P* _6 w8 W |% `" A1 ? r% b
# ]0 F/ _( R: m: {6 J+ v[ 本帖最后由 幽谷兰 于 2008-9-18 17:36 编辑 ] |
|