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