|
|
<DIV id=list>
2 N7 `6 B3 U% m<DIV id=lrc1 style="COLOR: #666666">[wmv=0] http://lzbj.ncedu.net.cn/uploadfile/20083923248279.mp3[/wmv] </DIV>
1 D8 Q! S7 @" O5 z<DIV style="COLOR: #666666">|等一分钟|听到这首歌,觉得它很动听,旋律很优美,很是喜欢,传上来给大家听听。</DIV>
9 o! }, H* t; ?<DIV id=lrc2 style="COLOR: #666666">词曲唱:徐誉滕</DIV>
3 a6 S1 k+ K, b2 G! E) U<DIV id=lrc3 style="COLOR: #666666"></DIV>
2 ^$ p) Y8 a4 ~- i% \<DIV id=lrc5 style="COLOR: #666666">如果时间 </DIV>( a* v& o- _5 v# S( ^- _
<DIV id=lrc6 style="COLOR: #666666">忘记了转 </DIV>' G6 ]: G' b% l8 D3 ~4 d
<DIV id=lrc7 style="COLOR: #666666">忘了带走什么 </DIV>
" p6 y0 h- X% _<DIV id=lrc8 style="COLOR: #666666">你会不会 </DIV>; d/ D4 T. t; n N/ O& g5 N+ _) E
<DIV id=lrc9 style="COLOR: #666666">至今停在说爱我的那天 </DIV>
& l6 I5 _$ ]9 e! q' ~; y; `+ _<DIV id=lrc10 style="COLOR: #666666">然后在世界的一个角 </DIV>* X* h7 K2 l/ E$ L( b( Z( ]
<DIV id=lrc11 style="COLOR: #666666">有了一个我们的家 </DIV>
3 M! X. U! Z# w0 {( `4 X- f+ {1 n<DIV id=lrc12 style="COLOR: #666666">你说我的胸膛会让你感到暖 </DIV>. y; A0 y+ x/ N
<DIV id=lrc13 style="COLOR: #666666">如果生命 </DIV>; |, v0 ]1 W! a8 A. d# C2 [
<DIV id=lrc14 style="COLOR: #666666">没有遗憾 </DIV>
6 w2 |4 z5 e* }( C# U6 x( d<DIV id=lrc15 style="COLOR: #666666">没有波澜 </DIV>
" f) O; J) g/ w<DIV id=lrc16 style="COLOR: #666666">你会不会 </DIV>
1 Z: q1 t5 H+ q- i<DIV id=lrc17 style="COLOR: #666666">永远没有说再见的一天 </DIV>
0 x1 t1 m' _: n1 O) }<DIV id=lrc18 style="COLOR: #666666">可能年少的心太柔软 </DIV> w; z# g5 \. G0 n: n) j# f
<DIV id=lrc19 style="COLOR: #666666">经不起风经不起浪 </DIV>
6 }$ I8 m7 M( R( _$ S& S' a4 P j<DIV id=lrc20 style="COLOR: #666666">若今天的我能回到昨天 </DIV>
$ I- P+ r( `/ c) p, f. U7 r<DIV id=lrc21 style="COLOR: #666666">我会向自己妥协 </DIV>2 x0 Z; c9 p5 `$ C* J3 u
<DIV id=lrc22 style="COLOR: #666666">我在等一分钟 </DIV>! ~" e1 t; w/ A! R# u/ a, ?( p
<DIV id=lrc23 style="COLOR: #666666">或许下一分钟 </DIV>
8 p- E2 R/ d2 K+ ^% @/ T% ^& y<DIV id=lrc24 style="COLOR: #666666">看到你闪躲的眼 </DIV>* J4 o, }+ |5 S$ |0 P y& \3 i
<DIV id=lrc25 style="COLOR: #ff3300">我不会让伤心的泪挂满你的脸 </DIV>
; v) n) x# p( B8 h/ U) X<DIV id=lrc26 style="COLOR: #000000">我在等一分钟 </DIV>+ f0 n( c- _' e/ D3 I& ~
<DIV id=lrc27 style="COLOR: #000000">或许下一分钟 </DIV>
% w7 d* c- N- m1 p<DIV id=lrc28 style="COLOR: #000000">能够感觉你也心痛 </DIV>5 y4 T9 x! d# b& K% }
<DIV id=lrc29 style="COLOR: #000000">那一年我不会让离别成永远 </DIV>
8 W9 K/ C% e2 V( b q5 y<DIV id=lrc30 style="COLOR: #000000">如果生命 </DIV>( }, ]9 P: d0 P7 K. t5 U
<DIV id=lrc31 style="COLOR: #000000">没有遗憾 </DIV>
3 ^9 ^% d1 T( T! r3 v/ a- N<DIV id=lrc32 style="COLOR: #000000">没有波澜 </DIV>: h: |8 w1 h% D! p9 B. i% l
<DIV id=lrc33 style="COLOR: #000000">你会不会 </DIV> j, K" k C0 @, R# r" d
<DIV id=lrc34 style="COLOR: #000000">永远没有说再见的一天 </DIV>* Z2 E) x5 s( P
<DIV id=lrc35 style="COLOR: #000000">可能年少的心太柔软 </DIV>: @ z/ f5 i6 r+ H4 e
<DIV id=lrc36 style="COLOR: #000000">经不起风经不起浪 </DIV>
, _$ ~+ }8 D' v H0 t1 f<DIV id=lrc37 style="COLOR: #000000">若今天的我能回到昨天 </DIV>6 s9 e$ O( k g1 {# @% q
<DIV id=lrc38 style="COLOR: #000000">我会向自己妥协 </DIV>
7 K: T/ G' M# q! V0 d<DIV id=lrc39 style="COLOR: #000000">我在等一分钟 </DIV>& U+ ] Q; w0 u& ?4 A
<DIV id=lrc40 style="COLOR: #000000">或许下一分钟 </DIV>
4 F1 V5 r1 z% ~. w; D<DIV id=lrc41 style="COLOR: #000000">看到你闪躲的眼 </DIV>
6 g. k* `4 C" d8 Y- W. ^<DIV id=lrc42 style="COLOR: #000000">我不会让伤心的泪挂满你的脸 </DIV>
, K3 H- ^/ g$ m- X: U<DIV id=lrc43 style="COLOR: #000000">我在等一分钟 </DIV>( o6 p4 K* n. s `
<DIV id=lrc44 style="COLOR: #000000">或许下一分钟 </DIV>5 E1 T. R: h+ w3 F
<DIV id=lrc45 style="COLOR: #000000">能够感觉你也心痛 </DIV>* K' Z" A7 n2 U
<DIV id=lrc46 style="COLOR: #000000">那一年我不会让离别成永远 </DIV>) G3 [# q: |0 z
<DIV id=lrc47 style="COLOR: #000000">我在等一分钟 </DIV>
& R1 U/ N1 g7 N3 k7 h$ w<DIV id=lrc48 style="COLOR: #000000">或许下一分钟 </DIV>6 X* D; R1 \# x$ L3 P- k+ y
<DIV id=lrc49 style="COLOR: #000000">看到你不舍的眼 </DIV>
9 X0 M3 r/ q9 |+ p* S* D. t% V5 H<DIV id=lrc50 style="COLOR: #000000">我会用一个拥抱换取你的转身 </DIV>
" ^3 u5 b4 F( h<DIV id=lrc51 style="COLOR: #000000">我在等一分钟 </DIV># g. ~# v- ^( z5 r2 e( S" |
<DIV id=lrc52 style="COLOR: #000000">或许下一分钟 </DIV>1 t! I- U/ h& F
<DIV id=lrc53 style="COLOR: #000000">如果你真的也心痛 </DIV>) b& J/ y0 p, W
<DIV id=lrc54 style="COLOR: #000000">我会告诉你我的胸膛依旧暖 4 ^6 K# o: n# c/ Q1 e" A6 N- d7 M
<DIV id=lrc style="DISPLAY: none"></DIV>+ k1 m, O; H# p1 @$ z1 P# u
<SCRIPT type=text/javascript>
. i R( n5 C7 G4 @* j8 ddocument.domain="1ting.com";
; V; l# ~ a3 [var colorPasted="#666666";: |) \2 n6 o% J) V( g6 r
var colorPlaying="#ff3300";0 }1 a+ ^/ N+ ?! k: i, G% i8 ]
var colorNormal="#000000";1 j& _. E t- V3 ]5 o) a, r( Z
$ = function (a,g){
- l% p; e( Y" v$ H0 |) o9 P) L var o = new Array(); 0 t* o% h2 Z# z' U5 O$ Y
var c = new Array(); : C: h5 B3 ?2 G. p# g0 B' F+ ]$ k
var r; - ~) `. p q2 j
var u;
4 c: p6 m8 v( Z9 V7 y9 Y var a = a.split(';');
- r# i0 X: q' h, \) L- f# X( W' a7 O) R+ B
var e = "keydowns,resize,load,dblclick,click,mouseout,mouseover,mousemove,mouseup,mousedown,inputchange,inputfocus,inputblur".split(",");0 L" g- [/ @) w% F, O
for(var i=0;i<e.length;i++){7 [6 Y: L7 g! f- R% \! _4 G
eval(e<i>+" = function (s){eval($event('on"+e<i>.replace("input","")+"'))}")8 n( ]9 ?- D7 m# W! y
}& _! w3 h* n) k: {7 C R
/ B; U1 B; ^7 O! N* @, p3 P after = function (t,d,s){
9 F6 P, I/ d% i" B+ D6 D3 } $after = function (){1 G' i8 v' K5 R
var $n=document.createElement(t);# Y- ^/ V$ L& ]$ \) J% `& u
if(d!=null){- X# {9 g3 ]: k" k% g) ?+ s% s
$n.id=d; . b; Y/ `- i) z$ W, R+ L9 V
}
* O5 i4 ~9 G7 W+ A, g7 y
8 S3 ~: Z$ `& x2 i5 W u.insertBefore($n,null)
! g! {% s) R7 w: y+ C; u r = $n; & o7 b4 t/ o1 x O& {
u = $n;
' l6 v+ O0 r! a, ^! A }
8 o. s$ ~! H1 n $for(s,"$after")
3 D7 T7 m6 V1 }0 P) @3 c }, H% H( D h) |8 o* |+ f
! R' m5 M* A* I& W [
show = function (s){
7 b/ ~7 r, g# o3 {+ Y1 c2 | $show = function (){
8 l g/ U' l. l: Z. g6 i5 L' U/ C2 d0 `% A u.style.display!="none" ? style("display:none") : style("display:block") ;) n" ^2 T# [- g# w) b/ X
}& J' f/ {, s* z, D
$for(s,"$show")
6 o5 g$ v. [# S Y; e, _ a8 h }
, n# b* ^! p4 W. R) H
/ x+ Z; l x+ Z- i check = function (t,s){9 l" h& b: w5 H+ T5 T
$check = function (){
& q& e% c! X2 T" g if(t=="2"){
8 A" k# T3 l/ H5 i6 G1 B5 p2 p [ if(u.checked){
) ~7 ?, i# o1 M" |) T( S% C u.checked = false;9 ]; L/ _5 @; m) N* @; P" r
}else{
6 V+ [- C f% V. Y u.checked = true;( Z% v" I1 {9 N P
}
) \( o' H$ `! r }else{ U/ u* _* d8 l: E/ g g
u.checked = t*1 ;) I7 u# F: }8 | `
}8 [9 s% }' m9 l% ^/ i8 r
}/ A9 ]% ?, Y4 |# d% ?6 ~ A$ R
$for(s,"$check")
& Q" r% g1 v) e6 d# F }
7 D" w) A! w& V6 p4 Z& [, ~( L, |
- e: H% n, z8 [& i+ T style = function (v,s){
. c' L: N2 t' A2 i+ A+ q $style = function (){- a) H1 l; Q" N; ?
var $n = v.split(",")
0 L" B! ]! ~. n for (var i=0;i<$n.length;i++ ){. o @7 |7 g: _$ t/ ]3 b$ {4 b
var $m = $n<i>.split(":")
8 h' O0 z( h% T7 M eval("u.style."+$m[0]+"='"+$m[1]+"'");, g( {; q: E, G
}
K/ V) ]# I" i9 }1 K }
* P* j0 Z1 s6 [* x# L% K $for(s,"$style")
1 _+ h/ F( R' {: u% S }2 [$ v; |' J$ w
7 `/ M4 Q0 K. B) w' S
value = function (v,s){
: T: t! L# g; c0 `4 I var $n= $this (v);3 U0 Q+ B* s1 E- _8 @
$value = function (){1 W$ l# B ?4 A6 d5 {
u.value = $n& R$ H6 T! c$ d, h; X; G+ D/ n
}. Z5 g0 o4 R/ t
$for(s,"$value")
! Z' F& `2 \# t; n8 S }# U! S# D' S6 |# l
) S7 g: E, S% C
text = function (v,s){
' Q5 F+ s; t3 b1 [4 E4 p var $n= $this (v);
+ j0 D$ m3 e9 I4 z! c$ o9 s. B $text = function (){' r: d/ z5 y5 @! m
- d; r' {! j1 W. r4 Y6 C; X/ _1 T
u.text = $n
) Y1 Q" ]9 C5 X0 {0 i' ~8 w }
0 r6 n" a5 E+ U $for(s,"$text")
7 b3 K5 g( |. e0 { }
- q5 V" C& l0 R5 s; s3 x. a
u2 p; o0 o7 H3 X; E: B+ n1 y innerhtml = function (v,s){
9 L! c& e. u5 o9 k# \$ k var $n= $this (v);/ u/ h9 t, a9 b/ s
$innerhtml = function (){! X; P- y1 b7 _' K, b% j: X! u
u.innerHTML = $n6 |8 t; B' V6 N! V7 D0 p& ~
}
& q; u# _7 m+ ? $for(s,"$innerhtml")
" K$ T7 j! o+ g+ y8 L$ S }
l) Y& U1 U$ B! r* m
' X$ e# T+ m8 p. g0 i' T8 O removechild = function (s){
! [4 m( b0 m k, z $removechild = function (){
2 ^( f( x) i4 u" B u.parentNode.removeChild(u)7 n/ n: U! v# K: p S# @) P
}7 Z( ^; y2 u9 V+ r$ Y
$for(s,"$removechild")4 d; ^+ r+ V5 P/ H. [% y0 ?
}
, F3 x' [+ S! f6 Y+ w
( J3 f0 W7 u' e2 N; ` $this =function(v){
' S3 ]. J1 k; T; c+ p if(v.indexOf("this") == 0){
) e6 `- X( C. F& X return eval(v.replace("this","u"))0 e' ^ |! h6 O, z% a
}9 q# e+ h6 M5 E
return v;
. k. D7 c& v& F& ^) c* R }7 S% b8 m# Y$ m( A }1 O1 c
& M6 M( u1 ]+ r+ t: n, l $event = function (s){4 Y3 E1 |) M! t. X+ t2 _
var $n ="u."+s+" = function(){$work(this,s);}"5 W \$ {: ]: ^9 m3 N
return $n;. x" m7 T0 `/ G9 s; P: }9 g
}2 h) ]/ H0 ~+ l" l {% c
' F. n4 {) B3 l8 O, ]+ S $replace = function (s){0 P+ f2 y, f( T* ?% j
; Q* e$ n5 n# ^8 N }
& ?3 f( \2 C- w' f
" e; F, Y7 x/ ?" v" d/ z! i& t" c+ C' l $for = function (s,c){
# h s- G9 O1 h var $n="this."+c+"()" ;
) u7 w4 m% D- Z0 V% z3 u if(s!=null){
. N' ~) o, x4 P: l" Q* i var $m =$test(s);
& R# M, t$ n) }* L0 A) P, L7 t for (var i=0;i<$m.length ;i++ ){
; x* r+ m+ r# v" T0 h" u u = $m<i>;
$ x+ b0 U6 e n w2 q& d+ o eval($n);
3 @' m7 h j( H( J9 N5 \: W2 v, U }
$ P$ G5 S. o$ ]% s- B1 c/ T/ w% l" [ }+ b, c1 ~# b: s6 t1 F0 P; Y
else{
7 F P9 u: y* |: [' S9 U# o0 V eval($n);
+ B( q& s& ^# X2 D0 i) D, F4 z }
8 @ u' e; n; f0 x } y1 W. m' F, z: T
+ h+ t3 y' j- V& O) ^ $test = function (a){
# j/ Z8 T& W7 r( Q var o = new Array();$o(a.split(';'),o);
6 G0 `3 M9 i+ }3 E return o;
' {; \3 r! _& N( C! A1 m! Q }
) `& k5 t: I1 p" S! W/ B& d
# T0 z- S) W9 O $format = function(s){" U6 H* T% j, b/ E3 c
while (s.indexOf("'")>0){& t1 s) r. J4 _1 n) _0 h" ~
s=s.replace("'","\"");/ I) p. h' ~4 g+ f) b" v6 ?
}" y( m" P1 o- d* E
while (s.indexOf("][")>0){
! X# |" U. ] Q' I! ^( t s=s.replace("][","','")
( C9 C4 c d y }3 F% l& M+ ~8 m" H1 G6 @3 w
while (s.indexOf("[")>0){8 M. s5 ~- |/ n
s=s.replace("[","'").replace("]","'")6 B1 O" o! D+ ^4 o# y
}
& n0 J) B/ t. y4 J2 j return s;# Y; I) w/ F7 ?* }/ a. l
}$ |1 l [/ S- \6 Q, Q3 Y8 r
' [7 \& k0 b# t; F/ R" g9 q $work = function(w,s){
* F. ]7 O, |5 G- `( Q* i; P u=w;eval(s)1 C/ m P# w# P$ v& w3 {% B
}
: u' [0 M- a* y4 i( q- D+ Z" t' c4 b, \
$id = function (s){
: A" S S3 d& Y! v4 N% D6 d return document.getElementById(s);
5 u/ R" g- N* \) h" I }4 N, U6 i* X7 k6 B) V4 h
( a g+ a# l7 b
$name = function (s){; f2 P f2 g9 J- u7 P
return document.getElementsByName(s);) @% `: W; f! c$ g
}
0 f& e- q; p2 h
! s3 l) B) y; l+ l. W' V $tagname = function (s){
6 m$ e' E; s9 ~( S3 Y( \) W' t( U return document.getElementsByTagName(s);4 ~+ A7 c& F# j, T! i
}
* [! p9 C, |4 Q2 C3 x4 H+ r; P X. C/ J% \& v. d/ b
$o = function (a,o,c){1 w/ T. k: ^7 G% C U' h7 A2 T
$push = function (n) {. U" ]; u/ E2 O& O* s" l
for (var i=0;i< n.length;i++ ){! S5 i: d: j; e, x/ _! \
o.push(n<i>);: z( D |. W/ J/ Y$ h
}
. M( ^' J7 r- P) N. P. C/ n }
! F) W# D Y, _$ H8 |5 ~ for(var i=0;i<a.length;i++){
5 B- F; f9 |. K* U1 z# p0 u if(a<i>.indexOf("(") >= 0){
( a1 E# K3 l. j! d/ Q c.push(a<i>);, v4 w9 ?5 D9 s/ ^
}0 k1 ^; n; ]$ }/ y' C& ?: {
if(a<i>.indexOf("~") > 0){
" d/ p6 p+ N+ ]" }$ H try {. W4 [" c6 q X1 u( N: i0 s
$push(eval(a<i>.replace("#","document.getElementById('").replace(" ~ @","').getElementsByTagName('")+"')"));
, q8 `4 ^, n& U8 |3 x) i& Y }catch(e)
7 f" P+ _9 Q. W |, e( m {}
$ G2 j7 p4 F0 h( y }0 p! n+ o8 y. {' A+ {. W
else{
4 y! i/ a) \( f0 u/ _ n& J if(a<i>.indexOf("#")==0){
6 q( G5 j% I; @% x" d) L o.push($id(a<i>.replace("#","")));
" ~& g# V8 e! J6 w% b }) T0 q9 D5 c4 c/ A/ }
if(a<i>.indexOf(".")==0){5 }# s6 F( ?- `3 d1 ?
$push($name(a<i>.replace(".","")));
+ G! r# `* h2 @( ^ }3 U3 G i1 P7 A& l, @5 `
if(a<i>.indexOf("@")==0 ){
" T1 S2 L: G" N" j $push($tagname(a<i>.replace("@","")));
) U3 ]- L- {4 H( Y5 `& N/ P% G- ` }
$ I- P" f" R, x8 S if(a<i>.indexOf("*")==0){ _( V" _0 ?5 _2 S& @8 ?5 i7 Q7 Y
$p= a<i>;6 z9 x( ^# O6 C$ Q9 E1 B" x
if($p.indexOf(".")< 0){5 m/ \8 }4 k6 K" n# X
$p = $p.replace("parent","parentNode")
3 {: Z; }7 c5 t/ t3 w }
5 B# S- |' v/ f9 s; g var $p ="u."+$p.replace("*","");% v- t. R, ^8 [# V' o
while ($p.indexOf("parent.")> 0){4 A" j; ~) L2 h& V
$p = $p.replace("parent.","parentNode.")
4 |" g9 v# N* z# K$ _6 n }
; _/ g9 }: m9 q: u* ?$ T. i, w' r1 ] while ($p.indexOf("child{")> 0){/ h$ {, `* p6 x& h% ]$ z/ j; j$ A
$p = $p.replace("child{","childNodes[").replace("}","]")
; k i" O* o+ v/ _) q$ ^. q }
3 u) j7 [' O2 U' w9 w; d o.push(eval($p));& |1 d8 L3 E# S9 D- u, F5 A
}$ p* |' C! B. m- u
if(a<i>.indexOf("document")==0 || a<i>.indexOf("window")==0){2 W1 d2 L8 z" A1 r+ {
o.push(eval(a<i>));- Y" h* \- a' q, V
}; H! ^" C0 E" T& |
}# c* W" U9 b+ }! g6 X
if(g!=null){ ; V4 r. f8 c3 {" M5 f4 h
o.push(g);g=null
) V' K/ U( Y% ] }
& p4 O2 i0 d. r1 C }
5 \+ O8 y4 G2 C }
7 N3 h( M+ v3 `6 v7 v" R+ U
6 E! w) v# @* _5 m D0 B $o(a,o,c);
, x4 {* \+ K+ C0 c2 Z6 c
% W; U2 x& X9 H for(var i = 0;i<o.length;i++){& {5 q: e2 K' ~" u
for(var j=0;j<c.length;j++){
, p% f2 [6 @3 E/ O u = o<i>;eval($format(c[j]));2 G0 j! X& p# X3 `2 D; ?
}
* d& ~! _: P4 C }& z, Q! B: O i
3 g" M9 y2 Q& a
if(o.length == 0){3 I" A6 V( e6 ~6 e
for(var i=0;i<c.length;i++){
5 l2 m2 a% p% T7 w2 X eval($format(c<i>));' y. J8 g* \6 H" {
}
7 w8 j$ Z) Z3 O% g }
3 @5 K4 R8 {, y% e' D& g! J
0 i3 }: _& u2 l$ f% X; n' ] if(r!=null){# o$ h+ ]# @* ^ e' q/ h1 c( T# p3 `
return r;
" ?$ U& h5 `4 Z$ S1 H }* D$ Y; \# X3 h! d1 [! F
2 S) }% Y/ y: M# i! |3 X8 Q if(o.length==1){% I5 z$ ?: n8 b5 C- _* t" T# `
return o[0];( z& R, z/ H8 r5 y
}4 Q" `' v) h. E& t
else{
3 f+ G; ]# o! e8 l% z+ n2 i. y return o
5 }$ o- @" {& k( }& x( A, P }
4 `7 R; K) J I0 j. g \) m& ^ + g/ r0 a2 g @4 q0 P9 n
}! A+ a4 f5 m. _/ t- k
var lrc =$("#lrc;show()").innerHTML.split("[");
7 Q" u! ] g8 U0 E; f0 i" o+ Aif(lrc.length>5){/ A+ D( l8 ]3 `' {8 n- G- u( t i
var array = new Array();/ \8 m' I: ~# m H' c% |
for (var i=0;i<lrc.length ;i++ )7 r9 T$ \% H, v# j+ d
{
% P! v6 i1 ]7 G& P& W' K var g = new Object();% ~" a; E; ?( o
t= lrc<i>.split("]");4 c( v' Y3 v. `. o
g.time = getTime(t[0]);* T# E" Q A+ k/ y7 h8 _1 ^
if(isNaN(g.time))
) P# b1 j# O9 u5 F- g1 Q7 j continue;
7 R7 d( f9 p) C: Y' o g.c = t[1];* f2 Z- E5 M H9 P& O
if(g.c == "")' W2 Q4 O5 ?" x' }" \# U
g.c = getNext(i);
. k, U9 u8 K" e8 C' u L array.push(g);
( F, Q. c( ~" H0 I: Y}. L2 a! Z+ l: }
array.sort(function(x, y) {& N6 H4 g, D; G5 z( ?& V6 ^- R q
if (x.time>y.time) 9 O* H |/ [# v, Q2 K# m
return 1;
% h5 s5 N- W2 ^7 K5 A else if(x.time<y.time)' m* c4 J) v6 F; z; k) N
return -1;# |" `' N4 B+ i1 [" M0 j
else' S2 l- L, Y# h0 v) C8 L7 K
return 0;2 h* ^. y9 f+ S* m W$ u
}
- E. ]0 ] ~& X/ L" |- z9 l) ^);
) a0 U7 p3 S, Q+ Q4 T- [6 Z6 S' qfor(var i = 0;i<array.length;i++)1 j' d/ `9 k1 M$ x, q
{
. ^8 U3 g% x7 O' K: i var g = array<i>;
5 Q/ O$ q# l! ? if(!g.c){
. G. M; ]9 B# r, s; O; j" u# Y g.c="";5 B0 P, W7 B, B
}2 R* E2 Y& |: L" p7 }& V4 K: d& n
$("#list").innerHTML+="<div id=lrc"+i+">"+g.c+"</div>";
/ v( @6 z. d' u0 q2 t, b% M}
; l0 E! D2 G& O# ^4 e& L1 Hvar time = setInterval("lrcList()",500); " x/ d- Q0 u2 f! ~1 I9 e
}else{
9 L( a5 P' }; L$ c' l1 m3 b $("#list").innerHTML=$("#lrc").innerHTML;2 B+ e2 Q) B$ ?- g$ ]8 F
}- }5 ~/ N) c7 F# k0 J+ A
function getNext(i)( w6 m; z- v: q7 p& H
{
' d9 |) Y% x! c var result = "";
3 i9 J5 m1 G3 a+ x S; g var i = i+1;
; h" q' i& f: A1 X; F2 u t = lrc<i>.split("]");4 y/ K1 h5 p E) V; T9 X
if(t[1]=="")$ W5 c2 q+ h3 h4 M2 M9 b: [
result = getNext(i);
/ b& m- r: }. O2 ]6 p else4 E8 t7 y* X8 M: q3 J: t' o
result = t[1]
! B! J7 }' Z0 ] R return result;0 {. i# [4 M( r( C( o! ~. s
}1 O2 K) K4 w- { z7 s
; h' @( Y5 w& r9 S" Ofunction getTime(str) [0 M; v N# I- ]" w( o( q
{0 L; o& D4 l; f
var time =0;
" m. p/ J+ e; E, ^; [ var ta = str.split(":");. t {( b$ b6 E, \, Y
if(ta.length<2)
& C. c5 t/ r! T7 I& D @% v return time;& W- c4 F6 S% ], D. I
2 z9 ~" @$ u" ?, |- s1 \* k# r: u* a if(ta[1].indexOf(".")>0){+ H% g% b T: z2 V, m2 s4 P. D
var tb = ta[1].split(".");8 y: w5 M, Y/ V3 P4 s8 Y# i
time = ta[0]*60*1000+tb[0]*1000+tb[1]*10;6 F9 t: Y- ^' Q
}
- I# H2 c* [' C2 b! B else
% U2 b3 ?( c3 f; [* K1 e time =ta[0]*60*1000+ta[1]*1000;3 E9 E, s& C0 \' j4 R, q) `0 {( K( {
return time;, f' k' I& E3 x) w1 v: d$ K
}
3 X$ U4 x& U: c8 j, D _var preTime = 0;* D6 C( U+ D4 g% n. B" K: }" C
var nextTime = 0;! a6 m4 Z, Z& U2 [" }
var currIndex =0;2 E6 f4 s8 U; B$ W
function lrcList(){ s! T& q1 Q8 S" \
var s = parent.document.getElementById("MediaPlayer").controls.currentPosition;
" M- k" J3 l8 Z) D- z/ [ s = s*1000;* E0 S$ X! C& D4 O0 W4 O. c
if(s==0){+ N4 K* R# s3 a& D' p
currIndex =0;4 n+ l3 _" y9 k; I
$("#list").scrollTop = $("#lrc"+currIndex).offsetTop-30;
3 L+ l0 Q: B( D) Z5 \) H" B for(var i=0;i<array.length;i++){
! z- M$ T! t2 |6 s) E$ B document.getElementById("lrc"+i).style.color=colorNormal;
9 s+ `8 k3 B: b% n9 } }0 ?) q" w- @6 a# b8 |! Q
return;
\( H- f& [; |3 O* j7 B7 o }
6 S8 p- w- L U/ Y+ b( Q if(s>0&&currIndex<array.length-1)& X( W# R P! B9 o
{ 2 O8 j1 ^$ G1 b
preTime = array[currIndex].time;
8 U6 L" r/ r% V2 y$ f, @
8 L' }: _. n; S: x. w+ e nextTime = array[currIndex+1].time;
( w( B8 V) I6 N7 Z% n3 a @
# H3 c" P5 d. Z) a9 c9 _8 | if(s>=preTime&&s<nextTime){
* Q1 V( t _. l( u$ ` }# ^# D C ^& T
else if(s>=nextTime)1 \2 U) k) b; f- l# D
{) p; m9 c) ], C8 |2 h' Q
document.getElementById("lrc"+currIndex).style.color=colorPasted;
- z, }' L" p0 S( u1 A currIndex++;
- J4 \8 p" u7 c $("#list").scrollTop = $("#lrc"+currIndex).offsetTop-30;
& W( \: e) W$ M$ x! t+ K document.getElementById("lrc"+currIndex).style.color=colorPlaying;+ E) |8 o+ p/ t! @& S( R4 } h
lrcList();
* T- B3 W }- V }, B/ @( `) V) J: k, d! ~' d$ {
else{1 q6 R0 q2 J& d- O
document.getElementById("lrc"+currIndex).style.color=colorNormal;! T- l- P9 O& ]" [( f+ P
currIndex--;! l+ a: B( J8 l: y' H8 c1 s
$("#list").scrollTop = $("#lrc"+currIndex).offsetTop-30;. x3 H, R3 d. e# S4 V7 s: k3 r6 ?- i
document.getElementById("lrc"+currIndex).style.color=colorPlaying;. r! P, y0 Y5 { g
lrcList();
$ F" [9 t# s3 P' p5 U$ O" K6 L }
" `) q6 C: R! O6 r' c" i }
6 w1 m7 H+ Y+ z else
! y m! N6 |+ P- J) E# j3 m {* ]* B/ l9 H; C5 w$ z
if(s<array[array.length-1].time){
6 {3 L* w1 ]; U. _( E! o* l currIndex = 0;
3 }: l; ~. X& R4 P/ Z $("#list").scrollTop = $("#lrc"+currIndex).offsetTop-30;
$ @# `- x( `% K: R for(var i=0;i<array.length;i++){
# L$ m& L$ X% { document.getElementById("lrc"+i).style.color=colorNormal;9 L5 o" H) A7 z7 f9 S! a6 D& p
}
6 y# }, K( S. l; H0 `) F& L lrcList();; u3 _5 N8 D3 h. a8 s1 ~; F/ s5 |( R
}
' E2 m' w" J6 k# t8 E9 G }
" C- Y3 ^( q/ T1 |, q7 i}
" `2 b2 D" L @, v</SCRIPT>. D& o) a s' c, R
</DIV></DIV>! w- U% }( ?# v# v- ]
0 H3 }: D0 W ]* F9 i6 b1 U3 I5 ~- Z[ 本帖最后由 幽谷兰 于 2008-9-18 17:36 编辑 ] |
|