|
|
<DIV id=list>
: F+ t( _7 z$ E7 {- Y2 U<DIV id=lrc1 style="COLOR: #666666">[wmv=0] http://lzbj.ncedu.net.cn/uploadfile/20083923248279.mp3[/wmv] </DIV>
* a3 \" `5 \0 j! L0 D' p- j" n7 G. a<DIV style="COLOR: #666666">|等一分钟|听到这首歌,觉得它很动听,旋律很优美,很是喜欢,传上来给大家听听。</DIV>% T% n8 V0 D3 Y( k+ R# }1 z! e
<DIV id=lrc2 style="COLOR: #666666">词曲唱:徐誉滕</DIV>
, F0 ^; {" I5 i9 ?! S8 _3 C<DIV id=lrc3 style="COLOR: #666666"></DIV>
+ m5 R l+ u3 ~' d7 S0 c! n1 M<DIV id=lrc5 style="COLOR: #666666">如果时间 </DIV>
t7 U! X2 x9 T/ |1 p9 a<DIV id=lrc6 style="COLOR: #666666">忘记了转 </DIV>: k: n$ x/ L _* j
<DIV id=lrc7 style="COLOR: #666666">忘了带走什么 </DIV>
$ Q) w5 n- }$ Y+ P# x+ o<DIV id=lrc8 style="COLOR: #666666">你会不会 </DIV>3 ^- S3 n2 `6 G5 t/ n
<DIV id=lrc9 style="COLOR: #666666">至今停在说爱我的那天 </DIV>
l- m: _/ v! z8 T5 t<DIV id=lrc10 style="COLOR: #666666">然后在世界的一个角 </DIV>" c2 p/ }' d0 a
<DIV id=lrc11 style="COLOR: #666666">有了一个我们的家 </DIV>
. A! Y; I7 `2 {# X/ t<DIV id=lrc12 style="COLOR: #666666">你说我的胸膛会让你感到暖 </DIV>9 V+ U. _: ^, `: F" R
<DIV id=lrc13 style="COLOR: #666666">如果生命 </DIV>% B+ h; v; t- Z
<DIV id=lrc14 style="COLOR: #666666">没有遗憾 </DIV>
1 ?9 p' S/ u. R<DIV id=lrc15 style="COLOR: #666666">没有波澜 </DIV>
* l( {( ]- D/ V+ Z7 D; V/ r<DIV id=lrc16 style="COLOR: #666666">你会不会 </DIV>5 ^' Z, o' R9 v1 m
<DIV id=lrc17 style="COLOR: #666666">永远没有说再见的一天 </DIV>
) l" D+ v! e; J( z/ v<DIV id=lrc18 style="COLOR: #666666">可能年少的心太柔软 </DIV>
3 i( O# g' y# R) F4 T! K4 U1 J<DIV id=lrc19 style="COLOR: #666666">经不起风经不起浪 </DIV>
% ~- A1 d" Q, L' {<DIV id=lrc20 style="COLOR: #666666">若今天的我能回到昨天 </DIV>
+ u' n1 i$ F* J. a: e6 H<DIV id=lrc21 style="COLOR: #666666">我会向自己妥协 </DIV>
9 @ P8 Y. p: U/ A/ B% x+ D<DIV id=lrc22 style="COLOR: #666666">我在等一分钟 </DIV>
/ {& f- o" G0 N0 r+ I$ w<DIV id=lrc23 style="COLOR: #666666">或许下一分钟 </DIV>
6 u' r, m0 m( H. i; Q: g' E: H<DIV id=lrc24 style="COLOR: #666666">看到你闪躲的眼 </DIV>
! H( P' r1 w8 Y$ G. T+ U2 d<DIV id=lrc25 style="COLOR: #ff3300">我不会让伤心的泪挂满你的脸 </DIV>( Q1 @6 X. G$ T$ F7 }7 ^
<DIV id=lrc26 style="COLOR: #000000">我在等一分钟 </DIV>
# J2 h$ B* z7 g- S9 s* q3 n4 X$ F) ~<DIV id=lrc27 style="COLOR: #000000">或许下一分钟 </DIV>) V' D; F. \4 r2 ]9 ?" O. B
<DIV id=lrc28 style="COLOR: #000000">能够感觉你也心痛 </DIV>
3 L* V& \) R' ~<DIV id=lrc29 style="COLOR: #000000">那一年我不会让离别成永远 </DIV>* l( V) x0 p2 ^6 F/ w% I) v
<DIV id=lrc30 style="COLOR: #000000">如果生命 </DIV>' W3 s+ N6 J( J0 }8 E: t
<DIV id=lrc31 style="COLOR: #000000">没有遗憾 </DIV>
9 p7 j! _3 G# w6 A9 F; u* z" x<DIV id=lrc32 style="COLOR: #000000">没有波澜 </DIV>6 q- k- m- P e; D
<DIV id=lrc33 style="COLOR: #000000">你会不会 </DIV>
) \! ]$ z7 ^$ B<DIV id=lrc34 style="COLOR: #000000">永远没有说再见的一天 </DIV>' A5 @% p2 X8 l) \* D+ a
<DIV id=lrc35 style="COLOR: #000000">可能年少的心太柔软 </DIV>
& V6 @+ T' \' Y<DIV id=lrc36 style="COLOR: #000000">经不起风经不起浪 </DIV>
+ F( S/ v8 ^" g( l+ [<DIV id=lrc37 style="COLOR: #000000">若今天的我能回到昨天 </DIV>% ^# ` r% l* k- o; f$ X0 _
<DIV id=lrc38 style="COLOR: #000000">我会向自己妥协 </DIV>
+ s6 N; w& K$ Q1 U$ ?5 c<DIV id=lrc39 style="COLOR: #000000">我在等一分钟 </DIV>
' X6 D/ m: H; H- L+ n7 n- y$ F<DIV id=lrc40 style="COLOR: #000000">或许下一分钟 </DIV>
4 ?7 |7 x) K j* n<DIV id=lrc41 style="COLOR: #000000">看到你闪躲的眼 </DIV>: V7 z. \6 F* n+ f W) T
<DIV id=lrc42 style="COLOR: #000000">我不会让伤心的泪挂满你的脸 </DIV>; R0 n7 H8 v7 F, V3 c5 |
<DIV id=lrc43 style="COLOR: #000000">我在等一分钟 </DIV>
1 M0 O( |5 }, O2 P w<DIV id=lrc44 style="COLOR: #000000">或许下一分钟 </DIV>( X3 R1 p/ v$ [4 ]/ p/ x
<DIV id=lrc45 style="COLOR: #000000">能够感觉你也心痛 </DIV>
; p! I, `: }2 k* R<DIV id=lrc46 style="COLOR: #000000">那一年我不会让离别成永远 </DIV>, ~7 ~' \: I3 o4 C! z# s8 }; c
<DIV id=lrc47 style="COLOR: #000000">我在等一分钟 </DIV># z* ?9 i3 F- ~
<DIV id=lrc48 style="COLOR: #000000">或许下一分钟 </DIV>2 _! N f4 G! c! x* k; S
<DIV id=lrc49 style="COLOR: #000000">看到你不舍的眼 </DIV>
" s4 e2 J% A# R+ k<DIV id=lrc50 style="COLOR: #000000">我会用一个拥抱换取你的转身 </DIV>1 H4 k& H: S( g: ~) t! J
<DIV id=lrc51 style="COLOR: #000000">我在等一分钟 </DIV>* }. a5 \* s: Z: n1 n
<DIV id=lrc52 style="COLOR: #000000">或许下一分钟 </DIV>
1 j- I# r8 X4 {! Q0 ^<DIV id=lrc53 style="COLOR: #000000">如果你真的也心痛 </DIV>7 k( T8 J; L6 @6 j, Y# Q
<DIV id=lrc54 style="COLOR: #000000">我会告诉你我的胸膛依旧暖
" }1 g. B& F5 [3 J5 o1 Q<DIV id=lrc style="DISPLAY: none"></DIV>
. h4 ?' b$ B; U, {<SCRIPT type=text/javascript>
9 G* m5 i6 R e7 {+ w6 Q4 N' c1 Ldocument.domain="1ting.com";
3 P* w6 \4 w6 ?- v8 wvar colorPasted="#666666";
0 F. r. t; m5 k; L- |, p# d5 @var colorPlaying="#ff3300";
3 d' U6 M5 d( s0 jvar colorNormal="#000000";
7 D3 H4 u9 E$ T& b' ?) T# J. ^4 g" w$ = function (a,g){' e3 l, A8 q: x) q8 W
var o = new Array();
! c6 N, F2 x- k5 e1 ^& G* ]6 J+ V var c = new Array();
# Q- C v7 D0 K) T/ E var r;
) R( C+ w/ O# d+ W( `9 Z: Q var u;
2 C' ~- s- Q, r+ Z. z4 {. ^$ B var a = a.split(';'); % Y/ i9 p/ e0 V3 a9 }- l1 v: y1 K
1 b5 r% f" r$ l3 @. e% {
var e = "keydowns,resize,load,dblclick,click,mouseout,mouseover,mousemove,mouseup,mousedown,inputchange,inputfocus,inputblur".split(",");5 j' k9 V. ?. d, ?/ ~, _* d4 o
for(var i=0;i<e.length;i++){: K4 a6 T% r( V1 \ I5 f
eval(e<i>+" = function (s){eval($event('on"+e<i>.replace("input","")+"'))}")
# t; R; X5 w) C3 D/ ] }
4 y m$ Z0 f( `9 h* V/ b
2 G. c" I2 m3 H: V" H% ^1 C after = function (t,d,s){
+ }6 P' K" Z' S: s $after = function (){2 r3 e9 C) y, G% r
var $n=document.createElement(t); z9 b& L; T' X8 Y* U
if(d!=null){3 @9 C2 s. V/ c. B
$n.id=d; 7 Q1 A j) w/ r$ o
}
& b; G# j! K8 D : R6 ]3 c( h9 u" p; j# i3 b) H
u.insertBefore($n,null)
3 T& a" M6 a9 u r = $n; T4 D, J E a
u = $n; : w1 d' E8 b2 w4 A; ?, d, t
}" {2 D, S3 W9 ~3 z/ _( ?! Y2 x
$for(s,"$after")! ~% c. [+ W% h2 E, ~
}# S* U$ w. V5 @4 U; s
6 w* S: J) ]( O
show = function (s){
9 t/ c$ t# _) q5 j5 u $show = function (){, D( D+ Z1 A1 @
u.style.display!="none" ? style("display:none") : style("display:block") ;
+ o# t) {7 V) ]! P' W }
# c7 A1 L& }! P# u. \( I% Y $for(s,"$show")4 w" A g- `: V3 V+ I3 y- Z
} q, |& b9 A" j6 E, _- [0 n
2 v- I; h6 |# R% i: \ ~7 k* u check = function (t,s){
# l/ w! x# A* N" i) @% \# E0 r: _ $check = function (){. s1 ?9 X' |' V& ~1 U8 g! u4 l! _
if(t=="2"){, l3 o& B5 c# ]' W4 S: M
if(u.checked){
7 @& q& _1 h) P" j u.checked = false;
9 ~# b) u8 V6 `, q- U8 r3 t }else{' k% c8 R" l( ^3 A
u.checked = true;
! x7 _' z7 ~" K" l/ i }" ^ h( n* C" E; Q
}else{) N2 ~2 w6 \6 Q9 W# R! \' a7 T
u.checked = t*1 ; E6 j5 P7 N$ b; d9 t2 y
}
) U! H( Y& s& ?3 w8 P }8 Z, m1 `8 U4 `
$for(s,"$check")
# v& m, h2 [5 V6 B }
% \3 F. s7 n4 l" {0 e) e5 A; r1 [4 m: H3 @- H
style = function (v,s){2 V* i5 R2 ^- r! I. p/ e$ h' y1 A
$style = function (){
) n7 c( D& \1 o/ H, v. Z0 H8 d var $n = v.split(",")
2 u" m& r: ?6 g+ C for (var i=0;i<$n.length;i++ ){
& `6 Q1 H% h( h$ ~ var $m = $n<i>.split(":") D$ @! Z; d: `: @/ i
eval("u.style."+$m[0]+"='"+$m[1]+"'");
: w3 j* S. \9 [! A, x1 r: {7 z }
; X, N- D2 M+ N+ j, Q7 z }
/ R R9 ^0 `! g. ?9 ~1 l1 {) Z/ ]9 k $for(s,"$style")8 l; r9 j- F$ c7 q" P; s X
}
: A+ @ X1 g6 V2 a1 R& g5 w' Z: o. p. O) T
value = function (v,s){( n: Y4 B+ S- J. P9 x4 m
var $n= $this (v);
1 q7 c, C4 P) `/ E- F9 w3 c $value = function (){; k( X% N( K4 i, Z, ~5 s
u.value = $n
8 f; l3 v ?: Z5 W }7 J$ V* O- V0 G- C- ~, x- _. q
$for(s,"$value") 2 E: f1 @4 O' B( T% |( s
}! V$ h( b# y. ?! }5 C7 }0 ]$ E* w
. p/ n. G8 D! U text = function (v,s){% P( U# C8 x, d5 P C* ?' J H
var $n= $this (v);
) o1 J) m) Q6 T; U0 f $text = function (){
! m& g6 L. X: y# @9 c * A0 ?. T) a3 t; K- s
u.text = $n
8 ~4 Q, C" @1 b* f# A7 B }
" `; r" `2 S1 E) c- k* u $for(s,"$text")
# b& Q& Q5 h% g- q0 ?8 ? }0 ?2 T o9 n6 Y$ a
! I$ p$ y# D8 @( w' _6 f1 P5 F m innerhtml = function (v,s){
1 f- k# r% o: R var $n= $this (v);7 B) r( E" q$ w+ f
$innerhtml = function (){# ^2 l" e! C& L2 Y
u.innerHTML = $n
0 G% m1 _8 E6 W1 M$ `8 U }
1 `! }1 R% `% k2 m/ u $for(s,"$innerhtml")9 o$ |4 }- @/ j5 z4 C
}
t) O% T1 n: s& N# N7 G
3 T8 X8 ^4 t3 P2 Y" Z/ D1 Y( v" b removechild = function (s){
9 d' A4 G. B5 W. o $removechild = function (){1 _$ N( u* c" q# p. N; Y
u.parentNode.removeChild(u)6 r5 ]2 i& S6 g+ [
}
~. A. R- I( U- l) I4 P $for(s,"$removechild") v$ B8 s& A( ^" r) ]
}
; p* ?# h8 V+ S1 `4 u) f
; C/ N+ @ g+ i $this =function(v){* o( t/ U* e4 ], Z4 x: X7 w9 @
if(v.indexOf("this") == 0){
" r/ m. K ]/ U% D2 ] return eval(v.replace("this","u"))$ s1 r3 G3 q! ~. B, `
}
2 W, u; g2 `+ v% D' U8 v; K& O return v;
( M; {, V8 y. k/ j! D9 A& |! p8 D }
7 Z0 Y) E3 m; r: M
% j4 p2 X( ? h3 H+ y: q; j; a) u $event = function (s){
1 J% a4 a: x7 h B var $n ="u."+s+" = function(){$work(this,s);}"
5 s% f% `& a8 _/ e: A0 L) V return $n;
& d- u% l5 i8 ~) O! ^ }$ m' g& Z. [0 l) [2 |
: Z. c4 W2 ]0 h. M $replace = function (s){) V# _2 e% u, [5 ^# f) R( b
. ?8 m' j- g5 \6 `. ~ }
0 o4 n8 w$ v* }: V, \. ?' m) M& m5 N8 z* W1 W! J
$for = function (s,c){
( i: Z, U6 I$ n var $n="this."+c+"()" ;
" f! A3 E) v, x* U if(s!=null){
' C. l, D; C* v2 D& E; c+ l# l+ h4 p# _: E var $m =$test(s);2 z2 x! Y! G5 o
for (var i=0;i<$m.length ;i++ ){, y& |. H c3 `& v
u = $m<i>;9 l, S& ~" T6 j3 t r+ B! B/ Z* A
eval($n);1 V0 O: N( d* }; I( f
}
o; A8 E7 s! g; } }# c& m9 Y6 o% }7 V8 p8 z. K$ J
else{) n' j% n# R, k8 ?9 f6 l
eval($n);
; J: ^7 g: E; t/ o+ U# J% v }9 F% X/ k) z9 _
}! [& O) n1 x( w7 E
4 K% s) h+ c# W9 a7 W $test = function (a){2 M/ m% P, O- k4 W& A& P
var o = new Array();$o(a.split(';'),o);# k, u% e* \$ m0 ]7 j$ z
return o;& H2 p) ~; a6 Z- R/ C+ T1 v
}! Y( L) i* W/ `1 f* s
2 ~! t! b8 X; W+ p $format = function(s){1 N: m+ S# i5 B* w: r: Q
while (s.indexOf("'")>0){
# g' M, [% p* l7 d \ [) | s=s.replace("'","\"");
+ B& b( n, F- C9 r- ~ }
5 P S" \7 @5 F( q while (s.indexOf("][")>0){
* Y6 O, x) o# h9 ]0 h3 o; f s=s.replace("][","','")* N# x/ }. ]. p. l
}, D7 v; P% _! l
while (s.indexOf("[")>0){
7 b+ q1 h l/ M' o8 R s=s.replace("[","'").replace("]","'")" {: }3 E3 g$ H' `7 [& I
} ! h" P/ ^/ ^: f$ q: q/ F$ D
return s;1 Z6 c5 l# r0 w5 c: U
}
* }# B- ^. X; ^
+ N1 B% O5 b7 W. [* ^: Y+ C $work = function(w,s){$ F- g. C& P5 C2 p
u=w;eval(s)+ F5 z- ^% V# q7 G# ]
}
9 w$ W; c( e: j! n7 U6 _! i
3 B. D0 l5 H4 m! j: _% E z $id = function (s){4 L4 |$ k& n+ s$ E% z3 R/ U, w- T
return document.getElementById(s);
7 C: Q# F- `+ |2 p0 n1 | }
: K7 V: i% n5 L E, o Z! D9 R) O( V4 u
$name = function (s){( [- j8 ?8 \( O4 l
return document.getElementsByName(s);
1 a: {! i0 i/ Y }
% p0 c" p E% }0 d6 x/ n1 }6 E; g$ h+ ^- L! ]
$tagname = function (s){4 d/ W$ c/ M. H7 N- z9 R
return document.getElementsByTagName(s);
- L& l4 R# x4 E+ H9 a( b6 R }- c, Y5 { d: `+ h
5 f" ?; @8 p* X3 ?$ c* M+ v0 q $o = function (a,o,c){
$ ~$ C$ w3 r& j0 q; u& _! h $push = function (n) {, ?( O4 ]) }* l2 R. w! ^
for (var i=0;i< n.length;i++ ){" q; h; l: a$ F- b9 ?. u
o.push(n<i>);8 {% Y% @& Q7 f' Q' ^% M, u
} 7 A" F5 u! y8 C6 m F ?, R- f
}
: S" @, a9 }$ a for(var i=0;i<a.length;i++){8 Z( Q5 R; I: I, q! p
if(a<i>.indexOf("(") >= 0){
* {/ j- I' \5 A# D9 l0 O) I) N: G c.push(a<i>);
?4 @6 a0 m. v/ E( P; i l/ c9 Y } k4 @8 k0 @3 r# l |" `
if(a<i>.indexOf("~") > 0){" b0 O/ p' o2 h
try {
; o( `9 A/ j! Y $push(eval(a<i>.replace("#","document.getElementById('").replace(" ~ @","').getElementsByTagName('")+"')"));* F, T. X; ?4 A$ n X4 `( T/ ^
}catch(e)% T, P5 i9 D. N h8 }- ]
{} 2 a: P/ q8 C, M& H
}$ ^5 \8 |3 k- K: J' V
else{" n+ f# J G$ t% Y6 X `
if(a<i>.indexOf("#")==0){
" Q7 F" w1 R0 m9 T. g8 a5 O ?0 t o.push($id(a<i>.replace("#","")));
: R( S* P' i$ u4 v0 b }
( t8 {6 v5 H; @# D if(a<i>.indexOf(".")==0){
8 e) b4 \% `3 b7 ~ $push($name(a<i>.replace(".","")));: J/ b/ o5 H1 [
}
; v1 f [8 V( K3 B+ I/ f if(a<i>.indexOf("@")==0 ){: q: P- ^2 ~, l6 H# _
$push($tagname(a<i>.replace("@","")));% _8 v' R2 k! z/ d$ U
}
1 k( X: h8 J( C9 m if(a<i>.indexOf("*")==0){
" c1 L) p: [6 @ $p= a<i>;
8 c4 \, W# X. o/ x if($p.indexOf(".")< 0){
' P: \3 k" E- J3 U. O* m( g $p = $p.replace("parent","parentNode"): y" g# v6 t; E- V* `
}
: x, o" X" [* `+ K+ h var $p ="u."+$p.replace("*","");
8 C. o; U' i; q) e/ j7 e6 Z3 a while ($p.indexOf("parent.")> 0){+ j1 g. |( e7 E! ?( q7 Y& M
$p = $p.replace("parent.","parentNode.")
) E7 h, f5 G5 p9 l2 V1 e }2 d" h8 T; X* G( s) e- G
while ($p.indexOf("child{")> 0){" b' v; l# U6 u, a# g
$p = $p.replace("child{","childNodes[").replace("}","]")
9 R" M$ E5 ]: C" ?7 H% P1 b2 o }
: |- G- S/ Q! d$ p% r; }/ X) t o.push(eval($p));' t7 E" n. O7 L4 _) f, E/ m
}
- E; Y6 N Z( W2 f if(a<i>.indexOf("document")==0 || a<i>.indexOf("window")==0){0 @' b: K2 ~, D9 e, O+ [
o.push(eval(a<i>));
0 U( A9 M) e* I3 D- Z }$ ]# P2 S( g; f
}4 {- |& l1 [. N! @
if(g!=null){
+ n3 l) A; O7 I2 {9 P3 U' E o.push(g);g=null
1 N! r" S4 `0 N5 \) F }
; z# @, }) V* G9 U" \' ^1 w5 M& Q9 Z }- X" D8 U) r+ C6 p; Q5 V" `+ q
}7 P* P) _! e6 i* ^
, I; L. `0 _ Y* U0 e' Q
$o(a,o,c);
, E7 v1 x- Q9 n: O) M: _9 c! m9 T. E
" M- k5 k' ~& x( o' J% q5 R for(var i = 0;i<o.length;i++){( \" q% R; H2 r$ ^
for(var j=0;j<c.length;j++){' y0 _& W* ~, W' s( F% T, r
u = o<i>;eval($format(c[j]));
( }9 o' A9 ~" ^: I }5 R4 s& M# i$ E: v% T% ]
}% R, c+ ]0 S7 t6 b+ h6 o' B, x( V
! s7 C( k1 v9 h" J
if(o.length == 0){$ e# _+ ^$ z. ] A+ b
for(var i=0;i<c.length;i++){# ?7 w) l8 O) {+ x
eval($format(c<i>));* v7 Z }" Z! t4 h4 |+ [' w: ]
}! ~) O. u8 z/ R3 S/ J1 B
}7 k, i9 c" O. y: E' p! h
! n, h* Z8 z" L0 v9 Z/ x if(r!=null){
9 ^8 ]/ ]- n5 a" \9 L& x, y return r;0 e( u( |4 {5 P$ S
}# i6 j/ C+ ~6 q7 I6 T0 h, ^% N
% j9 f: ]" |! a, T' |
if(o.length==1){( O2 @9 K2 G2 R! h/ T5 e
return o[0];$ \/ ?0 G6 W" n$ v2 ^3 H
}, h" w4 G& B3 e" j/ X
else{- V8 U, r9 _6 S1 Q+ D ~
return o
2 D) d3 d; N# {; v }
- [ u/ t P* }/ P ! w* p; d0 k1 b) ]6 e- h8 W
}5 o- [/ x8 n Y7 Q2 W, I$ b7 A3 [
var lrc =$("#lrc;show()").innerHTML.split("[");% j4 d3 |; A; q8 J8 I1 T
if(lrc.length>5){
. r, |' f: h: w) M2 o( k6 @var array = new Array();) [, l7 C# `1 K {) q' I
for (var i=0;i<lrc.length ;i++ )4 {8 k8 m H1 ]$ y( u& L- [
{# A4 \' b7 ~) P H
var g = new Object();! P4 E2 s0 s e' H4 ]* @- b2 m
t= lrc<i>.split("]");' |4 I5 x" L4 q! h2 o. d' n+ V; L
g.time = getTime(t[0]); D4 n; Z& A, |6 k- |6 f
if(isNaN(g.time))9 ], l7 N$ w! l, \; N' F) G& t
continue;- _- ]: v2 R# |. u6 }+ E+ V4 ^
g.c = t[1];
, u3 b# ^/ l X. F& F if(g.c == "")& w- X& J0 _0 P4 u6 _9 b
g.c = getNext(i);
0 ?+ Q+ F e( R1 }5 e' B. I array.push(g);% W6 O+ ?0 y- ?1 @" i
}4 O9 a6 H% T2 `9 Q
array.sort(function(x, y) {
0 a4 _6 f$ e2 c* u if (x.time>y.time) # P" V# d+ _9 @
return 1;. T& t' S, c" u* O" L2 T: a
else if(x.time<y.time) A; J$ t g# U
return -1;' g0 Y3 x8 {0 t
else2 f+ F8 z# Z8 M% q( g7 _
return 0;
; y+ l6 ?1 R4 _, R; Z } 3 d6 `; Y2 k( W
);
5 _3 w8 P$ X! o1 a( m7 L: ufor(var i = 0;i<array.length;i++)7 V- P& G% I7 L3 Z2 t6 v; b1 U
{6 O2 k; a! |, t" j% `
var g = array<i>;9 a5 J9 x! P+ h) A3 H8 H$ F
if(!g.c){
6 a, F) k4 \ f* X" E g.c="";
7 H9 z4 }$ u4 h6 B2 ] }
7 B. J6 @1 M' @) C0 B' | $("#list").innerHTML+="<div id=lrc"+i+">"+g.c+"</div>";7 A1 ^. T/ [- U0 Y: \
}
; K. `! |$ t2 O) }4 r6 Dvar time = setInterval("lrcList()",500); $ R1 w" ^8 D# J9 E" `* J
}else{5 y* k( p; C4 V4 V% |
$("#list").innerHTML=$("#lrc").innerHTML;+ ?4 T, [0 M6 _% A
}
; e( j: v6 V7 m% [6 [ Qfunction getNext(i)* {( Q& n/ d/ L* W2 s. B# `
{
6 J+ s- @$ U) j. q1 g$ G% ^ var result = "";
6 x; L9 e& ~3 @, m var i = i+1;) u$ t3 L4 S1 C0 A. Z
t = lrc<i>.split("]");
1 ]0 U9 o# w4 q+ A, O' ~5 l# S if(t[1]=="")
8 z. b3 ]2 Q% i# ~: k# G2 W result = getNext(i);
$ g1 L4 G5 M7 q# D3 B* H else
1 e. m* M5 {0 E- ?, k result = t[1]7 `* o7 J, C0 @: H
return result; \5 }% u& [; g1 W
}& q0 \( I1 { P P% b
6 Y9 f3 u3 x; o( d2 n, ^. ?7 x
function getTime(str)% l# O; g" k# X9 _
{5 O) r! }* V/ C! k& S& h
var time =0;1 R' I; W( {8 L
var ta = str.split(":");- u# n/ F5 d$ ~, E- _$ h
if(ta.length<2)
7 ~7 }) @ p* _" b return time;
" k/ u# |+ h9 [8 B: p% [* k; V3 a! H
if(ta[1].indexOf(".")>0){
: p+ Q$ Z! B6 ]. S% | var tb = ta[1].split(".");
1 E9 n7 V3 @/ N5 L& ^ time = ta[0]*60*1000+tb[0]*1000+tb[1]*10;
2 z& q8 I* Z7 _+ t+ W) {% _ }
5 R( J% y1 U6 b6 q/ L! F, u else# w% _: ^( S! E( G
time =ta[0]*60*1000+ta[1]*1000;
9 c7 J% {+ N# c! ~' T# b2 e return time;
: S+ u) c l9 t# W, w- `% ~% ~}
, N% L9 J1 s' V% d; s X H- w2 ^var preTime = 0;
. i4 E9 U8 n7 tvar nextTime = 0;- y9 _% M3 q/ @) D9 V/ n* J6 K
var currIndex =0;
9 J" W j+ W0 ?! f4 X4 k' n+ tfunction lrcList(){
2 M/ P9 _ `4 ~3 ]5 U2 V var s = parent.document.getElementById("MediaPlayer").controls.currentPosition;! m- l9 ~( S+ u6 J
s = s*1000;
' ?; u) ]( H' G6 O9 ~; o3 R4 z if(s==0){
8 H$ C4 v2 }/ L, I( O+ R3 c8 Z4 M currIndex =0;/ Q% ]6 H# D2 b& L
$("#list").scrollTop = $("#lrc"+currIndex).offsetTop-30;. @0 b( u% i1 Q$ f, d/ q
for(var i=0;i<array.length;i++){
. h* g% ^1 K, {; i8 V document.getElementById("lrc"+i).style.color=colorNormal;. w8 U$ Y: u- c& `
}
R& C& Z2 A1 c& _) E! L; E return;1 E7 y% [( }4 Y* u: w5 U
}, G( g$ ^! E6 P9 V7 z7 e/ V0 T
if(s>0&&currIndex<array.length-1)7 R4 T% u8 u* k* M. S$ e2 s0 [% x
{ 2 e6 r0 |( E6 H
preTime = array[currIndex].time;% p! m: |6 p- l. l" G# T3 R( _
, A1 U, F' x C3 W; N9 u+ x nextTime = array[currIndex+1].time;( {9 b% c, T' f
0 Z, i, j2 b* d" h6 O1 _ if(s>=preTime&&s<nextTime){
& a8 B$ k+ K* i" ^& k1 l/ C7 C }$ d5 i2 o& m. B. Z3 \
else if(s>=nextTime)* V* W+ B/ L7 {
{
; h6 u: V! G& D0 M1 n3 a! z document.getElementById("lrc"+currIndex).style.color=colorPasted;
. V6 p" K/ d9 q* U/ H' C: h currIndex++;# J- U" a5 g% m) ~9 A
$("#list").scrollTop = $("#lrc"+currIndex).offsetTop-30;
) l6 ^+ [. L, I document.getElementById("lrc"+currIndex).style.color=colorPlaying;
2 D N3 h* Y* ~5 m9 r' Q+ ^0 X lrcList();
% K7 ~( A3 K# x7 [" F }) P( u7 D& i: g, u
else{' d" N+ W/ L1 k: ~
document.getElementById("lrc"+currIndex).style.color=colorNormal;
% \. @1 @5 b" D# ?! B currIndex--;
& ?) ~& e7 a* W' S $("#list").scrollTop = $("#lrc"+currIndex).offsetTop-30;+ j6 S1 n% r8 I0 ~- P
document.getElementById("lrc"+currIndex).style.color=colorPlaying;/ O# O; t* ^. J4 h7 ?1 P- P6 @/ a
lrcList();# O8 O& Q! m) J
} " y9 q1 H: o+ s% {
}
( a( B6 Y" O# g6 B" b8 q else6 ^8 O5 |9 o, p) E! S7 `
{' m5 v$ n, \# i- h
if(s<array[array.length-1].time){$ M1 c) v1 e# f* u; f# y. J) T
currIndex = 0; v! y0 R8 Y/ m% ~% Z
$("#list").scrollTop = $("#lrc"+currIndex).offsetTop-30;
6 t0 u9 R: v2 o5 f% _6 R for(var i=0;i<array.length;i++){
& p0 n3 X: X/ G- q% t* b document.getElementById("lrc"+i).style.color=colorNormal;+ r$ w A9 w9 v6 M# }& r4 p
}2 {8 k+ j+ }8 V* I
lrcList();( `$ t4 V3 x: @# D8 C
}0 Y- y7 j' k/ ~9 Z6 _- f. o
}
. H- x) E+ s7 y4 F( x# l}
3 a3 J' x( E7 ^: r, [! n</SCRIPT>
. y' ]5 T/ E7 Z" E4 e( l- d</DIV></DIV>! W7 V+ ?8 Q" [& u: G4 ?
( _% T, X' X+ I2 R, |7 Z2 F[ 本帖最后由 幽谷兰 于 2008-9-18 17:36 编辑 ] |
|