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