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