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