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