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