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