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