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