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