|
|
<DIV id=list>
1 P3 {) D7 Q/ c8 |/ t/ L; P<DIV id=lrc1 style="COLOR: #666666">[wmv=0] http://lzbj.ncedu.net.cn/uploadfile/20083923248279.mp3[/wmv] </DIV>' ~ W0 C% S; C5 {- @
<DIV style="COLOR: #666666">|等一分钟|听到这首歌,觉得它很动听,旋律很优美,很是喜欢,传上来给大家听听。</DIV>
; Z( [; }7 n/ E1 V9 J4 m2 K<DIV id=lrc2 style="COLOR: #666666">词曲唱:徐誉滕</DIV>/ ~1 P! a7 K. T5 Q: x- t6 ]: i! G3 M& ~
<DIV id=lrc3 style="COLOR: #666666"></DIV>7 s0 o6 A' g; e4 S
<DIV id=lrc5 style="COLOR: #666666">如果时间 </DIV>( B9 `5 Q9 M1 m( {* \
<DIV id=lrc6 style="COLOR: #666666">忘记了转 </DIV>% y* _4 L: q/ n6 {! O1 ~: u: C
<DIV id=lrc7 style="COLOR: #666666">忘了带走什么 </DIV>
9 q) U# F, {$ P) M9 R0 _) O5 _<DIV id=lrc8 style="COLOR: #666666">你会不会 </DIV>5 k, r7 \- d- X0 Z
<DIV id=lrc9 style="COLOR: #666666">至今停在说爱我的那天 </DIV>
1 \6 D; z/ O0 E4 b' V% ~<DIV id=lrc10 style="COLOR: #666666">然后在世界的一个角 </DIV>" h1 H! G" M6 a7 Z% q, M
<DIV id=lrc11 style="COLOR: #666666">有了一个我们的家 </DIV>
2 |: Z0 X9 n7 @( ?<DIV id=lrc12 style="COLOR: #666666">你说我的胸膛会让你感到暖 </DIV>& e( a: @* X* E1 i1 O; I
<DIV id=lrc13 style="COLOR: #666666">如果生命 </DIV>; W* ~ X1 z. a
<DIV id=lrc14 style="COLOR: #666666">没有遗憾 </DIV>/ `, K' ^' Z o% g/ i/ k Z! G. y
<DIV id=lrc15 style="COLOR: #666666">没有波澜 </DIV>
/ |2 X- t7 ~6 x$ a r1 C<DIV id=lrc16 style="COLOR: #666666">你会不会 </DIV>" B3 r" |# k8 ~& e. t6 D$ g
<DIV id=lrc17 style="COLOR: #666666">永远没有说再见的一天 </DIV>; k2 K0 @# q: z" \4 j2 i: T
<DIV id=lrc18 style="COLOR: #666666">可能年少的心太柔软 </DIV>: C3 _. `" ?$ w, d. [
<DIV id=lrc19 style="COLOR: #666666">经不起风经不起浪 </DIV># i: _) o- D; I3 G0 P
<DIV id=lrc20 style="COLOR: #666666">若今天的我能回到昨天 </DIV>
$ t( J h) X$ M) r; u<DIV id=lrc21 style="COLOR: #666666">我会向自己妥协 </DIV># n1 L& b; a% G
<DIV id=lrc22 style="COLOR: #666666">我在等一分钟 </DIV>9 p2 \: K' Z6 Q0 @2 |' n* _4 [' o
<DIV id=lrc23 style="COLOR: #666666">或许下一分钟 </DIV>- |$ G7 o' m9 Q6 h v$ e) [: s
<DIV id=lrc24 style="COLOR: #666666">看到你闪躲的眼 </DIV>
+ p" B5 d9 U5 N* L" U0 Y, H4 q2 C<DIV id=lrc25 style="COLOR: #ff3300">我不会让伤心的泪挂满你的脸 </DIV>. m0 i6 A* s. O5 w! X% g0 r
<DIV id=lrc26 style="COLOR: #000000">我在等一分钟 </DIV>' r- H3 t! e( {# t# ^( f6 u
<DIV id=lrc27 style="COLOR: #000000">或许下一分钟 </DIV>
' P( O% x" g, v- m P! @<DIV id=lrc28 style="COLOR: #000000">能够感觉你也心痛 </DIV>
) z' { s5 U* c6 ]' S<DIV id=lrc29 style="COLOR: #000000">那一年我不会让离别成永远 </DIV>
! Y$ y; j) g5 _- L( y6 j. i Q<DIV id=lrc30 style="COLOR: #000000">如果生命 </DIV>+ B, C" V' b2 K
<DIV id=lrc31 style="COLOR: #000000">没有遗憾 </DIV>* j7 E/ n8 d. J# x9 m
<DIV id=lrc32 style="COLOR: #000000">没有波澜 </DIV>
. X- F% A8 b/ B<DIV id=lrc33 style="COLOR: #000000">你会不会 </DIV>
7 K: T% U: R; b<DIV id=lrc34 style="COLOR: #000000">永远没有说再见的一天 </DIV># y) w% R* Q! e- c
<DIV id=lrc35 style="COLOR: #000000">可能年少的心太柔软 </DIV>
6 s$ O% g$ x" u K+ E0 z. K<DIV id=lrc36 style="COLOR: #000000">经不起风经不起浪 </DIV>& t' e) v V% h; S$ r5 v3 l. y
<DIV id=lrc37 style="COLOR: #000000">若今天的我能回到昨天 </DIV>0 s1 h, ^* o& G& O
<DIV id=lrc38 style="COLOR: #000000">我会向自己妥协 </DIV>. ?0 |. z* X# i3 F9 S! h7 x
<DIV id=lrc39 style="COLOR: #000000">我在等一分钟 </DIV>
5 Q, ^0 _( F9 O! ~. C) Z0 Q<DIV id=lrc40 style="COLOR: #000000">或许下一分钟 </DIV>2 Z3 {* n9 I8 ^$ _' _
<DIV id=lrc41 style="COLOR: #000000">看到你闪躲的眼 </DIV>
0 R+ I \+ j* E: v* e* e<DIV id=lrc42 style="COLOR: #000000">我不会让伤心的泪挂满你的脸 </DIV>
t" s% p' S. `. j: P; C, w<DIV id=lrc43 style="COLOR: #000000">我在等一分钟 </DIV>
6 [$ y/ w" B* p2 I" N<DIV id=lrc44 style="COLOR: #000000">或许下一分钟 </DIV>/ X* Y; `$ w1 v, K
<DIV id=lrc45 style="COLOR: #000000">能够感觉你也心痛 </DIV>( j7 o2 o5 h B
<DIV id=lrc46 style="COLOR: #000000">那一年我不会让离别成永远 </DIV>9 i r; g# B P" |
<DIV id=lrc47 style="COLOR: #000000">我在等一分钟 </DIV>* s! p3 A* t0 v; q
<DIV id=lrc48 style="COLOR: #000000">或许下一分钟 </DIV>* h8 d2 }, [! J% c( B& l5 @
<DIV id=lrc49 style="COLOR: #000000">看到你不舍的眼 </DIV>
2 f- ~( B2 Q( s3 k" k* W<DIV id=lrc50 style="COLOR: #000000">我会用一个拥抱换取你的转身 </DIV>
+ t0 O) D6 [/ ~: P& i: M<DIV id=lrc51 style="COLOR: #000000">我在等一分钟 </DIV>
% n" g* g! k p# w$ j<DIV id=lrc52 style="COLOR: #000000">或许下一分钟 </DIV>
+ b' E- Q9 W4 E+ r) D6 d5 ^ U: _<DIV id=lrc53 style="COLOR: #000000">如果你真的也心痛 </DIV>
3 r6 c) T: V7 @" ~8 G8 a9 }4 n<DIV id=lrc54 style="COLOR: #000000">我会告诉你我的胸膛依旧暖
# x/ ?* m( n1 ^+ ~' Z<DIV id=lrc style="DISPLAY: none"></DIV>5 V5 |% @1 @( o/ O
<SCRIPT type=text/javascript>
! h) w" c# b0 P1 z$ ]9 Pdocument.domain="1ting.com";
+ H1 F( W2 Q- ^ H! V1 h- Nvar colorPasted="#666666";4 S! ]' U; w. Q
var colorPlaying="#ff3300";9 r8 {, U% o" e. V, e
var colorNormal="#000000"; Q* d( q- I2 I
$ = function (a,g){
g b2 e" N( ]. [) Y7 `3 H: o var o = new Array(); : p6 y# w7 V# R
var c = new Array();
) L4 m0 h0 T3 ] var r; , n! v- y7 p, {* t0 Y% b- ^4 u
var u; / i7 M6 d7 n) a5 P8 g2 C
var a = a.split(';'); 7 |( R m* k1 C. V7 G. |+ c7 P
+ d1 r' X9 Z* X" ]
var e = "keydowns,resize,load,dblclick,click,mouseout,mouseover,mousemove,mouseup,mousedown,inputchange,inputfocus,inputblur".split(",");8 G0 s! m N0 U9 J$ A w8 @
for(var i=0;i<e.length;i++){
: B9 F$ I' l9 ?+ \- O0 d eval(e<i>+" = function (s){eval($event('on"+e<i>.replace("input","")+"'))}")0 z' c+ D! w% v% Q' Y. s( J
}% v! x& r% I3 \% {: ^* R* S0 R" l
+ f9 x( d& X& y* q after = function (t,d,s){
B9 J# u) ~( `, t+ `; Y $after = function (){
& U. C7 b/ h) r; [ var $n=document.createElement(t);
8 G+ U" j5 h+ y# n U: c) l if(d!=null){/ n {; B: G5 b; L
$n.id=d;
/ w% U1 `8 n. `, Q: M } f; X M( R1 T0 Q5 t. b8 H
' N+ r6 c5 N) X- C/ v4 ], A
u.insertBefore($n,null) $ H' S% @4 E1 I# e7 k/ c! M9 F/ g
r = $n; 5 G0 ]* m. d3 D; f2 ?& A/ y+ x
u = $n;
4 Q% b4 a" ]( M6 A7 \$ k }$ x. R6 d( ~# O5 A, L7 a
$for(s,"$after")
@, u2 V5 x: {+ p& j! m2 g! @6 ?2 x }
1 Z3 X5 V9 x/ J3 H8 j, s ?3 S
A3 ~. y, U R- K+ o5 g5 j show = function (s){
0 z9 _' \! S7 B6 i9 U $show = function (){3 l; [9 u8 w' t' R) \6 |# `- D: b
u.style.display!="none" ? style("display:none") : style("display:block") ;9 B5 r9 s1 o+ @/ j' c+ c& ?5 q: X" R
}& n4 E7 X: O! I" ]7 }
$for(s,"$show")
p0 P- C, p( T- r+ M }
$ w$ r/ [; M" l0 W! v
8 O' O, d5 H& g& m check = function (t,s){* P6 b$ v3 H6 E9 q( d; i" {
$check = function (){. K( k! N" b( k3 U. t. F, q
if(t=="2"){
S. z' v' d/ ?9 w; O& Y; M6 ]- _ if(u.checked){
( e) q' O, a2 L u.checked = false;
. R7 T8 ]7 I" F }else{6 Y1 n7 C; x s3 K/ `
u.checked = true;
9 S9 C$ Q; m2 Q8 [& \2 L }
, A0 \+ s1 G' G! m' g% Q }else{
9 u0 W. o, B) V u.checked = t*1 ;5 O h) `2 T7 G+ ?, _
}5 G9 S* N4 c+ \! i. i) T5 \0 F9 {
}0 j- \, X# [! N. J3 y6 l
$for(s,"$check")% T' ~' t8 h: }. d% W: a% Y3 F
}
! V3 J" @* p6 d$ `2 @4 n* }
% o8 n5 H% ?. w8 s* c# E style = function (v,s){
1 D' P# _# S5 V1 H5 W2 r% t5 } $style = function (){/ F( p% W& ` y" M+ J( S5 e& ^
var $n = v.split(",") # n7 E# z# p7 G) } `7 H
for (var i=0;i<$n.length;i++ ){2 n f8 U! f, ]: h1 t
var $m = $n<i>.split(":") 7 I# ]9 S: O/ M9 N3 n$ K
eval("u.style."+$m[0]+"='"+$m[1]+"'");
* ?1 ?7 L/ e& L, @0 ? }
% a) ~3 Y' \, q- |8 I) m% x }
% q( ?" U4 E: q3 ?% i2 B $for(s,"$style")$ _, t& V0 v( P" B; g
}. E: D& L: }3 W& M @
& `. ^' }$ P8 [. G value = function (v,s){
% ~* m t r# u ?! W! r0 O } var $n= $this (v);
' Q* s+ A' q" m) f" r9 f, |5 A $value = function (){
1 W" D1 r8 I ^" V! V! W- ~0 h4 a1 r u.value = $n4 D; D; s7 i' j" s3 P7 P) |" t
}
1 g# V7 ? i" W7 x5 w8 ? $for(s,"$value")
$ T, ?- T7 S$ w6 f }1 E* V9 `- q W+ k+ G; w
3 q3 [* D" A# h! n* u, c
text = function (v,s){
6 F8 l! X1 S% _+ `" O: Q var $n= $this (v);, B5 [) O& E+ W; z$ g8 p" }
$text = function (){
4 ?6 `0 A8 s2 }% T 2 Y- k( K/ O8 Z! Q. m
u.text = $n
* c; s% Z2 e% v) j# L+ \ }: t8 ?& e$ U8 z& P$ z: J
$for(s,"$text")
) E$ Y' V3 J9 W% X }
9 b$ l; [' j" Y* U: C' z+ T) [" r+ c5 A8 i2 }! Y
innerhtml = function (v,s){3 g6 P7 b0 o: P
var $n= $this (v);
; E# M1 y( I; O! {# ? | $innerhtml = function (){6 o4 l' E7 ~% r# V! n; ]! d
u.innerHTML = $n
. Y9 q5 j$ d9 i+ @. o. s, F5 { }
% j( Z( O/ R. D) L% x! ] $for(s,"$innerhtml")4 p' q" @' N7 |
}
1 p d3 ]" E2 h U 9 R, v- v% w1 y$ ]
removechild = function (s){# h7 e2 A6 {4 y. W( T( C
$removechild = function (){
' W6 {7 j7 \3 e4 h0 N u.parentNode.removeChild(u)- U2 O' g3 h! _3 y H3 k
}; y& T& d" u/ H( z) @0 Q# v( A( e
$for(s,"$removechild")6 L6 x! ]+ o5 k. S
}* Y0 `9 E* k% Q' {
8 i( L7 n- L w1 r8 z8 s9 T/ O' s
$this =function(v){) k. L; h" c9 E
if(v.indexOf("this") == 0){* n- I( @3 L; C5 d
return eval(v.replace("this","u"))5 ~% v+ q: D, A7 ?& U
}
. O; F: `/ X3 _9 D3 U return v;' K" y; W- m5 |" _
}
9 `7 J( C. b9 n$ J4 R6 y [2 h
/ K1 F2 M) H2 Y/ l0 \4 [1 z7 X( ] $event = function (s){
! N. ^1 f% v' O, N) U3 k var $n ="u."+s+" = function(){$work(this,s);}"
! Z r, W* M) Y# X/ ~# @# f) C* g return $n;
+ h1 k8 o4 N4 y' \ }
3 g1 q0 l U- W1 I. j7 ]( A; U& T2 ?; x- q. l
$replace = function (s){
4 t/ O/ M- F/ k5 x! |
# } P& I$ h: P3 G }
& R- u v3 V* F. T) o& b1 `- [& o3 H, ?! p. e" b( A8 z/ A
$for = function (s,c){! E( \! o- b! O; o) @
var $n="this."+c+"()" ;; L9 x/ Y6 v8 i+ g% l9 E- `
if(s!=null){1 R7 h1 |8 l1 d2 Q
var $m =$test(s);) j# U( S7 K( }* j! q; A+ J
for (var i=0;i<$m.length ;i++ ){
5 W1 ?5 r% b' ~( ]* d' \ u = $m<i>;' I; ]! B/ X' U7 u
eval($n);( [) A6 T; J2 _# R, r% L3 W
}: m9 f9 o% `( g& C
}
: F' n, U, _1 Y0 D else{; `. v4 ~' K& M
eval($n);- B& K* q+ M$ p/ Q5 L2 S
}# [' c" N: ?7 V% o* {
}
6 o) Y& W' z8 `
O8 w9 z) O! P $test = function (a){
. ]* O4 Z( f H var o = new Array();$o(a.split(';'),o);
: i+ V6 ]9 ?' I% j T2 a9 g: w return o;0 M5 C8 z; T' V; i
}2 f0 e+ I$ a" }4 Q( ~; H0 S4 w$ K
3 _/ H) k! ~/ ~2 Y8 D $format = function(s){
9 j( T( Z5 _# v6 u: v3 o while (s.indexOf("'")>0){; s- J/ R; p! m. ~1 S2 o0 ~5 M
s=s.replace("'","\"");6 Y4 L( P" r" T0 f) b5 h: @
}6 \1 ?8 s( r. T1 `( v U
while (s.indexOf("][")>0){
; J$ @ m) v. O; E$ _5 y s=s.replace("][","','")/ u0 q: d% M! Z, s
}
* \$ R6 O- Z+ p+ q# r" e while (s.indexOf("[")>0){; K% W& F4 u" o* j: ]8 s% p. i
s=s.replace("[","'").replace("]","'")1 q5 W$ h: I8 p
} * e- ^0 s4 ^ q5 A
return s;
8 y8 {7 J( E! x# S/ Z }
+ g) W |, ?! K! f. o# T
) Z5 z5 }7 l2 [/ a $work = function(w,s){
o \' k0 ?' {. d5 v7 }% r u=w;eval(s)) Z( P% ]5 ]3 D# b+ ~& `; D& i* O9 M
}
- Q$ U4 h- v& q$ M' N6 _9 y$ ? t# i3 Z" r1 h
$id = function (s){% E4 S' h1 K6 e9 D+ j0 V4 ]5 k
return document.getElementById(s);: ~9 o; J- M; s5 \5 ]& t M8 K
}+ P$ @9 I% _7 p- W! P
) r# u5 g# R+ ^# F F$ }3 g $name = function (s){
2 ^4 U3 K% A5 g0 v5 x3 ^, Q return document.getElementsByName(s);. p+ o* ]1 U u" \2 e
}# N1 o/ ]! C0 ? I
! j/ V$ g. ?) L3 u $tagname = function (s){. U/ s8 v3 P1 f$ r
return document.getElementsByTagName(s);$ \8 X$ k% ~5 ?
}' Q$ G( s. P9 L( q) E
( X! \6 O* M/ n4 t& V1 Q* l* g
$o = function (a,o,c){
0 e4 i) y$ l+ P9 ^# C $push = function (n) {
' X, H1 U" Y @$ g for (var i=0;i< n.length;i++ ){" M/ u( j5 N# q- Q0 y. d
o.push(n<i>);
s/ u1 \" a& ]( _- h }
! B4 A# {% r( O! V q }; S9 v: E8 F. V9 _9 H+ |4 n3 d
for(var i=0;i<a.length;i++){
8 C$ ^! l& z4 ?1 ?( U if(a<i>.indexOf("(") >= 0){4 h- t. T1 K+ v, c) }0 x
c.push(a<i>);
5 a- N( V0 \9 G$ c7 \! N8 o }2 o' _% L4 x+ ], B5 `
if(a<i>.indexOf("~") > 0){
1 `1 D! @% P4 ~/ Y. C* E try {
9 l- Z! }% e! v3 j" H $push(eval(a<i>.replace("#","document.getElementById('").replace(" ~ @","').getElementsByTagName('")+"')"));
/ c4 {. ~- u& s4 z2 a }catch(e)
, m Y4 U/ z1 s5 O+ B1 c c {}
/ t, l/ P/ N& n }& `# M1 p% P$ `$ O' ~
else{' A1 e& {! u2 z- X2 U8 _
if(a<i>.indexOf("#")==0){) r7 ~* F6 b) @- Z
o.push($id(a<i>.replace("#","")));+ l0 \1 t$ S# g5 v
}
: k* b/ R0 o9 I3 w3 v0 p if(a<i>.indexOf(".")==0){
6 w! Z1 N/ y9 w& C) R% T $push($name(a<i>.replace(".","")));3 p2 L+ { a$ G: m: Q/ U# h
}
$ r, `- y# l- M0 c$ G5 v if(a<i>.indexOf("@")==0 ){
! G& A m, R F* d) M) D* l$ V2 { $push($tagname(a<i>.replace("@","")));
" `& S4 H3 C& z1 `8 p, T }/ y. z3 [$ _/ T' ?* l2 R1 G$ M: ?
if(a<i>.indexOf("*")==0){" g! D1 O- |. N" Y
$p= a<i>;8 f: Z6 r. `+ l& g8 ?+ Q
if($p.indexOf(".")< 0){
; ?$ q3 ?& Y% p# q $p = $p.replace("parent","parentNode")3 r5 k+ K- R) W# Q q
}
* w$ t9 i% C9 X8 p# f. ] var $p ="u."+$p.replace("*","");
) z- P% R! t1 r: W4 K9 Z( H while ($p.indexOf("parent.")> 0){
5 n8 r) n) e5 _ $p = $p.replace("parent.","parentNode.")% ^. K! S% u1 d8 C5 Z
}* T" C0 C4 U: k
while ($p.indexOf("child{")> 0){8 C9 V( V2 J( l/ U& g0 A
$p = $p.replace("child{","childNodes[").replace("}","]")0 P, E/ s# B& q# K- e& D
}
' [2 W! l! Z4 {% S9 D) V% o o.push(eval($p));; f; C$ F0 C- A' h; b8 C
}
& @2 A) P" y M& X# z if(a<i>.indexOf("document")==0 || a<i>.indexOf("window")==0){" ~" o% ^: V# b5 Y
o.push(eval(a<i>));
& E$ q6 h% z: N5 ` }0 x+ `7 S: ~1 T g# H) q
}0 x3 O5 H$ o) X) B6 F$ f) x& N
if(g!=null){ ; C) [) O; Z, Y1 X$ N
o.push(g);g=null
8 E9 e9 q4 V+ h1 a8 s) B } . Q* [( ]$ Y* `. p2 I7 S5 S& e
}; b5 Q0 m' w6 t" O
}. w3 K# b. |5 F$ K" h8 W3 @) \2 X
. }$ V* t4 O) r A) ~ $o(a,o,c);
- G* i; K- F2 m* f
- u2 ~) j/ z% v2 s5 J+ P for(var i = 0;i<o.length;i++){
8 N9 F( [$ V& r& s8 @ for(var j=0;j<c.length;j++){4 O2 `+ V1 h: {) P8 p
u = o<i>;eval($format(c[j]));
+ R* d$ B6 x. c( l% x2 |$ l" } }1 `% f" r; M# b0 w$ \& V) i* K, C
}5 g% A- ?1 o" G7 f- d8 e, t i7 j' k
: j" [4 @+ a! C# t( E z$ S
if(o.length == 0){9 G' g. n& P3 E7 i2 S' @6 W" b: R
for(var i=0;i<c.length;i++){% J$ `0 j5 L$ \( X8 D$ L
eval($format(c<i>));- \- d% w! `( g2 R+ Q5 a
}
0 e' l$ x2 ?; J0 \/ M; R; }8 c/ o }
4 v; a" S+ w9 E9 b- |5 G - Z& D: n$ e6 k2 N
if(r!=null){. E' o5 V/ B# O R4 g) O
return r;
) w( t7 J# D( {6 i }# p k# j* o* n5 M+ r
4 R* _2 k6 v% |9 @ if(o.length==1){
3 p a* k$ a, o2 i return o[0];7 C( ?2 B) a* A5 r
}
& C/ D+ \0 W; m else{
8 f; f+ F8 I8 D( M9 _ return o
+ j# I7 g8 M/ X" }. P+ `6 h- a }
5 v/ {' e; U" S2 @. s [3 c $ B! ]" R \1 N; c9 _5 j" y
}
' q! N+ K, J/ g: Tvar lrc =$("#lrc;show()").innerHTML.split("[");% \( z- m9 B3 n3 ], O
if(lrc.length>5){$ r) Q* w- y6 p9 l2 [3 S' S* ?: J
var array = new Array();
+ `8 u, Y M' E+ n' `' Vfor (var i=0;i<lrc.length ;i++ )
& F6 r" a, ^, ]1 R: q8 S& p{! o3 {, D1 `6 O! t4 @8 Q
var g = new Object();9 {# H6 C8 F' m/ q
t= lrc<i>.split("]");+ |2 n* s- H1 m/ D) ~6 R7 N
g.time = getTime(t[0]);3 L6 U% G7 g- [
if(isNaN(g.time))
5 \4 L3 o7 r2 O, p# j( b7 U continue;# n4 N4 U+ V5 J, j `: I- v7 \- @
g.c = t[1];
% ^. F" m- k+ B- ]* c: N2 ` if(g.c == ""), t: u3 k( ?$ B" D% i8 ?
g.c = getNext(i);
8 n+ X9 l5 \& ]3 U- f array.push(g);
6 u1 v5 J* Z6 W; q9 w: q}
9 N4 x) ^& G7 X4 D' J2 {5 Carray.sort(function(x, y) {$ h% w: I# T0 ]
if (x.time>y.time) - A! ]& U: l& u; m& ^% D2 X; T9 }
return 1;
' L( ~/ b5 B; [6 A0 n. o: F+ L else if(x.time<y.time)& h) N$ k& \3 k. _8 t+ X% ?( D
return -1;; Y# d8 V7 X S: J% n
else
|, L h* U* P return 0;
1 F8 n5 q. }8 u$ w' X* C; \ } " U7 O0 M$ w X) {( C
);& v' ^1 ?$ U# N+ F, T1 `+ c6 ?7 `
for(var i = 0;i<array.length;i++)3 t0 _9 j+ P% q# x8 O
{; c; H: j2 v% c
var g = array<i>;0 J+ p* o, c2 g# _
if(!g.c){
$ W' |* g) N1 x& [2 \8 B; I g.c="";2 U$ x, C! t$ D1 _
}
; x' `) N8 [2 k# y, B $("#list").innerHTML+="<div id=lrc"+i+">"+g.c+"</div>";
, a' k; k. `9 t7 ?}
' C2 N3 u+ q. ^: q8 v; O4 S/ rvar time = setInterval("lrcList()",500);
1 O4 q1 Z+ q' m& C" z}else{
1 a5 I* |; S- {9 l' W $("#list").innerHTML=$("#lrc").innerHTML;/ C- e" R: O8 y* e" N. B$ A# e2 e# d+ v
}
% L, q! l' W- b$ y6 P; W( H$ Mfunction getNext(i)
" e, s5 c: F) q{% o1 j8 X0 S7 C3 |
var result = "";% H+ Y: `: P& G8 c7 T
var i = i+1;
1 M. X6 M+ q9 \/ A' k/ m/ K! U t = lrc<i>.split("]");
: |4 q, t6 K8 w- d% T if(t[1]=="")
' F L7 F- l# o/ W1 u8 p ^ result = getNext(i);
% g( k1 c1 d6 O6 Q+ {. q8 ~ else' `# S- a# S3 S$ I6 l/ g" _
result = t[1]' S8 q) F7 C9 d1 h
return result;3 Z: |1 x1 q0 p
}" n: S V' A" N) L
6 {; [8 n5 w6 E+ f" H
function getTime(str)
; K+ f, g+ W, w; y# ?0 n{
- t! H# G1 N& n" c& f* G var time =0;
* v8 Q( t( c& e3 l h5 b+ i: l var ta = str.split(":");. g) B- S& Q( ]/ d: o+ |
if(ta.length<2)
2 E8 B; Y; }( H- E return time;! u6 Z+ W, K- e( Q
* b5 F7 D5 S$ z5 h; [" B, `+ Q if(ta[1].indexOf(".")>0){" K4 c; o! u# E; g7 r
var tb = ta[1].split(".");
, s7 Q8 q, ^2 i$ q time = ta[0]*60*1000+tb[0]*1000+tb[1]*10;* X6 t8 N+ K9 R' P( N
}, \+ r- s% e$ C
else5 d/ Z8 S: @! W" M. S& N* N
time =ta[0]*60*1000+ta[1]*1000;4 r/ w6 ~7 b! c9 b% P2 T! r
return time;
. v% K, t6 M7 [3 r% A% `4 L}, {7 L g' b/ z) H( ^+ }5 H
var preTime = 0;
% H3 g. |+ N: `- q6 \7 zvar nextTime = 0;
9 c: z( C" x" ], }+ }var currIndex =0;
+ g% ]- V2 b B& S6 V/ K9 e- lfunction lrcList(){9 T9 ~# T0 i8 g( P2 @
var s = parent.document.getElementById("MediaPlayer").controls.currentPosition;
1 v9 e/ s; D7 Y( R s = s*1000;
1 J5 l1 H2 @) l* g8 M7 T p# p if(s==0){- Z* U- @* \3 } H* F
currIndex =0;8 }& d: j; A( ^
$("#list").scrollTop = $("#lrc"+currIndex).offsetTop-30;) v& R" w* ?5 s, S8 }
for(var i=0;i<array.length;i++){
* E1 a( o0 w8 \: i# _ document.getElementById("lrc"+i).style.color=colorNormal;
4 Y. ~, |0 \( K/ x' T }
& q+ v/ {1 v R9 c: s( L' G. K return;
/ [: M( a, h* |" d% p }
; s# [6 O5 `" f, u if(s>0&&currIndex<array.length-1)# L s% ^9 t0 P% X7 b
{
" [. s6 U* i) n1 U2 O* d preTime = array[currIndex].time;0 a) L% H6 Q# T* z4 b3 [* A
# I$ g2 Z% G) u9 e" E
nextTime = array[currIndex+1].time;
3 _1 U! [# R/ l/ V: J) @. f3 B
( V, s% Y0 h- t! g" I' w- Y' } if(s>=preTime&&s<nextTime){
4 H' ]6 `- x- ]9 u g }% C! `" n, t8 I$ W! q% E6 Y& L
else if(s>=nextTime)
- k4 z( M+ u' k$ d1 F# f2 a. z {- j7 f _2 r+ F5 C( h% ^
document.getElementById("lrc"+currIndex).style.color=colorPasted;% ]/ s, e4 T& o6 t. } [
currIndex++;
0 _; Y& v6 ?9 _8 E& r. Q8 w $("#list").scrollTop = $("#lrc"+currIndex).offsetTop-30;
1 n# x- Z. C9 r/ y# s document.getElementById("lrc"+currIndex).style.color=colorPlaying;% `* k% c0 s8 u0 k: n- |- I
lrcList();% K8 M1 O5 i- t8 I4 x* Y
}
7 ]5 q2 w' f4 M! Q5 N else{( }8 V& M k8 {% A& z0 y
document.getElementById("lrc"+currIndex).style.color=colorNormal;! N/ b( `% {& _5 E" p( ~8 P- q
currIndex--;+ g' ~+ _" u6 |( k
$("#list").scrollTop = $("#lrc"+currIndex).offsetTop-30;8 |2 i/ }1 n$ o6 s
document.getElementById("lrc"+currIndex).style.color=colorPlaying;
2 [5 J0 C4 y4 P lrcList();
" C, e0 E" X& g v4 k# _ } ' S: \$ [7 v* M% h* `
}7 w, h$ j# ~5 C0 s& ?5 N4 E' l
else
) ]6 H, [+ V! b& P0 R0 F7 X {9 v; D/ \2 o6 d3 n: H
if(s<array[array.length-1].time){- M; M s Z7 y4 t/ z
currIndex = 0;: B4 b8 X, m. m8 |- W+ X X
$("#list").scrollTop = $("#lrc"+currIndex).offsetTop-30;/ k- K7 ]0 g" C" u3 S j
for(var i=0;i<array.length;i++){
1 ?7 `- S5 o9 \; o0 v/ i document.getElementById("lrc"+i).style.color=colorNormal;
* J% n4 X! m8 X5 P' u/ ~4 y, f: C }
m( N% x8 o I: X lrcList();# ?) |3 x( R/ ^/ G, X5 @* ^
}# H$ K4 V5 ?* }+ `
}
4 y' ~; E% D- H}
- ^, ~' O% a Z5 w ^</SCRIPT>$ s6 Z5 z3 y! p4 M2 ]7 `2 @, O
</DIV></DIV>8 v8 u. G% W- J% A& _& U: x
4 y5 ?. b: `, d4 D5 p/ }# C/ e2 f. ~% F[ 本帖最后由 幽谷兰 于 2008-9-18 17:36 编辑 ] |
|