|
|
<DIV id=list>
H3 Z z7 n1 Q# M q& J* {5 g<DIV id=lrc1 style="COLOR: #666666">[wmv=0] http://lzbj.ncedu.net.cn/uploadfile/20083923248279.mp3[/wmv] </DIV>9 o7 X- L6 M8 C. @; n
<DIV style="COLOR: #666666">|等一分钟|听到这首歌,觉得它很动听,旋律很优美,很是喜欢,传上来给大家听听。</DIV>
* h6 r0 J; T! h' `% z: W. M+ O<DIV id=lrc2 style="COLOR: #666666">词曲唱:徐誉滕</DIV>
, v+ Y5 i) ]. a) t- J5 z5 T, u<DIV id=lrc3 style="COLOR: #666666"></DIV>
& F Q, \: N, A<DIV id=lrc5 style="COLOR: #666666">如果时间 </DIV>
; K+ z( V0 J! ?% j2 b2 I<DIV id=lrc6 style="COLOR: #666666">忘记了转 </DIV>
. b& [/ ]! q/ ]<DIV id=lrc7 style="COLOR: #666666">忘了带走什么 </DIV>- d: Q m( {' Q, @
<DIV id=lrc8 style="COLOR: #666666">你会不会 </DIV>9 n1 a8 Z( i' h6 o2 k
<DIV id=lrc9 style="COLOR: #666666">至今停在说爱我的那天 </DIV>
1 R1 |6 |0 i1 V6 \( w( ?4 \; _<DIV id=lrc10 style="COLOR: #666666">然后在世界的一个角 </DIV>
4 x% L" z- E* z% `+ @<DIV id=lrc11 style="COLOR: #666666">有了一个我们的家 </DIV>
7 x( Q) p. y- t- X( _& f1 n' N<DIV id=lrc12 style="COLOR: #666666">你说我的胸膛会让你感到暖 </DIV>
4 x0 X8 a# p. ]$ p3 _% ^<DIV id=lrc13 style="COLOR: #666666">如果生命 </DIV>! D% k+ x0 g- ^$ V+ j' ?- M' ~% v
<DIV id=lrc14 style="COLOR: #666666">没有遗憾 </DIV># F6 |! K5 s8 Q. |. e3 S* @' d
<DIV id=lrc15 style="COLOR: #666666">没有波澜 </DIV>
1 q" a+ s( H( w3 Q% F2 R& e<DIV id=lrc16 style="COLOR: #666666">你会不会 </DIV>8 A8 Q9 Q7 m- d) }* ]* N R
<DIV id=lrc17 style="COLOR: #666666">永远没有说再见的一天 </DIV>
7 _! ?" W. Z% B$ ]<DIV id=lrc18 style="COLOR: #666666">可能年少的心太柔软 </DIV>
4 P) n6 \) c) X4 N, W% j. f5 E. F% s# x<DIV id=lrc19 style="COLOR: #666666">经不起风经不起浪 </DIV>8 v, z. w( d! T \9 p
<DIV id=lrc20 style="COLOR: #666666">若今天的我能回到昨天 </DIV>
/ x+ ^) ?8 p5 `4 [5 [* F6 M2 e- S<DIV id=lrc21 style="COLOR: #666666">我会向自己妥协 </DIV>- c+ ^- d) t- } i2 [
<DIV id=lrc22 style="COLOR: #666666">我在等一分钟 </DIV>& m2 o3 U" w2 A* Z) ~
<DIV id=lrc23 style="COLOR: #666666">或许下一分钟 </DIV>: }, k8 R% w A/ m) D1 M$ F
<DIV id=lrc24 style="COLOR: #666666">看到你闪躲的眼 </DIV>
; W! Z+ `9 v% @' V- ^1 n% v<DIV id=lrc25 style="COLOR: #ff3300">我不会让伤心的泪挂满你的脸 </DIV>
1 c; V' p& E; h6 H6 j<DIV id=lrc26 style="COLOR: #000000">我在等一分钟 </DIV>
0 I1 l: O) Y5 N) D2 E<DIV id=lrc27 style="COLOR: #000000">或许下一分钟 </DIV>0 [0 O, z* R9 _
<DIV id=lrc28 style="COLOR: #000000">能够感觉你也心痛 </DIV>
' {3 ]# f3 g. [4 M! W2 d7 Z<DIV id=lrc29 style="COLOR: #000000">那一年我不会让离别成永远 </DIV>
- K9 ? B" w3 { k' R5 Q: p* L( Z<DIV id=lrc30 style="COLOR: #000000">如果生命 </DIV>
3 C( A1 V3 n9 Q: k- B ^4 {<DIV id=lrc31 style="COLOR: #000000">没有遗憾 </DIV>& c" k( |0 o$ M, x9 j4 h& T
<DIV id=lrc32 style="COLOR: #000000">没有波澜 </DIV>
8 ~9 c( L: d* n+ O: g<DIV id=lrc33 style="COLOR: #000000">你会不会 </DIV>
' t9 Y5 ~9 ?' \4 F( B<DIV id=lrc34 style="COLOR: #000000">永远没有说再见的一天 </DIV>
# C, ^! s1 t+ `* Q7 h<DIV id=lrc35 style="COLOR: #000000">可能年少的心太柔软 </DIV>3 W2 L n4 ^" B a( ?
<DIV id=lrc36 style="COLOR: #000000">经不起风经不起浪 </DIV>2 A$ g6 V) _% ?0 ?6 C
<DIV id=lrc37 style="COLOR: #000000">若今天的我能回到昨天 </DIV>
. C+ u* |, k2 ?& p<DIV id=lrc38 style="COLOR: #000000">我会向自己妥协 </DIV>
! ~$ @' L! j) I2 s% Q4 y8 ]. Q<DIV id=lrc39 style="COLOR: #000000">我在等一分钟 </DIV>8 Q% n' J6 X$ v$ I
<DIV id=lrc40 style="COLOR: #000000">或许下一分钟 </DIV>4 g4 J) _/ T2 Q- \1 w1 D' D& K
<DIV id=lrc41 style="COLOR: #000000">看到你闪躲的眼 </DIV>' G' V( f0 T' s7 G+ W
<DIV id=lrc42 style="COLOR: #000000">我不会让伤心的泪挂满你的脸 </DIV>
2 c2 V# r* z8 A<DIV id=lrc43 style="COLOR: #000000">我在等一分钟 </DIV>
! o2 `) m# d4 U* M% {7 @# l% y) k<DIV id=lrc44 style="COLOR: #000000">或许下一分钟 </DIV>1 d6 `: ^" p+ w: O, f/ H
<DIV id=lrc45 style="COLOR: #000000">能够感觉你也心痛 </DIV>8 A G3 u2 G& d' D. K
<DIV id=lrc46 style="COLOR: #000000">那一年我不会让离别成永远 </DIV>
@7 t" g) J; c$ v% _<DIV id=lrc47 style="COLOR: #000000">我在等一分钟 </DIV>
3 \) p! W5 M& t7 l* x<DIV id=lrc48 style="COLOR: #000000">或许下一分钟 </DIV>9 w3 @' }9 C8 F
<DIV id=lrc49 style="COLOR: #000000">看到你不舍的眼 </DIV>) a5 E- M2 X/ S0 n! h
<DIV id=lrc50 style="COLOR: #000000">我会用一个拥抱换取你的转身 </DIV>
; }( i% u! \& j<DIV id=lrc51 style="COLOR: #000000">我在等一分钟 </DIV>
8 n- \4 t& \$ | g9 p6 B<DIV id=lrc52 style="COLOR: #000000">或许下一分钟 </DIV>4 O" j# M$ P) G9 q* _) z3 y" k
<DIV id=lrc53 style="COLOR: #000000">如果你真的也心痛 </DIV>) T* ^0 w! T3 g
<DIV id=lrc54 style="COLOR: #000000">我会告诉你我的胸膛依旧暖 7 t5 x* o s& q$ e
<DIV id=lrc style="DISPLAY: none"></DIV>3 k' t1 M# E/ E1 I7 ~! o
<SCRIPT type=text/javascript>$ p4 b4 H5 d' [: B F
document.domain="1ting.com";5 ?% P; S1 v, H5 C; s* o& Y5 ~5 m8 `
var colorPasted="#666666";
, } w8 T% q0 s2 L, V( p3 ?; yvar colorPlaying="#ff3300";' q- t+ o" z% ?' m/ I& q* h' e
var colorNormal="#000000";" @/ l1 U* ~7 U4 r8 }
$ = function (a,g){2 z0 _- R$ o) _- y2 [
var o = new Array();
' p9 {$ ^8 O: ]( m4 Z0 I' f# K var c = new Array();
; x- T# o+ e8 Q var r;
7 e9 q8 P9 `* `3 R, ~ var u;
+ Y7 {( W% o, v4 C9 ~. [/ ` var a = a.split(';');
' F* t- | J9 W$ {
1 ~7 r0 g( g$ B a: P var e = "keydowns,resize,load,dblclick,click,mouseout,mouseover,mousemove,mouseup,mousedown,inputchange,inputfocus,inputblur".split(",");
( `# x3 {2 X8 P for(var i=0;i<e.length;i++){
3 q, E/ r/ B7 V0 N G eval(e<i>+" = function (s){eval($event('on"+e<i>.replace("input","")+"'))}")
' N3 J& J K& f; B- x) G }
: X; ^4 o8 f5 T: u$ l
. Q7 L6 q+ d/ ]2 W3 b after = function (t,d,s){$ v2 |- J% @: [8 k
$after = function (){5 a* L' Z& y- B& E; a! c
var $n=document.createElement(t);. `# u2 p& G2 O
if(d!=null){, e% T: s2 ~- N A
$n.id=d;
& X. T4 E# {0 c. r0 h& z& D }
\" V6 j) L4 H4 q! A3 y
6 |, {% I, d, ?( H8 a6 G u.insertBefore($n,null)
/ B* L \" k1 C( R) w r = $n; 5 b3 k h+ I% v7 W7 w" e! t, W
u = $n;
" m. d7 W, v. ?' R }6 ?2 B( ~' ]" J
$for(s,"$after")
% W+ W- k6 ?! L# p* Q" O* N/ M4 ^5 i }
- I, Z6 ]5 n9 A8 ~& x0 `* J3 z$ h9 N$ T/ r& j) t0 E. J+ m
show = function (s){
2 M- K( _3 U0 |. n* s Z& g $show = function (){/ U1 H8 @' H+ r/ X8 V
u.style.display!="none" ? style("display:none") : style("display:block") ;) w5 P1 _7 X. l7 t: a) t' k
}. [( ^$ |0 F. X* s3 _
$for(s,"$show"); h" Y3 J' Q$ V( R
} I6 U8 i! V) S% t( L, |
. Q- g. N. D# f& n9 \
check = function (t,s){
& C& M9 x+ S5 P0 W $check = function (){
. G) e" X: H: ?6 G3 _ if(t=="2"){5 G! D* a- ^1 b; i* [' i4 Z; M/ j
if(u.checked){8 N; D8 A8 f2 h4 y( I( W. h
u.checked = false;1 n+ u9 U0 U8 N8 K
}else{
$ K' C9 m$ q, U2 x u.checked = true;
/ c( z6 f9 b! C" J! G3 R) |# P X }
+ }& w s! N4 ? }else{# x* x8 Y' t. h" @ V
u.checked = t*1 ;
1 F8 B F* h( Y1 {* B3 T$ E/ F }3 R1 i0 i; _, ` e. W% n
}8 x& V5 q4 |9 i# K# a
$for(s,"$check")3 Y1 E1 J' ?- f$ {
}
/ d6 Y/ O; r& ?, }
1 y3 v7 ~$ o# B style = function (v,s){
& Y$ L/ U+ a; H0 b: I) U $style = function (){( l Q4 k; B# }! r8 ^8 u% p
var $n = v.split(",")
. W# E6 y( p% [( K for (var i=0;i<$n.length;i++ ){
7 M) }, C- q( V+ T# f var $m = $n<i>.split(":")
) q0 B$ U1 I3 z+ {' O eval("u.style."+$m[0]+"='"+$m[1]+"'");
. ~* {. l7 N+ X }
2 u' _/ m. X* y; U" W }
( b2 o8 G$ a3 ^( l6 Z3 |8 [: ^ $for(s,"$style")
. H) O9 `/ j. A+ U0 s$ |: c7 q& | }6 M1 U! E: D5 u( m: q% |" ^& u
( n7 B4 q6 w% X, V$ F$ V! E
value = function (v,s){
; l0 }5 x3 ~8 U var $n= $this (v);( {# L+ V0 g9 ^# A2 ?% A% j
$value = function (){. v- D' Z y/ C1 H. t; F, {5 w
u.value = $n
, w! O" T% h3 I/ i& M; ? }$ w5 U$ J& w. i5 b3 _ Q
$for(s,"$value") - E0 p( B; y+ e/ {% f& R+ c
}
$ J0 E3 |; l! \+ d: f
2 z w6 W6 E2 a' f y1 F0 E0 g text = function (v,s){2 @" a: m4 d* j
var $n= $this (v);7 a; S7 W0 U: p/ @
$text = function (){$ b4 n# y% f) |7 ?: q, C K9 t
, a4 u: k; l% [: G u.text = $n
+ ]6 c7 g v( O6 S; G5 ~ }1 T9 F3 g2 n+ s8 w# L& h
$for(s,"$text") ( e9 h- t9 d6 h9 U5 S% \
}
& U; P0 [9 N! O% W+ G* f- ^
& {$ `. A1 y: e Q* Z B innerhtml = function (v,s){
q9 m O% ]2 ]5 q var $n= $this (v);
4 R' h7 d, a. ~7 L, @8 w $innerhtml = function (){+ ~8 z& k2 k. E
u.innerHTML = $n% `1 @) |% f- z8 ~# ]1 f7 ]! X
}
- d! r* ]5 W% Q $for(s,"$innerhtml")- n6 E; M( J2 f$ @. |8 T
}" V A# M- o7 `) t8 g' ?
! k# o' u$ F/ f$ }& X/ C. `
removechild = function (s){
6 d L% N3 S. { $removechild = function (){
" E0 Y3 U z7 S& \ u.parentNode.removeChild(u)) ?; E3 y! u+ o0 K9 @4 N
}" |6 @2 b B& |0 L) r$ W, i
$for(s,"$removechild")
9 A" {0 b) E. q# ] }
3 ^, k. a# M' O' l8 w: E5 N* w) w! `1 q% U: b( G8 t! x/ l
$this =function(v){
3 @' A6 M" G5 F. C5 N P if(v.indexOf("this") == 0){
: f1 F1 ?+ y( F% f! g; { return eval(v.replace("this","u"))$ D! K# S) \6 n5 U0 ?: E
}
. A8 J1 Z7 T. X; K6 U T return v; V: f4 k+ P3 E! S5 V7 C
}( x2 {, X# E* c! J: f x5 v0 {
4 X: l+ d0 @- H: w
$event = function (s){
, d- d" ~/ q' w- W/ P var $n ="u."+s+" = function(){$work(this,s);}"
6 W2 w" {8 `! V0 A" B& ?4 R3 E return $n;/ M" m- c% E5 S& I0 `
}
& f3 C1 `3 D& S7 h$ {0 \& [! U& }" g1 [7 K2 j
$replace = function (s){
0 j t, b' _1 T/ I- v' c
* C. w% |" l# {9 U8 N$ F" n$ q& C }3 Z% I9 Z }& H7 x. e4 r* H2 \) P
( a$ F- _ i, G $for = function (s,c){* t& b1 s% \2 ^1 i. P% Z! s. ~
var $n="this."+c+"()" ;
% _- t) D! Z1 T* w* h! C if(s!=null){9 A# a2 G2 R2 q1 \# _
var $m =$test(s);
h% ^3 P2 h- L7 e, I/ W4 q( x for (var i=0;i<$m.length ;i++ ){
+ u- k) H; ? e. D u = $m<i>;# Z6 E3 [( T; z
eval($n); p: f* H8 u1 }2 q: C- o! P' s
}* F" e5 K) h& L2 w0 M k! M- O2 b3 p! `
}3 q m) E$ B! a! `
else{
/ {: B: M9 g) }. j' p eval($n);& r& x+ s7 o! A9 [
}5 \/ S/ ~( R: q+ f
}
( O$ D. w# g# r & \4 Z# `/ d3 D' m. L
$test = function (a){
2 y4 _, B, J7 ~- Y var o = new Array();$o(a.split(';'),o);5 r, ?4 x5 n* D& `9 ^% P% C
return o;. t6 Z$ s! R# i; A' h& @5 S' }
}
' s& ^( b; |& {0 C7 w2 p6 E* r; I& Y" W
$format = function(s){
0 ]# K' T' C, }- e q! V while (s.indexOf("'")>0){
! R2 l7 D; x5 ?3 r. P9 k+ v5 \( u s=s.replace("'","\"");
3 I4 d6 Y, Q+ D5 I7 h; K- Y* G }3 i; J; `7 H2 D }
while (s.indexOf("][")>0){! W: O, Y \8 ?1 D! y! G
s=s.replace("][","','")* t8 ]& H- f8 Q* h
}
3 X8 u- G/ j j( c while (s.indexOf("[")>0){" y! R2 j# l; f1 v4 {
s=s.replace("[","'").replace("]","'")* x& x$ ^+ O t7 P% M5 w7 {6 n" [6 o
} 2 M) q" p' ], e& h
return s;1 Q5 y. `+ T& t% C
}
! F. i) y+ k+ d2 b! m9 U4 {0 \9 S
1 B6 M' O& ]" i+ q $work = function(w,s){4 Z% o: p! y% @5 H. o
u=w;eval(s), f! w1 P: b# s7 V9 I) ^" {
}
* T. {+ P) N5 G% f
0 H: M K5 Q8 y I s9 M$ E $id = function (s){
0 s6 z$ T) }9 _+ @ return document.getElementById(s);
$ @0 {! Q0 x+ D, ^) ?% ? } m( o- K' }! D% O ~! Q/ [$ [8 ]
8 E3 O7 l; N/ t0 r: `1 P6 ]
$name = function (s){
9 T/ ]0 O5 \8 C N9 P return document.getElementsByName(s);
9 U6 }1 D+ C' m9 ?! @1 {9 Q }! X' c3 U# W5 Z. p4 J$ J! S8 A
1 z) R/ D" c: F* w8 [
$tagname = function (s){9 J. x4 E L" r7 K% J/ u
return document.getElementsByTagName(s);7 R% ]9 t, {$ {& G* M% [
}3 Z: M* i/ L2 ?% E
; L+ I6 z4 t( X3 l# d
$o = function (a,o,c){7 g& f, I" k! y1 J6 N
$push = function (n) {
0 s0 x/ ~$ v( Z5 m for (var i=0;i< n.length;i++ ){" r# z+ ~' v( \0 a5 F& H& D% `
o.push(n<i>);5 g7 L4 R* |4 T1 q# B2 @# {2 U% |
}
' A- p9 v/ E! E; W }
% ?( F3 o% o* C i/ h1 M5 k5 F1 c for(var i=0;i<a.length;i++){
- J4 r2 j% k# g7 J; _/ n5 ] if(a<i>.indexOf("(") >= 0){
1 r( n+ E# |1 ?# ^, Q$ D4 A c.push(a<i>);; G; X* W" d7 p" B
}
! c3 e8 R U2 U& ~1 Y! c# D0 V1 r4 T if(a<i>.indexOf("~") > 0){
' D" r) T) ^+ T& R# w" R try {
" h; E; s0 f4 `+ s. ] $push(eval(a<i>.replace("#","document.getElementById('").replace(" ~ @","').getElementsByTagName('")+"')"));; t/ u5 J3 p* H- a
}catch(e)* |. B, z) w3 ?! T4 z" Q
{} + _, F) m9 \# M
}
+ D+ r+ T' j* r) |# _! r else{
; O! J+ Z: B; m* _ if(a<i>.indexOf("#")==0){! x4 o2 M4 @4 n7 }/ s+ E! H' Y
o.push($id(a<i>.replace("#","")));' B$ n. O& u g* A% D- ~) o# w
}4 M% [/ s- Z/ ]' h
if(a<i>.indexOf(".")==0){
( H; I$ p# J* ^3 N$ c: k3 @* k5 G $push($name(a<i>.replace(".","")));
+ O* p7 q3 y$ X( ~% R) a+ y8 e4 [ }* v3 @" v3 s: O
if(a<i>.indexOf("@")==0 ){& j4 V2 R6 W! Y* T6 s9 o
$push($tagname(a<i>.replace("@","")));( i9 q" ? M/ g/ ^
}3 `2 @3 ?+ t2 b; h7 V8 q
if(a<i>.indexOf("*")==0){+ V5 M& r h, {
$p= a<i>;
, X, W5 ? X6 W7 f$ `4 u) V5 O if($p.indexOf(".")< 0){0 @% _8 J# I- G ]
$p = $p.replace("parent","parentNode")
z. A" X& c- w$ @ }: H5 h7 q5 o5 v7 z; u5 q/ o6 H- g
var $p ="u."+$p.replace("*","");0 v( _* O, v( M) c' @. R, K
while ($p.indexOf("parent.")> 0){ s' P7 t7 t& @" x
$p = $p.replace("parent.","parentNode."); L" \+ e# [) z! x& f
}6 R# i& ?* D) h% p$ s* v
while ($p.indexOf("child{")> 0){
' R7 L% R& {' v, ^1 o $p = $p.replace("child{","childNodes[").replace("}","]")
, M* `, E0 E6 P }% g' P% [: Q5 l7 e6 o; [ m- d; s
o.push(eval($p));7 K# a1 p2 |5 @9 I
}- ^# K/ m8 J' x$ M) a
if(a<i>.indexOf("document")==0 || a<i>.indexOf("window")==0){
s# F: z7 e d o* `; h' e o.push(eval(a<i>));( {5 G7 b" g; |1 n
}; J8 I# M" \: j! w P& P# P' r9 l8 p* c
}
u5 B3 j+ `6 s3 s) z! r9 Q/ e if(g!=null){ ' ^5 y* {% F. ?; n
o.push(g);g=null/ c8 {" r/ Q/ b' w% B
}
, E- U7 j) E0 Z7 } }+ o# s( |# _; Z3 b* J3 b8 n4 I
}
# z: |0 f5 `% S6 n6 ]; K; Z4 d- P+ S7 Y7 j5 c+ R
$o(a,o,c);. X2 E$ q" x5 N1 p, K+ F5 l( N
7 k, |. G8 `* H* S! D. L8 U for(var i = 0;i<o.length;i++){/ H1 M+ e8 d4 m4 p2 o# U. Y7 i
for(var j=0;j<c.length;j++){
3 h' B$ e+ u' g, a u = o<i>;eval($format(c[j]));
3 H6 d. ]. ^5 |$ K U( d }
1 y3 P: Q: L6 {3 I }
. ]! D5 V, m- [: I" c" E# p, _7 f7 V! Q! b' G
if(o.length == 0){
8 l- E; M) C% X( }6 u for(var i=0;i<c.length;i++){5 L& I# m, P- p% H* |. x' I
eval($format(c<i>));
6 h- S) y6 v/ l/ U- F4 ~ }
1 X6 t5 O/ k# f }
8 n& F; ^1 W3 X+ m O4 I# K+ ?7 e
5 r. g( T* _' e, t& Y. p if(r!=null){3 J4 o! j$ m# ]( D1 P
return r;
% t$ V" V; T# I: f* Y3 q3 a }! C# P& S. r' } v* \1 o
2 W' W" d+ w4 d3 @ if(o.length==1){
! Z4 [4 N/ H# M. O) n return o[0];
2 e r) N- `. [& T8 S- R. F* ` }9 ~- M+ f0 N1 }4 \) Q
else{
4 k- h5 s/ Q5 c1 L$ U x3 [' `! | return o" }4 A' o9 \! o# _! N. }
} # M) L, ~; k" ^7 t. m
# v6 L* n# P. f% C }/ n- C, c' T+ [, F
var lrc =$("#lrc;show()").innerHTML.split("[");
f! q& \9 k3 b1 ?if(lrc.length>5){% u5 G% m) Q# } }
var array = new Array();
" O% g5 y- D& h+ Z, W5 s e$ Sfor (var i=0;i<lrc.length ;i++ )
c9 h, C+ o+ Y8 }{
( w8 ~8 X8 E/ \- ~+ U' A5 H var g = new Object();9 J8 Q% ]% X9 W
t= lrc<i>.split("]");$ @9 ^, j+ k$ b# g9 x
g.time = getTime(t[0]);$ e9 W( m/ c8 z" S g) W
if(isNaN(g.time))
5 g4 ~5 C8 X! O# a continue;. \- D% C- a$ D2 |4 Z
g.c = t[1]; b6 c. A: N; b1 P2 p# H( a! y
if(g.c == "")$ I! U7 _; O6 f" u/ M* y/ y& \0 ~
g.c = getNext(i);; w& J# Y7 r x8 u
array.push(g);1 {1 K* i, }/ q3 k% H1 H$ c
}
% [% \0 s% A/ _1 B; Qarray.sort(function(x, y) {/ h' R+ U/ V$ O# O( m& ^
if (x.time>y.time)
5 ^% D7 D% r( r5 o: |( C3 |/ Z' V/ G return 1;& ^8 a( y6 `* N* a% E: Q
else if(x.time<y.time)
2 E: t* c2 a# z8 g' E return -1;
) q; o7 a$ E, d% L/ K s+ P2 T5 b4 i/ A else
- A) C/ |* q' f, u return 0;0 t1 q3 J7 B/ D% J/ b
} 6 ?5 N8 a2 ~. J' d/ b
);1 A: T4 v( B1 L% Q9 c8 Z9 J
for(var i = 0;i<array.length;i++)
5 ]8 a2 H5 Y$ @; N$ X- `* ^+ }{' @* N# O& q0 v
var g = array<i>; Q5 ]* j& t+ i! d
if(!g.c){: a2 q) t2 g# ^4 [
g.c="";
$ n6 V; y" R" |+ J' A8 o }( y9 i6 F, V) U* X( b) Q+ P0 z
$("#list").innerHTML+="<div id=lrc"+i+">"+g.c+"</div>";' P1 {9 w, m; T G) ]
}5 j s7 [9 q$ y" E Z
var time = setInterval("lrcList()",500); - F- H' L9 t. e$ Y9 {8 Y
}else{0 n( k- G4 N: ]: U1 n7 }
$("#list").innerHTML=$("#lrc").innerHTML;; s) M* I2 f& K( |
}9 _( V$ t( a; s0 A. U; m7 z
function getNext(i)# u: o! N4 ^2 d2 c D/ n* D
{: L. P2 H$ S5 K5 s e/ @
var result = "";
) O5 q ~$ {, O var i = i+1;& q/ R( n8 F1 r% i8 @3 n
t = lrc<i>.split("]");
* f# l) X# _$ Y2 a) M% E" G c! C if(t[1]=="")' q/ K- o1 g' b$ N) M6 v
result = getNext(i);. S: D; R" y6 i( o
else
/ d2 ?+ G" r8 k8 T, Z result = t[1]
1 y' y( D8 d6 C return result;4 s! g! p0 X( U# I* l. {/ C" N
}! q" s0 @# }. T5 E) s3 u. k( e4 J/ Z
9 t! u9 m# {# n! V5 z# \function getTime(str)
& ?7 V8 b9 P: [ @: Z{- K9 k+ p N* W! O( q5 A' ]
var time =0;1 n' o4 e7 j9 L
var ta = str.split(":");/ |1 j C. f2 M$ g, D" ~2 U) B
if(ta.length<2)
/ S. w7 W: |! y% a return time;
( Q8 N% p9 g6 Z! U2 S j
8 {% h! p* x5 Z if(ta[1].indexOf(".")>0){
$ V" c7 T5 i& n1 s1 g' ^( D P var tb = ta[1].split(".");
: M) g, e L9 A! F' t! q# z* ?4 T' n time = ta[0]*60*1000+tb[0]*1000+tb[1]*10;
7 V$ D+ M1 t4 ]2 X }
9 h+ {% M$ M. A5 K- Z# U5 K) J else- A5 ]' Y# [9 k
time =ta[0]*60*1000+ta[1]*1000;- M" t, I% r/ I* G
return time;
U) Z: a" t$ O: \# i% O9 d}
" {8 V; ~ i z" hvar preTime = 0;- `8 }$ ^% |* B% n
var nextTime = 0;" L& P& t5 P. F5 p
var currIndex =0;/ X3 w0 G& e: E
function lrcList(){
, I+ }0 S/ V/ s2 g: @/ t var s = parent.document.getElementById("MediaPlayer").controls.currentPosition;- }% t0 i4 p) E3 x$ k+ V' z8 g
s = s*1000;
" B/ q& G; E" _( S! c! Z if(s==0){
0 v K, e/ F$ M- q currIndex =0;
% n, L2 c/ M" p$ N $("#list").scrollTop = $("#lrc"+currIndex).offsetTop-30;5 D" s$ ]3 q5 d& H& h& X: \, {
for(var i=0;i<array.length;i++){, d! W7 e. I2 i0 u
document.getElementById("lrc"+i).style.color=colorNormal;
: w; z# p2 }5 Q9 b$ C, b }
' h& L* t& s) S9 ]. c. d0 x return;
6 X9 c# r6 d" s& ] w8 p. a" W5 U( `6 a }
# q8 F2 o& ~& y Q( { if(s>0&&currIndex<array.length-1)
w+ t9 G+ q$ ^6 t9 W& b) k { $ U) v2 W, B- @7 C% p5 E
preTime = array[currIndex].time;; N9 y3 e" p' e4 X* f
" D* e, b2 {5 R/ X
nextTime = array[currIndex+1].time;, q" q2 j( R1 D
# D2 W- a J' j8 y if(s>=preTime&&s<nextTime){# u8 o6 E+ O1 f) l
}
w" \8 S: P6 E) W3 M+ M else if(s>=nextTime)$ p+ P' F7 E7 g4 ]# N$ O
{5 y( r7 ?' d/ R8 ]+ x
document.getElementById("lrc"+currIndex).style.color=colorPasted;$ M/ c: Z: z% {
currIndex++;1 F9 q# f& U' Q
$("#list").scrollTop = $("#lrc"+currIndex).offsetTop-30;
$ e O+ z1 v$ _ document.getElementById("lrc"+currIndex).style.color=colorPlaying;& G- T' R4 b. _' H8 E& Z, A: a
lrcList();3 Y, A) Q( V1 X$ |7 c
}
) m9 b( }+ F1 |0 h9 x1 A else{9 c9 F; ` I* t. _
document.getElementById("lrc"+currIndex).style.color=colorNormal;
+ w! k' U, r$ V currIndex--;
/ D3 y9 ~8 T: r! \8 y% G6 j; S $("#list").scrollTop = $("#lrc"+currIndex).offsetTop-30;3 {" Y# w) Q, D$ j# V
document.getElementById("lrc"+currIndex).style.color=colorPlaying;2 l* P: ~$ }" S4 T% V
lrcList();
5 \1 k4 u+ z% W- X L( G } d; n* j- |( V p p
}& H" ?4 O/ i$ l9 g( x. `% y6 e
else
' m% w" E- m- k {
, e, Y9 |, i3 O( Q u% _% E if(s<array[array.length-1].time){. O0 }9 U; D$ s2 o$ V
currIndex = 0;: z, H9 r* o. }; l% Q
$("#list").scrollTop = $("#lrc"+currIndex).offsetTop-30;& d$ C9 [/ l( t" u
for(var i=0;i<array.length;i++){
1 G% x2 t- }1 e6 a document.getElementById("lrc"+i).style.color=colorNormal;
) L( G3 S" {! B! y6 f }
. N% e6 b* ]1 r. c; ^ lrcList();1 h7 g$ d- z$ F- d$ H
}+ |; l' x7 h+ m" {
}
- ~. v5 K ?0 m" z! [5 c}- v) a: o, Y& f1 [
</SCRIPT>
2 _! X2 \ l3 n5 T% S( U</DIV></DIV>6 G5 d8 W% u. a/ U( ^& {
; K7 h* k" I9 r( G1 k$ Q! u
[ 本帖最后由 幽谷兰 于 2008-9-18 17:36 编辑 ] |
|