|
|
<DIV id=list>5 k. C: h' P& e, S. U4 ~
<DIV id=lrc1 style="COLOR: #666666">[wmv=0] http://lzbj.ncedu.net.cn/uploadfile/20083923248279.mp3[/wmv] </DIV>: m d9 u. E! I% t9 V
<DIV style="COLOR: #666666">|等一分钟|听到这首歌,觉得它很动听,旋律很优美,很是喜欢,传上来给大家听听。</DIV>
1 S" V1 b" F1 @/ D0 L. z% D, e<DIV id=lrc2 style="COLOR: #666666">词曲唱:徐誉滕</DIV>5 K) z6 s5 z; W
<DIV id=lrc3 style="COLOR: #666666"></DIV>. o. U6 v( ?! r6 m* B9 h5 K
<DIV id=lrc5 style="COLOR: #666666">如果时间 </DIV>( } q l( z/ y2 \# s& }
<DIV id=lrc6 style="COLOR: #666666">忘记了转 </DIV>0 ^: ^/ k; y( P; ` ?
<DIV id=lrc7 style="COLOR: #666666">忘了带走什么 </DIV>" l) r! Z7 o( z, ^6 l! P
<DIV id=lrc8 style="COLOR: #666666">你会不会 </DIV>
! K$ N X( C5 s* Y& r+ X4 e<DIV id=lrc9 style="COLOR: #666666">至今停在说爱我的那天 </DIV>4 G [1 T4 |" t& z9 Y& w: Q
<DIV id=lrc10 style="COLOR: #666666">然后在世界的一个角 </DIV>( i% i: ]& k+ p/ [3 n
<DIV id=lrc11 style="COLOR: #666666">有了一个我们的家 </DIV>1 B" }5 C1 @- k2 W7 {# A
<DIV id=lrc12 style="COLOR: #666666">你说我的胸膛会让你感到暖 </DIV>
# u& y. E; \7 x" x2 Y<DIV id=lrc13 style="COLOR: #666666">如果生命 </DIV>: A; z9 N6 S1 K
<DIV id=lrc14 style="COLOR: #666666">没有遗憾 </DIV>) c# Q8 [* O P! D7 A7 R; L
<DIV id=lrc15 style="COLOR: #666666">没有波澜 </DIV>) ^9 J4 g! |( Z* ~3 C9 R
<DIV id=lrc16 style="COLOR: #666666">你会不会 </DIV>
6 u4 g" e/ t5 L8 M2 y<DIV id=lrc17 style="COLOR: #666666">永远没有说再见的一天 </DIV>
3 d/ B3 x. O- g$ ^$ G<DIV id=lrc18 style="COLOR: #666666">可能年少的心太柔软 </DIV>
$ w& t8 C3 I% h/ z D. v2 S<DIV id=lrc19 style="COLOR: #666666">经不起风经不起浪 </DIV>6 Y* @* w# f# O5 e4 o$ j% a
<DIV id=lrc20 style="COLOR: #666666">若今天的我能回到昨天 </DIV>
3 L. n+ Y% H. B! f4 U/ `6 _7 q<DIV id=lrc21 style="COLOR: #666666">我会向自己妥协 </DIV>- A' w1 y! r' p$ x
<DIV id=lrc22 style="COLOR: #666666">我在等一分钟 </DIV>( T7 a- T+ G5 i& z+ _
<DIV id=lrc23 style="COLOR: #666666">或许下一分钟 </DIV>
, u: F& o G g* |" s Z; y<DIV id=lrc24 style="COLOR: #666666">看到你闪躲的眼 </DIV>" N% j) R. o# Z# k4 C+ D9 }/ ]' _
<DIV id=lrc25 style="COLOR: #ff3300">我不会让伤心的泪挂满你的脸 </DIV>
) Z3 T' S6 B! w! t) Y<DIV id=lrc26 style="COLOR: #000000">我在等一分钟 </DIV>0 i r2 h' h, G5 ?8 k3 w
<DIV id=lrc27 style="COLOR: #000000">或许下一分钟 </DIV>0 h1 C& R, F4 N( I% o
<DIV id=lrc28 style="COLOR: #000000">能够感觉你也心痛 </DIV># `8 N* r" B; `9 Q- H- n6 f/ F: E9 t
<DIV id=lrc29 style="COLOR: #000000">那一年我不会让离别成永远 </DIV>
; s K* {& o. d, |' A: V<DIV id=lrc30 style="COLOR: #000000">如果生命 </DIV>3 p/ T2 W! o1 Q: ?& h1 O# }+ l
<DIV id=lrc31 style="COLOR: #000000">没有遗憾 </DIV> |- u& |6 H5 H- f
<DIV id=lrc32 style="COLOR: #000000">没有波澜 </DIV>
, }- {1 A8 p& r, a8 t o/ ~4 P<DIV id=lrc33 style="COLOR: #000000">你会不会 </DIV>
6 n- J" ^" e! B5 J+ u& D9 Y, c& j<DIV id=lrc34 style="COLOR: #000000">永远没有说再见的一天 </DIV>) p9 Y: c3 W, T7 o- ^5 k3 q
<DIV id=lrc35 style="COLOR: #000000">可能年少的心太柔软 </DIV>
7 C& X; Q4 W5 d3 ~<DIV id=lrc36 style="COLOR: #000000">经不起风经不起浪 </DIV>, D O9 N2 V# R
<DIV id=lrc37 style="COLOR: #000000">若今天的我能回到昨天 </DIV>
3 S5 A/ f! t' v<DIV id=lrc38 style="COLOR: #000000">我会向自己妥协 </DIV>" W( m' p, G% Y% S, a" k# T Y/ c
<DIV id=lrc39 style="COLOR: #000000">我在等一分钟 </DIV>
7 M7 I. Q6 z7 a# E7 h. L1 w9 o<DIV id=lrc40 style="COLOR: #000000">或许下一分钟 </DIV>, w% ?2 p$ N0 K# u- e5 ?" x
<DIV id=lrc41 style="COLOR: #000000">看到你闪躲的眼 </DIV>/ Q7 W/ k- k7 g+ g
<DIV id=lrc42 style="COLOR: #000000">我不会让伤心的泪挂满你的脸 </DIV>/ [4 E0 t" _9 K% Z' |% b
<DIV id=lrc43 style="COLOR: #000000">我在等一分钟 </DIV>
& t- v% S; i! t: T<DIV id=lrc44 style="COLOR: #000000">或许下一分钟 </DIV>
- _9 T% Y3 b J# E3 ~+ ]<DIV id=lrc45 style="COLOR: #000000">能够感觉你也心痛 </DIV>/ c4 k/ P( H2 {
<DIV id=lrc46 style="COLOR: #000000">那一年我不会让离别成永远 </DIV>- B% ~& F: {. d" [% m: B$ T+ w
<DIV id=lrc47 style="COLOR: #000000">我在等一分钟 </DIV>4 J' c5 d& _9 b$ Y! z, b9 T9 t
<DIV id=lrc48 style="COLOR: #000000">或许下一分钟 </DIV>
: I! L9 `0 x2 A6 H$ y, [<DIV id=lrc49 style="COLOR: #000000">看到你不舍的眼 </DIV>
9 y+ {3 _; e* c7 p" G5 b1 t5 T: T<DIV id=lrc50 style="COLOR: #000000">我会用一个拥抱换取你的转身 </DIV>7 H( ?" p0 A, A) m1 {
<DIV id=lrc51 style="COLOR: #000000">我在等一分钟 </DIV>$ @3 @& z5 V/ H- ~* J! R+ L1 E
<DIV id=lrc52 style="COLOR: #000000">或许下一分钟 </DIV>
" G _$ T- ^4 b9 U. u<DIV id=lrc53 style="COLOR: #000000">如果你真的也心痛 </DIV>
7 L' b+ s: {3 H3 ?/ M X8 q! K<DIV id=lrc54 style="COLOR: #000000">我会告诉你我的胸膛依旧暖 ' B. Z$ }6 }8 k, ?) z5 }
<DIV id=lrc style="DISPLAY: none"></DIV>
! y6 H" K6 ?7 {4 ~ x<SCRIPT type=text/javascript>
4 { c6 V) I! e6 H: i/ Zdocument.domain="1ting.com";
; ^; j/ x. x/ N% B) w" d# vvar colorPasted="#666666";0 X5 V. k: T' y
var colorPlaying="#ff3300";
! z/ G& s: u! V5 V; ]+ Ovar colorNormal="#000000";
' C" t; D7 I& B. v% O$ = function (a,g){5 ^8 Y/ H- E# Y0 l$ h* A# ]4 [
var o = new Array(); * v* ^% ~3 R7 s8 d
var c = new Array();
) n [. J; U: |2 S6 G var r;
/ l; I3 N+ H1 @5 x. u& P1 I. }( \ var u;
6 @, i( `# s) V1 d/ d% B$ @ ` var a = a.split(';'); ! ]) `: z% V3 |5 y
' f' |& P# _' h$ |( \2 j w" e var e = "keydowns,resize,load,dblclick,click,mouseout,mouseover,mousemove,mouseup,mousedown,inputchange,inputfocus,inputblur".split(",");8 ], T9 _% T( l1 l; ^- ?0 J- O
for(var i=0;i<e.length;i++){! g* \) y$ E/ b% j
eval(e<i>+" = function (s){eval($event('on"+e<i>.replace("input","")+"'))}")3 C- u4 R1 k% s( T
}* [6 }& N2 _0 e) @. ^+ K% p
0 Q- x; U4 a, {: B3 [3 M+ T% ~ after = function (t,d,s){
# C& y% z0 ^3 s7 R4 ?. @) Z& f $after = function (){
9 S! C2 e6 X+ T' v; y var $n=document.createElement(t);) a3 ^7 ~; r5 e
if(d!=null){
, G! \7 U {; Z/ R3 a8 h) n7 K9 } $n.id=d;
$ E! x, C/ R" s0 n3 [" L: f: V }" U1 I$ T! H, a, b6 C5 f
; A; p! V0 R; }
u.insertBefore($n,null) . } E: k, ~ y8 c5 P }
r = $n; ' v: p2 F, i# S+ n) D
u = $n;
! O" Y) K- S4 a. i* _9 [7 v. i; o }
6 u& q. i2 H0 I( ]) t$ M- _% K- j2 } $for(s,"$after")
- U# Y# T1 Y% _7 G0 e% W } I; e. W a- Z1 l! P
4 ~6 ]8 d; r( Q; r! c U* h show = function (s){
* I" G, `; ]6 P $show = function (){# ~5 f, L+ H# I1 D* }& c; J
u.style.display!="none" ? style("display:none") : style("display:block") ;
; ^9 _9 T5 {, B) D7 O/ ]6 P' U }! ]9 D( k7 D2 ?8 `
$for(s,"$show"); x, x4 c6 X- ?5 A
}
4 L$ ?- ]( F6 t& e4 Q" }
, d5 t. @$ B" n! q check = function (t,s){
7 P- A/ p( @2 ^ D1 ~5 b $check = function (){6 J. _, q- K- n3 n4 K
if(t=="2"){
; A) H, A1 @. [# v if(u.checked){0 U, G* H3 v! d% p+ h* {& s! r
u.checked = false;
4 S5 q( P$ V0 p8 K }else{6 X( W1 u/ l8 P- g
u.checked = true;
" n+ J4 I8 J! i8 ^4 C v S }
) G) v9 X2 q, k& t }else{
5 c2 u$ ~- y1 X u.checked = t*1 ;
# u& V4 A. D7 G5 p8 H }$ j( Z1 Z! i4 ~* E. C
}
% t" y Z9 \5 h* ~2 ? $for(s,"$check")
* L& ?& a$ q1 h1 k. [- _3 o; h }7 f( D0 @1 w0 l S2 Q; T6 ~
# z, x8 w9 e& Q' ]2 N0 m
style = function (v,s){
5 o1 R4 Z0 f9 r% w0 Q8 r/ J $style = function (){
; P+ e+ t# ^+ \5 |: a var $n = v.split(",") ! L/ x: A g" b: Y+ }& k
for (var i=0;i<$n.length;i++ ){
1 |" ~1 T& \; A3 Z var $m = $n<i>.split(":") % Y* h1 U; b+ f8 [+ t! p! b! L9 H
eval("u.style."+$m[0]+"='"+$m[1]+"'");9 Y) Q: d) x0 Z0 e4 i5 f, L
}
. e& h* `; d2 A0 @% z+ v/ G }
, I0 J% i- f4 C1 I! d" ^2 c* U $for(s,"$style")
* F+ a: X: [# H( _4 q }
3 B# s4 A% F" e
7 M. C# q$ W9 N$ [5 r3 b' m value = function (v,s){* k8 R* d, J: X7 c, }
var $n= $this (v);, W% z" I0 q \: M' l
$value = function (){7 p. F' V$ M) b7 m* p9 B
u.value = $n: e- h# N6 m6 r& F. @
}
% F+ m# J3 \, S( h7 c+ P8 I $for(s,"$value") / k; A- h0 b3 S: q6 f( T3 |! d% x
}- l {$ s" W+ K5 k$ X& a
, q. \8 ^; C! |3 Y text = function (v,s){
3 x7 w0 Y6 U0 v. K, b8 ? var $n= $this (v);
- [5 A: ?) q' C2 J, u4 b $text = function (){0 X- i. U5 v# U2 Q! R! K
9 u! s4 x+ h J7 ^- |, a8 f/ \3 j$ U- M
u.text = $n
* {" o# K$ f0 C0 S h }: f1 P4 X3 B2 ? ~% d2 L
$for(s,"$text")
/ u- @0 _9 u: A- U j; O }9 K5 T, D. |$ r7 `
+ [. ?3 _; H% [3 a. g. d
innerhtml = function (v,s){
9 w/ `9 b- g& h3 x var $n= $this (v);
- F& |# o" r5 x $innerhtml = function (){6 t* z! {. Z" g& S- f" {+ \
u.innerHTML = $n: Z" u; w* y# u- ? c
}
0 C# X4 X7 ~7 R: X $for(s,"$innerhtml")5 U" f: a' ~% _+ Q
}/ }3 P$ @" E" K& i6 H/ n- s
% V7 L8 D, I; U2 C) j
removechild = function (s){; Y3 S) C! I" z8 `0 j
$removechild = function (){
; c% a: f! }0 K u.parentNode.removeChild(u)4 u% C( R" Z* C3 ]% [6 G) `* g
}1 H: Y, E! d- j) ~/ V
$for(s,"$removechild")3 u- l6 } A" ~* D: F1 t( a
}( \* q; h$ J7 y/ p/ t5 Z
2 F X# o0 @) ~( B
$this =function(v){$ b4 S' \1 Z" p @9 U$ }1 V8 Q
if(v.indexOf("this") == 0){
- |2 B2 _5 ~' B8 V return eval(v.replace("this","u"))
! |& M' J$ r0 J/ k8 i) p2 @ }
& k! g) i9 g, A- a return v;' Z% y' E' r* {$ Z+ G, d! T8 O2 N
}
4 c$ U$ o) w* \, S8 E. s" E
0 k4 s6 {3 ~) ?+ m8 n% Y $event = function (s){6 j. K. r) G2 a6 t. h3 f
var $n ="u."+s+" = function(){$work(this,s);}"" u6 g" f' _( e" `4 }9 T
return $n;
0 P! K8 }* y% X, H }6 f6 a* c, C3 ^& C
. b& x9 q# h+ r# M/ j
$replace = function (s){
+ y- y9 ~4 a3 r, x3 v, M
: S. y$ U6 l" q }
' l- g) j; }" Z0 p7 @% \7 v6 e, b) l7 n9 u% L. m
$for = function (s,c){
: h; t2 h8 l+ P var $n="this."+c+"()" ;
4 ~; \0 z( G! H; o! q, a, r if(s!=null){( k0 g' A5 @" z$ Q9 J* D+ v
var $m =$test(s);
1 e! k9 A6 z" J* J for (var i=0;i<$m.length ;i++ ){+ o7 V( B: ^- q0 l1 |: s. c
u = $m<i>;: _2 ~. }( `& {/ o2 B
eval($n);7 t' s1 V! O1 u
}% E5 E C% O. h6 v2 [2 Y
}
7 }/ J4 [! O5 C% N' j9 X( \; E else{0 p/ v! ^5 x2 m9 d# Y! B
eval($n);
- b! k1 l5 e% G7 ]2 Y# Z' x }
4 s F+ L9 ^. \% ~6 `$ Q( y }
1 e/ P! Q2 g4 u: G* }" j , G- Y8 h( C* T; H
$test = function (a){
* E' N% f5 q; s2 R var o = new Array();$o(a.split(';'),o);* L; b& G; w: M* { }0 r
return o;
2 A, m3 v8 ?! \7 D! a* E0 {7 L }: H1 f- a* P, ^9 s9 W$ ]8 @# Z6 B" B
O7 _8 a4 q2 e6 O, Z7 D $format = function(s){
# N, O$ _2 Q6 | while (s.indexOf("'")>0){
) i% D4 Y' \' M* h1 J& U s=s.replace("'","\"");# S" P& \& H* x/ O+ [
}1 |5 n, f+ z( ]# k
while (s.indexOf("][")>0){
3 Y* b" h" Q% }+ n, a; R( u! |% C9 c s=s.replace("][","','")
- {1 |: S: N/ l! t2 F. Y+ T7 g }
! \& L9 T" }3 [" n, f5 Y$ x while (s.indexOf("[")>0){/ s) C( B: ^: U* X$ v
s=s.replace("[","'").replace("]","'")
, ?/ Z1 {" W7 [# k6 L' v }
; f: s3 L! K. [- y return s;* G: N* t# E. x0 o% Z q' D
}2 n' p% Y& l% A* J# A
5 Q" J! I+ I8 b! d5 a $work = function(w,s){
' j2 D' N. [5 t% {0 }7 v: O u=w;eval(s)
1 G2 w( i. P$ h5 K3 i9 ` }
; S7 D: d' L, t9 t
. R" `" G) Y$ K. f q9 F0 D' A. j; M $id = function (s){
/ d; T3 R7 M& `6 _ return document.getElementById(s);
R: e& Z0 q% G8 m }2 D% w1 M; ~! m* e& l" R
; z9 } e7 d6 C3 w0 \' y8 \! y
$name = function (s){
5 [" O3 {1 l. q: [: w return document.getElementsByName(s);
. \: b" R0 f8 f3 F* r! v' ` }/ k5 e' a; d* B# h! |6 k1 z
6 w% I* p& b, d+ {3 \* _- n. s6 X $tagname = function (s){
( v. ]( W; N6 [ return document.getElementsByTagName(s);0 N$ e* t5 C1 z
}
- C+ r# I) u/ P4 r) Q7 R' e' X/ l
4 S w1 i4 ^& K $o = function (a,o,c){
3 C3 U- l" g: ]6 k# y* L $push = function (n) {
* S/ O( ?/ Z, Z. X3 C( \7 k for (var i=0;i< n.length;i++ ){) C# [) O) z0 J* e+ ]0 z
o.push(n<i>);
+ H3 L3 t+ ~1 g2 o8 |' ]& Z }
& ^% Y- |# e z$ ~& x+ ?- B# S }
$ m8 T5 e2 W, d) _4 W, A0 q2 @ for(var i=0;i<a.length;i++){
8 g% L7 e' g+ `6 l1 u if(a<i>.indexOf("(") >= 0){: ^8 P' u2 C) |# R9 g4 e
c.push(a<i>);
3 U' I# ~9 U1 z, |4 Y* i6 W w1 _ }7 b& L+ ]. d+ _, {. G3 z
if(a<i>.indexOf("~") > 0){' ~ \: j* [0 `- T1 `4 Z7 H. |
try { h. x2 x" N4 j' f) q4 `
$push(eval(a<i>.replace("#","document.getElementById('").replace(" ~ @","').getElementsByTagName('")+"')"));& z3 O: H& S$ N# V* ]$ N
}catch(e)+ j- s8 Z2 A6 _! f* s
{}
& Y- K- U; n5 _' N. o }
: z# V/ J1 a$ ?5 y6 ]" t1 `+ T else{' p3 v9 u% E" C9 z9 Q: b# a8 o
if(a<i>.indexOf("#")==0){
, q' U* c4 y6 E" `% F o.push($id(a<i>.replace("#","")));* m% s, N- a1 y+ f4 @
}9 q5 _" V! G3 @4 f7 ^
if(a<i>.indexOf(".")==0){
, x- m+ B% [8 y8 q6 {! R3 v $push($name(a<i>.replace(".","")));
9 ~3 G2 a. O/ R6 P7 r- L }3 l7 D- s x- L, s2 A
if(a<i>.indexOf("@")==0 ){
9 h. _1 I- v3 B/ A) {& [/ f7 }; c/ U $push($tagname(a<i>.replace("@","")));% f% J) n& C2 R+ F2 d
}7 d! Y. z0 A' H9 w7 k L
if(a<i>.indexOf("*")==0){2 X" H" ^; G) o
$p= a<i>;
- B! s! n, l" d9 Y* C" N$ D if($p.indexOf(".")< 0){
5 c' `3 i% }4 h. T; m $p = $p.replace("parent","parentNode")
/ i0 f$ Z4 y5 q% F0 B }$ ~* z/ h* }* Z5 V9 s: `* F
var $p ="u."+$p.replace("*","");
8 {0 ~+ o. N" i while ($p.indexOf("parent.")> 0){
* i/ d8 s8 L7 M $p = $p.replace("parent.","parentNode.")/ ~- f1 T/ `7 k- C+ _ }
}
% a8 | ^: f" Q/ N$ S4 ] while ($p.indexOf("child{")> 0){
* o7 y# d E5 P n4 d6 Z" Y $p = $p.replace("child{","childNodes[").replace("}","]")+ ^/ X( J& g G$ \! O: l ^
}
# b3 \3 c0 ?" O4 e$ w8 Z o.push(eval($p));) |. O1 B; k. k; g; q0 a" f
}
+ ^: g$ q6 U2 a) x3 d if(a<i>.indexOf("document")==0 || a<i>.indexOf("window")==0){& J9 s! e4 W( }1 C% I
o.push(eval(a<i>));
: g, h) k9 L- Y" q* l9 K2 M }
4 T$ d! P. X1 x# X5 x# w2 g }# W4 {$ {) a6 @: E: j' O7 W
if(g!=null){
' U4 o6 y/ }8 G5 o1 |5 o3 Y o.push(g);g=null0 S( `3 t# o. @0 X( V
} ) R, |# W$ l/ \+ B& `" }
}" D. [: E& L9 e: b: s# o: X1 l
}( a F# ~/ z) f/ m; e2 C, G
: I' K! h9 @, C/ e9 |8 X% d! B ?8 C $o(a,o,c);
8 c, }0 k) I# u+ d0 w4 t `1 \" \$ ~
for(var i = 0;i<o.length;i++){5 B3 X- F6 ?3 Z
for(var j=0;j<c.length;j++){
' _9 R$ H" V6 J0 e8 | u = o<i>;eval($format(c[j]));
, \- |$ r' M% e _+ G7 } Z }
# f4 h, @! T( z% c }6 u) P) v; r1 o( p
( z& M! H9 V* V) ` if(o.length == 0){
" r9 s' f6 C3 k( H0 G7 J0 L) ? for(var i=0;i<c.length;i++){* A. {1 S* B% |! H; x u
eval($format(c<i>));3 M M. C0 W0 \6 j
}( {, ]6 `6 T& C* c
}
& {- e+ ^( _* ]' b4 Y& h . W4 Q8 Q9 ~# J) r: p
if(r!=null){2 x) {& U( P4 c
return r;
7 x# t0 `8 e9 |, k, P% @" r }
# F6 j/ Z) ` c& |& ^- Y# u. f! e . P' u5 [* E! U. a `$ g
if(o.length==1){
: p' |1 l& \, G8 j4 h& K g# Y return o[0];
% _6 K- L: u# z; S2 Q" f- d }
2 M. V1 z$ H# h# a! k0 y0 C else{
]) `! z, ^$ e return o
/ Z: S! ?' K/ F# i" |; \8 v5 s0 n }
" h( `- x3 f: I2 L& C$ [( B4 Q* K) a4 U 4 ?# f+ `9 ^" l5 t ]8 t0 e2 D
}
8 K9 x9 ~5 U1 o/ {# Dvar lrc =$("#lrc;show()").innerHTML.split("[");
9 I$ `6 `2 J' ?+ R7 ^" ?if(lrc.length>5){
0 Y( Q0 J4 P5 {8 Avar array = new Array();
) V0 F2 i& s: z( j8 X8 e2 |' r% e7 Efor (var i=0;i<lrc.length ;i++ )
. T& @3 @, y2 U# L3 _5 l2 `{
; @6 y5 i, C7 q `1 U var g = new Object();7 r R* S, `4 \
t= lrc<i>.split("]");
& l! S6 U1 Y" V U1 F% Q g.time = getTime(t[0]);
/ f8 s1 J; z# f5 r7 f' o2 d if(isNaN(g.time))
% G2 p2 i4 B; k; D continue;. j9 B+ G2 K. G
g.c = t[1];/ f5 `( M/ S _
if(g.c == "")
, T2 F$ x. x5 M' ] g.c = getNext(i);
, n2 a' c! a& ^% W0 m _' h h2 H array.push(g);2 s4 X& J, |6 L' E" `2 Y+ w' s: S
}
5 B6 A! j/ P4 @3 O# \8 C0 p# jarray.sort(function(x, y) {
) s' q/ `7 o: Q1 X! w if (x.time>y.time) % Y/ Y+ [- b. g4 b* J
return 1;
, b( y B4 I1 i s else if(x.time<y.time)( f5 C+ X/ `' R4 _3 T/ o, i- m
return -1;
H. m( T* F5 k0 Q, r. { else
3 G* e$ D1 n3 g9 R return 0;
+ s/ V* _1 W; L$ {+ F }
" j t6 j( {3 w3 g* T, l) e);
: c% E7 g% t1 l) b( j7 Pfor(var i = 0;i<array.length;i++)
4 m# c; x: y# N' a6 K. q4 ^{
* ~) N# |5 R6 m+ R* R! n' ] var g = array<i>;
" w. B: D- g8 U% }5 O: E O if(!g.c){( i1 V# ^7 {6 V- L8 @' [( w! a
g.c="";
$ ~+ j3 ^( J. c }+ Q1 {6 E# r I, _. o4 l8 g( _! ~
$("#list").innerHTML+="<div id=lrc"+i+">"+g.c+"</div>";# ^+ ~% r8 ]2 B. j/ ~
}
9 i1 T0 `8 z4 y7 ^0 xvar time = setInterval("lrcList()",500); 9 o4 ?5 a* l/ h/ |8 r; S
}else{
5 Q0 {$ f. p$ i0 o $("#list").innerHTML=$("#lrc").innerHTML;0 {6 \( ?' V9 U/ r8 ?) c! G
}
+ H' a, U: J+ p4 S) Vfunction getNext(i)' @+ U" u! v! D, H/ y6 s
{6 l. O; @0 N. e7 b
var result = "";
% F; G" C5 u# N; `# _ var i = i+1;
I" C; b4 N$ _- |) s t = lrc<i>.split("]");
d7 x+ O8 [( A2 m3 K if(t[1]=="")4 b2 s1 T* p. R: k0 z3 e
result = getNext(i);
% L! u6 D$ H2 n0 T% h else" P+ I( [6 G( p: f3 O
result = t[1]
, v: O8 G! y8 D return result;+ ~1 x; @4 l# T! f; _$ z
}
& t$ j% |/ w! j" J+ Q
9 q0 q0 w: ]7 ~- y8 A3 I% yfunction getTime(str); u* m) A( ?* k( V6 i- v( S2 Z
{3 g, }* q3 J5 L5 J0 Z! Y M
var time =0;
5 j* R5 u2 P! V6 L ^* g var ta = str.split(":"); F1 [/ h4 I% ~% M; [' b3 A
if(ta.length<2)" q y& E( _6 k: o0 P$ i
return time;2 N. B% {) H* D, y# C g! V
" a* Z8 X; S+ I( A0 t7 E
if(ta[1].indexOf(".")>0){& [9 ~) o* |, d/ O; _9 p Z5 |
var tb = ta[1].split(".");& Y: v$ J0 O3 v8 Z6 G* B0 |3 n0 |! B
time = ta[0]*60*1000+tb[0]*1000+tb[1]*10;$ N) E; B9 u5 w: }
}5 P1 Y y' f& B8 _# ]; `6 Z- U
else O) D- o1 Z$ P9 ?0 S3 {1 C+ ?
time =ta[0]*60*1000+ta[1]*1000;
1 v, M8 \- L' a6 k U4 x; a8 k. O return time;6 j, c# l- W/ ?
}% J. T I2 ^7 D/ x
var preTime = 0;6 G7 I2 w5 {7 i+ `) P
var nextTime = 0;
" m" p9 p% T1 G4 S' tvar currIndex =0;" {7 t* [( B f V- Z, v
function lrcList(){
' |% |4 i2 @. X3 A# H% X var s = parent.document.getElementById("MediaPlayer").controls.currentPosition;9 @- I$ X& ~9 i ?3 Y1 p d
s = s*1000;
8 @' K3 u' S3 M, t2 A if(s==0){
. G; d4 [- `; z) M3 h7 E currIndex =0;! g0 c' @& @* u7 S4 t) @
$("#list").scrollTop = $("#lrc"+currIndex).offsetTop-30;
W" B3 [: l. ^' L- W# S, V# ?$ r for(var i=0;i<array.length;i++){5 r g9 j3 C' _/ `
document.getElementById("lrc"+i).style.color=colorNormal;
* h, N1 W2 m: ~( G6 ~9 {5 z }
- b5 P, k/ J9 i return;! G* ~7 `$ X+ [- K3 E0 h$ v! h0 i: }
}
, E2 p0 j: F) S% S! R) |$ b if(s>0&&currIndex<array.length-1)
, ?$ I2 t1 e' I {
4 U$ ]( |" A: {/ d. P( J preTime = array[currIndex].time;- E" S" [# k1 ^' X
7 z r4 i5 F' p2 `8 g( u' M! l nextTime = array[currIndex+1].time;) k8 ] Y+ n, @- n7 f' h
, f, J8 Y2 z% \1 g! _8 _
if(s>=preTime&&s<nextTime){3 X3 R8 e% o! _+ T, U5 y/ h% F* l8 K
}% [8 e: }. K6 ]) v( o& C5 [2 \. u) s% _
else if(s>=nextTime)
6 `) w: [) ?( u- \$ k) \( v, w {" ?/ n. {$ Z5 ]& C) e
document.getElementById("lrc"+currIndex).style.color=colorPasted;2 V: E5 a0 l5 G
currIndex++;
% J7 R# O9 H- J0 |+ a2 Y( D0 V. l $("#list").scrollTop = $("#lrc"+currIndex).offsetTop-30;
7 Q" ]7 `0 S; I+ A& _2 @ document.getElementById("lrc"+currIndex).style.color=colorPlaying;& A2 |5 \' Y) m/ I1 \
lrcList();( N/ S2 |' v5 g$ T4 S" [
}
$ A+ w& K+ ^# s else{
9 C: _9 T j: P document.getElementById("lrc"+currIndex).style.color=colorNormal;
2 K. X& s) ?2 \ q0 C currIndex--;
, M& n0 j, K/ [% w% \( L $("#list").scrollTop = $("#lrc"+currIndex).offsetTop-30;, H$ M3 t3 T" l, o5 y
document.getElementById("lrc"+currIndex).style.color=colorPlaying;
: j- C5 I1 b" ^! F1 E lrcList();5 P" b/ i7 [/ A+ `- j& q$ E
}
, B+ Y; h4 Z$ H }/ q5 g9 `5 J2 [/ T
else
e% b2 X7 j0 H! ^) w$ ~ {
" I+ L% I- V% a/ F S) e if(s<array[array.length-1].time){
7 f) o& `/ t P. w/ n& h: D2 J0 v currIndex = 0;
0 G$ K! `8 L/ R7 e/ d0 {# D $("#list").scrollTop = $("#lrc"+currIndex).offsetTop-30;% X0 h. t4 v# `% j; I- I P
for(var i=0;i<array.length;i++){
: @6 ?# l! } l document.getElementById("lrc"+i).style.color=colorNormal;
2 S$ w; Z3 i. G }
: v6 b" P: A1 g. y7 y5 V lrcList();
4 B% D2 q* `% q4 n" f }
. A: l5 K; W4 B, j }" o' @+ a9 K+ X
}
3 c- a7 h, q7 x' Q8 G- L+ z</SCRIPT>
S$ `. D9 K8 n1 w# E</DIV></DIV>
( Z6 s; c2 T" E% _$ G, x$ ?8 b- ?& L. H1 I, y. O5 A" M
[ 本帖最后由 幽谷兰 于 2008-9-18 17:36 编辑 ] |
|