|
<DIV id=list>
7 U9 A% ]1 N2 J' a<DIV id=lrc1 style="COLOR: #666666">[wmv=0] http://lzbj.ncedu.net.cn/uploadfile/20083923248279.mp3[/wmv] </DIV> z( B2 i9 ~: J( o7 t
<DIV style="COLOR: #666666">|等一分钟|听到这首歌,觉得它很动听,旋律很优美,很是喜欢,传上来给大家听听。</DIV>& w2 ]$ G% G! @) a. s, Z
<DIV id=lrc2 style="COLOR: #666666">词曲唱:徐誉滕</DIV>8 a4 B$ Z: q$ f
<DIV id=lrc3 style="COLOR: #666666"></DIV>& o% {% p) X$ i# w
<DIV id=lrc5 style="COLOR: #666666">如果时间 </DIV>
& p( T9 Q$ r4 L6 h! i<DIV id=lrc6 style="COLOR: #666666">忘记了转 </DIV>
2 @( Z( p- z/ }; ~3 Z' d2 c<DIV id=lrc7 style="COLOR: #666666">忘了带走什么 </DIV>7 I5 [) f3 d- m& }+ w% L. o0 E- z
<DIV id=lrc8 style="COLOR: #666666">你会不会 </DIV>
`$ _ a# B* g0 s8 \' D<DIV id=lrc9 style="COLOR: #666666">至今停在说爱我的那天 </DIV>
" i& d) \+ J$ S' w+ {& P<DIV id=lrc10 style="COLOR: #666666">然后在世界的一个角 </DIV>
* q5 @% K. b/ O- |: Y- e: e<DIV id=lrc11 style="COLOR: #666666">有了一个我们的家 </DIV>
. d; _9 k% x: B. D# }5 C<DIV id=lrc12 style="COLOR: #666666">你说我的胸膛会让你感到暖 </DIV>$ O3 |) [/ A9 B5 q+ z3 p5 @
<DIV id=lrc13 style="COLOR: #666666">如果生命 </DIV>/ T1 o6 I! ?2 K+ C6 g
<DIV id=lrc14 style="COLOR: #666666">没有遗憾 </DIV>4 D& U g7 R: O& B# V+ N
<DIV id=lrc15 style="COLOR: #666666">没有波澜 </DIV>
[2 k9 M+ U. ]! B3 i<DIV id=lrc16 style="COLOR: #666666">你会不会 </DIV>
8 v1 x* b1 i* }# D5 x4 t- c<DIV id=lrc17 style="COLOR: #666666">永远没有说再见的一天 </DIV>4 Z3 `* H* @" g& X' r; W5 h
<DIV id=lrc18 style="COLOR: #666666">可能年少的心太柔软 </DIV>
I3 `1 X% f! ^$ l6 T8 U. R8 {<DIV id=lrc19 style="COLOR: #666666">经不起风经不起浪 </DIV>
j6 M y" K8 B0 L<DIV id=lrc20 style="COLOR: #666666">若今天的我能回到昨天 </DIV>
% d* {; M9 m( ^% q5 F) {1 B3 ?<DIV id=lrc21 style="COLOR: #666666">我会向自己妥协 </DIV>
& Y1 c* F' |: s, y4 f$ J<DIV id=lrc22 style="COLOR: #666666">我在等一分钟 </DIV>
8 m* q. p- E' z* i/ g% f6 V<DIV id=lrc23 style="COLOR: #666666">或许下一分钟 </DIV>+ U- k" o6 j) i8 `" U
<DIV id=lrc24 style="COLOR: #666666">看到你闪躲的眼 </DIV>3 U& C* e. i& l/ Q
<DIV id=lrc25 style="COLOR: #ff3300">我不会让伤心的泪挂满你的脸 </DIV>3 W3 f% w4 A' _' ?
<DIV id=lrc26 style="COLOR: #000000">我在等一分钟 </DIV>) {) t3 ~9 P/ e$ M
<DIV id=lrc27 style="COLOR: #000000">或许下一分钟 </DIV>
% `6 G o! x+ \<DIV id=lrc28 style="COLOR: #000000">能够感觉你也心痛 </DIV>
( j: o. [" f& f) ]<DIV id=lrc29 style="COLOR: #000000">那一年我不会让离别成永远 </DIV>
5 s5 e* A* g6 F, P0 l$ A O/ Z<DIV id=lrc30 style="COLOR: #000000">如果生命 </DIV>
* b3 v, {8 c6 ? b. C- b, [<DIV id=lrc31 style="COLOR: #000000">没有遗憾 </DIV>
) i/ n, b7 _: {% ~0 w$ n<DIV id=lrc32 style="COLOR: #000000">没有波澜 </DIV>
( I! D' H4 ~$ g" V, L<DIV id=lrc33 style="COLOR: #000000">你会不会 </DIV>1 |; r' n% p5 G
<DIV id=lrc34 style="COLOR: #000000">永远没有说再见的一天 </DIV>$ f! c; Z* t$ p" q5 C% a4 E
<DIV id=lrc35 style="COLOR: #000000">可能年少的心太柔软 </DIV>$ a# b- t8 d/ K
<DIV id=lrc36 style="COLOR: #000000">经不起风经不起浪 </DIV>( _9 e& y# d# W( B$ F& l4 `$ `
<DIV id=lrc37 style="COLOR: #000000">若今天的我能回到昨天 </DIV>5 I# y. g* L6 h! c4 S
<DIV id=lrc38 style="COLOR: #000000">我会向自己妥协 </DIV>
9 S1 M8 n7 }' F- H* y$ r* ]' e0 q<DIV id=lrc39 style="COLOR: #000000">我在等一分钟 </DIV>! D- C/ o9 u4 Z# a, f
<DIV id=lrc40 style="COLOR: #000000">或许下一分钟 </DIV>
5 s7 R+ R [7 H) }7 A<DIV id=lrc41 style="COLOR: #000000">看到你闪躲的眼 </DIV>6 o. \9 X/ s8 ]3 @4 x5 j
<DIV id=lrc42 style="COLOR: #000000">我不会让伤心的泪挂满你的脸 </DIV>
Y% c4 {* j0 |' O4 Y K<DIV id=lrc43 style="COLOR: #000000">我在等一分钟 </DIV>$ N% {3 M i4 [1 q0 R* J
<DIV id=lrc44 style="COLOR: #000000">或许下一分钟 </DIV>
7 N0 p( \; s% o& h- e, O- s<DIV id=lrc45 style="COLOR: #000000">能够感觉你也心痛 </DIV>+ j7 b/ |6 ~- c$ J, h: P/ ~
<DIV id=lrc46 style="COLOR: #000000">那一年我不会让离别成永远 </DIV>
: N5 X' g d: V+ f<DIV id=lrc47 style="COLOR: #000000">我在等一分钟 </DIV>
% k0 _2 }/ B% F( G<DIV id=lrc48 style="COLOR: #000000">或许下一分钟 </DIV>
/ C1 W, t( w3 V- P/ w% g. L& F<DIV id=lrc49 style="COLOR: #000000">看到你不舍的眼 </DIV>
7 O/ k. f, e. M3 Z<DIV id=lrc50 style="COLOR: #000000">我会用一个拥抱换取你的转身 </DIV>
3 @ w x+ \8 x2 B. z! P' a<DIV id=lrc51 style="COLOR: #000000">我在等一分钟 </DIV>
3 E$ X$ v$ v1 q' `& ^7 d3 V9 _2 |<DIV id=lrc52 style="COLOR: #000000">或许下一分钟 </DIV>
/ _. t1 K& a! l<DIV id=lrc53 style="COLOR: #000000">如果你真的也心痛 </DIV>
9 g6 a8 K1 d% E! W' h( K( v<DIV id=lrc54 style="COLOR: #000000">我会告诉你我的胸膛依旧暖 2 I: q/ y. i }0 L+ ~
<DIV id=lrc style="DISPLAY: none"></DIV>1 E8 z9 P p- f P8 I/ @
<SCRIPT type=text/javascript>
- R6 {/ T0 y& H$ W. mdocument.domain="1ting.com";, t4 h/ d+ o B# t5 J
var colorPasted="#666666";' f! y' i9 L* e, i: r" k5 {
var colorPlaying="#ff3300";6 f+ k* ?1 K" G4 r7 E: m
var colorNormal="#000000";
8 k% `; e; R, x2 |/ N; m$ = function (a,g){
( v+ ~" Z0 @: a- z! m' { var o = new Array(); . x2 x* e, \7 E- [
var c = new Array();
8 O! C8 O9 b+ V& U- v% ?3 F$ ? var r; ' ]4 t4 D$ f( x! Z/ p0 l* o
var u; 6 s# `* v# N( n2 q. k* x' T5 e
var a = a.split(';');
6 x& t3 K# E; ?" O% p- I- e' s8 `
! ~) Q7 T/ l( M2 s var e = "keydowns,resize,load,dblclick,click,mouseout,mouseover,mousemove,mouseup,mousedown,inputchange,inputfocus,inputblur".split(",");$ b* C+ Z: @1 ]8 S2 p
for(var i=0;i<e.length;i++){
( i U5 r6 L' w! t& {4 E: @0 S eval(e<i>+" = function (s){eval($event('on"+e<i>.replace("input","")+"'))}")
( k4 s1 Y/ H4 u! C, a! @ }- d! J& v! ^# ?3 {$ v6 E
1 G9 ?0 j6 y* w4 N after = function (t,d,s){: t6 r' g2 M+ e
$after = function (){
" x# z( I! X% @- d var $n=document.createElement(t);
2 @- M* }& K( W; D if(d!=null){
' B# W8 C$ ?" \3 c) k- { $n.id=d;
" ^& q* M2 L% @( f& p }
" M, r1 {7 p$ K4 Q+ e" o# l 5 E; Q: C0 \5 _- Q! `
u.insertBefore($n,null) ; @% j" G: _6 p5 E
r = $n; - S: f9 n* m* X4 ]# D- H
u = $n; 8 H# N4 F4 `' J* E& r" K; _
}6 o8 v6 c1 S/ V# a) B N7 j
$for(s,"$after")
( n1 N- p9 R2 k9 ^ }
d/ U9 A2 J7 j+ j+ g2 H# X E( ]/ u! E2 `, y/ u% r
show = function (s){" n1 b7 E- t' f2 O% @% F- B+ y
$show = function (){
& f* k% \- R) Z) O u.style.display!="none" ? style("display:none") : style("display:block") ;
2 d) G& _& i9 R, Z: {. O7 B E }, v7 J; M4 {+ U J( W
$for(s,"$show")
$ o- D& N' K" m1 G% M! H }0 }) d) L* U+ v4 k/ x6 B- U- I
) D3 i8 C* Y* B3 T0 H/ y2 w
check = function (t,s){! W& u1 u0 Z2 w* E% S
$check = function (){
8 m+ q2 W7 c; j; C ` if(t=="2"){
8 ^0 N+ d2 o, [* H. x if(u.checked){; l7 r2 E3 a7 o. N
u.checked = false;
4 z0 C, w e- G6 ^2 | }else{: E. I4 g& Q$ g: G2 P
u.checked = true;$ E4 m' z& T3 J. B" d% s7 F
}
% e+ {4 g; k1 w' q/ G }else{
3 x8 N( i( I& x ?( p u.checked = t*1 ;
0 @! R4 {0 l' o) o }: T: }1 T' _) E% e$ r% W- U
}
1 ^' Z" l4 ^5 ^, e- Z $for(s,"$check")
$ [* y, Y, r9 r1 V }
; |1 M* \$ {9 s/ h
4 s# D, d c% d. T% o- z8 I style = function (v,s){7 S6 v$ z% e y; T
$style = function (){+ m5 ^' m) Q/ Y) r
var $n = v.split(",")
: ~( D9 a8 b2 W" T% u R7 ^+ I# Y for (var i=0;i<$n.length;i++ ){% |. C$ I. P& K7 B0 X$ c! B
var $m = $n<i>.split(":") % Z: f: T0 S, d, |3 k6 u' }/ e
eval("u.style."+$m[0]+"='"+$m[1]+"'");6 \6 g+ n3 d( }0 E
}" J: ^+ f+ P/ {' k$ {
}
3 Q8 z" r0 i/ n% q $for(s,"$style")0 r. ]$ q+ O. }* w; q1 [
}
5 r. D# X" V: U4 r# R" ?* n1 U+ d6 ^! h' H) o( g7 N6 j
value = function (v,s){1 L+ p+ s& |) x4 i4 g# \" }
var $n= $this (v);
" r) v0 M# G; P2 C- p7 b4 C $value = function (){
" ]1 n0 ?, t; D1 y4 o u.value = $n
2 Z! ^' ]6 ^6 U! v4 ]' B5 [- e& n }
! P# a' ~. f, i c $for(s,"$value") 9 j/ e2 C3 w [' \% @
}7 t8 J9 L6 M0 I, L
( p% \1 P; ?4 N& R8 o/ M text = function (v,s){5 L* Q, t# V6 i' C8 D2 A
var $n= $this (v);# Z) ~( i# |7 |/ x- n4 [; u7 H$ V
$text = function (){& H" l7 h/ z! S% C. M/ g
$ Z. t$ e. N9 o5 K
u.text = $n
7 K3 r# w& ^* p/ ~ }: j* ]' B% g3 v" }6 x0 s5 B1 F) K0 o2 [
$for(s,"$text")
) a! s) \4 q# O: x0 r9 ?# C }
- S8 b2 v. q6 U& R
& x% i5 u% Y% v9 P6 x# Z! n* y innerhtml = function (v,s){
. ^) Z% l- p7 _ var $n= $this (v);
6 E4 V5 C2 m7 p, I* `* k1 h $innerhtml = function (){. X' p2 }7 r" i0 C. _9 r3 Y$ \' D
u.innerHTML = $n4 `' F" v+ ~: _( S# l' f4 A
}
* d) c! {& L$ r* P $for(s,"$innerhtml")
2 O0 \) {& g& X# W# M. Q% U6 c }7 b, Z) J3 {, d3 Q3 j' V; F+ U
% x$ {0 E4 _) C x removechild = function (s){- S, e" v- ^, {$ n4 {0 v
$removechild = function (){
: T$ q/ c; e2 ^0 r8 X6 j$ @6 } u.parentNode.removeChild(u)3 t+ P. F& L- ~. k6 K' O0 k4 f; Q
}
. k ^5 D% H; s& @0 X3 k $for(s,"$removechild")
# t1 N3 G: f7 G1 e" c }
2 V# m, d' ]9 J$ W4 e5 p
/ a( ]+ Z1 k w $this =function(v){$ S( t5 _* {1 Z4 i& \ ]+ {! f
if(v.indexOf("this") == 0){
3 Q; B) }1 h& o+ x; t& T5 x9 L! K% C return eval(v.replace("this","u"))8 r. j- M. b' c+ k* c
}
( z& x! D" G' p; \3 }% F return v;
8 E8 V, p4 L: s. I& ^, b( Y }. k/ r4 P5 }$ V+ n
0 b( }) p& \' P. Z) g
$event = function (s){
0 _0 N( F8 n* L7 Z0 A var $n ="u."+s+" = function(){$work(this,s);}"
1 f: y( C6 m' \ return $n;$ b( J9 v) w8 j: f4 L
}
1 G( }! F7 ~0 N+ j7 @- v$ `8 O; E# K# U" `/ F# m2 |
$replace = function (s){5 C2 Q2 ~' C5 q2 H4 Q7 g
* C, i# K$ C. {% ` }, _. Y& ]& W, m& v. _
8 k5 `0 A( B! D( \6 p+ g $for = function (s,c){
* l6 g& {6 K; A* B3 T" d; p1 J var $n="this."+c+"()" ;
3 a$ z5 q9 ?% D) Q if(s!=null){
5 s# ?9 d2 j/ V& d* F: A2 l, D var $m =$test(s);
2 M- d+ p% E6 r for (var i=0;i<$m.length ;i++ ){' o" L: U! C% n8 s1 g
u = $m<i>;
5 A: `: S* C5 e5 ]. z! L$ c eval($n);
" a- q+ z6 S1 Z5 R }
' s# s- z6 w9 [7 ` }
9 y9 w2 \! j3 u: R else{
. g& c# s D( j; n eval($n);; y% ~0 R. q4 N& \8 V6 P
}
# q5 A' l; ?0 C U( k }4 p; b9 k) ~* \+ w8 k
0 `( P4 Z3 y) U% ^ $test = function (a){. l. I9 w+ D2 U' k" J1 R
var o = new Array();$o(a.split(';'),o);
( g5 E4 q# C: ]& _0 z, d return o;
4 ]/ ^; F6 I. N( x7 c: i }: p6 J9 ?1 H! I
8 N% Z: j, |* ^3 s $format = function(s){
( R1 ?$ c' A- P" q) [ while (s.indexOf("'")>0){
' z0 D5 Z1 j3 f5 {* L# b s=s.replace("'","\"");$ ?3 A& v9 B) E0 U! v: S4 C
}* O X, y4 x% X% l. C/ X
while (s.indexOf("][")>0){
( V9 M( A+ H9 C) ~- T3 }* v2 @ s=s.replace("][","','")
4 r( d* z/ {9 h$ V" |; _9 `8 | }$ m8 j( |" T9 E, u
while (s.indexOf("[")>0){
( F5 I% H* @( S `% @3 [ s=s.replace("[","'").replace("]","'")
* g/ g4 t$ l" D0 a9 v5 Z$ T }
: C( `' K$ ]0 t2 R6 n return s;
2 S) [$ I* y& g6 Y+ `' R. Y# G }. `8 v* `% E3 N9 i+ P0 g h
+ M9 f1 v+ Z! G* \# A $work = function(w,s){
! m$ t% Q; g* C6 ~2 ]' K+ A u=w;eval(s)& k2 w- ~' T1 v
}+ J n1 P; f. c' z9 i
0 e8 D. A- F6 ~: N. z
$id = function (s){( \1 r+ R2 @) g8 S3 D2 i
return document.getElementById(s);
0 @; \- W( P. M1 V }
% \1 E7 R: r3 E: x8 f) ^' r8 E& u( `5 P3 B9 ?& A- x9 X
$name = function (s){
4 m9 X8 U, D6 h return document.getElementsByName(s);( K s4 N; J" }9 i* p, R/ Z
}
- O9 F* x4 ]$ C5 }2 P/ W
u4 z1 S% o% x9 m0 {5 \, ` $tagname = function (s){- @* O$ L; K8 g8 [' ?: @" ~
return document.getElementsByTagName(s);+ X# E- E8 u% o- @. v/ O8 e
}
; u7 o# }/ X8 _8 U. `1 R$ {' x& S% x+ P! Y: U: h5 W
$o = function (a,o,c){1 [2 Q' `: @( V5 _. u
$push = function (n) {
& P2 e% A; w! N$ j8 N4 `2 } for (var i=0;i< n.length;i++ ){
) S/ q+ z$ K. |4 i o.push(n<i>);
2 _" p, c0 P( `, D) y# I }
. U" T0 t. D- z* k* M6 J- z }! }9 L9 | @" f
for(var i=0;i<a.length;i++){
" s2 _* W- I) v: c4 T" i if(a<i>.indexOf("(") >= 0){
( O* B8 r6 ?/ l. x7 \- q7 @7 u+ @ c.push(a<i>);8 |4 ^& N( Z! U' ?: ^2 d1 i
}9 E: c+ i' G S, H8 s
if(a<i>.indexOf("~") > 0){& u Z; ]4 Y: ?% S1 \0 h' [
try {
! @0 E' Z/ n+ x) j $push(eval(a<i>.replace("#","document.getElementById('").replace(" ~ @","').getElementsByTagName('")+"')"));
" N1 i: B v( ~ }catch(e) a' o' j2 U, w, V& l$ P2 _) D
{} 0 w) n4 B+ I- d9 A
}
" g: ]& Z, [3 u" h' y else{
1 v& Z* }- a4 p! p2 l9 a if(a<i>.indexOf("#")==0){5 h, C3 F d7 o8 H3 N6 g
o.push($id(a<i>.replace("#","")));7 w6 o, _2 t) X! Z& x; P' a8 y
}
& c7 [( h* Q( O+ C0 W3 t3 x4 ] if(a<i>.indexOf(".")==0){
' j& {! ~+ j2 z% W $push($name(a<i>.replace(".","")));+ R k, c. A/ k
}
6 c8 L, {: U6 N7 d$ \6 L* B& A if(a<i>.indexOf("@")==0 ){
7 n e# @& W+ B' ^# _+ j d $push($tagname(a<i>.replace("@","")));- k1 N v3 h& u. @; k7 f
}
: M) e- M& t! r2 @2 ]* H. G I) s6 V; x if(a<i>.indexOf("*")==0){+ c" D3 \. x0 a4 S( e
$p= a<i>;
& Y; e$ J; |# ~" t/ E' h) Y! ^ if($p.indexOf(".")< 0){, \" S) i% @; u, L% w6 O
$p = $p.replace("parent","parentNode")6 x7 D$ j) h. i( e% {4 s+ b. |
}
5 s2 o& @1 o1 g# S5 G' ` var $p ="u."+$p.replace("*","");
% ]* m' {, G+ f9 j while ($p.indexOf("parent.")> 0){
7 X6 u, e; s n% O7 Y $p = $p.replace("parent.","parentNode."). F: S8 F' i9 n$ E" Y5 V' e4 u
}
" w' |" i1 {5 U' I/ f( I while ($p.indexOf("child{")> 0){, y0 F5 C5 V5 O9 E$ J* w0 ]
$p = $p.replace("child{","childNodes[").replace("}","]")
7 b; `0 d8 E u/ i7 J8 ^ }
$ h* |3 v+ c! f8 p; F o.push(eval($p));, m( f0 r" m O1 u
}
4 @0 ~9 S+ ?, C$ w% F6 N. s if(a<i>.indexOf("document")==0 || a<i>.indexOf("window")==0){* Q. g5 S/ I# W( m! }! D% A
o.push(eval(a<i>));
1 K: K9 [3 V1 W6 Y }' w: k8 C% t% O" ]% R7 w
}3 }3 C8 }$ R+ U
if(g!=null){
8 y! ?2 P/ Z4 w; p) J" w. [ o.push(g);g=null8 c9 C, W; X3 I3 B6 r: J* `
}
' d, i0 W% P5 e6 x: u4 z% l }7 C' F( q6 g) s- r% {* i6 p
}* b6 p1 y' Y. h. J+ a j
0 Q& m! E2 Y2 g1 g6 B% O, y! L $o(a,o,c);$ L0 p8 X( }3 f# x9 C
v* t" \* F0 [8 o3 b for(var i = 0;i<o.length;i++){
+ I- [. {% I* _8 Z* ?5 m for(var j=0;j<c.length;j++){3 K8 `, a' X. R+ h. C% E
u = o<i>;eval($format(c[j]));% i3 g6 u% y; p1 p
}
# [# [7 ?+ `0 N; w }
0 r! g# d+ u$ Y- V/ f: S) X; a* D. F2 S2 ^% m( T
if(o.length == 0){0 E; }# E: [( l" u/ |
for(var i=0;i<c.length;i++){
3 P ]2 P) |) v9 O* y eval($format(c<i>));
( p2 P/ [( Q: \# J }
: k/ G4 ?9 s* n2 Y/ s v+ G3 c6 @( W } Z" L* k) ]3 |& I
; Q; b3 p1 F7 [ if(r!=null){0 y4 P/ @) A0 C, K8 N
return r;$ F; K" y# {+ a4 W f
}
# {9 L9 y/ x8 p5 ~' C 9 Q" S9 P% R! U
if(o.length==1){
9 [6 P1 w/ z/ d9 W1 G3 _' f' Z; [7 D; [ return o[0];
+ V/ {% N9 `3 b0 t9 H }) ~( V$ F4 B% e! h; Z
else{
3 M9 T: s' Y- y0 w return o
7 o7 K- N4 {5 x5 H/ U7 S } 4 H- I3 T5 }0 b) {
: Z& N1 G( W5 A9 @6 J: i
}2 G: [% y9 U t% D: d# y
var lrc =$("#lrc;show()").innerHTML.split("[");
]& x- x/ C& Z* I5 Fif(lrc.length>5){. G3 K' y! i8 \- L
var array = new Array();
& Z8 @$ I- W. O) _% l$ {for (var i=0;i<lrc.length ;i++ )3 Y/ j) T( B. a6 ~- l7 n
{& R; U' r& O) p7 M) N' l
var g = new Object();
v3 G- P ~* x0 v, X. _ t= lrc<i>.split("]");
1 K0 C: t& R* _& O. x2 R g.time = getTime(t[0]);
* |) M* ]) f; m" H3 {; A G T: C if(isNaN(g.time))
5 n. Y4 M& A( p% g; M; ]# U continue;
0 _2 u- ?' S$ g x, j( F g.c = t[1];
. j! h) U# F! K/ e* [ s# U9 X if(g.c == "")9 z! ?7 m& b2 t. u5 d8 ~; W8 t
g.c = getNext(i);8 D P& s9 G2 |: F
array.push(g);" h- Q5 L$ o: H5 ?6 g' @
}
9 I2 J& _0 w% u" ]; a% s; t. garray.sort(function(x, y) {' V1 L9 \8 Y1 I0 Y
if (x.time>y.time)
. z7 Q W8 x/ R: [- Z4 q( A return 1;( G# S) Q2 O- r
else if(x.time<y.time)7 Y D, N' n$ X! E
return -1;/ h; q0 l+ V" ~" z
else
6 h: m3 l/ I4 `; Q8 y: I) N, B" C+ e return 0;
7 h4 P; |. J' z& i6 m/ u! n5 G }
8 E' H: d: \2 W% G' v: B6 E% U);# p; F7 I V" l2 R1 f9 C" e( m
for(var i = 0;i<array.length;i++)
4 F5 J8 @9 I T{$ e: A# W: {2 Z! U; R. z$ e
var g = array<i>;
0 i& R/ t1 d; I; k4 H9 S if(!g.c){
# U1 e5 U1 e7 ~# R# f' W6 N g.c="";( c$ r9 f( R ?/ b" j7 W
}
. j, m* s3 f' \; W* M, E8 V6 E8 a $("#list").innerHTML+="<div id=lrc"+i+">"+g.c+"</div>";
# M* w6 q+ `8 w6 T}/ {$ O* n5 F4 s; N \. }
var time = setInterval("lrcList()",500); ! u" c/ A P1 g9 l$ ]
}else{
' K0 W# K7 X2 V% C3 a $("#list").innerHTML=$("#lrc").innerHTML;3 S' n: S; r9 i6 g! I/ N
}
' W( I) w4 X, |) _9 J/ jfunction getNext(i)
$ c9 s" j; B) [# w2 s* C{
% q) t$ u; ?. U4 s. ?3 K, i var result = "";" u2 U$ r0 ]7 s0 ]4 b; ^
var i = i+1;# @ t% d) ~5 y% `, B: t& o
t = lrc<i>.split("]");1 G3 `. d/ e2 Z4 p
if(t[1]==""). W! Z) L+ a: g9 s2 t* P
result = getNext(i);7 S; F9 b* {; A/ W1 a
else
* C; ~9 z$ i) q4 p result = t[1]
! V6 ^) X# c# X) R0 K" d return result;7 I6 b3 B: _' d: j$ w" e! N
}( @! s% R+ |' s* _
0 y- M! d( I, b, x
function getTime(str)6 Z, b; C! t0 e
{7 K& R* k0 W8 U* q: d" ^: b
var time =0;0 |# y, j( B7 ~( M. m) X' S, J4 O1 z
var ta = str.split(":");
& e% i9 D& O: \7 E) D: D if(ta.length<2)$ k0 A" P3 i. x) s3 T- g' y
return time;8 }8 \" J, E" C. b9 J: R2 v* V
& g1 V( n$ t5 G1 G
if(ta[1].indexOf(".")>0){
/ Q( B$ l! Y! ^ var tb = ta[1].split(".");
1 v5 K8 j: y& j) M time = ta[0]*60*1000+tb[0]*1000+tb[1]*10;
& ?" g+ S& @; x+ R8 Y }
9 _# I0 a! R7 s) ~ else
R& a3 M! D3 k8 v# Z1 E time =ta[0]*60*1000+ta[1]*1000;1 o! k# H# _! p! w
return time;
- J; r% _6 o/ i9 w, L}2 Q3 G3 {! q5 d0 z1 q' |
var preTime = 0;
7 R. R V0 S9 w3 J& c% E c9 mvar nextTime = 0;
; w1 l: @, m# nvar currIndex =0;
3 f0 s% [- J! T9 M( a" w; j) k% Afunction lrcList(){
* E3 }1 m7 D, r% c7 C7 Q3 Q) V4 | var s = parent.document.getElementById("MediaPlayer").controls.currentPosition;
6 }* G8 w: y9 h s = s*1000;
/ d# I0 T5 O3 T* X if(s==0){
4 X( D) s H/ }& K3 V; V currIndex =0;
4 b" K C( {8 k $("#list").scrollTop = $("#lrc"+currIndex).offsetTop-30;
1 z2 V# E( l" F9 e for(var i=0;i<array.length;i++){* g7 b' v: j6 g, x" d1 Z* h
document.getElementById("lrc"+i).style.color=colorNormal;
4 {$ Y6 f) |& ]: C5 | h }0 l3 r# N* ^+ U' P# E
return;2 v; z: e7 k) b" F9 @7 O( b" u: d
}
, N# U8 U2 i: ? if(s>0&&currIndex<array.length-1)9 k' b; M- F+ ^" T
{ 4 P# B7 ^% S* P# H) M8 p
preTime = array[currIndex].time;5 M7 |' e& N, ^/ [! O @" j- Y
3 y$ D. S* F5 W9 J8 U: Y
nextTime = array[currIndex+1].time;& z) N+ }- X# Z/ P2 B5 x& G
8 k9 `( B3 k- V if(s>=preTime&&s<nextTime){, n; j5 G/ _7 a5 ~, o
}: Q# V! @4 v9 z j3 }
else if(s>=nextTime)& M' h2 d0 S3 |4 ]+ h( }8 G
{6 t, ?9 H4 z/ M8 H* w
document.getElementById("lrc"+currIndex).style.color=colorPasted;/ d# ~# ?% c* x T. P! z
currIndex++;
2 s% E0 s+ f, ^/ b2 _4 W $("#list").scrollTop = $("#lrc"+currIndex).offsetTop-30;% T1 ~) ^" V# d0 `8 s
document.getElementById("lrc"+currIndex).style.color=colorPlaying;
) |& N! d+ d3 _7 W) \# y lrcList();( {8 Y5 n. H6 E' s2 P7 N
}( e( h% j6 ?( G' c( p
else{
3 x4 E) s, b( g! y+ p* k document.getElementById("lrc"+currIndex).style.color=colorNormal;
9 Q5 r$ x! ]7 j& h! H currIndex--;5 V* w% ?1 m9 g8 U
$("#list").scrollTop = $("#lrc"+currIndex).offsetTop-30;
7 R4 T! v S; C- m document.getElementById("lrc"+currIndex).style.color=colorPlaying;
! ?" f5 W/ p( x6 y9 @7 P lrcList();9 P4 V% j( m( \3 m/ w
} ?0 a5 M* L @! x" t
}
I/ M9 I8 V- J0 n# v. r. ^ else
{' b! ^, I+ x3 C {
2 X5 j1 v/ j1 c& k$ M8 d8 W if(s<array[array.length-1].time){: U" D9 @8 E/ C) F: I" G
currIndex = 0;
' f. ~7 |0 A* x% l" o5 c $("#list").scrollTop = $("#lrc"+currIndex).offsetTop-30;
& O o+ o/ w& g- ? for(var i=0;i<array.length;i++){
) x. ] \2 s/ Z. |- m% y1 `; h document.getElementById("lrc"+i).style.color=colorNormal;
; D! `: c' n1 n: X/ ^7 C. G }+ X/ E0 C: \1 i( W4 k
lrcList();4 ]% [1 W: [* u
}
$ Z; k7 \# W( N' ?& | }
+ V$ S X u7 ~) k4 h6 u}
0 k, E$ p0 G! `% I" n</SCRIPT>
. F" P" d# s) ?2 t: @$ @</DIV></DIV># c( Y' l2 \2 O& ]3 R% Q/ h$ h
; M7 |2 Y% l4 X$ n* R[ 本帖最后由 幽谷兰 于 2008-9-18 17:36 编辑 ] |
|