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