|
|
<DIV id=list>0 W8 v" A" e, A0 p& h! [" y
<DIV id=lrc1 style="COLOR: #666666">[wmv=0] http://lzbj.ncedu.net.cn/uploadfile/20083923248279.mp3[/wmv] </DIV>" |& d& c% h$ q0 @3 p0 U2 U( T
<DIV style="COLOR: #666666">|等一分钟|听到这首歌,觉得它很动听,旋律很优美,很是喜欢,传上来给大家听听。</DIV>
( m7 t0 [4 B& }/ ]<DIV id=lrc2 style="COLOR: #666666">词曲唱:徐誉滕</DIV>* m6 s; O* P& `8 C* f6 _
<DIV id=lrc3 style="COLOR: #666666"></DIV>" s8 R6 I- S* K
<DIV id=lrc5 style="COLOR: #666666">如果时间 </DIV>
& X! A# W! Z: a5 Q- J9 i6 i' M<DIV id=lrc6 style="COLOR: #666666">忘记了转 </DIV>
# D. D; e8 N5 L4 _! S<DIV id=lrc7 style="COLOR: #666666">忘了带走什么 </DIV>
" ?: \8 g8 W1 F% f2 M$ y2 O% @<DIV id=lrc8 style="COLOR: #666666">你会不会 </DIV>: ^ E* G q8 Y! l; X8 b$ N
<DIV id=lrc9 style="COLOR: #666666">至今停在说爱我的那天 </DIV>. r+ R3 Y# @ I9 ^
<DIV id=lrc10 style="COLOR: #666666">然后在世界的一个角 </DIV>9 H3 {3 i( R4 g! C8 U: {
<DIV id=lrc11 style="COLOR: #666666">有了一个我们的家 </DIV>
9 ?. j1 L/ [" H0 I) N S' e<DIV id=lrc12 style="COLOR: #666666">你说我的胸膛会让你感到暖 </DIV>
4 [4 P9 e! i L4 U9 Z<DIV id=lrc13 style="COLOR: #666666">如果生命 </DIV>$ _1 B" s8 b; `, ^* j% D; ]7 q& H* Y
<DIV id=lrc14 style="COLOR: #666666">没有遗憾 </DIV>8 ~+ m) ]* f4 g- F5 X# @3 G8 n/ O
<DIV id=lrc15 style="COLOR: #666666">没有波澜 </DIV>5 a r3 k: {. v5 s$ Q6 x
<DIV id=lrc16 style="COLOR: #666666">你会不会 </DIV>4 d8 _5 G7 v4 a
<DIV id=lrc17 style="COLOR: #666666">永远没有说再见的一天 </DIV>
6 g3 e) {: _& t) W<DIV id=lrc18 style="COLOR: #666666">可能年少的心太柔软 </DIV>
3 j& n4 L+ o. T' x' g% [: d<DIV id=lrc19 style="COLOR: #666666">经不起风经不起浪 </DIV>' j2 _* v0 @- Z& p. g: E7 b
<DIV id=lrc20 style="COLOR: #666666">若今天的我能回到昨天 </DIV>$ ~9 Z1 v1 o3 Q) H
<DIV id=lrc21 style="COLOR: #666666">我会向自己妥协 </DIV>
' r0 [6 o( c; [) ~% [9 ~<DIV id=lrc22 style="COLOR: #666666">我在等一分钟 </DIV>
. K5 L/ h* q, F. t3 V: H L- r2 |<DIV id=lrc23 style="COLOR: #666666">或许下一分钟 </DIV>
! \ c' e) N8 ^& `! v% ^<DIV id=lrc24 style="COLOR: #666666">看到你闪躲的眼 </DIV>
: E$ Q9 m: G5 q) j2 m+ o<DIV id=lrc25 style="COLOR: #ff3300">我不会让伤心的泪挂满你的脸 </DIV>; [3 v% N8 a/ j% @4 d
<DIV id=lrc26 style="COLOR: #000000">我在等一分钟 </DIV>
. g& U& x( _0 D# U) |- l/ P) D. _<DIV id=lrc27 style="COLOR: #000000">或许下一分钟 </DIV>9 }( ^1 F$ I& p
<DIV id=lrc28 style="COLOR: #000000">能够感觉你也心痛 </DIV>' C, ~! b, A( X3 B1 F
<DIV id=lrc29 style="COLOR: #000000">那一年我不会让离别成永远 </DIV>4 X* G& w7 K7 i6 v% a5 W8 ?- s
<DIV id=lrc30 style="COLOR: #000000">如果生命 </DIV>
3 x) z1 o( {+ A" F7 f L<DIV id=lrc31 style="COLOR: #000000">没有遗憾 </DIV>
5 A9 X: @" ^, Y! B( F<DIV id=lrc32 style="COLOR: #000000">没有波澜 </DIV>2 L+ O1 T8 j( T7 F9 F
<DIV id=lrc33 style="COLOR: #000000">你会不会 </DIV>
9 ?- o0 Z3 C7 j( D<DIV id=lrc34 style="COLOR: #000000">永远没有说再见的一天 </DIV>
# G V$ W, J; ?. S* v1 l% g1 ~7 D<DIV id=lrc35 style="COLOR: #000000">可能年少的心太柔软 </DIV>
- {; N! }) q' y% m<DIV id=lrc36 style="COLOR: #000000">经不起风经不起浪 </DIV>6 ]* Y6 g, A5 N1 r0 N% F1 U; N; r
<DIV id=lrc37 style="COLOR: #000000">若今天的我能回到昨天 </DIV>
7 y( P4 p% V( n0 S) w4 z# R<DIV id=lrc38 style="COLOR: #000000">我会向自己妥协 </DIV> c- V: R' `& {5 Q. r" ]( f3 k
<DIV id=lrc39 style="COLOR: #000000">我在等一分钟 </DIV>
/ A5 K/ b# C8 G2 O<DIV id=lrc40 style="COLOR: #000000">或许下一分钟 </DIV>& r% q6 M4 ]9 `; x
<DIV id=lrc41 style="COLOR: #000000">看到你闪躲的眼 </DIV>6 Z7 a: v2 m& k% F& K+ E
<DIV id=lrc42 style="COLOR: #000000">我不会让伤心的泪挂满你的脸 </DIV>
' ?8 @0 j+ i% m- s2 m! g J<DIV id=lrc43 style="COLOR: #000000">我在等一分钟 </DIV>, O- ^2 b! q6 b! K
<DIV id=lrc44 style="COLOR: #000000">或许下一分钟 </DIV>
. s. h' @ M N" Z<DIV id=lrc45 style="COLOR: #000000">能够感觉你也心痛 </DIV>/ I9 l7 s$ J1 X. v
<DIV id=lrc46 style="COLOR: #000000">那一年我不会让离别成永远 </DIV>$ v- y2 B5 w" c& N- B
<DIV id=lrc47 style="COLOR: #000000">我在等一分钟 </DIV>$ D6 y L' `: I& s
<DIV id=lrc48 style="COLOR: #000000">或许下一分钟 </DIV>
$ s d: V5 ^3 `0 m<DIV id=lrc49 style="COLOR: #000000">看到你不舍的眼 </DIV>
! _: }6 ~$ o) y<DIV id=lrc50 style="COLOR: #000000">我会用一个拥抱换取你的转身 </DIV>1 w; k3 D8 ^; E! T }0 N# Y
<DIV id=lrc51 style="COLOR: #000000">我在等一分钟 </DIV>
( M ~' L: T: o- A* D* {<DIV id=lrc52 style="COLOR: #000000">或许下一分钟 </DIV>1 h3 b# V0 ^$ n& A' r+ B
<DIV id=lrc53 style="COLOR: #000000">如果你真的也心痛 </DIV>$ G# v( f) n: w1 ]2 m
<DIV id=lrc54 style="COLOR: #000000">我会告诉你我的胸膛依旧暖 . G! X# T+ v. j/ i; u% [7 h3 R/ Q
<DIV id=lrc style="DISPLAY: none"></DIV>7 I% n H2 q+ u& J8 i; H" F1 \
<SCRIPT type=text/javascript>) }& W; u! O/ K( m) L+ }
document.domain="1ting.com";% o# D- ? I$ w! }4 D0 E
var colorPasted="#666666";
* E- b5 {# m( {% \- C/ b$ |var colorPlaying="#ff3300";
" w: K! k0 [5 r( T3 r( b3 ]. Wvar colorNormal="#000000";
$ k+ C4 W9 t( j2 Y$ = function (a,g){$ S( Y' Y. Y9 p y8 h- ]$ T/ A
var o = new Array(); % `! d; J0 w, _% Z+ B
var c = new Array(); 6 b, [1 E2 L' v/ ]% o J
var r;
, o% ~4 f0 e' z( q; { var u; 7 C5 U) E8 w# K( ]: y
var a = a.split(';');
/ Z+ F% O6 o$ E( V* r9 C
# z a, z! [1 @- _6 L: Q0 w0 G var e = "keydowns,resize,load,dblclick,click,mouseout,mouseover,mousemove,mouseup,mousedown,inputchange,inputfocus,inputblur".split(",");
5 m9 d8 Z0 n# ]3 E for(var i=0;i<e.length;i++){
; u( R0 \' B/ \, G. P8 v7 I7 r eval(e<i>+" = function (s){eval($event('on"+e<i>.replace("input","")+"'))}")
2 ^4 Y- {4 r* B) | }5 j# ~2 K) d* k3 E2 S! t: O
7 X B0 O0 U. B! ^
after = function (t,d,s){- _! l' I r6 \5 m% a* W. A% Y/ R
$after = function (){
$ g. V. ~* S( J- j var $n=document.createElement(t);
; H5 b" s: m8 h; s v/ O& U4 }) d- c if(d!=null){
6 M I% ^$ M4 m $n.id=d; 9 t' Q! l R" p s! c& b! p
}
/ S; E3 w( |0 E8 ` e$ K' Q6 B) B/ B6 |# ^
u.insertBefore($n,null)
* c$ `" E0 m# |) V% m. s( S+ u& T r = $n; ) D0 D; G2 h% {$ a( {! S% u
u = $n; / W% S! M1 G8 V/ ?" B; F1 Z
}5 z' I0 Y2 w6 D* x
$for(s,"$after"). [% S0 }5 `& x
}
4 B& N! i$ S( B- Q
0 v& Q. m4 i) Z6 J) t% M1 B1 Q2 H show = function (s){ j- d& R: o. h: U! C0 n
$show = function (){
9 i! ]* O' X9 K$ ?7 ?: Z u.style.display!="none" ? style("display:none") : style("display:block") ;
$ \2 ]; R6 M6 X- C5 S; q5 s; e t }% ^, I" ]; n# a! A& c
$for(s,"$show")
" i# @3 W- S+ |! h+ B% ]4 x/ s }% G& l# N; A: J) A" r' d
F9 T5 L0 C% S( Q
check = function (t,s){
8 t6 C. F# U5 B: ` $check = function (){7 Z4 I, a+ `5 P, p1 F
if(t=="2"){
' G% ?9 u4 [0 _2 Z, l7 |% C- U- [ if(u.checked){3 j3 j3 G; u4 t0 j. H, Q B
u.checked = false;
/ d) ]- }. ^% @8 G' ]7 B1 j* E) l }else{7 e% C0 z0 Z- S; p
u.checked = true;
; _0 R8 r4 X# W0 F a! q }' j% z. z; j7 B' Q; w( b+ A
}else{( l7 {* l- M8 U6 O2 u" j
u.checked = t*1 ;( c* z+ M) T" J4 o% e& O
}3 @9 t1 F8 X6 R! D! i: I7 W
}2 T! V) p0 `. I/ a3 x/ H+ H& [
$for(s,"$check")# n/ C. R# k+ ?: N/ |) X
}/ O8 q7 N0 A9 f3 Z7 S9 \. Q
& ?/ O( Q6 h1 M
style = function (v,s){
3 a% F# |- k1 i. S $style = function (){6 G( @' t1 K( @: g& f+ p0 Z
var $n = v.split(",") 9 n% ~! {- D5 z, w4 _8 w
for (var i=0;i<$n.length;i++ ){ M" d& i6 m) [- u
var $m = $n<i>.split(":") # x G' F! N9 o
eval("u.style."+$m[0]+"='"+$m[1]+"'");
5 U2 k# v7 J4 C }# c. y5 X, W7 h0 M/ I
}
/ Z! |4 |1 \8 o* f& f0 r- a( E $for(s,"$style")7 h: P0 \$ k( _7 `
}- z2 b, H H$ |1 j2 e* T1 s
, ]0 E) y3 u4 @ value = function (v,s){6 `% m. f5 I. C) n
var $n= $this (v);
6 C' h; l, g8 ^9 j' u1 p& J: ? $value = function (){
: o- V$ o3 C8 g7 N# @ u.value = $n
! A/ O; v+ j+ i/ |( I: t }0 W) H, [& V ~" |! y+ o
$for(s,"$value") 8 C* N4 a3 Q& J4 _
}
5 K- z' J- `: S. x' }6 l$ k7 A
5 f/ e/ P: e% k6 t$ ~2 Z* j text = function (v,s){ p! r. W2 U- ~. U; y
var $n= $this (v);
6 \2 x8 q! J1 J" r4 m $text = function (){/ @ R5 T/ M/ X n2 s
1 i9 u9 M8 D1 u3 k8 n1 T k0 v
u.text = $n' ~2 J( N& S: r4 s
}6 q3 @& }$ ]0 E l; r8 J4 `, a
$for(s,"$text") : i2 c/ x: i. [- g- `0 c9 f
}3 r/ {, ^3 K3 h* m# r5 v
6 ^- y4 F7 E2 h; ~3 O innerhtml = function (v,s){! T5 w4 V# }5 r. s, O0 M8 _6 x+ V7 H
var $n= $this (v);
+ ]" Y, P2 c3 k' [" h $innerhtml = function (){
3 T; J0 [) F! h3 V. s3 r) O u.innerHTML = $n9 j0 M0 d' A1 i$ @ [/ D
}/ ?) a6 E# Z4 w
$for(s,"$innerhtml")- X" }' d9 `) N/ r. E8 D" _8 r
}4 N5 |' o/ ?* q0 U' X
* H6 }3 f0 I3 Z5 r7 g; Y
removechild = function (s){- A" E3 c$ I) x
$removechild = function (){
5 Z2 p% D/ w% R8 `/ a4 f6 j u.parentNode.removeChild(u)
2 k3 A$ k- Y. I+ E8 o( I7 V! N ^. J }9 C1 Z. ]* m- n3 d
$for(s,"$removechild")
- u) Q2 C7 [2 W }
0 @( F! U$ }/ ~ Y3 M h) x: S+ @5 j; S1 d
$this =function(v){4 \5 ]2 f& P7 T3 j m
if(v.indexOf("this") == 0){
" N6 ?3 y, W8 l+ l! j: X return eval(v.replace("this","u"))
0 R" B3 ~8 L; q; |& W8 R& U+ K; X- C }
, Y ?" P9 k M% w- R* ~7 A return v;
9 b4 I. Y' h. r8 }! X }
9 T" j* u9 d" j7 r3 g0 L& K; J- @5 a! M, [ m7 P. \% h/ l
$event = function (s){$ I" _3 U0 w7 c: M
var $n ="u."+s+" = function(){$work(this,s);}"$ r) y' s( {" j* x
return $n;' ~ y& c$ W/ f- L
}
! ~& _2 a# m& j8 j9 o
. X0 d$ g, z) j7 v; p $replace = function (s){! L: s, b$ k% n2 `7 s& S3 e! ^7 u
# f- a5 ]% N {% X7 {# q
}
" \$ a5 U, O) Q$ U; \ c) K- ^1 m
/ w) C- ~' v: `/ O9 I+ X- C9 Q- J5 S $for = function (s,c){7 Y( U. A( p) Y. t
var $n="this."+c+"()" ;' w1 c* A+ _* ?& l
if(s!=null){
4 ]- s0 W, p0 Y var $m =$test(s);3 a) t8 G* Q9 T& n9 K8 A( b
for (var i=0;i<$m.length ;i++ ){3 R1 f5 H" ~( s4 `9 m! n* D0 O, ^
u = $m<i>;% Y+ f0 Y" C: g, t: ?
eval($n);
! h! l9 o" p) _, y% z }2 N( m" K( v/ F e" M! j9 @
}, p7 P8 z" L. V- W
else{
9 F0 ^2 X8 |/ c1 _ eval($n);) P g& n# { ?/ S9 G
}
3 ^8 q8 V0 S! J- h. }" S }
. Y6 Z6 [9 _ H4 a
/ J7 |, m! w8 ]) e A" U $test = function (a){
+ P7 Y, t( d3 K8 b) q var o = new Array();$o(a.split(';'),o);
X/ P& x$ W' q return o;9 k5 E, U4 ^7 }3 F7 w
}
$ h, C3 R- ~8 n! ]8 [! {* ~+ q8 \' \( f
$format = function(s){! Z6 `, _; Q& U$ o T* e
while (s.indexOf("'")>0){
- I- |7 `5 J% T. T4 @0 B9 ? s=s.replace("'","\"");
/ Y$ [% }! L% }3 ]$ s2 I0 i }8 \4 ~' g/ k- ^& W6 F
while (s.indexOf("][")>0){
# G2 O l0 L; N. [ s=s.replace("][","','")
; ^! F# I3 q0 {( L0 J8 c$ k! Y }
8 P. t# E3 D/ g. x8 K# ~ while (s.indexOf("[")>0){
5 N! e4 W. P3 W9 ?' V: J5 Q s=s.replace("[","'").replace("]","'"): y2 s1 D! M O0 [* G+ g3 o3 s2 ?
} " q3 z9 \# P2 L" X0 S
return s;& x p' A- r1 h/ r
}4 g$ g/ s( o5 c/ ]9 e( A
& j7 O- B4 w. e4 W2 Z
$work = function(w,s){0 @5 c# X& E V& d+ U2 O
u=w;eval(s)
# u9 e" H4 e: ], l }- C* o) L/ @' j, ~; `9 J9 L
: l$ f2 l9 c- n0 [& r/ d# G
$id = function (s){
( h8 G6 L% M+ C( Z r2 Y4 V return document.getElementById(s);/ ~, |+ o4 m, G/ P0 \! C9 t
}$ Q& ]( K: R8 G, z
2 y$ y/ H0 o" X: M2 i
$name = function (s){3 m( O A: f6 D* `
return document.getElementsByName(s);
: ^ ~% v3 V1 X8 l: p8 k: u }
- H$ n2 ?/ j% \$ D/ s4 j. J' n! m; G) L5 \8 d# ?
$tagname = function (s){
) S; |6 p5 z7 d# B/ ^7 Z3 j return document.getElementsByTagName(s);# M a7 n% O% }( G! M3 c, ?4 d8 x
}# U1 {* ~* Y# Y5 o5 S1 I8 K) L
& C* a' M; D8 U1 O
$o = function (a,o,c){
+ E; V% T8 A7 d7 z $push = function (n) {: Z. @ i1 [- @. C
for (var i=0;i< n.length;i++ ){
: w2 P5 ?" l) J o.push(n<i>);0 D1 h' b+ W u2 d
} . s8 x/ O3 I- s3 N9 u; j- T8 ^3 X. \
}+ q' A7 d& I1 h- r6 o
for(var i=0;i<a.length;i++){
- w: `6 Q6 c7 m. z! T* A: _* y if(a<i>.indexOf("(") >= 0){
" l% @, E9 I) ?% z' @ Z c.push(a<i>);
- t0 y }" Y5 I7 }1 ~) m }: D% l2 j1 Y3 M, K9 r9 `
if(a<i>.indexOf("~") > 0){
/ O, @& h& m: i) p) K: Y4 S: _+ ?' c4 L try {+ P- s% A/ h1 f& j" `9 U+ {
$push(eval(a<i>.replace("#","document.getElementById('").replace(" ~ @","').getElementsByTagName('")+"')"));
3 Q; M6 @* _4 F0 g9 U8 ` }catch(e)
; \9 o8 m( K6 r$ G {} 9 `% L! L+ s& @& N
}2 K2 n9 ^' l ?: w0 J* Z9 y
else{
" k7 w P2 P* f" H, z) r if(a<i>.indexOf("#")==0){
0 @4 Q. \ l" N o.push($id(a<i>.replace("#","")));
) q& H k; O; I, e# z* m3 r0 X5 H }
) V" d6 U' L K1 Q) x if(a<i>.indexOf(".")==0){
6 ~% }% V0 ], L% m0 L7 Z1 a $push($name(a<i>.replace(".","")));7 O6 J$ h% |5 Z/ p3 O, M1 p0 y
} j6 V4 F7 ?7 j
if(a<i>.indexOf("@")==0 ){
1 I5 N& D% n6 O; ]( k/ W $push($tagname(a<i>.replace("@",""))); C. S @- e7 G: H& ]9 D8 U
}9 }7 O/ Z5 f3 U( p1 l. g
if(a<i>.indexOf("*")==0){
0 X6 o* L0 F- T9 e4 d $p= a<i>;
9 B4 a R9 [; S6 M! E( F, I if($p.indexOf(".")< 0){+ Y' C; @4 t5 D) o% T; a. N& R
$p = $p.replace("parent","parentNode")
) d3 ?( e# |9 W4 c& a# s% i3 U% ] }2 F' z/ ]/ @0 y
var $p ="u."+$p.replace("*","");
" D* b/ l4 l+ g5 W# O while ($p.indexOf("parent.")> 0){
2 n0 l; \5 Y0 c! } \0 e $p = $p.replace("parent.","parentNode.")
# J9 D) r) W5 Y& u; k9 m! n; m0 {+ X }- _! l; Y: g; m6 t# m( X
while ($p.indexOf("child{")> 0){
5 g4 L1 w7 _" c: L $p = $p.replace("child{","childNodes[").replace("}","]")
' M& I& ~. n2 u7 a& D }
' J3 q/ L+ w. P5 B+ P o.push(eval($p));
7 A# U$ W# ^7 |3 F6 Z }
$ S O6 ^* c; H$ ~, L& b4 {) I if(a<i>.indexOf("document")==0 || a<i>.indexOf("window")==0){
3 Y- I& V& N9 q! ]; i' ]9 m3 b% D o.push(eval(a<i>));
) S. _+ L& J$ C0 h# ` }
, J% C. k* J4 }: K; G& w4 K }/ Y$ t, e5 H" w! W4 f6 Q" Q$ B
if(g!=null){ 7 Z6 {/ C+ v$ j9 x- x+ U
o.push(g);g=null
' T/ j; |5 b2 |9 n* O }
$ G2 L. C+ I4 z+ z6 F }
8 S6 P3 p) p/ K/ p8 t2 i }' Y6 b$ Q/ e+ _, Y% L
$ x3 z+ ?; Z: ]; k$ l. C
$o(a,o,c);6 i5 `8 z( s3 P* f
7 u1 \3 K; y2 |
for(var i = 0;i<o.length;i++){8 ~4 ^+ P" m/ W% Y+ X: _2 \
for(var j=0;j<c.length;j++){3 @2 V6 c8 m" c# M- U7 v
u = o<i>;eval($format(c[j]));$ S0 }. w2 R/ K7 @6 i0 G* p
}
' J% J. U, `6 n3 X/ Y5 [ } Q4 O: _: g$ f# A1 K# | F
0 y# |9 ]2 _' ]3 I( }" ^/ v if(o.length == 0){% v1 z7 a; s7 i5 A
for(var i=0;i<c.length;i++){
/ n% h, @! v$ b( p eval($format(c<i>));
9 h* t% ]. l' t$ G) ` }
& t8 q/ x g6 l2 j }: B4 B6 s h# i) ~: e& @
( F$ B. S) B o8 e if(r!=null){8 Q' Y2 J3 J; b, t
return r;. Y0 V3 \, O3 Y9 A/ Y
}5 i# |+ B1 x/ u6 y2 j
$ q* x8 I8 t4 x e if(o.length==1){8 O5 j& [3 k; k9 X
return o[0];
# V' V2 M3 d, e3 c0 n$ R; K! {0 n" p }
7 |9 \9 G8 }# O' ?: [; t$ o, N else{
4 O' c. f/ n. |0 a return o
% Z( V" L8 w5 b }
- t/ I# K1 a$ L [) D( R A8 B
$ D/ \2 L7 P1 b }
/ J, X) E: L3 @6 {7 ~0 i0 Zvar lrc =$("#lrc;show()").innerHTML.split("[");
/ c: }7 Y. B! e: Uif(lrc.length>5){
. g1 h) a/ B6 M: `var array = new Array();
4 A$ i4 Q) c% `' jfor (var i=0;i<lrc.length ;i++ )/ [- Z( v5 J" g! @
{
& [5 [$ Y& z0 p var g = new Object();
! l" |" M4 o G) X t= lrc<i>.split("]");
b" t" c) Y x$ t/ Q g.time = getTime(t[0]);$ |# u: }2 Q& S3 [3 G
if(isNaN(g.time))) _1 ^1 u& l3 [! m: X* k, M
continue;7 i- s5 |" c# p6 z7 @# j7 M
g.c = t[1];
/ Y; [ W" W0 Q+ T: W' W# R, g9 T8 { if(g.c == "")
9 L8 H: u3 n1 w7 c* e/ x; j g.c = getNext(i);3 T) P0 |$ m8 S% W; x
array.push(g);# ^5 X& U, u& w5 R' }
}
2 F3 U' R2 H7 Parray.sort(function(x, y) {
9 T9 }6 f( e" q) q- ]" B if (x.time>y.time)
4 h4 W* c( S- ]9 n9 [5 h return 1;
- K4 k$ {1 m4 m7 x2 A* T else if(x.time<y.time)
4 K1 V2 x9 C% x8 x5 W' i return -1;
$ [8 b) n& j) z0 w( r0 l/ a else
, V% ?. ~; v& d9 D! a& [ return 0;
, m4 Q! I1 d( P1 A/ d- [ }
; }8 X9 D# M' b+ [% ?3 M: k- X);+ z- t4 X+ B0 ^/ K# A
for(var i = 0;i<array.length;i++)
; B! W- T" T( f/ E9 C" W& W1 r{
5 k+ U: @( d; {8 X var g = array<i>;% M$ Q. D& D/ B+ Y( Q
if(!g.c){& w3 M* I& ?! d
g.c="";
9 x4 S" n( j: Z; C) N/ d* _ } Y% Q6 V% h/ o/ A: p0 o
$("#list").innerHTML+="<div id=lrc"+i+">"+g.c+"</div>";4 a% T: l" g, C% m2 T! j" f
}
, x W" G; Q" e3 mvar time = setInterval("lrcList()",500); - C' {% E/ k, y) ~& \$ o) v* j; }6 R4 A
}else{
; r# q, A( e4 \. E $("#list").innerHTML=$("#lrc").innerHTML;4 Y' ?& _, \; P; O/ U
} h. u7 m& ~8 D$ X
function getNext(i)& @4 h% L. b% X, A4 g5 Q
{
9 P) `- H4 D8 A W3 X2 S var result = "";
5 Y {1 J2 g4 f# K* R9 i var i = i+1;& ?. G% b6 E( K) o' _% M3 Z
t = lrc<i>.split("]");
5 T3 Y- a6 }( U if(t[1]=="")# Q+ D% t, P" t5 W# p$ h7 E% F
result = getNext(i);
% S& Z1 S* J! n( J) O% y. h) q else
! q& q3 b) f9 r. c! U/ a$ S/ F2 }" ~ result = t[1]
- O$ r" a7 L2 s! \& X3 D return result;6 V2 l7 o3 R/ G
}! R: u7 j; u6 g. ]( n/ M
, ]$ ^ g r: z
function getTime(str)) J) a5 I6 p- [
{) y. {& |6 w: b9 f. z: O
var time =0;
6 _" Y$ R8 ~7 \ | U var ta = str.split(":");7 @- t; ~/ G" `9 x
if(ta.length<2)' Z' F# R2 z: ]+ A) V9 d4 G1 M
return time;* r2 O+ Z) I. J
0 Z9 ^, h$ T/ r: h8 g/ c if(ta[1].indexOf(".")>0){
4 o8 e. ]/ w* Q# W var tb = ta[1].split(".");
2 ?0 d- A, Y8 Z% S: L* k: ? time = ta[0]*60*1000+tb[0]*1000+tb[1]*10; ?1 f! J: l0 K: \
}
6 Y$ Z* T% {% i0 e else
5 T4 |# ]) g. }* \) s; t |- S time =ta[0]*60*1000+ta[1]*1000;
% Q3 A( ^/ }2 n4 O) z return time;5 v; b& @3 c [& |
}
$ K% E v# S9 k, ~% zvar preTime = 0;4 z6 F/ e; c( Y7 O) R" O; `# m
var nextTime = 0;
- {$ j7 D/ a0 ?7 s3 s" e; {8 jvar currIndex =0;: w; j' k9 H# {) Z* [
function lrcList(){+ ], {0 t9 o& m5 A; ?' @8 g. g
var s = parent.document.getElementById("MediaPlayer").controls.currentPosition;
# t! Y1 w g5 E- k s = s*1000;
- K- q0 R% x E if(s==0){
. Y/ q2 ^4 E# p' c/ E4 B currIndex =0;9 Y1 R) f" `8 z, n
$("#list").scrollTop = $("#lrc"+currIndex).offsetTop-30;& s; M# Y& c w
for(var i=0;i<array.length;i++){1 [9 T4 s7 v/ [% f. u; s+ }
document.getElementById("lrc"+i).style.color=colorNormal;
0 s+ b) c; A8 D }+ J3 ~3 u7 Y) f6 k
return;) z4 L* F$ J6 k5 h- M
}
6 E# h6 y ?7 I! e; e J if(s>0&&currIndex<array.length-1)* c2 g; k; k, X0 B: o3 \2 y6 D) k
{
$ \& V: C1 w n' b0 [5 d6 B preTime = array[currIndex].time; _8 P3 C0 h7 m+ i( w _
6 O7 G8 w0 R1 `! G. t nextTime = array[currIndex+1].time;
% y- R: O/ g3 X& }! ?0 M , j$ o1 C+ g. z( C, w) D G
if(s>=preTime&&s<nextTime){
& v, B! }8 o4 S6 [ }
) }6 H. ?( X' [ j else if(s>=nextTime)1 ?& W7 i* @# O. O: ^2 J: O6 S& E
{
/ h" U7 N$ I1 k# Z. D document.getElementById("lrc"+currIndex).style.color=colorPasted;" A8 {. f4 Y) L
currIndex++;' P$ Z/ F5 z' @+ I& X6 L4 P* H
$("#list").scrollTop = $("#lrc"+currIndex).offsetTop-30;. H( S3 v. u. \. W$ F
document.getElementById("lrc"+currIndex).style.color=colorPlaying;
" s1 y4 J& @: l y) D% a' h, } lrcList();
/ B$ j) U, u! g: n% T- h6 u! u$ S0 U }5 E# I3 {! b! M/ L* I7 q6 u9 z3 B- Y
else{/ Y/ _. j* H0 t! m+ N( m8 b
document.getElementById("lrc"+currIndex).style.color=colorNormal;' r7 k, h* l% f9 l& |- C) N, ?
currIndex--;* ^" I, t% L4 R3 A$ ^
$("#list").scrollTop = $("#lrc"+currIndex).offsetTop-30;% c! Y6 u/ ?' t+ l# k$ h3 S0 J
document.getElementById("lrc"+currIndex).style.color=colorPlaying;: \ e0 W+ M; i' z: [+ x; D
lrcList();' g+ A4 u. K: }- [: m
}
) ^, A. s2 o4 C: z/ ~3 ^ }2 [9 M" B* d7 |: f/ D, \! g. e
else
+ M3 p$ y% Y% C# Q6 v& C {' L5 X& E: c- t3 }7 B- Z+ K! }) k
if(s<array[array.length-1].time){
% ^5 {, {" J: G9 `: ~8 R: e currIndex = 0;2 e% V% z' \/ B, s6 ]7 w. `
$("#list").scrollTop = $("#lrc"+currIndex).offsetTop-30;
' U: n' x/ y2 o7 A w L for(var i=0;i<array.length;i++){
' U+ b8 g4 n1 d6 } document.getElementById("lrc"+i).style.color=colorNormal;5 M/ q' j8 a; n6 ^
}
7 M0 `# i; y5 X J: B- l0 [ lrcList();" r& n7 O2 F- U$ L( i6 [3 R5 W
}
6 E* t4 G3 }. b" Q; Z }8 n+ m4 `% [3 h3 g: K- b
}
$ H8 }& C, L7 j7 Y0 _; s</SCRIPT>" n! d s% v# e; z3 `" Q3 ^7 t) I+ e
</DIV></DIV>& K0 f% m8 @# j# C2 G. F" }
1 q0 f7 i" O" w+ z[ 本帖最后由 幽谷兰 于 2008-9-18 17:36 编辑 ] |
|