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