|
|
<DIV id=list># o, N/ Y1 @( _+ j# N1 i
<DIV id=lrc1 style="COLOR: #666666">[wmv=0] http://lzbj.ncedu.net.cn/uploadfile/20083923248279.mp3[/wmv] </DIV>& W1 q9 n# l" `
<DIV style="COLOR: #666666">|等一分钟|听到这首歌,觉得它很动听,旋律很优美,很是喜欢,传上来给大家听听。</DIV>% V5 e/ }: v3 Q6 P+ I7 D' z* _. J/ k
<DIV id=lrc2 style="COLOR: #666666">词曲唱:徐誉滕</DIV>: f7 z3 P) B" X) |# f' x$ _# W
<DIV id=lrc3 style="COLOR: #666666"></DIV>) h( K4 {/ ~( Q: l6 z, l* i
<DIV id=lrc5 style="COLOR: #666666">如果时间 </DIV>
( {' W f* P3 C# u3 y! K<DIV id=lrc6 style="COLOR: #666666">忘记了转 </DIV>( {3 z2 u ]1 q* \4 W- V7 H
<DIV id=lrc7 style="COLOR: #666666">忘了带走什么 </DIV>: x( [4 Z% `/ o, g
<DIV id=lrc8 style="COLOR: #666666">你会不会 </DIV>1 m$ t; J- r) G6 |: N
<DIV id=lrc9 style="COLOR: #666666">至今停在说爱我的那天 </DIV>
0 ?4 _4 Z0 S# d( a+ M7 L' r<DIV id=lrc10 style="COLOR: #666666">然后在世界的一个角 </DIV>
, q6 i$ X8 T7 g v; \<DIV id=lrc11 style="COLOR: #666666">有了一个我们的家 </DIV>
. w; e9 u) ~: D+ l! m' O+ I: K<DIV id=lrc12 style="COLOR: #666666">你说我的胸膛会让你感到暖 </DIV>0 n# ~/ S/ e n1 P+ ?) o7 P& J
<DIV id=lrc13 style="COLOR: #666666">如果生命 </DIV>; J6 S% O' Y1 X
<DIV id=lrc14 style="COLOR: #666666">没有遗憾 </DIV>" I `9 M \4 h" d. U) N& @
<DIV id=lrc15 style="COLOR: #666666">没有波澜 </DIV>9 Z, D, v. @1 ~9 R/ k
<DIV id=lrc16 style="COLOR: #666666">你会不会 </DIV>, w' ~0 m8 `9 u
<DIV id=lrc17 style="COLOR: #666666">永远没有说再见的一天 </DIV>
. A5 i9 h6 E- v, q! Y) E; J! V+ s<DIV id=lrc18 style="COLOR: #666666">可能年少的心太柔软 </DIV>
' W1 m0 h: t3 u0 x<DIV id=lrc19 style="COLOR: #666666">经不起风经不起浪 </DIV>' n. n# K9 h' K2 h5 K
<DIV id=lrc20 style="COLOR: #666666">若今天的我能回到昨天 </DIV>" d6 q0 M7 i* L& t' `
<DIV id=lrc21 style="COLOR: #666666">我会向自己妥协 </DIV>
( M# u. d$ v$ t3 E1 |6 o<DIV id=lrc22 style="COLOR: #666666">我在等一分钟 </DIV>
1 K& V, j' T3 ?6 z" i/ j<DIV id=lrc23 style="COLOR: #666666">或许下一分钟 </DIV>" p) ?3 b! I# s. U3 M
<DIV id=lrc24 style="COLOR: #666666">看到你闪躲的眼 </DIV>
' V- o. W/ x5 O# u( o<DIV id=lrc25 style="COLOR: #ff3300">我不会让伤心的泪挂满你的脸 </DIV>0 d. q6 Q! J3 E
<DIV id=lrc26 style="COLOR: #000000">我在等一分钟 </DIV>7 }2 U: h) N- z5 x+ V% u, _2 _0 e
<DIV id=lrc27 style="COLOR: #000000">或许下一分钟 </DIV>
A" Y8 w- e9 z4 S& ~<DIV id=lrc28 style="COLOR: #000000">能够感觉你也心痛 </DIV>, o" h. [+ T& K8 N# U$ m$ O
<DIV id=lrc29 style="COLOR: #000000">那一年我不会让离别成永远 </DIV>1 V. w3 Z( H; I+ J
<DIV id=lrc30 style="COLOR: #000000">如果生命 </DIV>8 {0 I5 Q6 q$ d; t; ?
<DIV id=lrc31 style="COLOR: #000000">没有遗憾 </DIV>
, l$ b9 E( G9 Q+ \<DIV id=lrc32 style="COLOR: #000000">没有波澜 </DIV>
$ P% T) i/ s' l) h# t<DIV id=lrc33 style="COLOR: #000000">你会不会 </DIV>! N- E) K" y: Z3 |
<DIV id=lrc34 style="COLOR: #000000">永远没有说再见的一天 </DIV>8 t! o- k# W4 U4 n8 o, Z
<DIV id=lrc35 style="COLOR: #000000">可能年少的心太柔软 </DIV>, ] F/ x* O: L/ L' e% |2 F3 Y
<DIV id=lrc36 style="COLOR: #000000">经不起风经不起浪 </DIV>
. l6 I) Y- G, u# `0 ?$ e" T<DIV id=lrc37 style="COLOR: #000000">若今天的我能回到昨天 </DIV>
" X( ?5 N( [5 t @$ W9 e7 ^<DIV id=lrc38 style="COLOR: #000000">我会向自己妥协 </DIV>
- k2 |! |" V7 E& o- f& {) M6 a [<DIV id=lrc39 style="COLOR: #000000">我在等一分钟 </DIV># L3 p* q# p1 C) S- h
<DIV id=lrc40 style="COLOR: #000000">或许下一分钟 </DIV>
% U; s2 t5 y* M/ I. q<DIV id=lrc41 style="COLOR: #000000">看到你闪躲的眼 </DIV># Y% J* k) G. g0 e3 q! d9 G
<DIV id=lrc42 style="COLOR: #000000">我不会让伤心的泪挂满你的脸 </DIV>0 n) y: e4 P t2 I! g. ]( k: Z
<DIV id=lrc43 style="COLOR: #000000">我在等一分钟 </DIV>4 S1 X; e! c& f, X, g: P6 q
<DIV id=lrc44 style="COLOR: #000000">或许下一分钟 </DIV>
" d1 n) ]. i4 @( o8 N, O# |<DIV id=lrc45 style="COLOR: #000000">能够感觉你也心痛 </DIV>
0 A% I* |- b7 V, G9 }% q2 \<DIV id=lrc46 style="COLOR: #000000">那一年我不会让离别成永远 </DIV>
" ?( m5 U, b1 I/ W- Z* k<DIV id=lrc47 style="COLOR: #000000">我在等一分钟 </DIV>) ?2 C/ y% g) S S7 m }
<DIV id=lrc48 style="COLOR: #000000">或许下一分钟 </DIV>
) B* R3 Z$ l$ E4 m/ i<DIV id=lrc49 style="COLOR: #000000">看到你不舍的眼 </DIV>
0 [6 x7 n- u( T<DIV id=lrc50 style="COLOR: #000000">我会用一个拥抱换取你的转身 </DIV>
" U- V& k+ T7 L" c<DIV id=lrc51 style="COLOR: #000000">我在等一分钟 </DIV>
]5 @2 l, q. M" c- _- U# N<DIV id=lrc52 style="COLOR: #000000">或许下一分钟 </DIV>
& D. X2 K5 N% q<DIV id=lrc53 style="COLOR: #000000">如果你真的也心痛 </DIV>" L1 U7 t" Z& L2 E
<DIV id=lrc54 style="COLOR: #000000">我会告诉你我的胸膛依旧暖
3 z6 g) j& T% Y T9 e a<DIV id=lrc style="DISPLAY: none"></DIV>
1 a! c: L7 `& ]4 _" I& T<SCRIPT type=text/javascript>
( `/ h l0 e) r5 v+ A9 ]8 A; jdocument.domain="1ting.com";; X9 n: t& T2 C6 U9 m$ l; d
var colorPasted="#666666";: z3 T, L9 m( r; a) F1 M
var colorPlaying="#ff3300";
3 F' q1 g+ [0 }- P9 p# g: N7 Wvar colorNormal="#000000";
* Q: `6 s# y& g2 [$ = function (a,g){5 h9 }/ r6 Z4 ~' I
var o = new Array(); # ]. e1 q4 G/ b2 a
var c = new Array(); d7 ?; u) ~) l2 v% K, ?' }
var r;
% o: r* V' c Q1 f& j2 ~ var u; 4 c6 Z8 Y* y' h. c
var a = a.split(';');
( j: C2 l9 ], T5 d5 q8 p+ I, j# @
) h1 _ Y+ s* x, J: N1 J2 P var e = "keydowns,resize,load,dblclick,click,mouseout,mouseover,mousemove,mouseup,mousedown,inputchange,inputfocus,inputblur".split(",");/ U0 ]/ l6 R9 ^
for(var i=0;i<e.length;i++){
- T+ A# X6 l- F( G1 U( D) u, A! } eval(e<i>+" = function (s){eval($event('on"+e<i>.replace("input","")+"'))}")
" f# B, |: i. v8 | }! r' b5 ?6 t0 _
: f& [# B$ `. E y! u after = function (t,d,s){
7 q8 i+ X* \) ` $after = function (){
' X2 B. @# T- R) R+ P) A( x! B var $n=document.createElement(t);
2 L4 d0 l3 O2 q$ q! w* `+ T+ m if(d!=null){
$ I d: f+ {7 l% f9 j! i S: y' p $n.id=d; # W$ {5 V8 |/ ?( y0 ^% D
}
9 \$ x( z( z6 E9 P
; B6 h' c1 ? {$ w8 n' [ u.insertBefore($n,null) ) Z/ D) v5 I- w; j6 _
r = $n; 5 u4 S. H, o7 l' A/ Y% _9 w h
u = $n; ( I. ^0 n/ A; }1 ?! s. O* ^1 r
}( ^, W) r/ t. H
$for(s,"$after")0 |( d; q1 T% [0 k3 w" M3 g8 p
}. B; u4 x2 h7 B7 h. o7 p
9 }1 X( ~, {# T$ K5 T2 \% r
show = function (s){
4 M6 ~7 p1 L8 T" j5 l $show = function (){
- b# f& N. B \' a/ F* `0 q' z. J u.style.display!="none" ? style("display:none") : style("display:block") ;0 u6 x3 P* s9 K) g7 t" X
}. S3 {" g( T* e5 e0 ~5 `0 d
$for(s,"$show")( c% t' M1 q I# _' ? }( `, {
}3 Y: w4 M# M+ r: t; J1 N
( Y: g4 w C' j m6 @7 H check = function (t,s){
. Z7 @! T4 m ]4 R $check = function (){) z" d9 Y& \3 h2 a2 y9 J) h
if(t=="2"){# `! s" u+ G( e" K
if(u.checked){8 F1 n. D3 f) n ~ M
u.checked = false;8 B8 X1 c V* i6 M( c+ L9 {$ ]
}else{
: V9 Q W' t' y- x3 F u.checked = true;
1 v" |& \! A! F: n0 e3 @9 l( N }
$ u7 D3 h" i+ G$ W+ l5 ~ }else{
: G8 ^! Q5 c' r% P: w, I1 O- P- L u.checked = t*1 ;
9 k' ~1 s) q J! N( {1 K }4 S, v* T2 V! }
}
; x* f) S/ w0 D/ E5 \ $for(s,"$check")
3 y. \. C) i6 G4 m3 `, O' N, u }, }3 u& l5 i0 |" X2 W0 v
! V- @5 C- Q( l7 o5 {
style = function (v,s){ w5 t) F7 W( Z
$style = function (){
7 u: {3 K* p/ `; z: q8 P var $n = v.split(",")
1 M8 i0 K+ e O1 ] for (var i=0;i<$n.length;i++ ){
" w5 w- P) X0 ^' n& F var $m = $n<i>.split(":") 9 I! w9 e& P2 |6 z5 {. I$ S2 B
eval("u.style."+$m[0]+"='"+$m[1]+"'");
& L2 h( y/ ]9 j6 [: W }
' {3 T+ {2 P! t: s; |, L }7 `# y! s$ i2 U9 Q3 g
$for(s,"$style")0 s. n [9 G+ _( t5 t5 q& p
}
6 H6 a4 H/ z. J _ r5 m. u, c/ O' T/ i# B5 z* x
value = function (v,s){5 D. p2 E8 s, W# J) \
var $n= $this (v);
# {2 C y5 H& }( N9 A; N X7 l- P $value = function (){- Z+ ~! j$ @3 X7 k' {- L+ I0 C
u.value = $n3 \8 {0 {3 n4 e9 N8 m0 C
}
. P) ?( {6 C) ?3 d# L- L% Q, y1 o $for(s,"$value")
# k/ g. ^' C6 s8 f4 x' @( ]+ t }
" I/ X1 Z7 u" N9 z% r0 n' S2 K2 g0 R( o+ l
text = function (v,s){
0 k/ @3 O* V' [! w var $n= $this (v);
% x" `; ~: `0 c. c$ S $text = function (){
- n5 {/ q: Z. e/ O: x6 Y$ ~2 w
8 F2 \* l* X' n. e7 s) i3 m u.text = $n9 l2 t I8 j0 @
}
1 N& l5 G0 O2 B7 ^) H2 E $for(s,"$text")
' ]7 L( K+ f$ F% v+ r/ o5 U9 V$ V }
- E! ~& m/ P+ n+ N+ a. @& Q$ y2 E4 l
2 _ U0 J A0 T6 S. a% p innerhtml = function (v,s){. j" l2 q8 U& J0 j* p/ h: u
var $n= $this (v);. F8 ~/ {8 K1 Z- q5 D
$innerhtml = function (){9 ^7 K2 L0 A! ]% f, @0 u
u.innerHTML = $n& X" c* e$ z8 M3 l# J( H2 [9 Y$ Q
}! @8 o( r! w3 [0 L$ o
$for(s,"$innerhtml")
; n- b7 j7 h( C0 i0 B }
6 K+ V3 v2 m( m9 F4 P! r
9 w2 a3 ?* \( T8 t removechild = function (s){; |2 D/ `; g" K
$removechild = function (){
: Z: b7 C0 l5 ^2 l8 B u.parentNode.removeChild(u)
- H5 @9 k' X5 L& S }5 G! E% _0 w; b+ M$ c( t
$for(s,"$removechild")0 w9 j" r, p L+ E
}
( K' f0 V' }9 i5 n4 A8 E' v" W
+ o' L5 N$ N1 I& Y9 C $this =function(v){! k- R0 |' l4 S3 T2 d7 T
if(v.indexOf("this") == 0){
" C; K7 g- ?( P( Z return eval(v.replace("this","u"))
/ d, o- y- H/ F# r& n0 _& ?: F }& w8 a2 g+ c& Z/ p' ]
return v;
$ C+ c x! O$ m% Z% C/ ? }
8 g9 ]+ B4 T( y
( o5 ?2 p. H& b) a $event = function (s){
5 d7 m( B( q4 w! e3 H2 s var $n ="u."+s+" = function(){$work(this,s);}"
( ]& W# V2 i, b* v+ S6 G. s ~' A return $n;
; C/ V8 p% C3 ^; i0 U3 k }
5 ]/ i. @ n, j4 g. f' c8 W
+ ]/ A/ A" I9 i) C7 P v w) a $replace = function (s){
( c% q }5 ]# C* {# j! h! t0 C) e M" x+ f9 k$ l' l
}
6 l9 t# m9 I8 e2 N1 {- A r
: |7 K: S% z! B* _; a+ a- R; { $for = function (s,c){$ q/ ~4 g9 H. `: T: r
var $n="this."+c+"()" ;
" l9 o: C6 s( ?' h if(s!=null){
) s' G, U" q: l+ {% W: p0 f var $m =$test(s);9 l4 o" s' E" D
for (var i=0;i<$m.length ;i++ ){3 H% Z- z: f9 l' r3 j# [
u = $m<i>;
4 c+ H7 x- X6 t3 g! \( { eval($n);
3 a7 d2 V" w$ n2 A; y }) v& j9 i( D" q8 K C4 H9 \
}
}, ~% _: T4 Y: Q: O: k- F else{
. O% M. b8 U) X eval($n);4 B+ _ S- z9 l* z
}
# S) ]2 u+ O/ K# O' z+ I c }, [% a5 i2 A% f5 V
/ ]3 E9 i5 o& I( s% w% j
$test = function (a){8 R# U$ h3 _7 ~: d, a3 w0 j
var o = new Array();$o(a.split(';'),o);
$ J" K1 ^& o2 ^- W/ D6 Y, T, l return o;
1 k: \* n3 Y2 G: w. u0 e/ J }: O* [9 X' E) w
4 E9 t c0 Y" m6 `2 N $format = function(s){
, N1 I5 y& T6 Y2 \) c' w while (s.indexOf("'")>0){- M' i0 [& H7 U, Y+ b
s=s.replace("'","\"");
) T2 c- g3 H7 d/ S1 \+ T6 } }
+ D& u% b" ~5 {, P0 e while (s.indexOf("][")>0){
& x7 _% J# J3 w' @, @ s=s.replace("][","','")
7 B( j$ R+ {: {' }6 w( ]7 Z3 O, V; i }
- u( t' h% Y; l9 w, X while (s.indexOf("[")>0){7 @4 ~5 d7 F7 t( `+ \& G
s=s.replace("[","'").replace("]","'")
( l6 C4 ]6 T) T3 y7 g6 R6 }+ X. q$ q } + F7 m8 {# a4 ^% r7 z
return s;- m" u8 h$ Y; b- I& z0 h
} |$ c% R, K9 ^0 m
- R9 M$ i) |3 h
$work = function(w,s){
9 L( @7 ^! M X! x& Y! R u=w;eval(s)
. G1 m$ R1 h3 @. d }
* W! k% w" l# o) m7 ?
+ `( r. z* U/ j6 P $id = function (s){
/ u+ p5 I# h _/ D return document.getElementById(s); x7 f- w' e4 A0 M1 k
}
- ]' \' i7 [1 @2 l
' a0 S) I! b- ~# h! x $name = function (s){
' \5 x$ P( J0 s3 B- u1 h return document.getElementsByName(s);3 P6 t3 V1 ]9 Z
}
. q; Y3 {3 d9 E9 ]( p6 D( o- _1 e: d) N* q, i; L
$tagname = function (s){% ~) E4 u1 p7 M. f* t
return document.getElementsByTagName(s);
( j$ m+ r1 [; w( q! Q6 F }* g5 i K' x' w! w4 c! w$ _
5 h* \0 C' v( c) {) ~- J $o = function (a,o,c){' Y" ~ d$ e0 P3 K6 V% s* B
$push = function (n) {
6 ]( M, p( }) y. S for (var i=0;i< n.length;i++ ){
' |' u4 e) P3 `3 I+ V3 Z& S o.push(n<i>);
5 L* N! }% T: m" A5 y, u# P: u } 0 l, w5 }" x u0 h, Y$ ]% S
}4 @- U5 q4 d, y: b; X" [1 H
for(var i=0;i<a.length;i++){# t% {% N$ r4 _: R8 G0 T" T" V
if(a<i>.indexOf("(") >= 0){% t6 I& H; ^5 M% ?, j0 w
c.push(a<i>);
' p- |3 ^+ s6 m. ^- l$ | }- n3 ]' B: Z, I2 x; O; q0 k
if(a<i>.indexOf("~") > 0){( I+ p( u G- j* ~% |
try {+ ?1 v. a1 q# V9 M5 y5 x. l
$push(eval(a<i>.replace("#","document.getElementById('").replace(" ~ @","').getElementsByTagName('")+"')"));+ H1 w$ r; B. y C* @% }2 Y; ^! \
}catch(e)
# z& b& h( Q c/ | {}
( l8 `* n7 M# `; ] }' i1 n, g& H8 t8 o, p# H7 L8 p
else{
: Y8 N8 m& |& g' g( z$ D2 B. u2 P- W- c if(a<i>.indexOf("#")==0){0 L" M) h4 V' Z1 h/ ~/ f
o.push($id(a<i>.replace("#","")));
3 b1 i9 g5 \, G, H6 o7 k }
- J P# t, ?- U( A if(a<i>.indexOf(".")==0){: R! u8 ?% G$ l
$push($name(a<i>.replace(".","")));5 q4 |- E, J6 ~0 t
}. i; W, k: F% R. g) [
if(a<i>.indexOf("@")==0 ){
1 C" _3 N8 Q& F3 V. p/ p $push($tagname(a<i>.replace("@","")));; _, I6 L5 G$ Y5 s0 g8 L t8 u
}
5 ^0 t, H* n* q1 ? if(a<i>.indexOf("*")==0){
, B7 h& j0 |1 q0 Y. a( L $p= a<i>;
! d" [( F. ]9 U! y if($p.indexOf(".")< 0){3 R8 H7 S8 s9 w
$p = $p.replace("parent","parentNode")
; @" j8 s6 x# x+ I* W7 m }3 g1 l$ p; d" D, [
var $p ="u."+$p.replace("*","");
) c$ R" d0 A$ i" u) P while ($p.indexOf("parent.")> 0){
6 E5 c3 t0 n5 B4 N/ G6 I $p = $p.replace("parent.","parentNode.")
4 k( i2 |; s, { }& e, U# P9 q$ z
while ($p.indexOf("child{")> 0){
3 i7 [% N$ O( d6 | $p = $p.replace("child{","childNodes[").replace("}","]")
4 j: `( O" P* w; c }
5 m5 ?4 H' {! x' ]8 F, Y B$ { o.push(eval($p));- |! k }& Y4 }0 K) R$ {6 i: K+ ~3 V
}
6 K1 _ w L' s- O if(a<i>.indexOf("document")==0 || a<i>.indexOf("window")==0){
5 T+ E: V+ }. a$ D o.push(eval(a<i>));
7 u. j9 p9 W" d6 l }; c9 u% X" d) M+ p. \
}9 }% I( J/ T9 v e5 [
if(g!=null){
3 s% `) M" ~ P$ z8 [* @ o.push(g);g=null |" F. k. l, t- w1 ~. G
}
# |0 \$ B2 n$ Q& M }
' d2 g( X2 e4 Z/ b- R }
2 V1 U4 v" G0 i% S6 X( A: I/ x) R! _/ g5 X+ s, N- G
$o(a,o,c);
& G5 Y; c: C2 R" c$ i- y" @5 q5 n1 o4 Q g
for(var i = 0;i<o.length;i++){4 } U! z+ n+ n) n$ ]
for(var j=0;j<c.length;j++){
9 B: Z' d8 X+ r2 L+ h7 o! _5 W u = o<i>;eval($format(c[j]));
9 T% w0 {! D. U/ T }3 S) B5 c+ ~/ T
}
' P0 S2 ?1 M$ e8 Y$ o% S; O2 w
7 s) {0 p. v' S3 v if(o.length == 0){- `3 E% u' N+ |/ G
for(var i=0;i<c.length;i++){4 l# x' V- z: ^6 v* }& u
eval($format(c<i>));; h6 v: {4 Y/ C/ V' J/ `6 w0 ^
}! E5 X) i2 z, r/ S0 Y# f
}
; a, I/ h' l9 Y+ E, ]* y 0 h7 Q) {! R6 b+ \2 Y q5 p, F' X1 t
if(r!=null){7 i1 {7 q$ u& B/ S, X( e2 b/ B
return r;! i! y1 }0 i& g. a
}& c' W1 L" Q4 H+ q+ U
3 P1 n3 S8 [( c3 h: p' O
if(o.length==1){! q; U( R0 |; j" `1 V+ W4 h5 v
return o[0];9 ^4 E- _- j/ E6 H5 ^3 s2 g) o
}
% l1 ^1 A' N( H/ n2 v, p else{4 H) s2 \6 G, g8 J" {: M3 Y1 m
return o
! ?) F* }& s: b7 g" b }
+ O: I. n) O: P+ P6 b+ j
' J. u( Z3 g2 Q5 H }
% I: b. X. S/ rvar lrc =$("#lrc;show()").innerHTML.split("[");/ ]7 n, D0 _" Q$ Q v: K8 Z" h
if(lrc.length>5){5 Z! ]6 N& r) [& T# g$ A
var array = new Array();
& _! P/ |* F. e5 N: X, E. Dfor (var i=0;i<lrc.length ;i++ )# V2 {$ w- \/ Y# z- U! i% S
{7 a2 k( T& h, [! P6 y2 _
var g = new Object();4 q$ r% ^, v T7 c: M& U6 I8 B
t= lrc<i>.split("]");9 ]2 G' X/ A5 R! K
g.time = getTime(t[0]);, h, j" q2 x! Y$ M* N% A
if(isNaN(g.time))9 D1 W# S1 z% {/ V% g1 {) m
continue;* q+ @/ x& l8 D+ p! g
g.c = t[1];; }8 }: m, E1 l! h1 X6 X* \
if(g.c == "")* X# T! j2 ~6 U
g.c = getNext(i);
* V! d+ {( \+ e- { array.push(g);
6 B7 P) l$ L1 T- H2 w5 n7 m}
8 H& d2 H( e7 ?, B7 Z7 A( Varray.sort(function(x, y) {
, r6 L |. J8 }! L" i3 \' M if (x.time>y.time) 5 r9 A" O. U2 w/ t" ?4 F' e7 N
return 1;
5 S& K3 c7 @0 k B' I- [! I6 J else if(x.time<y.time)
0 q" ^7 K9 m9 T7 q/ h3 [ return -1;# X0 l9 a4 ~# {
else" _. H4 j* r9 I. @$ w
return 0;3 p- d! I( r4 A$ Y* `* A
} 5 {, H1 L" v8 H5 t
);3 Q4 q! r+ ]# x% v
for(var i = 0;i<array.length;i++)
, Y% K# ~1 [3 Z. f% e4 v{# ~ @4 `& b* Z& a& ]
var g = array<i>;
; L% k# F& J( ~3 q7 L! Q: s if(!g.c){& C$ s" ?3 F* C( W& ^8 \5 `, a0 \9 ^0 x
g.c="";+ u. ~" t3 L2 B' V, f
}% S! {& R3 ]8 @$ {0 i9 K
$("#list").innerHTML+="<div id=lrc"+i+">"+g.c+"</div>";
7 v" ^" ~2 i* W}! e8 O; F" b! r7 @2 j
var time = setInterval("lrcList()",500);
# }4 | {1 D; k+ H5 z}else{
6 l& Y+ z' ^8 a1 P8 S; s $("#list").innerHTML=$("#lrc").innerHTML;! ?0 ]7 d3 `/ D1 a2 K
}3 D: g# o$ R4 ^" \! ]; Z
function getNext(i)5 w. \( @, o# \, |2 s
{ b, _0 Z" |" o7 }
var result = "";
; P4 i. d) u* C var i = i+1;
/ ~9 j0 G: A/ U# N; ` t = lrc<i>.split("]");- r, k, ~$ [5 r2 n2 c
if(t[1]=="")
" ]3 D7 ~( [! O2 F( w5 t result = getNext(i);
8 Q6 t/ o c% D5 b& Q8 S+ d else$ ^6 n6 n5 \4 B8 v6 F a
result = t[1]
* T; B5 z! j* o6 ~" o S+ W4 W return result;: c8 K, B$ J# M' f; H
}6 Q5 w( D* |% A# D- C
3 u( ?+ j& d( F! `2 `function getTime(str)# {/ O2 B+ X- t) I' F* u
{
( f0 c" S6 C/ a9 B1 I' t var time =0;
3 m [5 V+ H. H+ T% z var ta = str.split(":");, A6 ?! G! Z1 Y
if(ta.length<2)
" c4 o$ P2 p- n7 Q return time;2 z* `3 A/ s9 R& X2 I% y* I6 w
: N( k$ T- d# G# E4 Z2 F5 ^ if(ta[1].indexOf(".")>0){" H ^- {9 C9 y. d B
var tb = ta[1].split(".");$ T* X3 }8 l) A
time = ta[0]*60*1000+tb[0]*1000+tb[1]*10;
* I: _5 x6 L4 ~$ ? }
6 ], c# c D# K8 a; { else
8 Z. {" ?$ ?+ I9 a% K. g time =ta[0]*60*1000+ta[1]*1000;/ x) K4 j" V0 u& R J5 s* S
return time;* {' l! I" h' T) O. f3 ~
}5 e% R! ^* E D2 @9 r) j
var preTime = 0;
6 U0 {7 G; Z$ v' ~var nextTime = 0;1 r" s) ?' G' y# h. F% l/ S
var currIndex =0;
7 `4 ~8 |5 E3 }/ v1 l# U. ifunction lrcList(){
9 A# x; K1 k% [' U* K, d* F* i var s = parent.document.getElementById("MediaPlayer").controls.currentPosition;. A% V+ N/ _$ K, j5 k+ \6 q
s = s*1000;
. _$ ?' [6 w# ~ L if(s==0){% j$ [7 d( \+ u
currIndex =0;
0 ~: ^( ]% N0 f2 v" Z# t $("#list").scrollTop = $("#lrc"+currIndex).offsetTop-30;
5 s1 |5 F% l( r0 b J" `1 n% M for(var i=0;i<array.length;i++){
2 m9 ^6 q# \, Q* T document.getElementById("lrc"+i).style.color=colorNormal;# l5 l( q9 M) e0 ]" K3 k
}
: L7 P% {! M* J9 L) ]+ g return;
$ W* S& n w. T9 U# R: U }; o- ^! m: @, ~, }' L
if(s>0&&currIndex<array.length-1), K4 }0 b! @, \& ?9 o% D
{
9 w* o! e. w8 ?, B2 a) d- G; t0 G preTime = array[currIndex].time;, R) ^; a; M* A- W# P: A+ k: K
: F! Y0 {3 q, X9 [. x# g% C3 E6 }6 m# N nextTime = array[currIndex+1].time;3 w- a* S+ ?7 ]" n% }
4 u, f$ P' v0 O* l
if(s>=preTime&&s<nextTime){. B m5 I9 k. P4 Z, Y8 [
}
% V8 T: m7 I5 i' _ else if(s>=nextTime)
; {) D8 N+ n/ o6 T {; [: P0 L5 O- `" o, G
document.getElementById("lrc"+currIndex).style.color=colorPasted;7 {% v. C, |7 O' J
currIndex++;
+ D0 `" b6 h3 x) Y* d $("#list").scrollTop = $("#lrc"+currIndex).offsetTop-30;
9 |- T$ ]) Q: ~ document.getElementById("lrc"+currIndex).style.color=colorPlaying;
0 q& C& q ^0 w/ |2 Q- G, Z lrcList();& Q3 C) m- g l5 `. |
} P1 H0 \& {+ f X
else{
; L! }+ N+ B4 O; Y1 [' { document.getElementById("lrc"+currIndex).style.color=colorNormal;
, N9 H/ k" V. S! c) k currIndex--;
( @ }1 g" l! v- O! T- ]. q $("#list").scrollTop = $("#lrc"+currIndex).offsetTop-30;+ J; D% l- M, i6 ^% g6 g6 M
document.getElementById("lrc"+currIndex).style.color=colorPlaying;% s0 J* [: e& m4 ]
lrcList(); _. S1 R7 `6 ?4 j6 v$ A( e" t
} " L. T7 `* _1 h5 w, F7 U
}
9 y3 r/ [/ q( z# y3 @ Z else7 `* z3 q J- p" |1 x$ W
{, m1 P2 j* B; S8 _- U
if(s<array[array.length-1].time){
' X9 Z0 J: j$ l" x) ~, a' h' L currIndex = 0;
, s' b9 G- b& A $("#list").scrollTop = $("#lrc"+currIndex).offsetTop-30;) j( `, Z, [. p: P) b) |4 T f
for(var i=0;i<array.length;i++){
4 k3 C0 [4 m7 Z1 f$ J% b document.getElementById("lrc"+i).style.color=colorNormal;8 a k* @: j/ L
}
: E# Z9 u6 r8 x' O" h- k lrcList();$ |6 V% t! }1 ^& C) b
}
: V q; N" q+ m$ r% ~7 e }
; Q! X# E5 T. ^}/ } q9 {* Q$ a( ?" n0 o" `
</SCRIPT>
" v6 F5 r/ `8 o) j6 c: @</DIV></DIV>
4 P8 L z8 m: h- o7 x# P1 B( A1 B5 m+ a) A
[ 本帖最后由 幽谷兰 于 2008-9-18 17:36 编辑 ] |
|