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