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