|
<DIV id=list>
8 P$ S* |) t$ S" r6 o9 _<DIV id=lrc1 style="COLOR: #666666">[wmv=0] http://lzbj.ncedu.net.cn/uploadfile/20083923248279.mp3[/wmv] </DIV>( y9 f4 R1 \- x0 [0 ]# a" I
<DIV style="COLOR: #666666">|等一分钟|听到这首歌,觉得它很动听,旋律很优美,很是喜欢,传上来给大家听听。</DIV>. {6 l! B/ H) O7 q8 i% x
<DIV id=lrc2 style="COLOR: #666666">词曲唱:徐誉滕</DIV>
- x" b6 D) e6 L<DIV id=lrc3 style="COLOR: #666666"></DIV>9 ^( N4 z. }# w5 A1 y7 o
<DIV id=lrc5 style="COLOR: #666666">如果时间 </DIV>
9 M, ^. o" D1 R/ F X8 b<DIV id=lrc6 style="COLOR: #666666">忘记了转 </DIV>) V! H* O3 \1 f9 U: D b& H0 h
<DIV id=lrc7 style="COLOR: #666666">忘了带走什么 </DIV>! ?% t; H% U+ W
<DIV id=lrc8 style="COLOR: #666666">你会不会 </DIV>
+ W- [: t2 a! B0 j<DIV id=lrc9 style="COLOR: #666666">至今停在说爱我的那天 </DIV>
5 u4 Y9 a7 m* P<DIV id=lrc10 style="COLOR: #666666">然后在世界的一个角 </DIV>
! P; B2 E2 t' y2 N* w6 y; H<DIV id=lrc11 style="COLOR: #666666">有了一个我们的家 </DIV>, v: @/ q: ^( ]2 W# o
<DIV id=lrc12 style="COLOR: #666666">你说我的胸膛会让你感到暖 </DIV>
' j0 f9 q, Q, R3 y- p# u& l<DIV id=lrc13 style="COLOR: #666666">如果生命 </DIV>
" u" g n) ?& X4 Z3 X8 `& A2 [6 p<DIV id=lrc14 style="COLOR: #666666">没有遗憾 </DIV>. X$ H3 Y, @2 H
<DIV id=lrc15 style="COLOR: #666666">没有波澜 </DIV>. [3 Q$ @; @1 i; n: m0 d
<DIV id=lrc16 style="COLOR: #666666">你会不会 </DIV>
) R6 o, }8 w) q8 q+ ~- ~<DIV id=lrc17 style="COLOR: #666666">永远没有说再见的一天 </DIV>2 c/ V' [ z9 ^
<DIV id=lrc18 style="COLOR: #666666">可能年少的心太柔软 </DIV>
4 u6 _/ g: }8 R* L<DIV id=lrc19 style="COLOR: #666666">经不起风经不起浪 </DIV>
1 a4 e/ I( x2 M: i<DIV id=lrc20 style="COLOR: #666666">若今天的我能回到昨天 </DIV>
6 W5 m; C. ~- h2 H<DIV id=lrc21 style="COLOR: #666666">我会向自己妥协 </DIV>8 U' x% q$ J: C* ]% c5 s
<DIV id=lrc22 style="COLOR: #666666">我在等一分钟 </DIV>4 V, Y" ?, k* m8 t2 @/ V8 Q' R
<DIV id=lrc23 style="COLOR: #666666">或许下一分钟 </DIV>
7 \8 T' O' D S% x- q/ `<DIV id=lrc24 style="COLOR: #666666">看到你闪躲的眼 </DIV>8 w! C6 R$ a3 z R
<DIV id=lrc25 style="COLOR: #ff3300">我不会让伤心的泪挂满你的脸 </DIV>1 F% V2 K5 _( c# O0 q1 O7 k3 M
<DIV id=lrc26 style="COLOR: #000000">我在等一分钟 </DIV>
9 `0 X6 |' `5 f4 K' T<DIV id=lrc27 style="COLOR: #000000">或许下一分钟 </DIV>$ X5 @* X1 |8 N; A4 M6 W3 t
<DIV id=lrc28 style="COLOR: #000000">能够感觉你也心痛 </DIV>6 k/ f7 w+ U3 s3 z
<DIV id=lrc29 style="COLOR: #000000">那一年我不会让离别成永远 </DIV>
; K9 {* N0 T& m<DIV id=lrc30 style="COLOR: #000000">如果生命 </DIV>
5 K+ G8 D5 ]5 |( h& o5 d" i<DIV id=lrc31 style="COLOR: #000000">没有遗憾 </DIV>
! _3 {! T# ^* m& r<DIV id=lrc32 style="COLOR: #000000">没有波澜 </DIV>& }0 i7 R" K" z6 R8 p
<DIV id=lrc33 style="COLOR: #000000">你会不会 </DIV>7 w7 X( G. a% ^- A7 r4 ]
<DIV id=lrc34 style="COLOR: #000000">永远没有说再见的一天 </DIV>3 t8 I1 j, P6 j' C' `2 t
<DIV id=lrc35 style="COLOR: #000000">可能年少的心太柔软 </DIV> ^! n/ V% m" t. o
<DIV id=lrc36 style="COLOR: #000000">经不起风经不起浪 </DIV>6 I: D( ]5 y' f+ n7 K6 B/ P. X
<DIV id=lrc37 style="COLOR: #000000">若今天的我能回到昨天 </DIV>* F, g G3 ?5 o- n |+ O- M
<DIV id=lrc38 style="COLOR: #000000">我会向自己妥协 </DIV> v2 n, N, p6 K, K5 k( d/ D
<DIV id=lrc39 style="COLOR: #000000">我在等一分钟 </DIV>
2 O- T3 g7 s2 }$ j. w' w, ~<DIV id=lrc40 style="COLOR: #000000">或许下一分钟 </DIV>
" a/ t; s. q! @. }) b# m P<DIV id=lrc41 style="COLOR: #000000">看到你闪躲的眼 </DIV>' u$ |* @7 \! X6 F. I# m
<DIV id=lrc42 style="COLOR: #000000">我不会让伤心的泪挂满你的脸 </DIV>
+ E* k, n3 a( }) C5 T b<DIV id=lrc43 style="COLOR: #000000">我在等一分钟 </DIV>
; ?1 p. n; h( P7 p0 [! S3 Z5 A<DIV id=lrc44 style="COLOR: #000000">或许下一分钟 </DIV>$ |" C# L( w ^) i
<DIV id=lrc45 style="COLOR: #000000">能够感觉你也心痛 </DIV>
7 _. N9 @6 ]* o( O& T' e<DIV id=lrc46 style="COLOR: #000000">那一年我不会让离别成永远 </DIV>$ w, f. b7 w! T
<DIV id=lrc47 style="COLOR: #000000">我在等一分钟 </DIV>% `" j7 o K% _8 N. y4 b; |. |
<DIV id=lrc48 style="COLOR: #000000">或许下一分钟 </DIV>3 {, c, I$ O; W/ J H
<DIV id=lrc49 style="COLOR: #000000">看到你不舍的眼 </DIV>9 v, B1 i8 H+ v( z# \
<DIV id=lrc50 style="COLOR: #000000">我会用一个拥抱换取你的转身 </DIV>3 j1 f% ?. ]& ]
<DIV id=lrc51 style="COLOR: #000000">我在等一分钟 </DIV>, W1 L2 H* B5 }( ?
<DIV id=lrc52 style="COLOR: #000000">或许下一分钟 </DIV>
- i v; x9 N" f p3 S4 x<DIV id=lrc53 style="COLOR: #000000">如果你真的也心痛 </DIV>0 `1 ?- |, ] o) B6 Y ]
<DIV id=lrc54 style="COLOR: #000000">我会告诉你我的胸膛依旧暖
j- m4 n& E/ Q6 B; C( A4 E6 ]8 u<DIV id=lrc style="DISPLAY: none"></DIV>
# J( o9 v/ q2 @4 H6 p. N8 w<SCRIPT type=text/javascript>
& b6 c$ B$ _; U) b+ |+ B; [document.domain="1ting.com";
, D. r- a4 j* M7 E+ Vvar colorPasted="#666666";
0 B$ N) E: P9 lvar colorPlaying="#ff3300";
# A# I3 ]" v% Xvar colorNormal="#000000";. i+ k4 g2 u2 ]3 Y
$ = function (a,g){6 N8 o2 U, [" J) n
var o = new Array(); 3 Q0 f l7 d, l& [
var c = new Array();
7 J8 _& X% k. z6 }& R# J2 p7 K$ S/ G var r;
k9 L$ n. r/ H3 ?5 X0 F% N r0 q' |8 b var u; " ]$ k/ \) o& x
var a = a.split(';');
/ |( V: R5 u3 o9 W
) z4 [, P6 y4 X( f& s" y var e = "keydowns,resize,load,dblclick,click,mouseout,mouseover,mousemove,mouseup,mousedown,inputchange,inputfocus,inputblur".split(",");% {2 B' t! M* ]1 t+ w
for(var i=0;i<e.length;i++){
# x( b4 |5 t$ h/ c8 K& A/ y; `; k2 Q eval(e<i>+" = function (s){eval($event('on"+e<i>.replace("input","")+"'))}")
4 g; Y5 C/ [ N0 c$ u }
1 c/ O: ?8 l2 B6 I
) F. }) J+ v" Z; w; W4 ~ after = function (t,d,s){
! ]# E. @( ]- l, f( ? @ $after = function (){
, g3 }& _5 O H# q* _% [ var $n=document.createElement(t);; L* S6 M N) S/ b/ b' G/ r
if(d!=null){
6 O$ X& G/ h! z3 ?+ C; G $n.id=d; / x4 ^8 z6 S, J+ @6 m$ f: R0 {
}& j7 k7 @ L4 F$ j0 y
# L+ {% R) B/ ?) h& T
u.insertBefore($n,null)
1 X/ Z4 V4 K& D4 j; o% e) I r = $n; ) b! n! u+ D2 a3 [
u = $n; % K1 }& G& V( J
}
) O1 s2 ^/ `& W $for(s,"$after")
. c; {9 r- {# C |) H8 w( m }' i3 o! T% b/ Q" s
- q' S- f" O3 ]9 D% s
show = function (s){8 y4 k' d# k0 s% S6 y! U7 E1 J
$show = function (){
2 H# \5 Y& q' K1 H H4 E, n* x u.style.display!="none" ? style("display:none") : style("display:block") ;
2 Y& `: m, l* t- `9 v) h t }
7 n* C# `6 {2 F( U $for(s,"$show")* E* K3 Z% @: @4 l
}2 @/ |- b! k' B6 r. f* o2 D- _
' _. z' f- {0 Q2 |9 k/ x( }& v check = function (t,s){
T; p4 t5 H& C $check = function (){
3 {, U" }3 N ^" g4 E if(t=="2"){& E' u1 l) s; V1 f
if(u.checked){& m" x& q5 V3 {" [% D* V7 K! }
u.checked = false;1 `$ t* h( j* i# M0 l6 b- n' [0 s
}else{
i5 W8 a# j5 }# e' S& ] u.checked = true;
7 x5 i" a% k5 e( m) M8 B }
4 Z4 a% V) t' @1 J }else{" A5 ^/ B, {; H- ~) g
u.checked = t*1 ;7 i" P( M, T; B! p8 X, V
}9 j; V Q$ F% u8 S9 T: S0 m4 v
}7 S/ g) @7 e& e* b
$for(s,"$check")
. ] Y. }) @. z; q }
6 @8 p* x* }3 t) @0 W
$ @0 I i |9 J* C' j' X style = function (v,s){
1 x- p* N4 D) a' c% k $style = function (){
4 k9 n7 ]5 M% d- Q5 O8 p! ` var $n = v.split(",")
" c' R0 k% s$ {: g# C0 H for (var i=0;i<$n.length;i++ ){* r" Z# Y1 Z6 w" K2 V; u/ T! C
var $m = $n<i>.split(":")
3 ^& N7 j8 }0 l9 @/ j0 O4 K( n1 X" J eval("u.style."+$m[0]+"='"+$m[1]+"'");
2 X) S/ {* _, {) a; D" b }
2 D. {, W+ \* v- i- j0 ]7 N# N# B }, S1 s! y; V/ A$ D. i# o
$for(s,"$style")6 ?( I% I3 ?) t' m* Q$ B
}( z6 w( H3 D# x3 ^& Q
' z- n, p3 H3 a
value = function (v,s){: w/ i3 N( J: {6 p0 W
var $n= $this (v);
" G, ]' X$ j) b8 |% l: J $value = function (){
, F0 ^9 h* t) I3 t' o u.value = $n7 j" d# I; {+ y' o- |* a
}
4 ^/ k) `& L, S% d: N $for(s,"$value")
* h* \/ O1 L: i+ p' q; s( @' @ }
4 H7 r% ^" r5 L, R; i7 H% V. M' p
text = function (v,s){
T5 S! @2 b! y" e3 L$ w var $n= $this (v);
. D O0 R/ a1 j d3 z $text = function (){7 K5 g, e+ t" E# ^1 \" O: v' _
+ Q" {: Z, T0 X- e/ S& e
u.text = $n" u& u) m# Z" | V1 O" }- Q: Y( @
}$ Q& H" D3 B2 ]7 {* c b, c5 P
$for(s,"$text")
X% l! w; K7 m1 B }1 ?# G+ f4 t) {6 H& Q
4 r V3 o& y9 p- h' b m innerhtml = function (v,s){; J4 m. T/ }/ K( U+ }
var $n= $this (v);
8 ?$ t' }6 H$ K5 t+ C/ D $innerhtml = function (){
6 H9 {' n& E5 H6 _ u.innerHTML = $n# [ {0 _1 u) Y4 E0 U' Z$ N7 [
}- C. e! c3 v3 q% ^$ j
$for(s,"$innerhtml")
9 a1 o; R1 D! i% Q- ]4 T% ^! X6 r }
* o/ U4 j. t* Z
7 ^1 `' B1 }" \& ?' `9 J; i removechild = function (s){# {& i% L8 A! _+ B1 M
$removechild = function (){& P+ i& W# R% r& _( R% V) n7 F
u.parentNode.removeChild(u)8 M# c: l/ O9 [ y3 G( _" k
}
! L7 x( W m! x8 v $for(s,"$removechild")
' n) H" U7 v( g$ \ U% h' b& u( E }
: B5 v6 Y* o1 d+ P
$ R8 Y7 ?% z3 D- J' p! Z8 K4 J $this =function(v){
2 C4 L% W( z1 ~! w% t% l9 d if(v.indexOf("this") == 0){& V' o' D- a9 z* L1 C3 o5 ]
return eval(v.replace("this","u"))& w( t+ x5 Y, n# c
}$ {* x: x9 b* Y4 {2 c
return v;
/ E" v% N1 V+ t3 B }
7 @" D, J; A$ t! b3 e+ E) ~8 B9 |2 H# ^0 M. L) ?8 P$ T
$event = function (s){6 N. K* u0 g* @1 p% f
var $n ="u."+s+" = function(){$work(this,s);}"! T$ z( q" J+ P. o, f& P& g) S
return $n;
W6 c; O/ N* E* ?7 s+ ~ }# l" s' F" N/ N2 |* P
" n( {! D( @4 X
$replace = function (s){
+ L6 s3 |2 ]1 |0 }+ G- L9 Z3 h% L: O( P @& G5 W. y7 p
}5 { E9 E2 R; b2 q; a4 k
% E0 x- r6 X4 @1 U- o $for = function (s,c){( V v0 P! j' O, S ^
var $n="this."+c+"()" ;" y0 w+ X! ~$ W5 X. l1 p
if(s!=null){6 f$ w! P5 U6 K) j) q6 r; u
var $m =$test(s);
8 L* f6 v+ K9 h2 y for (var i=0;i<$m.length ;i++ ){
3 S4 s" X* z8 {. M' R" \0 y4 I: @ u = $m<i>;
1 J& G$ k y- L, C6 \ eval($n);
6 W! c5 b5 U6 g3 z }
# N/ N0 C5 ^6 S. }( |2 H/ L. C }$ k$ e4 {5 s4 S5 U0 [3 C
else{: v: G/ z$ n q: R
eval($n);$ D/ V( u$ ^& U3 w# v" w8 h0 ?+ C
}4 c$ N4 [7 d5 w% E+ R
}8 s. {3 G4 ~9 \" @* V) u o
+ J O8 F1 T' |. P7 Z $test = function (a){2 d2 T) B; y7 {0 H* @, |! g
var o = new Array();$o(a.split(';'),o);
: O1 O+ i( s- h& N return o;
8 o1 k( i' y! t! D3 v: Q }
" v7 a v9 I+ F) g5 B* Q9 h' ]" k2 q$ U/ n& k- A' H% [; i
$format = function(s){* J3 P3 |! D9 z# h f
while (s.indexOf("'")>0){* f* y- h1 {- P0 V" B- K: a. w
s=s.replace("'","\"");6 G" K! U9 B# |; u
}7 J, x7 D7 _1 E5 u' W1 f
while (s.indexOf("][")>0){* I, h3 v8 f- |
s=s.replace("][","','"); m8 M+ D8 y( R! O" v
}
; V! B$ b% k# _ while (s.indexOf("[")>0){
' a' ^4 u* a4 a) F9 A0 ~ s=s.replace("[","'").replace("]","'")
" h& _: a$ K8 J( ~& M } # c6 U* }1 J& ~. y
return s;4 N" n) v; U2 y8 O) r ~
}; Q! [; ? `- o7 R: c2 i: |
9 Q* K( D" |( r6 u/ v
$work = function(w,s){( } z5 A: V5 B2 T# S4 s
u=w;eval(s)
* F) {3 c B6 [6 n& w. ` }* Q8 N d4 @1 i, `% q( z* D
! O* p+ V6 |7 g $id = function (s){
# M7 i) P, J5 A- g: n return document.getElementById(s);$ @; N! T/ @5 J% k6 f: U
}: F! X- }1 N5 q1 j' ~+ q
. D3 J, @/ j% z7 g5 D' z _ f4 J $name = function (s){
) m D& J2 |+ F( F return document.getElementsByName(s);
7 Y; S! u) x. E# ^ K# j }, o6 _4 W9 _. B& X# b& h5 l
, D7 q! P2 {* X* ?* d( `1 b5 X $tagname = function (s){
! v8 J+ d A4 p( s5 Z; L return document.getElementsByTagName(s);
$ c% v6 g2 k! x2 k/ y T! I$ Q }' T7 t; C" D7 W) T' \
( P( n) E4 S6 S
$o = function (a,o,c){9 T9 s l9 |$ {; v' ^* \; O, W+ R
$push = function (n) {
0 ?8 U1 s- `0 x# | for (var i=0;i< n.length;i++ ){* f* L+ b7 o& [8 A. Y# W% ~
o.push(n<i>);
+ ^6 ]' p! A- H+ [6 m) Q } . x* D# _3 A$ x! G5 z
}
/ \ `6 O b' h. w- g for(var i=0;i<a.length;i++){3 U6 ?8 D7 m: v
if(a<i>.indexOf("(") >= 0){
* D0 U$ A% b8 d- a+ \6 p c.push(a<i>);
" J" V. M4 u+ _/ D! \: t( q6 }9 W }
+ c: v7 @9 ?* c! w$ ^3 U2 X+ y2 c if(a<i>.indexOf("~") > 0){+ z; _ c% f. F7 Z8 T' i9 t" J
try {
2 z8 j& c; _& V7 k5 Z, F $push(eval(a<i>.replace("#","document.getElementById('").replace(" ~ @","').getElementsByTagName('")+"')")); e* _* D2 y( a! k) t4 d% {" K7 C
}catch(e)
4 C' [ H5 n4 f5 [1 A {}
, I" D* H: {. @; o3 [2 z }/ Q. y6 h7 q: n+ Q0 B
else{5 {0 L1 r. |9 N1 s
if(a<i>.indexOf("#")==0){
) @2 v2 f! |) v5 o0 D+ A# o o.push($id(a<i>.replace("#","")));
9 `' w6 V7 v, [ M5 \$ R }4 M0 r+ v5 h' i2 P/ y3 e
if(a<i>.indexOf(".")==0){' B) A- \3 h2 ?# j
$push($name(a<i>.replace(".","")));
( {" m2 x: Z4 {+ y3 P }
7 T2 k6 w6 u: p2 V# J. M$ y4 L if(a<i>.indexOf("@")==0 ){; `7 X& O$ `" `5 t
$push($tagname(a<i>.replace("@","")));' x0 l0 l. S/ w5 j8 s
}
( `0 J0 H2 p8 e5 G' G5 H; @9 `9 Y; L if(a<i>.indexOf("*")==0){
# C) _3 [# [ c% K- d $p= a<i>;
" }, _4 z* T& r+ U2 q if($p.indexOf(".")< 0){7 R' I ~& C# ]
$p = $p.replace("parent","parentNode")
* w4 W, g- y) n9 ^$ D8 o t }
$ l( e! \1 s' l, @( G, @( \0 K var $p ="u."+$p.replace("*","");! d1 C" ?4 I j, @( q' R+ e
while ($p.indexOf("parent.")> 0){
/ {* Q: g" z* L1 b9 g0 r $p = $p.replace("parent.","parentNode.")
* @- F) x. @9 x2 P j, H' _; I* b }
+ i# @% y. T& j% e while ($p.indexOf("child{")> 0){+ b$ N9 e3 P+ ^9 ~8 m- v
$p = $p.replace("child{","childNodes[").replace("}","]")1 s$ P* a4 C! G5 |1 `. L
}
( }$ e/ S& }2 m2 E: H6 t# r o.push(eval($p));
, @/ G( p6 p5 _" ^. ?% y1 n }
0 Y( E+ u2 t# {, C l" I if(a<i>.indexOf("document")==0 || a<i>.indexOf("window")==0){8 P1 o! }" k8 A6 M6 S( G$ L- y
o.push(eval(a<i>));
9 y2 s7 h1 n( P }
|/ t3 f+ N" i2 O8 k$ o$ r! O }$ b S4 ^ z% Z. k
if(g!=null){
8 |5 s2 H% i0 g( A) y6 V' X0 d2 i o.push(g);g=null: b7 c# l) d; I$ E$ L
}
/ I9 n1 V; v! Z* |. o/ h2 H" @ }
2 b8 ^1 h% L Z0 X! Z }# A% G2 s" K/ p* R& n0 C y
2 l1 n) U" r+ F) |, A2 b $o(a,o,c);% g$ t3 Z( A. S& y' `3 a- {6 i
2 n5 f) G# q( ], d- T7 ` for(var i = 0;i<o.length;i++){
( a# g7 ?8 u4 B7 T for(var j=0;j<c.length;j++){
! `3 ^4 l# X6 x7 q. f z u = o<i>;eval($format(c[j]));
* K$ O" K# G$ e, \, y }6 V2 a* Z$ q6 @1 y# D: n1 e4 s4 x
}5 e/ d; U3 w2 j4 H
0 W) l6 {* S7 H5 j if(o.length == 0){- d! O# R$ V, P' f! `1 O
for(var i=0;i<c.length;i++){
2 m, s0 n) L) I7 @: F- C) k eval($format(c<i>));* i7 i8 ~ \5 f7 [. B
}
9 ]. s* v- h* L( E' O! }; m8 p }: s$ x& Y" z# q; g* `
. r8 N" w: C$ p7 @1 c. O if(r!=null){
% F7 T2 N0 o+ O5 ?4 x2 F% } return r;
, @# v: r ?4 u6 J6 S) U- ~9 c }
1 }3 A" j1 j" O& F0 c
- B, S( G3 q/ Q1 U6 |8 \ if(o.length==1){
6 q/ C0 I. J+ {4 p6 Q7 ]4 a# f" P return o[0];# r& P1 c9 I5 _1 r0 ?6 T
}
% W/ Z1 `, y, |* K8 L else{
- L( U& c( N5 O return o" d8 b$ l+ c" G' d
}
# S$ I/ L3 r9 W. V1 ? Y, w
: k d* N& g! N8 F }6 Y1 A! B7 t$ v: Y& }8 E q3 j4 S4 d
var lrc =$("#lrc;show()").innerHTML.split("[");
; r k2 Z/ L- M' G; z7 pif(lrc.length>5){( X. t( S" F9 q& ?& B' b" d7 A
var array = new Array();, H2 [3 i4 u) P9 P1 B; [& r: p- `/ v
for (var i=0;i<lrc.length ;i++ )! ~; C- \! Y; s- i# j4 w$ j; j
{
9 Z( L" i' ~' M) y( T var g = new Object();
) W5 x/ ]- K; y/ I t= lrc<i>.split("]");8 G1 W1 ]" \! U9 D! S) J1 _ P
g.time = getTime(t[0]);! t& _. J( X/ W2 A
if(isNaN(g.time))& g" Z3 a: q+ I0 t. O" g
continue;' v0 h( M. O# q; I" h
g.c = t[1];: L& C+ l+ d5 d3 {: b% C" O
if(g.c == "")1 Z0 s: k% e& Z' w# E7 _
g.c = getNext(i);2 z2 T) c8 S& u0 I9 w( z1 \& _
array.push(g);. g4 W1 J) |, O+ m0 F7 |$ q% B" l% t7 `
}
- a2 \1 C( W4 ]$ k5 [* I- i' Garray.sort(function(x, y) {( b y! d8 H& Q. k! @0 @& R* ^
if (x.time>y.time)
9 U9 U% w- q9 p4 w$ B9 K return 1;
I8 P, j x$ f: D5 Y0 z' z else if(x.time<y.time)
( W) q: d j# X# c return -1;
3 ~; p% D# g$ N2 T ]# b else9 y+ W* _6 b. H H
return 0;! J- n( F# c! Q0 z" j1 ]2 M1 {3 m
}
: ^( a7 s4 m6 A, z# G+ q' O/ W);! {7 a! ?4 d6 H& B0 e) z9 f+ w
for(var i = 0;i<array.length;i++)" o/ x! R5 A. C [5 g; N3 i R
{$ q# K! Z( {5 Z) [. Z
var g = array<i>;7 p' \4 T" L" j* K- S
if(!g.c){
+ x' ? C M) F. t g.c="";
- \7 i; w3 Z& h! y }- a% M* P( r# U1 B8 Q9 N# X: V9 J
$("#list").innerHTML+="<div id=lrc"+i+">"+g.c+"</div>";4 |, c3 ?9 b3 g5 w! E# S
}
5 k& ?8 W3 K% R5 X: d5 ?- yvar time = setInterval("lrcList()",500);
6 Y3 h+ o6 Y7 X}else{ S# Q; F+ {- n" H l
$("#list").innerHTML=$("#lrc").innerHTML;! X3 W: M% z J3 A5 y1 k3 R- i. \
}
2 i9 Q5 a+ S5 g+ N" z" H% I4 jfunction getNext(i)
. g5 O5 |: u2 j( o$ V. y{: X' z2 i9 d+ G& w4 b8 A
var result = "";
7 T% p* Q5 k7 S: L1 T! r4 ?4 { var i = i+1;
5 F6 t1 B& W5 r, A" h5 @ t = lrc<i>.split("]");8 p: Q- D9 O3 R' Z1 f
if(t[1]=="")/ K: }5 x* O( k
result = getNext(i);
5 e# ^0 C4 W5 N4 y9 h else
$ P9 _9 e! r) i* @, p6 Z result = t[1]
; R" C) i% [! {7 Y* Q& E return result;
8 S: o7 n$ e) B6 ^6 b' |5 g2 C}! u4 r- }4 V6 {3 H/ ~7 S( L7 C
4 C+ I) N! f& u- s/ i4 o
function getTime(str)
& _0 s% ^) ^; B( n8 j{
# {8 }5 X9 J9 {- t7 [+ _8 w9 j" ^ var time =0;, \$ Z2 P3 P1 y, d/ r* H" m1 R
var ta = str.split(":");: ?2 ?% y+ ]1 d
if(ta.length<2)) u5 k+ O0 v: l1 @% J) T" U
return time;
+ [( u4 @- ~; b! g. @+ u$ j0 e& G3 r" j: e+ z9 m
if(ta[1].indexOf(".")>0){
9 r4 z( V' W3 ]# P+ l+ f var tb = ta[1].split(".");9 A' e$ D2 q' `. }& u
time = ta[0]*60*1000+tb[0]*1000+tb[1]*10;
- c% l# D0 H. `4 x( g* I2 ` }
0 B! }, v2 @. |$ D* Z1 {. X5 n( h else
* ]1 T. f' D ^" A: s4 M0 ~ time =ta[0]*60*1000+ta[1]*1000; e3 y3 Z1 M- c- J5 A
return time;
) U- s) I2 s# k1 f! m2 }& V. j}
4 ^$ S; p# F; ^2 pvar preTime = 0; v7 r) T8 P0 o- B8 p5 J
var nextTime = 0;
. @4 r/ X! Z- C$ [5 S" Fvar currIndex =0;/ E1 e: m0 F/ G( @5 f( }$ A2 G4 y+ b
function lrcList(){
. B+ x+ |. \& g* y8 O0 K! J, o/ o var s = parent.document.getElementById("MediaPlayer").controls.currentPosition;: U3 T& I- x1 Z( ]3 H0 D. b
s = s*1000;
3 S, X+ n1 h, E( p if(s==0){; t% ?3 S+ g0 ~0 e9 X
currIndex =0;
6 g: ^3 e g8 m+ q+ Z- I $("#list").scrollTop = $("#lrc"+currIndex).offsetTop-30;
4 M* q" R- b6 |/ E& f( g+ M for(var i=0;i<array.length;i++){5 U; r0 t6 f3 L M0 }4 X1 Z8 \( a
document.getElementById("lrc"+i).style.color=colorNormal;; }6 k/ S& m; P8 v
}1 B$ h- M" f+ K0 g+ \ l( w7 w' K
return;
: D. i2 P3 p* p7 ~# c$ D$ O }$ |8 N$ A& c) H6 h* t) c8 Z" W6 n/ k
if(s>0&&currIndex<array.length-1)
) B; J$ x0 N8 r$ ?( J { ( V3 _+ @) p7 ^. _* G
preTime = array[currIndex].time;7 H7 v9 j5 U9 y9 K i
, A- k) X" P: F. z* o+ ^
nextTime = array[currIndex+1].time;
( |6 b* w- T# P! L4 r, k" ^
' h/ y5 L$ g0 I, ~4 A if(s>=preTime&&s<nextTime){
5 B4 D- p- F9 n& E- U7 a" M }& S0 W8 i# j- ?! @. q, Z
else if(s>=nextTime)
4 V/ q' M. p& e+ ?: P c {
- R; A2 G0 t. c, p; c document.getElementById("lrc"+currIndex).style.color=colorPasted;. k) T7 g, o2 S* f8 I
currIndex++;7 [5 l) T& o" ~/ E
$("#list").scrollTop = $("#lrc"+currIndex).offsetTop-30;
1 i" L& Z% e4 ` document.getElementById("lrc"+currIndex).style.color=colorPlaying;* I/ f; z5 e% l S- _
lrcList();4 c, i* O8 m& @8 D, E
}7 s2 K2 Y" q4 a. _, X
else{
Y( C9 ^) l( @% q/ }1 Y, q" C7 S document.getElementById("lrc"+currIndex).style.color=colorNormal;
! _7 h3 Y3 G. a6 V- G' v currIndex--;' R( M' l' r% t* L
$("#list").scrollTop = $("#lrc"+currIndex).offsetTop-30;' Y$ p, p( @/ O8 h8 _1 J/ P
document.getElementById("lrc"+currIndex).style.color=colorPlaying;
9 q" z, `# o/ L( O1 L" g! j lrcList();
1 @% G, z- b& ~' E } ) q( D( X8 g7 R8 A" ]3 B% G
}+ L* S, q3 H( _4 u
else$ q+ k w) V6 e4 d" A; z
{6 `8 I' l" Q5 q. P! K7 s% U
if(s<array[array.length-1].time){8 k) B2 M! P4 \0 w( E X
currIndex = 0;4 D8 C* H+ l F9 j; i) n
$("#list").scrollTop = $("#lrc"+currIndex).offsetTop-30;& X/ w* {" h x: h K
for(var i=0;i<array.length;i++){
( S; j& p7 N( R document.getElementById("lrc"+i).style.color=colorNormal;
5 A, z* V9 P. o+ W9 |: c. `3 n }) Z. D0 o- r \3 Y
lrcList();! Z& A. o# P1 o
}5 ~0 e8 k, B$ a! C) L0 I
}+ [* d- q9 a; C1 V1 f
}- H% H w {1 r9 {/ |0 u
</SCRIPT>
! h5 H- y; f! G/ }4 D- V/ p1 n: Y, b</DIV></DIV>
, X; n+ W9 O3 f9 Y; C. |) {3 p# F$ u+ n8 s- p8 [0 ^
[ 本帖最后由 幽谷兰 于 2008-9-18 17:36 编辑 ] |
|