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