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