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