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