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