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