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