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