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