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