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