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