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