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