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