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