|
|
<DIV id=list>
- X K) r# Y, G, \9 K3 Q<DIV id=lrc1 style="COLOR: #666666">[wmv=0] http://lzbj.ncedu.net.cn/uploadfile/20083923248279.mp3[/wmv] </DIV>
* B/ _: \& D+ k6 R3 g4 ~- R<DIV style="COLOR: #666666">|等一分钟|听到这首歌,觉得它很动听,旋律很优美,很是喜欢,传上来给大家听听。</DIV>
1 G8 _0 e& Y3 Y<DIV id=lrc2 style="COLOR: #666666">词曲唱:徐誉滕</DIV>2 \+ p _3 L4 H- S
<DIV id=lrc3 style="COLOR: #666666"></DIV>& E1 j$ I6 K1 G6 k1 X0 `$ D
<DIV id=lrc5 style="COLOR: #666666">如果时间 </DIV>8 }/ B! k1 s. Q; i
<DIV id=lrc6 style="COLOR: #666666">忘记了转 </DIV>
) y' k9 b5 F s" S k9 D; T0 `: X: F<DIV id=lrc7 style="COLOR: #666666">忘了带走什么 </DIV>
. L1 B$ }1 U/ U2 B8 N8 z& C5 ?<DIV id=lrc8 style="COLOR: #666666">你会不会 </DIV>
7 ^' a# y2 K9 |3 j<DIV id=lrc9 style="COLOR: #666666">至今停在说爱我的那天 </DIV>" H9 ]/ z; C$ ^) o# }& T' r9 ?. y
<DIV id=lrc10 style="COLOR: #666666">然后在世界的一个角 </DIV>
6 \+ N( a8 P6 u2 Q) D, a4 q<DIV id=lrc11 style="COLOR: #666666">有了一个我们的家 </DIV>
$ g9 U \$ S6 k% c b: w6 q<DIV id=lrc12 style="COLOR: #666666">你说我的胸膛会让你感到暖 </DIV>" M8 O8 D+ ~& {! Y: ^1 J
<DIV id=lrc13 style="COLOR: #666666">如果生命 </DIV>. k2 J8 Y1 j! X* H* r& k
<DIV id=lrc14 style="COLOR: #666666">没有遗憾 </DIV>
7 s0 p; i) L6 G! e' _<DIV id=lrc15 style="COLOR: #666666">没有波澜 </DIV>
2 Y+ I K$ F( a# i n<DIV id=lrc16 style="COLOR: #666666">你会不会 </DIV>( U) Z$ S1 G4 `# U1 E
<DIV id=lrc17 style="COLOR: #666666">永远没有说再见的一天 </DIV>
" ?: |& s2 Q9 @# \4 |<DIV id=lrc18 style="COLOR: #666666">可能年少的心太柔软 </DIV>, C9 I8 p: C1 `( C; U2 G7 ], |
<DIV id=lrc19 style="COLOR: #666666">经不起风经不起浪 </DIV>
' A2 `! e+ O* A6 e- u<DIV id=lrc20 style="COLOR: #666666">若今天的我能回到昨天 </DIV>6 O8 |1 S# @2 o; B! [. k4 g
<DIV id=lrc21 style="COLOR: #666666">我会向自己妥协 </DIV>; r: `( _) u+ R0 { p7 L" c
<DIV id=lrc22 style="COLOR: #666666">我在等一分钟 </DIV>
: v. Y o3 g, b<DIV id=lrc23 style="COLOR: #666666">或许下一分钟 </DIV>. A4 @6 B( E2 X3 J- w9 j9 k
<DIV id=lrc24 style="COLOR: #666666">看到你闪躲的眼 </DIV>
' C6 v3 G$ R- [$ i0 ?<DIV id=lrc25 style="COLOR: #ff3300">我不会让伤心的泪挂满你的脸 </DIV>
/ o9 W n: U! p9 b<DIV id=lrc26 style="COLOR: #000000">我在等一分钟 </DIV>
1 r! \: z& g0 l7 ?- L5 r. P9 B<DIV id=lrc27 style="COLOR: #000000">或许下一分钟 </DIV>, P) u- a; Q+ O+ [
<DIV id=lrc28 style="COLOR: #000000">能够感觉你也心痛 </DIV>
' c2 h k+ T$ d4 {: V. a7 V<DIV id=lrc29 style="COLOR: #000000">那一年我不会让离别成永远 </DIV>
5 n8 \8 E8 E* ?+ ~$ y<DIV id=lrc30 style="COLOR: #000000">如果生命 </DIV>
v# d( M3 n: O8 s& \4 w; {( b<DIV id=lrc31 style="COLOR: #000000">没有遗憾 </DIV># X9 E+ e0 t9 I0 L- D- s+ e5 N% E
<DIV id=lrc32 style="COLOR: #000000">没有波澜 </DIV>' g6 ?! {1 O O, z" M: [
<DIV id=lrc33 style="COLOR: #000000">你会不会 </DIV>9 v' p' f0 ^5 ]* \! l! v, p
<DIV id=lrc34 style="COLOR: #000000">永远没有说再见的一天 </DIV>
7 f1 h7 v; G) I5 N: V( S' p' P<DIV id=lrc35 style="COLOR: #000000">可能年少的心太柔软 </DIV>
5 W7 ^: T! S+ ?. F<DIV id=lrc36 style="COLOR: #000000">经不起风经不起浪 </DIV>5 f% A! H# T( f5 O: j
<DIV id=lrc37 style="COLOR: #000000">若今天的我能回到昨天 </DIV>* Q& D# z, ?# H6 U$ ~
<DIV id=lrc38 style="COLOR: #000000">我会向自己妥协 </DIV>
. s6 u# q1 C$ ~; G) o<DIV id=lrc39 style="COLOR: #000000">我在等一分钟 </DIV>
% x0 }0 m. T0 h+ ^. F. Q- F- r<DIV id=lrc40 style="COLOR: #000000">或许下一分钟 </DIV>) \# J$ g5 ]5 I' c/ y$ j. [
<DIV id=lrc41 style="COLOR: #000000">看到你闪躲的眼 </DIV>
$ W) U+ q1 {7 t) T+ Q, O<DIV id=lrc42 style="COLOR: #000000">我不会让伤心的泪挂满你的脸 </DIV>
0 f$ }; ?1 P! r6 ~3 d1 c# A<DIV id=lrc43 style="COLOR: #000000">我在等一分钟 </DIV>
* O& z) G5 D; W: ~7 z, p2 T<DIV id=lrc44 style="COLOR: #000000">或许下一分钟 </DIV>4 U2 D9 A$ _; v2 b7 E1 v0 |- {0 E2 u
<DIV id=lrc45 style="COLOR: #000000">能够感觉你也心痛 </DIV>+ R& l; D' s; F! S) [" L+ b( A% i
<DIV id=lrc46 style="COLOR: #000000">那一年我不会让离别成永远 </DIV>: p/ [. J) S5 y+ I' I/ C: g
<DIV id=lrc47 style="COLOR: #000000">我在等一分钟 </DIV># R; B' i- l- i* u( A0 v
<DIV id=lrc48 style="COLOR: #000000">或许下一分钟 </DIV>
1 G7 ~9 B" ~/ {3 V/ V: C<DIV id=lrc49 style="COLOR: #000000">看到你不舍的眼 </DIV># u7 B$ p$ j' I- N
<DIV id=lrc50 style="COLOR: #000000">我会用一个拥抱换取你的转身 </DIV>
6 e9 r1 L8 i; R: u& o, [8 b7 B<DIV id=lrc51 style="COLOR: #000000">我在等一分钟 </DIV>
8 o+ p0 k8 n, ]6 f( a. ^<DIV id=lrc52 style="COLOR: #000000">或许下一分钟 </DIV>* x, s, q' y* |. B
<DIV id=lrc53 style="COLOR: #000000">如果你真的也心痛 </DIV>$ b* ^) S& f' m/ |0 G! m
<DIV id=lrc54 style="COLOR: #000000">我会告诉你我的胸膛依旧暖
$ U( d5 L& j% I/ H% j, p! I<DIV id=lrc style="DISPLAY: none"></DIV>
0 f8 C7 [' f/ }- M E: s( Y<SCRIPT type=text/javascript>
0 [2 U! G6 g$ ^* ]3 v7 {7 Ddocument.domain="1ting.com";$ B) r/ N# @0 m$ h# ~$ L
var colorPasted="#666666";$ X) D# B' t/ g0 ?3 r( {& ?
var colorPlaying="#ff3300";7 Z+ e; Y X( Q
var colorNormal="#000000";
( P) y' j; ]% s* Y' o2 y+ o0 d" t$ = function (a,g){. [8 [+ g1 K1 ?2 q8 I3 q8 w
var o = new Array(); 3 n' `2 c. Z9 e e# U0 u; F
var c = new Array();
/ h! v3 X4 J: `! W; K- [ var r; ' M" |) ?* r' B7 o
var u;
7 R/ e$ C! g$ I+ F& r var a = a.split(';');
* l" g$ b2 K5 x% U& ]. T1 z- |- J- {: W2 I( ~
var e = "keydowns,resize,load,dblclick,click,mouseout,mouseover,mousemove,mouseup,mousedown,inputchange,inputfocus,inputblur".split(",");$ |! s, H* x7 a0 E
for(var i=0;i<e.length;i++){6 m' z0 }. R$ j A3 T( u [
eval(e<i>+" = function (s){eval($event('on"+e<i>.replace("input","")+"'))}")+ J( D/ V4 l& {7 t
}6 J" U# @2 ~& W. d
. `! j4 U2 }- m after = function (t,d,s){
+ N+ P% ?+ o$ L $after = function (){
3 t( p" X% t$ j4 t2 A var $n=document.createElement(t); _/ \' b$ ]* a/ p0 _9 J
if(d!=null){
- Z( A6 Z" t) k $n.id=d; ' C2 F) a+ q8 _- Y
}
$ ?- X2 d. j& H3 O2 p; H, u
0 {4 \: Y" t5 ^1 H3 l: U; U u.insertBefore($n,null) , I$ j$ U) o S4 L; n
r = $n; " _2 |# D- B' l S9 c3 [
u = $n; ; E: h- M0 n$ @* Y$ ~
}+ y! m. H7 x; a$ l
$for(s,"$after")6 t( Z" n' t: q, _$ z$ f( c
}, x* {0 P+ G5 \3 n8 d" W
$ X9 M, m( E; @9 p. @
show = function (s){
6 L) c" q) t+ j' w- ~! [6 x $show = function (){- u9 a! d1 a4 ]# G: J" G% Z
u.style.display!="none" ? style("display:none") : style("display:block") ;
2 l- B! @( z2 h2 A# `7 [2 v- n. ?; D2 T- t8 T }
- ?$ Y$ a- p8 b7 T( z5 `9 e( W $for(s,"$show") [& {% Y3 {; {5 x/ M+ l
}4 s0 W0 G$ _$ C
) C0 X( `" W Q9 ` V! y check = function (t,s){0 p# A( \# i B( \4 Z* c8 W
$check = function (){
y/ [7 ]; q! ~ if(t=="2"){
* i9 M; j/ q$ M$ L7 N, s$ y2 i if(u.checked){. v0 U, @, R4 s3 b" b5 N
u.checked = false;
: F2 j2 l; y' Q+ o }else{) d( R( w h: r \8 t+ g. L& _
u.checked = true;1 d4 J2 |! \3 f" c
}; {) p% j* }5 q2 G
}else{( r( D% ]3 _! d8 w
u.checked = t*1 ;
( f" I4 |+ E! o- [0 u- I }
) w# V) h2 F, Y }
* o, G- e* p! X: k/ ?9 V2 L# d: G( n $for(s,"$check")
% h& J! y) n* V$ k% V" d) b }4 \$ y+ D' Q7 }1 g! `
- _2 F5 J( y) w" v$ k8 s% h" V# e style = function (v,s){
+ S* }- H3 a6 M) g7 @. M A' |1 x $style = function (){
: D& u! b9 A! r3 ~6 P, n5 I' M var $n = v.split(",")
/ g" k8 ^7 Y/ p5 w for (var i=0;i<$n.length;i++ ){9 G/ M' O2 ~1 [
var $m = $n<i>.split(":")
e1 l$ v- z. V" g. b6 G# l" b6 A eval("u.style."+$m[0]+"='"+$m[1]+"'");. a! b5 Y. ^) z' h# C; {
} k9 i: W( }& V# X+ K
}
) y8 r( ?+ A$ Z6 ]* q $for(s,"$style")
/ g9 W8 M/ C6 u4 x# `% Y }
$ |$ d" X2 ^5 G5 _ d1 M0 e5 x6 \, U6 E7 s; F
value = function (v,s){
- D6 A) C m/ T. [# D* R var $n= $this (v);
6 t; c1 }; n B $value = function (){7 i; _' V6 b3 g; \
u.value = $n/ s a- w# P( V. a- b1 ^
}
# x) ]4 B2 W4 I! f* e! ]5 v4 ~ $for(s,"$value")
- Y8 ^! h! r. h" L }
2 L1 Z: V4 Y1 u7 G7 [. W1 z; P) B! w0 R: [2 q% K Y$ S2 l o
text = function (v,s){/ s5 m1 N$ L0 |! V5 C
var $n= $this (v);' q$ u- z( G4 [) E
$text = function (){
& }" Q' e `* Q5 v7 H
+ P. P2 X4 [# U" w3 H) @5 h& P u.text = $n: t' D3 U. y/ P) R6 I3 }, M7 x
}: {5 ~( c# D. d# \9 t- ^* T
$for(s,"$text") " {+ R6 |5 N v4 X
}3 J! t! a7 [3 a1 M
. j$ U, x; @! V# m2 y innerhtml = function (v,s){
" L5 I& {) r; J8 Y- h: r1 j var $n= $this (v);
- }4 I; G/ P9 X* F$ { $innerhtml = function (){% r; a& r9 M3 W& L
u.innerHTML = $n* E$ s2 ? V U+ m. A* \
}, i. c8 T5 K# [6 v4 b% x5 w0 E$ j
$for(s,"$innerhtml")6 H a) i0 [3 {
}
! M; j! C8 q! Q ; A R' |! u) Z) |5 n
removechild = function (s){5 ]% y! u. V" [/ I+ n4 @
$removechild = function (){3 ?1 k1 l) x; d7 x# m
u.parentNode.removeChild(u)/ f- M2 ]3 Y$ z$ H
}
7 i- L) U, J& b2 t( t1 g $for(s,"$removechild"); p! X) n( V+ b/ K, B. n
}
$ r5 ^) f, x* L# `5 A$ o. r( u" q- ?. ]$ O9 M
$this =function(v){, g% |' E3 T6 N/ \) q7 ]
if(v.indexOf("this") == 0){/ {# S) e5 x# B- A4 u7 r
return eval(v.replace("this","u"))& D+ _% h: } `" b6 J
}
$ ~+ V' K9 f8 n0 M& u# c: t return v;0 ]+ F% s, l' |8 a
}
3 b4 s4 l! T9 K" d
* l/ H9 Z' ^" F; k9 h$ c $event = function (s){4 A- c6 D& u0 N6 E; o4 I! {/ [( b- E- r
var $n ="u."+s+" = function(){$work(this,s);}"# F. A2 l$ L2 P4 d7 `# x, Y
return $n;
$ \* q1 i2 L }6 C }2 \+ @9 j% p8 F. f
8 _ z2 F+ `* a" U8 T0 \# W
$replace = function (s){9 c A7 J* g4 m- r9 M
9 y# \5 ~( m3 R }
: }# Z/ }; g# |( f& T, r$ {! ?7 R. \4 Q, A
$for = function (s,c){& f, g& B* W1 s
var $n="this."+c+"()" ;) N+ v+ Y1 e4 g8 Q
if(s!=null){
2 `7 O6 x/ b3 L# b( `6 u2 B var $m =$test(s);7 Y# H- X2 ]( n4 B
for (var i=0;i<$m.length ;i++ ){
+ }! r2 D) \( C" v4 m# ]7 [9 a. x u = $m<i>;( h# P' T: P) H% G* S' b2 V
eval($n);
' L$ l& ^* h; w! _+ X" {( S) t, d }
; J( ?! ?& C& j2 d v% S5 T }/ f. g! o% L0 M2 R6 N
else{
: P0 @" \. G$ q& L eval($n);" U. n, b/ N0 n7 x
}0 N0 G( t- o& Y$ m/ O( @0 v+ x
}8 G7 o: s1 a0 [% u0 l/ p
, R, V: `( U) g, O, G# d
$test = function (a){
3 ~# ~( ?/ Z/ w- h$ E( E" I9 o% p var o = new Array();$o(a.split(';'),o);9 K% L3 n- C% @- ^
return o;' [8 X9 h7 q# P3 p! ]
}, ]6 P3 I* }# v+ x' Z% |
3 {; |( l+ O( V6 M0 c* A# k $format = function(s){: b% i, J) X8 L1 {
while (s.indexOf("'")>0){6 A2 [( @( g9 X3 z( j& X
s=s.replace("'","\"");
# o' J; a5 k' n. J }
' Q {6 ?1 a2 {8 s9 S& c: r% m" J while (s.indexOf("][")>0){& j2 D; ~8 f4 y( ^
s=s.replace("][","','")+ g; y* k/ T5 X3 M6 B2 W
}, h6 \6 W$ w' c8 U2 o0 R
while (s.indexOf("[")>0){8 a% c1 U+ c1 [6 w" g u1 P4 t% E- Z
s=s.replace("[","'").replace("]","'")
8 W5 \+ F5 z6 C" c; D9 Y } 2 `% [# m- q5 Q: |2 u$ c* R
return s;
& B$ V: M0 n3 M* d }. t4 V+ S5 o2 l
( \- r. {' ^* K0 w7 \# ` $work = function(w,s){
6 _: P8 k4 x3 S p" d& [1 n C u=w;eval(s)* |: k, Z/ U1 B8 w, I$ ]1 I$ T
}
8 w2 f. A6 m; j- c4 x& _& Y- q1 R8 O1 Z( ]
$id = function (s){
2 y8 [! `' q2 X& ?3 u return document.getElementById(s);
7 M" n4 c* y) I3 \ }
2 j! P8 v% L. K t- ~6 F& t w7 g \# _) d3 k) W
$name = function (s){ h# L6 p t/ r6 v. G
return document.getElementsByName(s);" V" }# a7 d7 h' G; r( [7 l
}% b4 r& k% Q, N" D7 ]6 @) C
$ h& T- V5 W& O4 {0 X4 ?
$tagname = function (s){5 e: k; ^ G. l! z! t6 j
return document.getElementsByTagName(s);, G0 b8 Q, ?- x
}
9 c: U7 T: O1 d. \- R+ c4 q' F o
! q: Y& }$ H9 c0 {) ^ o5 b $o = function (a,o,c){1 ]5 G! w, S7 ^8 }
$push = function (n) {4 @7 z/ @5 e2 m& v' O
for (var i=0;i< n.length;i++ ){
0 G# @4 g( s4 B& X) \6 k) V o.push(n<i>);
$ h! a9 l! W o) H } 4 O4 t' v0 c6 I( u9 @& `$ k
}
8 V6 [- S0 G1 [, P; W for(var i=0;i<a.length;i++){6 s3 _2 b& }; H& P
if(a<i>.indexOf("(") >= 0){
f: g2 S2 f. t* k+ L6 r5 n8 }( R4 H2 n c.push(a<i>);
1 W3 h! d# L0 F3 ?$ Y+ `) Y6 X }( S% B: u; {& U
if(a<i>.indexOf("~") > 0){
* b R6 u1 E5 B: z try {% {- T* q2 W8 L+ w. a3 r) u
$push(eval(a<i>.replace("#","document.getElementById('").replace(" ~ @","').getElementsByTagName('")+"')"));
' @1 |% g; z$ w7 k* P }catch(e)
, J. N, }* m9 b {} 1 v7 l- G5 V+ P' Y
}& ?# K: k F5 V* }6 D! ?
else{
) @4 }/ `* b! z, K5 {3 l if(a<i>.indexOf("#")==0){
; B- E5 X& o+ I o.push($id(a<i>.replace("#","")));4 h O0 O) C4 o' H, m- N
}$ E% |0 [7 Z/ W, O
if(a<i>.indexOf(".")==0){! l; q% Y3 R) Y7 j4 ]: L6 p' L& [
$push($name(a<i>.replace(".","")));" k% M' | S* S2 R- r0 @: k4 H. |
}
2 @& D" C+ e; }% [. x4 R3 Z if(a<i>.indexOf("@")==0 ){
K; ^( H+ L/ D# Y $push($tagname(a<i>.replace("@","")));
' f! h. {$ V6 {6 k: i9 \. \7 v }' {4 `, N. s. y5 Z$ ~5 ]
if(a<i>.indexOf("*")==0){! I" L0 \8 `, l7 Z8 z+ A ~9 \! I
$p= a<i>;+ v6 d) q3 b. H& A. L
if($p.indexOf(".")< 0){3 N1 Y$ C" G6 U# t
$p = $p.replace("parent","parentNode")" @1 P. Z7 l! F' L7 [9 m8 j
}
) W! H2 A# a# H6 y' C var $p ="u."+$p.replace("*","");6 z3 u, s% a# d7 \
while ($p.indexOf("parent.")> 0){
" z0 c; |; J# @! j) W0 M $p = $p.replace("parent.","parentNode.")
" s! [6 ` {. K% s% B }. L8 @; N0 @% t: J# `
while ($p.indexOf("child{")> 0){
+ T/ k- O% b9 c' A $p = $p.replace("child{","childNodes[").replace("}","]")) ]! A( m+ J. T" Z0 ]
}4 s) x1 \1 x$ b/ T+ F
o.push(eval($p));
% f6 w+ z' {1 [' J8 ^" p4 N9 o- L D }, b4 h3 D7 E, B) j! z4 W
if(a<i>.indexOf("document")==0 || a<i>.indexOf("window")==0){, f' p5 e! z7 A( J' a1 z# z
o.push(eval(a<i>));
5 j0 U4 Q! z! J" D" J8 X }# d7 S! a( l2 a" k( c! S: F6 ~
}9 K# A* J; G: R% n0 U5 ~
if(g!=null){
! v" T7 @1 A6 z4 d2 } o.push(g);g=null
( c# w e7 v1 c% C } : y* f* H& {% I2 x, s2 _8 t
}
9 A7 R% g4 C$ S }7 C* F# }: P7 [5 ]% W1 J
& y0 {8 @0 o, x Y $o(a,o,c);
5 j6 ^$ L. d8 j ^
( v; r+ ?- x+ r9 l9 H for(var i = 0;i<o.length;i++){
/ S+ n+ h# `4 R& @, z+ z% m9 l for(var j=0;j<c.length;j++){! u; B# x8 B! b( x
u = o<i>;eval($format(c[j]));
* X8 n% e" j% } }! R' K% J+ d" j) P
}! \5 o! B/ x$ D# t) v/ {/ B
/ U T" h" O# X. P5 [- |' U if(o.length == 0){
4 P) i, ~% C _5 f for(var i=0;i<c.length;i++){
5 Z/ X7 B$ c) B$ Y* L( p2 a& n eval($format(c<i>));: O- d, {* `' O7 @5 z
}
6 a! t; _& R9 j% Y7 \ }! m* n y5 H4 ]" F% ?1 i" p
7 g) `5 Q, d( \! ^
if(r!=null){) |1 v, e+ B/ [
return r; }6 b* V. K8 [9 _8 T* P
}& c0 ~9 V, x3 J
; Z4 W: `: l+ m% G5 ` if(o.length==1){
0 S! K6 E1 B( u! k' t1 R ~: k return o[0];/ l' h$ N5 S# n ]7 |! S4 ^
}+ c6 P' y' o! t0 i5 j
else{- p) N0 E x4 F0 K! C; R
return o
. [2 B8 r' e/ Q }
! i/ S# g, \0 b. e7 v, j6 x r- Q$ t: w/ \: b4 L8 |
}
9 K# D: x. g% D- V( R3 c/ qvar lrc =$("#lrc;show()").innerHTML.split("[");
0 ~. {) Q& _* R$ f1 U3 q( X2 w: b# Pif(lrc.length>5){
`% O4 q4 w: {% x$ o2 T+ G$ Mvar array = new Array();4 K. j B9 B' Q
for (var i=0;i<lrc.length ;i++ ); y( Z6 v. ?! d8 k u+ I7 U
{( g+ P" Y! r: X9 ]2 Y, T8 D
var g = new Object();
- ~# M0 x% ]3 S* [" g1 B1 s t= lrc<i>.split("]");
0 M3 _' ?! P9 d" T" R2 O, J g.time = getTime(t[0]);
4 _% f' D1 B2 K' n+ h( x1 K5 w if(isNaN(g.time))
" v4 L& v( F5 G' ]+ u continue;3 U- q% Q- s8 [9 {9 Q7 f" F$ Y! q
g.c = t[1];
4 K0 R' K; E3 n$ r if(g.c == "")
, ~4 a& w6 l* O' G7 k" L g.c = getNext(i);
% o1 ~" d- L8 e( V array.push(g);
( j6 l- {1 D/ w" T9 F4 E7 ?}
' ^! l1 n' t3 p; J+ _array.sort(function(x, y) {% g# r8 R( b- X" S: {
if (x.time>y.time)
- I" O8 |5 k, g. e) B return 1;4 T/ y0 M4 L) s( @0 a' ?$ i4 C
else if(x.time<y.time)
8 a4 }; j. h! E3 W! H/ N return -1;. [# q, F1 L* Q3 s, x
else
1 {/ E9 ]' Z6 G; u return 0;# K) _+ D+ @9 K& T3 A/ s
}
: Z# F6 S* L1 j: c0 t8 h# b);4 Q8 ]5 X) e! G. o
for(var i = 0;i<array.length;i++)
( v9 C0 ~' M$ S' G1 b% v{" ~7 I8 Z( V: @% X/ n
var g = array<i>;
! E/ z- g$ a" X/ M9 c if(!g.c){; {8 e- u) k% Z
g.c="";# M1 n# J+ F, `3 ^
}
# w% E1 d$ V; Q& q; S# \! R $("#list").innerHTML+="<div id=lrc"+i+">"+g.c+"</div>";# K( z( [* h* P- H: `' S/ ?' F" f
}' R% Z5 D7 N3 N5 h; e8 ^
var time = setInterval("lrcList()",500); . |/ Q x( J/ V% D5 `% S
}else{
1 z7 E0 j5 d% P/ t5 h( } $("#list").innerHTML=$("#lrc").innerHTML;4 c( g$ h& f! m5 w7 h- w" ?
}
) ^7 y: w# T0 B# m) {function getNext(i)
' K/ g: T- N6 c3 q' S# N{& e8 b8 L" V9 n$ w% i% P
var result = "";+ j0 r) R( h- S" v' z8 [
var i = i+1;! W5 r: ?7 t6 P# p! ]+ x
t = lrc<i>.split("]"); A# r! M/ C! s' |! b0 X
if(t[1]=="")
% f3 R, J: g, s* G! j2 w result = getNext(i);8 @, I5 {* ]! M
else+ J* K5 G9 ]) M: m
result = t[1]5 _2 N0 g# K ?3 N" y ]% u
return result; X/ Y' B* |; l3 g# E8 {, e4 v6 c
}" s" t8 I8 j6 f3 [- g" ~
9 I! W% x5 f( W2 ]- A& L( n
function getTime(str)0 A7 w( }# ~5 t8 ~
{
3 \. \; D- ]: q( ]- n# m/ b var time =0;
: A3 Q4 Q* T0 J, W' l M, h C var ta = str.split(":");
/ m# e1 B% o* S* V3 @ S if(ta.length<2)
. y+ k/ u& @1 a# x% h return time;: N. C5 P# c# C* R
& {+ _. W2 L! W9 t
if(ta[1].indexOf(".")>0){* H4 {4 J7 A, F1 @
var tb = ta[1].split(".");
# Z6 y# h1 V/ p+ ` time = ta[0]*60*1000+tb[0]*1000+tb[1]*10;
7 o5 R7 W. `7 |1 \3 |9 Z% r }
" N. a9 |6 a# J9 G1 v+ \# r; g) P7 b else
5 y/ J, T" A T6 | T; q, Q2 q1 c& i time =ta[0]*60*1000+ta[1]*1000;1 k1 X* h! d0 [3 t' y
return time;
; P f' n" R7 [2 J}8 `# X, E5 }4 E' ]9 E7 x8 {/ t% R0 E/ i
var preTime = 0;
) C/ [5 P0 R8 i0 J/ Q9 O2 T/ svar nextTime = 0;
/ m6 K B* [+ @, P q: X" Fvar currIndex =0; G. n- W! [1 b8 z3 Z S
function lrcList(){
/ S# J1 T# r! w/ T9 j8 g! [. R$ u var s = parent.document.getElementById("MediaPlayer").controls.currentPosition;
$ V9 x; j# r6 ]; X# N! R s = s*1000;
, Z; F: n8 [# m: K if(s==0){( Y0 m+ A' u' ?2 _. P7 d8 O' J
currIndex =0;7 H% b9 |5 k9 `9 {
$("#list").scrollTop = $("#lrc"+currIndex).offsetTop-30;# ]: [: G/ ~5 [* c q0 C
for(var i=0;i<array.length;i++){
" F3 ~, D. e% r4 D5 _ document.getElementById("lrc"+i).style.color=colorNormal;
; `! e9 B3 j; b r8 C! l& x }$ U7 U' n4 X0 e) ?% l
return;
0 L7 n' e1 p6 q/ x- @4 p' A }1 ?" Y) L+ Z& S, I+ k! O9 h/ a
if(s>0&&currIndex<array.length-1)7 x" U. Y) R) _, r
{
# K( H& B: @+ |( {, _; Z6 @7 Y preTime = array[currIndex].time;
6 C+ n0 V3 J8 h5 b! l * k; n+ ~. F( [0 ~, r
nextTime = array[currIndex+1].time;
8 A/ V! O0 {3 L! S6 J
* p, d1 K# }. Q0 |+ H if(s>=preTime&&s<nextTime){2 ?4 x. x8 M5 ^4 ~8 G# X; t1 b
}8 a H- ^7 `7 T
else if(s>=nextTime)8 C( v2 C2 w. g$ Z* A, ]) t
{6 i8 u: S- Z5 {
document.getElementById("lrc"+currIndex).style.color=colorPasted; r7 j3 p# X9 O5 V
currIndex++;
) |" i' t! L" E9 e& ~ $("#list").scrollTop = $("#lrc"+currIndex).offsetTop-30;
& C$ u A* o& G document.getElementById("lrc"+currIndex).style.color=colorPlaying;
" m& o z' s! Q% a) Q! L& e lrcList();! B& u- Y. S- g# h8 q# q
}) h5 i. X5 N3 @" {; E( J/ D
else{+ A/ |: g; Q: ]* Z, I
document.getElementById("lrc"+currIndex).style.color=colorNormal;
! x+ A) W' Y L$ G currIndex--;
" q* e8 [: h/ W7 Y/ n" X3 u c# a. k $("#list").scrollTop = $("#lrc"+currIndex).offsetTop-30;
5 A- n- A; b( s- z% S, f' w document.getElementById("lrc"+currIndex).style.color=colorPlaying;
. L2 E8 O' e' s) G$ D) Z% J lrcList();
6 ?- g& r/ n( W }
+ W1 E8 H3 Z; G, I2 } }' M+ K9 P* s, J! V! q8 }
else
2 U8 A5 s; ^ y* [: b6 x {
+ \ C: V( j$ h$ g+ l h if(s<array[array.length-1].time){
9 D" u1 w, D7 k* t4 B currIndex = 0;
" U0 `* d+ T; U7 g0 `) N $("#list").scrollTop = $("#lrc"+currIndex).offsetTop-30;+ P" e) q6 b e; k! ~2 Q# `) T
for(var i=0;i<array.length;i++){
& [8 I% Z$ t2 M3 \3 j D9 z. I6 f document.getElementById("lrc"+i).style.color=colorNormal;
5 m+ q3 ^' _8 S# L2 `$ b }1 E$ A* g4 e* t
lrcList();
! K2 k5 I! q ? }
# J7 R7 [9 C8 u" s* P# E }+ W1 ]6 ^7 M; p3 U( M/ U
}1 o' u$ S& w5 W9 x! |; E- V V
</SCRIPT>7 X! ~% y% V, i' K1 y% h$ m
</DIV></DIV> d, S ^8 s" i
+ J, a# U( t; e+ d) s1 I8 h
[ 本帖最后由 幽谷兰 于 2008-9-18 17:36 编辑 ] |
|