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