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