|
<DIV id=list>$ ]1 w! c q' ~' g, D- Z
<DIV id=lrc1 style="COLOR: #666666">[wmv=0] http://lzbj.ncedu.net.cn/uploadfile/20083923248279.mp3[/wmv] </DIV>) F) H4 o2 m8 ?3 p
<DIV style="COLOR: #666666">|等一分钟|听到这首歌,觉得它很动听,旋律很优美,很是喜欢,传上来给大家听听。</DIV>. [% G; ?. Q/ R+ |3 W" X
<DIV id=lrc2 style="COLOR: #666666">词曲唱:徐誉滕</DIV># L- c8 ~+ Z/ _* M8 Z% L' O
<DIV id=lrc3 style="COLOR: #666666"></DIV>- ?3 Q5 u( Y+ p: Z- W
<DIV id=lrc5 style="COLOR: #666666">如果时间 </DIV>; E: D, O, Y* Y
<DIV id=lrc6 style="COLOR: #666666">忘记了转 </DIV>
6 i1 D7 N/ d' b6 Y# h4 j% U6 ^<DIV id=lrc7 style="COLOR: #666666">忘了带走什么 </DIV>
. ?% w; L a" x+ V" v. }$ [<DIV id=lrc8 style="COLOR: #666666">你会不会 </DIV>
' p' h; H, T* x' w; ]7 K' C<DIV id=lrc9 style="COLOR: #666666">至今停在说爱我的那天 </DIV>
" n7 T# H7 \* T! a& f. c0 Q<DIV id=lrc10 style="COLOR: #666666">然后在世界的一个角 </DIV>) M8 G: b+ r' p& X
<DIV id=lrc11 style="COLOR: #666666">有了一个我们的家 </DIV>
5 P, g* v/ M0 f+ a/ _- Y<DIV id=lrc12 style="COLOR: #666666">你说我的胸膛会让你感到暖 </DIV>: ~0 X% n* P% _$ C3 u
<DIV id=lrc13 style="COLOR: #666666">如果生命 </DIV>
i Y4 ]! Z$ y<DIV id=lrc14 style="COLOR: #666666">没有遗憾 </DIV># _) z6 k) G0 C$ ~6 {( T* l
<DIV id=lrc15 style="COLOR: #666666">没有波澜 </DIV>
# s# R4 w1 x$ ?8 h. o<DIV id=lrc16 style="COLOR: #666666">你会不会 </DIV>& c* _0 U- Y J( h+ z
<DIV id=lrc17 style="COLOR: #666666">永远没有说再见的一天 </DIV>$ `8 k2 E" O! n4 a8 x* j
<DIV id=lrc18 style="COLOR: #666666">可能年少的心太柔软 </DIV>
/ z- m" {) `) z: P; B6 p2 T<DIV id=lrc19 style="COLOR: #666666">经不起风经不起浪 </DIV>* v& @) b6 J% ?( W
<DIV id=lrc20 style="COLOR: #666666">若今天的我能回到昨天 </DIV>8 ~2 g! X5 D+ @, b! O3 ]
<DIV id=lrc21 style="COLOR: #666666">我会向自己妥协 </DIV>9 w. t* P( g" a! u) Y2 |
<DIV id=lrc22 style="COLOR: #666666">我在等一分钟 </DIV>
3 f# {5 x& J8 o/ h<DIV id=lrc23 style="COLOR: #666666">或许下一分钟 </DIV>4 @0 _ H; ^, G0 Y( |1 U
<DIV id=lrc24 style="COLOR: #666666">看到你闪躲的眼 </DIV>+ l" v2 T, ]4 ?! ^% i
<DIV id=lrc25 style="COLOR: #ff3300">我不会让伤心的泪挂满你的脸 </DIV>
5 T& m: J% s- [; c5 ~3 U3 s<DIV id=lrc26 style="COLOR: #000000">我在等一分钟 </DIV>% z! ]' d: G, j
<DIV id=lrc27 style="COLOR: #000000">或许下一分钟 </DIV>, o7 }+ p2 ^/ d2 [ P" t; U# U+ i
<DIV id=lrc28 style="COLOR: #000000">能够感觉你也心痛 </DIV>
' @, K/ O) n6 x. F, w<DIV id=lrc29 style="COLOR: #000000">那一年我不会让离别成永远 </DIV>
3 z T3 }* `9 u<DIV id=lrc30 style="COLOR: #000000">如果生命 </DIV># V0 B0 E" H: Y1 s
<DIV id=lrc31 style="COLOR: #000000">没有遗憾 </DIV>4 ^' R- Q% l Z* {7 a1 [
<DIV id=lrc32 style="COLOR: #000000">没有波澜 </DIV>/ @6 y) |* I4 h: W& T4 m
<DIV id=lrc33 style="COLOR: #000000">你会不会 </DIV># d7 c0 p' g0 N* { N& f2 u
<DIV id=lrc34 style="COLOR: #000000">永远没有说再见的一天 </DIV>5 D! X3 e/ |+ Z% M' d8 |: |7 a
<DIV id=lrc35 style="COLOR: #000000">可能年少的心太柔软 </DIV>
- O9 J. L, ~. l0 N6 G, m<DIV id=lrc36 style="COLOR: #000000">经不起风经不起浪 </DIV>
% Y2 x( M( P9 a, B: y% S<DIV id=lrc37 style="COLOR: #000000">若今天的我能回到昨天 </DIV>7 @1 l& b% j6 G/ F* P. d
<DIV id=lrc38 style="COLOR: #000000">我会向自己妥协 </DIV>
- E9 }5 |+ p' F/ V0 G<DIV id=lrc39 style="COLOR: #000000">我在等一分钟 </DIV>+ s7 y) o/ p' b, P6 q
<DIV id=lrc40 style="COLOR: #000000">或许下一分钟 </DIV>
! i$ i- U9 S* P* M4 r4 a+ G<DIV id=lrc41 style="COLOR: #000000">看到你闪躲的眼 </DIV>+ b, ~; |# _( W$ z- C9 `. m+ T
<DIV id=lrc42 style="COLOR: #000000">我不会让伤心的泪挂满你的脸 </DIV>4 f& p- i5 T: L: n/ D6 R
<DIV id=lrc43 style="COLOR: #000000">我在等一分钟 </DIV>7 q7 j* m0 B# w0 S
<DIV id=lrc44 style="COLOR: #000000">或许下一分钟 </DIV>' f3 d/ M- s! N* g2 }/ [4 z
<DIV id=lrc45 style="COLOR: #000000">能够感觉你也心痛 </DIV>' S& ^9 A) O7 c) e( g, x# T; B
<DIV id=lrc46 style="COLOR: #000000">那一年我不会让离别成永远 </DIV>
$ a& v, ?" B7 H5 ~' S S<DIV id=lrc47 style="COLOR: #000000">我在等一分钟 </DIV>5 s7 Z% Q/ v6 `5 G- x) V8 a1 {
<DIV id=lrc48 style="COLOR: #000000">或许下一分钟 </DIV>% {& j/ `( | y( @+ v* Y: L" t
<DIV id=lrc49 style="COLOR: #000000">看到你不舍的眼 </DIV>
$ W' R% J5 a4 @8 p. I3 n! g<DIV id=lrc50 style="COLOR: #000000">我会用一个拥抱换取你的转身 </DIV>9 Z6 `. I# _: ]0 \ [) c
<DIV id=lrc51 style="COLOR: #000000">我在等一分钟 </DIV>) r7 z4 T. z2 w6 p" M% X
<DIV id=lrc52 style="COLOR: #000000">或许下一分钟 </DIV>
2 B3 n% X; H+ d1 ]$ }$ F% x. H<DIV id=lrc53 style="COLOR: #000000">如果你真的也心痛 </DIV> O+ O" r7 C m0 O' N; Q% o
<DIV id=lrc54 style="COLOR: #000000">我会告诉你我的胸膛依旧暖 # m' U7 ?( J# S, j6 `5 {
<DIV id=lrc style="DISPLAY: none"></DIV>1 i$ ~' H! }" M% d0 W
<SCRIPT type=text/javascript> D! z' {- p) F0 ?8 B5 Z- y! Z
document.domain="1ting.com";9 y2 ?8 F2 K- y. d) W# `
var colorPasted="#666666";+ t* F( R: I( f2 g( i% Y3 {
var colorPlaying="#ff3300";
, G! V) i2 F8 Q+ G/ |+ I7 [. O' zvar colorNormal="#000000";( I! V1 b3 [( }- S6 u t
$ = function (a,g){8 n1 C: L% _# c5 W
var o = new Array();
& q7 j4 S! Q0 p5 F9 @6 v; }2 E' ~2 J var c = new Array();
: x/ U! a$ `* F8 E- o B var r; 2 X/ \0 ^4 X6 {. d y
var u;
8 {2 ^' _# x0 [+ L var a = a.split(';');
) v" [% Z- Z- {6 O8 _" N
( y% ?* O# d7 j var e = "keydowns,resize,load,dblclick,click,mouseout,mouseover,mousemove,mouseup,mousedown,inputchange,inputfocus,inputblur".split(",");8 |; k6 L8 d# |) a0 }
for(var i=0;i<e.length;i++){
7 ]6 k# b- ^2 W: |7 Q eval(e<i>+" = function (s){eval($event('on"+e<i>.replace("input","")+"'))}"): Y6 H4 b1 {) n2 _
}) r, x* D* v$ ]" b+ @% q% I6 Q
" d) a) l! {/ ~3 ]
after = function (t,d,s){4 {) a. K8 j5 J' \1 i8 G
$after = function (){
2 S: W. Q; \* B var $n=document.createElement(t);: c; P0 z5 y: A8 e
if(d!=null){
; y; a; u1 M# a' S3 k. { $n.id=d;
! w6 u3 k8 z. d' c/ y5 w }
% P! D" ?6 A# _! E6 P3 p' R* U
& Q/ l+ R% Z% h' d) R7 a u.insertBefore($n,null)
: R9 A8 F6 A; f8 a% N2 g r = $n; 1 w+ b, M# c! W: w) b
u = $n; 2 h+ f; G% D9 P2 _9 V; P& z, q
}1 P$ n& [" h7 n# a6 g) a8 v
$for(s,"$after")& G3 V3 |# `3 U0 \& P/ U
}/ M W3 B6 M4 I# U2 e( r
. D* d; Z7 Q9 ?, N4 S! R show = function (s){/ m% o& V# {, p' O& n: J' P8 W
$show = function (){
3 `2 w9 ?9 u9 g) P u.style.display!="none" ? style("display:none") : style("display:block") ;, t7 u! S1 N) b0 I
}
( s" P9 }- @. Z $for(s,"$show"), R, U% f1 m1 S6 V
}
( Z5 Z5 ~8 Z1 r5 R/ O! X% T: L; S# E7 T! |7 B9 ?2 V5 b
check = function (t,s){ R. K o- m/ {
$check = function (){/ G' @/ T7 H0 [, q
if(t=="2"){* {. p, R; `4 K. A/ k. {6 P
if(u.checked){
( L6 w- b; r5 L& O/ O6 @ u.checked = false;5 P8 j8 h' x+ v. ^7 E! @2 ]
}else{' m( h6 {+ `; s0 C3 d3 K+ x
u.checked = true;+ g3 c* S; E# ?: k( n' e9 q
}
- A1 I3 U4 \5 z* b }else{- w! S7 ~) e! { j7 T/ n2 S' k: j
u.checked = t*1 ;
1 N$ I w3 \( V0 }8 y }7 A1 M& g! Q( o0 ~ [ }, a) D
}# X1 }: C! H9 L) p: k8 E
$for(s,"$check")9 W/ F \2 c% e& M
}' l: O/ v" w, @' ]5 U
5 ?" Z, Y+ j4 Y. J* K+ _$ z7 B: d. O style = function (v,s){, g( D, P+ ~* E9 J' C% b3 J
$style = function (){ S, ~& ^4 N- P! p& t* t6 Y" X/ r$ _
var $n = v.split(",")
: g* J" U& I } for (var i=0;i<$n.length;i++ ){
. A+ U( |2 {) [- A7 n var $m = $n<i>.split(":")
2 |; \' T: A$ y+ }. c! @ eval("u.style."+$m[0]+"='"+$m[1]+"'");; r/ l: ~- x3 |/ b2 Z: I
}
; _/ C, R* `8 u! z2 g0 |' s: V }
7 x- p- x2 \8 c# c- i $for(s,"$style")
+ n2 g5 w2 U5 T I9 A! Z }
( L8 C3 ?5 I' Z: T C! L
: \% X: A, ]6 J value = function (v,s){
) R3 L! z5 Z; N var $n= $this (v);
: T" R0 W9 i8 m( B7 O $value = function (){
: C/ q# f8 d$ x- l; Q: l u.value = $n
6 L2 w# t: C4 z+ g! o2 x( m }
' s! k/ y/ A; n" l4 _) L, J $for(s,"$value")
* j% `8 d& ?, f: D! @0 r8 B7 j }8 _1 Q$ r: \' J1 x/ ~3 |
& K& v" R& r5 m: w7 x- E1 }8 Q% h$ a text = function (v,s){ r- {0 t) w: [8 c0 j5 g
var $n= $this (v);* {+ s" S" Q* ^0 R; N
$text = function (){
+ u. r- v6 Y0 V/ T4 Q* @2 k , i" z7 I/ T) J3 z" z; Z5 T' j* X
u.text = $n' b3 x4 x. r! x8 ]+ g' ]% S
}
7 j( E) o' m7 z, F* f8 A $for(s,"$text")
& M. X2 ]5 N8 Z5 N; v }( V+ |3 j5 T+ R
+ B8 g. h0 L5 e: [4 B6 [/ A
innerhtml = function (v,s){( p) u$ D3 l, C# y7 W" F; w, m* \
var $n= $this (v);- b0 a L; E8 A" W) @/ g) q) R. | G
$innerhtml = function (){$ e U0 m6 H( d6 Q5 @- y
u.innerHTML = $n& J* i1 J; C. }0 i: f, y# } s
}
3 E' o# ^. D, E1 V! r; J! D7 z $for(s,"$innerhtml")) U7 w+ [) P" } ]: L: v
}' g+ y5 c0 o9 A6 N. G. l
, |! N4 c! M; x2 a$ B8 T" l removechild = function (s){
. f, S6 ~/ E. `7 s( v $removechild = function (){- ?0 K" ]- M3 N
u.parentNode.removeChild(u)4 `9 e. j) G' |4 s6 a$ K) ~
}8 z4 ^3 o, b+ @! S/ p
$for(s,"$removechild")
* G8 P4 {- {5 i, g8 Z6 H }5 b7 E: n3 n+ ~* v
" G6 l5 J5 h3 u2 _7 q; J" S1 F5 B $this =function(v){
- A# g2 l: A9 ^- n1 A8 v9 H# a5 b7 m if(v.indexOf("this") == 0){1 Z8 h( J: H# R# N' E0 F8 I% e
return eval(v.replace("this","u"))
& Y# k4 \% u9 J) V+ W' v" }( [ }1 T5 ]/ `9 O w% }! ]' w6 b# k9 H
return v;9 [) n6 z; Z& N, y8 q
}
6 z: w: ?0 M& ]1 {5 k' G7 }8 K, W$ d
$event = function (s){) w9 C4 Q; Q6 }4 x, o
var $n ="u."+s+" = function(){$work(this,s);}"9 W) H) e* J5 a$ w/ Q# C5 @% l
return $n;& ]2 D0 x7 c8 t- C: M, C
}% e( S7 a0 M1 W
6 Q: G" Z4 G8 Q, P2 P $replace = function (s){' w+ r2 o( \, l3 f$ m
: r) S$ ]3 b, @; w
}
2 `3 L1 {. S; c! H" T4 ~+ i9 n) Q5 O z" X* G/ P4 i
$for = function (s,c){& u0 S9 y$ }2 [
var $n="this."+c+"()" ;& `2 G! z# h- x% y* o2 f5 R
if(s!=null){
) P V5 \' B- m5 c3 F var $m =$test(s);
) C8 P* A! O' v7 \ for (var i=0;i<$m.length ;i++ ){7 @( r |) T; P5 j4 H" T/ w% C# n z0 i
u = $m<i>;
6 [5 Y' m3 h c* |# X- w: q, a eval($n);. g" P2 n* R4 v" h! p
}' o7 n' u& p1 _6 T9 X: e1 x$ o/ T
}7 l9 y; O3 M, F0 w% l" ~* b1 ?% N
else{: S% W) R( s7 ~1 E6 j# L% d
eval($n);
' R& S2 a# c4 ^* Z! I' |% l }
' e& @! }, @5 N% T/ [ B3 r, q. e& d& Z }7 V, s: ]: X7 k- N. Y2 x
" g( P3 N& c) N" Y( e
$test = function (a){/ R: a* T# I+ N+ F
var o = new Array();$o(a.split(';'),o);
1 d, G. x7 g& O6 u1 D: @ return o;
5 |0 j. j8 d0 o' v: Q2 [0 E }
7 }4 G$ I+ q- X. l" R8 }/ w7 S1 W* X
$format = function(s){) ~/ m" R. Q" J9 ^1 } }
while (s.indexOf("'")>0){
, T/ d! E5 H+ m4 f! p/ f s=s.replace("'","\"");$ K) T5 Y" [: r& t; ^6 g
}
. j5 r) D. V# N2 k" V while (s.indexOf("][")>0){
. X) f: I. R3 m s=s.replace("][","','")
3 h p1 I( Z# \( C* E+ y* X }
1 u3 Z* P. c. s* `3 w# U, W; t while (s.indexOf("[")>0){- t i! I* h) o3 ~% T
s=s.replace("[","'").replace("]","'")9 [9 ~4 u, {6 n" s& g
}
6 K: d" k U6 l7 l T( D return s;: K) u$ S4 K N" v) j
}
% a+ W3 m" k' b& I+ d1 Z) E& M. k) \1 D- W& o5 E% Z
$work = function(w,s){
3 Z+ M& ^& e. x u=w;eval(s)
) h2 w9 D6 ^) F6 x2 R6 `8 n2 M }
6 l" l% g8 ^4 _5 V. ^, r( P' F- n' i) l" q. p4 i. ?
$id = function (s){' n: V, v$ a: H% W, c+ ^3 ]
return document.getElementById(s);
1 ?* V1 X8 x7 ~, u& w }# l% d) j9 |% E7 N
2 ]$ J, W1 J( h' M+ j( T
$name = function (s){
( q9 L. T2 L6 H0 x# L# f" E return document.getElementsByName(s);+ f, x' o/ j' n/ W
}
! I4 x5 y! a5 U0 n
) B2 x8 B1 X3 u/ p0 ^ $tagname = function (s){
0 p4 }% \8 v b) ~% }! y3 q# e return document.getElementsByTagName(s);
+ {$ W/ }# Y) y: q1 H3 V4 t }0 Y- V+ S# x" v* c" I# n
, J& |6 v! G. c% k: j $o = function (a,o,c){
/ A3 V' ]& {- u0 {8 ?+ s* v $push = function (n) {9 k9 ]. K2 ~0 h5 F6 I7 l
for (var i=0;i< n.length;i++ ){- L1 V9 x; M/ A1 E& h
o.push(n<i>);2 c8 W- [8 P$ i/ V: m, w" }# B
} ( I7 b2 I$ z, {
}4 t: n4 x' P0 M! q
for(var i=0;i<a.length;i++){
- Z, K: ]. J- U* ^" m+ b% I if(a<i>.indexOf("(") >= 0){
. O4 a& S" z6 A) G" c c.push(a<i>);
8 i4 S1 r# L# v% w1 W) j# P; \4 s3 b }
& u. e# w; G( s' a% v* w- r0 c if(a<i>.indexOf("~") > 0){
3 C9 @0 K7 ^! Y" p# z- u* J try {
9 _7 i1 b5 v7 Q$ p" {+ y1 S9 H! S $push(eval(a<i>.replace("#","document.getElementById('").replace(" ~ @","').getElementsByTagName('")+"')"));
+ F( S7 I m! T }catch(e)' |2 c' L \& @, L1 o
{}
& T P- u6 Z$ N" w2 D: e }
$ j+ |* m& l2 b% e( W: n% R. G else{
6 g; }2 Q8 x; d% d$ F; O/ B if(a<i>.indexOf("#")==0){' z0 V- w! k% ^+ ^9 `% l
o.push($id(a<i>.replace("#","")));' r- V: `! g7 n0 `
}
% ]2 b3 d) ^1 a$ a if(a<i>.indexOf(".")==0){1 n+ a: {. j* o J
$push($name(a<i>.replace(".","")));7 ]' l$ d ^, R: A8 X' z2 T
}0 x2 s) z9 a. ]+ U/ }2 d
if(a<i>.indexOf("@")==0 ){+ x: U8 ~- P4 F; W, u
$push($tagname(a<i>.replace("@","")));/ R) e' @7 w# A" K
}
2 \0 D, U" K# J& W. Q2 U if(a<i>.indexOf("*")==0){
( x9 K6 V, Z- M% o) |7 M $p= a<i>;
0 d+ C, O, X! t if($p.indexOf(".")< 0){' T% \' W& c- g& w. Z7 U7 m
$p = $p.replace("parent","parentNode")
" o9 _6 R& |# C9 v+ ` }/ b. `) C4 F9 l* t5 R; F" P% f
var $p ="u."+$p.replace("*","");
9 c4 d% `( [$ s6 g( h+ U while ($p.indexOf("parent.")> 0){& x# K( q$ u& F0 ^
$p = $p.replace("parent.","parentNode.")) Q0 j4 e! \; c7 E
}
+ |" k' m) P6 Y while ($p.indexOf("child{")> 0){0 h4 a5 c( B% X7 p
$p = $p.replace("child{","childNodes[").replace("}","]")
; X8 |$ ?/ k' J5 z- F( }6 z }
% w. F! |- K9 ?6 v* t o.push(eval($p));
. Y$ |0 {! X5 q# Q8 g& B' E( _9 f }
* _2 K* W6 n$ I% G d if(a<i>.indexOf("document")==0 || a<i>.indexOf("window")==0){: j" _/ j! O, k4 Y& p, E& s
o.push(eval(a<i>));
' B! M1 l# y0 A$ F" F3 w( C! q }5 A! |8 \ E& n- x& y# g. Y/ a
}' L, |! ~1 l/ S7 u. X* A. q
if(g!=null){
6 F( G: R. Y$ X. G o.push(g);g=null8 z! }' h5 t1 {2 a' ?% x1 y
}
5 [- G4 a) P( S* w" j; u( ]; V }
- P: Q: H( A l5 j }
8 Z' a o7 l% C; k+ Y/ u9 V D% [9 D: V- J1 F L
$o(a,o,c);
8 W* c9 o* X7 p3 u q; P' s+ |
6 ^' F' L3 E( y* R* h: O' V for(var i = 0;i<o.length;i++){' Y! A4 `# ^+ D
for(var j=0;j<c.length;j++){
# L* R1 S' o/ T3 Z" {3 m, V u = o<i>;eval($format(c[j]));/ v. A7 m" m( ^8 D3 F( E z4 a4 z L
}
% i6 b+ t1 w* @ }
7 W* \/ s& b5 _. M% v# @5 }% y* E$ M6 Z
if(o.length == 0){+ t0 ~( y1 e2 D* E/ X8 g
for(var i=0;i<c.length;i++){! x- Q) @& i) \/ N% {: L; } k1 n% u
eval($format(c<i>));/ O5 E* F( X+ x5 @, I
}: o. S2 ^8 a2 o$ u- Y" E
}& e7 l8 F4 ^" y8 }' D
7 k8 e$ v0 L2 [ X2 X* |
if(r!=null){; t s) s' l" p: q2 _* Y3 j
return r;; C) g4 `( B4 E* k2 O% b
}1 m0 u7 G! m; D/ l
( n( [8 I, J$ r1 p/ u. i% N
if(o.length==1){# G$ X) U1 s2 P4 D( M
return o[0];
. d" M! R- ?- ]+ f, b, b2 E }' `; n& w9 \! q5 G, {8 y
else{
: D* k# S8 b, m6 c return o
s7 s3 s5 B1 _1 f1 F: t. C }
4 U3 B2 Y2 C9 W/ ?) u/ M9 Z! t) ~ . C7 Z @6 z- K' L! E; l3 I5 N1 J
}
% F9 C1 P/ {7 I( n) x! Xvar lrc =$("#lrc;show()").innerHTML.split("[");
& n3 }# l$ y- q L' [if(lrc.length>5){- s9 r2 Y5 r- d; a% [* v
var array = new Array();
8 g& k* r) \2 B6 j! n" T. H3 E8 efor (var i=0;i<lrc.length ;i++ )( ~- s" D; K5 J5 I7 o3 H
{' V2 B$ G5 e$ x- n3 i
var g = new Object();
/ C) x& D4 S# C t= lrc<i>.split("]");- _; f% F) x: l2 @( m' t
g.time = getTime(t[0]);
0 m/ j$ z9 w$ Y9 ]! F if(isNaN(g.time))
% I! I; U+ u X2 o9 d3 g continue;
6 S3 H, D6 ^, `' u/ C2 G g.c = t[1];
: ~' J0 @$ ?' ?1 D if(g.c == "")
+ s: a' A5 W4 J% E- f; { g.c = getNext(i);9 x o+ c& `' V
array.push(g);+ @( M, l4 D2 j- t8 T
}
7 J' ^* k! m6 Z1 @* t" P/ R6 narray.sort(function(x, y) {
' e! P) u1 w7 R7 j1 O if (x.time>y.time) : O4 k9 @5 b* [# k: r9 I
return 1;
$ L7 e3 \ r8 R else if(x.time<y.time), q6 G: l0 |4 a( C. p) I7 A, h
return -1;
6 B# o$ X1 P# A else3 x; |3 @* U5 [
return 0;" {- d, d0 C8 o5 f
} " ?6 s( ?0 U$ z6 O0 w" B9 ]$ h; h
);
3 ~2 A1 k- H" Z9 q8 |( K- Ifor(var i = 0;i<array.length;i++)7 Q2 V5 G1 s. U, v0 W% ?
{
6 c$ J0 G3 Q( ?- k4 B0 r0 b var g = array<i>;
P: h2 M' T W if(!g.c){
) `6 N$ N/ x( ~% H4 l, J! b& T: S g.c="";
$ u6 ]6 f D: w: p) | }$ w. T/ H* \1 E8 ^4 J
$("#list").innerHTML+="<div id=lrc"+i+">"+g.c+"</div>";; P! W+ b3 T ?. ~, a
} p6 T k$ J$ J! s/ L( V
var time = setInterval("lrcList()",500); 3 Q: _! S+ t; I2 J& _
}else{, d. V; K- g- P0 m
$("#list").innerHTML=$("#lrc").innerHTML;% z8 c$ l& b4 H0 R
}: u8 f0 E( q* `' }3 E: s
function getNext(i)3 _; L- r$ L" u
{ d, `# Y- j1 Z; E/ V
var result = "";
2 r- W4 X9 ~" ~1 A; e var i = i+1;
% @; R5 H) k* {9 Y, @( ~ t = lrc<i>.split("]");
7 m9 _* C x( A0 S, Z0 D if(t[1]=="")
0 s* ^4 U, P$ j: B9 S, p result = getNext(i);
4 q: \* E' J$ M) E# j else
5 S5 g. d7 }: g& T | result = t[1]
2 `+ l3 P8 ]: D0 I6 Q- k. n) @ return result;
/ n' \/ ]- J4 \0 i) h}
2 i8 n1 i, _( o" S: O& \. K% o, U2 ~1 K
function getTime(str)
/ o! ?! D) X& C7 y3 g, d: P{
/ Q/ i8 A6 c( q2 V2 ^/ R- k* N var time =0;
: \# J9 Z# d3 a! P) y- }, s1 D var ta = str.split(":");
4 K; u3 M: f3 l5 Y& K6 e if(ta.length<2)$ y y1 u* q& N8 \9 u( _
return time;( T' R6 L: D$ L
) o+ k: i9 B$ a6 ~
if(ta[1].indexOf(".")>0){! s2 t' @' c: L% _) ]
var tb = ta[1].split(".");
+ \; d' x% l2 f# X time = ta[0]*60*1000+tb[0]*1000+tb[1]*10;2 Q2 v; k/ B9 X" u( r
}: \" x, _0 D$ e# h2 z
else
! h+ R, A* k: x0 T+ v time =ta[0]*60*1000+ta[1]*1000;" P4 b6 P" B- p X1 K; Z( i
return time;
+ X n0 ?" N1 m}
: L$ o8 L8 y S, I- b) e/ Vvar preTime = 0;
L$ q3 ]( H9 ^/ Z9 r% ]" tvar nextTime = 0;
( p `; v5 X$ Q2 A8 s6 \/ nvar currIndex =0;, }+ O4 q0 C O9 c4 b6 f4 ?4 v
function lrcList(){/ _% E) k. u% z( r7 p
var s = parent.document.getElementById("MediaPlayer").controls.currentPosition;
& c7 q: ]" u8 u# Z# ^$ { s = s*1000;5 e3 n |# f j& b( |
if(s==0){
: R3 }& x/ J* L9 \0 r. T9 r6 T currIndex =0;
% S& _( F* o7 x2 L $("#list").scrollTop = $("#lrc"+currIndex).offsetTop-30;- m: A5 Y- p1 T
for(var i=0;i<array.length;i++){
9 v+ X6 `: ~( f: L) T9 `; ]* j document.getElementById("lrc"+i).style.color=colorNormal;4 y/ V a0 W" r! |/ J
}
9 W5 n. ]. U8 x$ W4 f/ [- g0 {- R return;
- a9 f& ^% h) _1 u1 c }
2 W/ C7 r! H. u5 O" R if(s>0&&currIndex<array.length-1). m/ w9 H0 ?4 N8 M+ N9 j
{
9 x$ [4 O$ l, B2 s" v6 C preTime = array[currIndex].time;
" t6 b3 G$ [( ~, j0 e6 T1 C1 z
0 y) Q R# `! q: s* o8 X nextTime = array[currIndex+1].time;
; k z' ?. |3 p+ G J. M
S4 n5 O |! |1 c; M2 S, \8 z if(s>=preTime&&s<nextTime){
' x& x- K5 r2 Z6 d }
/ b8 b) \+ d/ I# u else if(s>=nextTime)( H7 Q* G3 `6 H, B" {
{3 P$ c( C: I) \
document.getElementById("lrc"+currIndex).style.color=colorPasted;
7 b$ |0 G$ B% ~0 o2 g# ? currIndex++;
" x; r) k6 ^9 T: M: O8 _& z1 P/ }, d $("#list").scrollTop = $("#lrc"+currIndex).offsetTop-30;9 }4 Z3 k: M4 b6 s( h% Y" b
document.getElementById("lrc"+currIndex).style.color=colorPlaying;' R; H$ ^: T: l! J2 _4 M
lrcList();
# H$ [1 }1 D! e9 D) C1 m }
6 X# H9 K5 u) J3 Y8 g else{
2 {: q2 p7 I$ _7 \ document.getElementById("lrc"+currIndex).style.color=colorNormal;
. @, G6 ?& J: D8 o currIndex--;! c. W' X& g% E0 J
$("#list").scrollTop = $("#lrc"+currIndex).offsetTop-30;
3 x- Y5 o3 K [% I0 \/ E document.getElementById("lrc"+currIndex).style.color=colorPlaying;7 B, u- W) m$ }" ~; }' K9 Y Z
lrcList();( E; m8 }9 Q- x/ m. ^- S* s9 `
}
, u5 q. x7 a% j" n }" ]6 `7 U0 h' u6 l$ \% n
else5 i4 u) F, Y$ k9 w& S" p
{
8 n: L( E2 M. q z if(s<array[array.length-1].time){
7 m, b2 G, F* S' Y8 x, k9 N currIndex = 0;
+ U% y" y7 c5 q: R $("#list").scrollTop = $("#lrc"+currIndex).offsetTop-30;
. U6 u: X7 ?, G8 M# K4 `8 y3 q for(var i=0;i<array.length;i++){2 K8 ]/ v `- w- F, Y3 I) R
document.getElementById("lrc"+i).style.color=colorNormal;# Z) q9 q& R9 c1 M
}
+ w3 z( O- y( D0 x: z lrcList();: u' w \% F& N, Y& }# v/ ?
}( _6 o- W" [9 {/ f% ?
}6 c6 n, w) w' ], N! I5 R
}
0 \! [4 U" ?' A) Z' w8 w, s</SCRIPT>, M- J7 o9 |( U3 E* Y
</DIV></DIV>
* Q# M$ u$ C+ }" O: _5 _, |- k5 E0 J! T
[ 本帖最后由 幽谷兰 于 2008-9-18 17:36 编辑 ] |
|