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