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