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