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