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