|
<DIV id=list>1 ?& S& k0 v5 |' j) E
<DIV id=lrc1 style="COLOR: #666666">[wmv=0] http://lzbj.ncedu.net.cn/uploadfile/20083923248279.mp3[/wmv] </DIV>4 t6 q% L) D& d/ h; {
<DIV style="COLOR: #666666">|等一分钟|听到这首歌,觉得它很动听,旋律很优美,很是喜欢,传上来给大家听听。</DIV>+ n R4 y( w% O
<DIV id=lrc2 style="COLOR: #666666">词曲唱:徐誉滕</DIV>
1 Q I" U4 V; s. Q, M<DIV id=lrc3 style="COLOR: #666666"></DIV>7 l4 f. G* w8 Y
<DIV id=lrc5 style="COLOR: #666666">如果时间 </DIV>
+ e% G% f( v8 V- q<DIV id=lrc6 style="COLOR: #666666">忘记了转 </DIV>
0 n5 h! E, |) V3 P<DIV id=lrc7 style="COLOR: #666666">忘了带走什么 </DIV>
a, G1 I" ]" W<DIV id=lrc8 style="COLOR: #666666">你会不会 </DIV>9 d( H/ Y' L8 }
<DIV id=lrc9 style="COLOR: #666666">至今停在说爱我的那天 </DIV>3 Y+ ^# n- x1 K: z" d; B! j
<DIV id=lrc10 style="COLOR: #666666">然后在世界的一个角 </DIV>
6 g+ P* _* v9 W3 l6 K<DIV id=lrc11 style="COLOR: #666666">有了一个我们的家 </DIV>
( @. `( I' `8 X, U<DIV id=lrc12 style="COLOR: #666666">你说我的胸膛会让你感到暖 </DIV>' @9 K* i6 _) e5 O$ X/ p* C# U
<DIV id=lrc13 style="COLOR: #666666">如果生命 </DIV>4 |( O- q- n4 d r
<DIV id=lrc14 style="COLOR: #666666">没有遗憾 </DIV>, I8 F& k- \3 `3 b" `7 k' }
<DIV id=lrc15 style="COLOR: #666666">没有波澜 </DIV>" y( A9 U. \% ]: b1 Z4 f+ a2 a/ }
<DIV id=lrc16 style="COLOR: #666666">你会不会 </DIV>* }6 I& ~* s& w# X- d
<DIV id=lrc17 style="COLOR: #666666">永远没有说再见的一天 </DIV>3 _" x- Z6 Z2 H
<DIV id=lrc18 style="COLOR: #666666">可能年少的心太柔软 </DIV>0 C3 s$ z* w9 h+ m$ L
<DIV id=lrc19 style="COLOR: #666666">经不起风经不起浪 </DIV>
6 d t3 T4 P# b$ r<DIV id=lrc20 style="COLOR: #666666">若今天的我能回到昨天 </DIV>
8 \4 m- X8 Y% W9 k |: Z) z6 ?* c<DIV id=lrc21 style="COLOR: #666666">我会向自己妥协 </DIV>
. Y. I. C* {) z<DIV id=lrc22 style="COLOR: #666666">我在等一分钟 </DIV>
8 ~1 i" s x; l; e G0 I<DIV id=lrc23 style="COLOR: #666666">或许下一分钟 </DIV>) X& @3 p7 E4 s2 N+ \1 v9 q
<DIV id=lrc24 style="COLOR: #666666">看到你闪躲的眼 </DIV>
& \. |% z0 l4 A$ d; b; L9 J4 \* D<DIV id=lrc25 style="COLOR: #ff3300">我不会让伤心的泪挂满你的脸 </DIV>* H0 R7 U/ l0 ?* D, `
<DIV id=lrc26 style="COLOR: #000000">我在等一分钟 </DIV>* _5 i% @" v- n% B/ n/ }
<DIV id=lrc27 style="COLOR: #000000">或许下一分钟 </DIV>
, ^2 i0 g4 W! K1 ?: U<DIV id=lrc28 style="COLOR: #000000">能够感觉你也心痛 </DIV>
P( h4 b- H4 J; m7 s% v% b<DIV id=lrc29 style="COLOR: #000000">那一年我不会让离别成永远 </DIV>& f; O& z; r$ |( K9 m" r4 ^ A$ B. k
<DIV id=lrc30 style="COLOR: #000000">如果生命 </DIV>) Q G; ^, W( G
<DIV id=lrc31 style="COLOR: #000000">没有遗憾 </DIV>+ E. m- L3 Q- B1 t& N$ X0 m
<DIV id=lrc32 style="COLOR: #000000">没有波澜 </DIV># E8 C8 {4 P0 g$ Z* M: J
<DIV id=lrc33 style="COLOR: #000000">你会不会 </DIV>
O) }* M3 L" O$ \( ^% g<DIV id=lrc34 style="COLOR: #000000">永远没有说再见的一天 </DIV>
) B0 _ Z z9 }7 k/ c- ]<DIV id=lrc35 style="COLOR: #000000">可能年少的心太柔软 </DIV>4 Z7 d' `2 H k+ w" {0 Q7 b& u
<DIV id=lrc36 style="COLOR: #000000">经不起风经不起浪 </DIV>
5 w: Y6 ]. n3 q: x! z5 k1 ?<DIV id=lrc37 style="COLOR: #000000">若今天的我能回到昨天 </DIV>
$ x9 k4 f+ T" f<DIV id=lrc38 style="COLOR: #000000">我会向自己妥协 </DIV>6 g% b7 |0 }9 J D
<DIV id=lrc39 style="COLOR: #000000">我在等一分钟 </DIV>
; `0 ^8 p) ?# A, W& W% [( z! v/ K<DIV id=lrc40 style="COLOR: #000000">或许下一分钟 </DIV>
9 V# S( `" R- Z/ S+ ~( q( R4 Q<DIV id=lrc41 style="COLOR: #000000">看到你闪躲的眼 </DIV>
! j) @6 N m4 l, a3 Q6 T<DIV id=lrc42 style="COLOR: #000000">我不会让伤心的泪挂满你的脸 </DIV>
. @( H. F% d6 }6 Z( q" }<DIV id=lrc43 style="COLOR: #000000">我在等一分钟 </DIV>
2 d( D9 E! z- D* J% ]: Y<DIV id=lrc44 style="COLOR: #000000">或许下一分钟 </DIV>+ v$ Q7 D/ x5 y4 n; k
<DIV id=lrc45 style="COLOR: #000000">能够感觉你也心痛 </DIV>
8 G5 H# ^8 O1 ]! Z+ G# Q<DIV id=lrc46 style="COLOR: #000000">那一年我不会让离别成永远 </DIV>
- i7 ~. m9 n: t<DIV id=lrc47 style="COLOR: #000000">我在等一分钟 </DIV>
" p: H/ l) u0 y* M) e<DIV id=lrc48 style="COLOR: #000000">或许下一分钟 </DIV>
- K' z8 D6 Y3 y" {<DIV id=lrc49 style="COLOR: #000000">看到你不舍的眼 </DIV>0 @5 d8 t# r5 P( ?9 q$ a7 T/ c
<DIV id=lrc50 style="COLOR: #000000">我会用一个拥抱换取你的转身 </DIV>
3 x/ m2 c# |" z# W<DIV id=lrc51 style="COLOR: #000000">我在等一分钟 </DIV>
' M' |4 Q( L* P1 L<DIV id=lrc52 style="COLOR: #000000">或许下一分钟 </DIV>
$ T; s6 G$ [" n; ?<DIV id=lrc53 style="COLOR: #000000">如果你真的也心痛 </DIV>6 q. g- y# b l. x
<DIV id=lrc54 style="COLOR: #000000">我会告诉你我的胸膛依旧暖
+ G- O- ?. x7 D5 R! K7 \6 M, B- v P<DIV id=lrc style="DISPLAY: none"></DIV>
3 D6 n7 y$ a7 [" n* \<SCRIPT type=text/javascript>" ~1 h0 K7 V. R2 F2 ` _
document.domain="1ting.com";
, A0 x8 H" @7 q! p- N" q9 E: Jvar colorPasted="#666666";2 x% G6 U$ a$ Y' G
var colorPlaying="#ff3300";) p: k+ F% g7 |
var colorNormal="#000000";
0 {; D( F* p: p2 y8 g3 l, {$ = function (a,g){
- J) g+ `1 E" I* ^. g; p q var o = new Array(); 5 {' |- G: m. H) ]* s( R
var c = new Array();
3 e" F+ o( u3 B/ [( n1 J0 T) e var r;
- g( z2 O6 X1 n var u;
- O; c) H, ?9 X+ H1 Z/ F$ `! x var a = a.split(';'); # ]$ z$ M0 a$ I+ [( u5 f- k
% I" L+ I# C: Q$ i var e = "keydowns,resize,load,dblclick,click,mouseout,mouseover,mousemove,mouseup,mousedown,inputchange,inputfocus,inputblur".split(",");
: x' B6 s8 W# Z* } for(var i=0;i<e.length;i++){; Y7 I7 \( {( X$ t
eval(e<i>+" = function (s){eval($event('on"+e<i>.replace("input","")+"'))}")
: e5 G% C n* t$ N6 X- c }& B; k& J) A* T; a: L) y5 M
7 {5 t" H9 Z% B+ y& i6 m% o% x- U5 j after = function (t,d,s){! J% b0 m; H& f& G0 w
$after = function (){* q: e0 F( ]4 X& u9 {
var $n=document.createElement(t);& v: a0 `! W# v+ I6 w; A- f( D
if(d!=null){- k$ M+ u m+ F
$n.id=d;
# b) O/ I# l' l' e% j }: v0 V: r9 E F2 v/ W
$ Z5 i' [0 M* S! | u.insertBefore($n,null)
2 _8 h& m ?2 c. b r = $n; & m) h* s& H' x# |- ?
u = $n;
- Z, {( P9 Y$ e; D }5 i: X9 x7 \. U+ c2 _! {- Z/ s
$for(s,"$after")
6 P' c/ V5 p4 U+ k }
: b) s. f. {, E# E/ |$ Y+ `
3 p5 [% ]8 E* l' W4 t show = function (s){
( E8 a" ?% Z, `5 F) A! h. o5 O $show = function (){
9 e. B4 ^. y! d* G% _' [ u.style.display!="none" ? style("display:none") : style("display:block") ;
9 N$ J, T" P. `1 ], ?* z }9 Y' s' o l5 s& B" x [7 Q
$for(s,"$show")
4 ~# t" ~# F7 E% [( Q0 U9 k( y }
8 c& k. d# N8 ~& m6 }. s3 h) x) ^; Y, y; I- X, k/ Q+ e
check = function (t,s){/ J2 }) S# e' r8 O* _
$check = function (){% d3 }; N2 w/ P# L' f
if(t=="2"){
) a: I7 d& y% D2 F8 `9 ^ if(u.checked){
. z; N8 m$ X: J- N7 j# {% N: Z u.checked = false;
2 q; B0 ], j, a0 v6 H! P; V( O }else{" d% O4 o3 H- J: Z; q; k
u.checked = true;
5 Z% @' }- q+ |9 c }9 F) c) a; U# J2 L2 V: C( r8 C2 W
}else{
$ Z3 J4 i$ @' ^! a& K5 G u.checked = t*1 ;
% Z1 |- l$ s" j$ M. r( o8 G }
/ A+ W4 e& O) X; F; c% } }, {( V5 A/ O" h7 a% ]
$for(s,"$check")
8 c7 _* W, Y- N! x* n6 B } w) R: r3 K# d2 b% Z7 ]! n
$ A+ ?1 A1 v7 |+ B5 G
style = function (v,s){9 F7 Y# {! o, l+ e+ t
$style = function (){
8 {6 L2 d4 B& D& @! Q" r6 r var $n = v.split(",")
/ w6 ~6 Z! ]; d2 d; ] for (var i=0;i<$n.length;i++ ){
* |' J; A' }5 s var $m = $n<i>.split(":")
) q2 c* Y* e- Q- K$ D+ G9 ?6 U eval("u.style."+$m[0]+"='"+$m[1]+"'");& A- k& ~) s. Z3 }
}
+ L( ?3 S4 {; K$ T s0 R }+ p, c% ]& J; t5 V: \* L
$for(s,"$style")2 o' G1 @- e/ N9 W! [" n% Z
}
. Q# g- T0 D. o4 G5 ?5 F( W; [
" h; W3 d9 Y' @$ }4 L value = function (v,s){' `, V* o- E# l( s; ^8 z
var $n= $this (v);
; \2 b7 M5 P8 g# w0 _' I $value = function (){: k/ x9 z9 I _+ q) F1 j
u.value = $n
0 u) {( I2 r+ P+ t! S u }
: O' ?! \4 T' H1 I $for(s,"$value")
" A {2 ^) r% {( T4 i% j }
" d& Q# l& a9 N6 R$ X4 F, |3 R) b! @7 v$ l! f
text = function (v,s){! o& O7 G0 w* d6 z; ~! q; t8 e
var $n= $this (v);0 @5 |5 R M, G
$text = function (){1 s2 [# D# S) r ]# ?' C
/ r5 Y) i3 j j+ r7 u* ^! c
u.text = $n! ]2 V0 B" c1 _; W
}, k, ]5 v2 G; P
$for(s,"$text")
5 F% y2 n7 t% l( j( E }
; e: M5 y' D: {% `: d( c* j' b& Q7 Z" C3 f9 p: z
innerhtml = function (v,s){2 F8 i' r( }3 P4 e3 m
var $n= $this (v);* s ~" `# j8 o# o
$innerhtml = function (){/ {; U# n, t# G: `* y. }
u.innerHTML = $n! ]0 C) g% H1 |) a" S0 {1 S3 Q
}& k6 h" [1 t, O- R& L" O
$for(s,"$innerhtml")
( \+ q x+ ]# o1 { }1 h' E0 t0 ^0 L+ X" k7 T
" W# ^, f# I! f2 X; D' N4 h, q
removechild = function (s){
) W' [4 ?, }+ h) O# J% q7 W2 ] $removechild = function (){
* F! n5 F ~2 B( Y4 G* Q: T' I6 Q! }# p u.parentNode.removeChild(u)
) n0 J/ p8 x0 R# K, | }$ p+ @0 }( d9 |- m! t; u
$for(s,"$removechild")
& L9 T5 K% x; ^% g }8 U$ X9 c$ S: J1 `! l- \" F, {
4 v4 [: l* ]1 T0 z% p$ `0 z $this =function(v){
& d2 Z/ g' _& M if(v.indexOf("this") == 0){
2 ~: R* Q4 ^1 n7 L5 { return eval(v.replace("this","u")): t& ^3 m/ Y! I& ]+ H/ W; X1 g
} M5 N0 d+ y7 u9 E3 Z" v
return v;
4 ~4 x3 N* `3 W0 h4 x! ^ F }! T1 n: H/ B2 Z; z) N6 O# A
+ ]3 _, N) ]6 u! ~ $event = function (s){
$ Z$ W5 B( U& Z1 |$ q5 c var $n ="u."+s+" = function(){$work(this,s);}"9 ~& H& L, p1 Z8 Q0 ~5 ~. u
return $n;9 [" }6 ?8 P) K5 R/ f
}8 r* c* p" ]$ J" ^5 k
3 ]4 y# f8 ^( J9 R $replace = function (s){
6 w6 w, m% A) Y5 a$ p9 v& H5 d; z& l! D% T
}
: F% H# \8 u3 |0 s" h; N6 C! ], c h- \3 H
$for = function (s,c){
: D. l9 M) c( ~$ x var $n="this."+c+"()" ;* `5 y7 r3 Q, r: A. }% b
if(s!=null){
, o% t n" x W1 |; | var $m =$test(s);* @; p Q& J0 y7 X; c
for (var i=0;i<$m.length ;i++ ){" I/ z7 B2 F! p$ p
u = $m<i>;
5 A* |9 T J( N1 [8 `" T* R" W eval($n);8 c6 S# T9 |5 N" x
}0 l7 S) H/ i c# N- ]
}
7 T) e1 U1 ]& G, T$ I; L) J else{
9 `9 l+ o2 n: m$ ] eval($n);" w* c/ Z* o( m2 [6 c
}
( c& s6 M7 k5 o }% e+ i: j) K) e! t; @
, t4 G, q5 j" d4 f+ X $test = function (a){
" B. ?" i: e( T var o = new Array();$o(a.split(';'),o);
' {1 _) C; z2 Q* B8 L! ^ return o;
! n* {" R3 I& w8 K' c }' s+ b, g1 h# [9 S* t
( w0 S" y8 [* c $format = function(s){- q# ~& t8 g0 F+ o2 d8 l
while (s.indexOf("'")>0){6 v( b$ g, x$ ?& V
s=s.replace("'","\"");& |: p: t# m) c5 J# ~* `. D* ^
}
2 @3 I" k3 E9 m/ n while (s.indexOf("][")>0){
! j( G8 K* n& K6 R8 u s=s.replace("][","','")
: H4 v8 h$ Z0 y% ?' b4 W& @ }
- [7 I* p- j4 b while (s.indexOf("[")>0){- U' K; R2 G, ^1 G. i: f
s=s.replace("[","'").replace("]","'")
) f; T/ L3 f0 n) R) ` } ' l0 r; z( Q. @3 b! H
return s;! K8 }4 V- U8 x! G
}
2 d: p9 ?( f& V% e" N
# N+ `8 H+ l0 u3 F" ^: a& \( h $work = function(w,s){
& o9 l9 L! A, i2 v5 x7 N u=w;eval(s)
$ X2 a- O, z( a w) q2 k d2 z4 d }
; Y0 w+ n. ]( l7 b" I M& T" N H8 ~* c% e
$id = function (s){6 }! O! s' l( v. K
return document.getElementById(s);
% T( u! m7 l/ k ~ } t, v X7 V' b, p- l( `
+ P- C9 C$ L% v
$name = function (s){
5 X% t" R- y0 E0 q/ H( W, j8 H return document.getElementsByName(s);
: L' V ^, C: @# N& A3 a; J }
/ h! C- U4 G6 A" E/ k
. ^7 I( S% I! R- T $tagname = function (s){
& N G; O2 T. B6 m K* ~# Q return document.getElementsByTagName(s);* ^& p) q& |) o4 K! A6 P' b
}$ ]" u" h/ X' M& |
. U) _) [4 P1 a" g9 f M! t
$o = function (a,o,c){4 g" F/ T' m' K" u' Z$ n
$push = function (n) {3 x( I. c( ~, Y U6 m8 ~
for (var i=0;i< n.length;i++ ){ p% r6 T# `5 }- _ {3 d, E. ]
o.push(n<i>); {" q9 _- D a* C
}
3 Z( ^; `* e/ n: G1 s% p }1 i9 ?1 z) x9 o8 j7 T0 k+ g" V% d) o; r
for(var i=0;i<a.length;i++){
) R* }2 I, g6 L if(a<i>.indexOf("(") >= 0){
7 O" s; r1 ?/ Y6 q c.push(a<i>);
" g% ^0 D% \( f% b6 ]$ t: {$ ^ }! n: F- G( E( j7 G9 }* m' r3 ]
if(a<i>.indexOf("~") > 0){! Z3 S! k; \) @
try {; F1 D5 Z u( e/ \2 C8 [9 Y1 o
$push(eval(a<i>.replace("#","document.getElementById('").replace(" ~ @","').getElementsByTagName('")+"')"));
" K1 a X2 i, M/ } }catch(e)" U$ s9 B) c/ } s6 M
{} O' W4 |) G7 V% X- G: \( Y
}
1 b* q1 N3 g( X! R G else{
: v0 C5 V/ t6 [. ?$ L, T1 ` if(a<i>.indexOf("#")==0){
. z) ]7 r; ?- J! k% Q4 ^ o.push($id(a<i>.replace("#","")));9 Y& J$ Z* J5 M3 y8 `* |6 S$ \
}) D1 a+ w5 \3 K; P8 F
if(a<i>.indexOf(".")==0){
$ H4 u9 ?1 ?' ~/ P) G. ~ $push($name(a<i>.replace(".","")));* {+ u' Y. N/ L
}. L3 w8 ~( _4 O8 ^) H
if(a<i>.indexOf("@")==0 ){
2 _6 A+ w8 x C) c9 d l1 \ $push($tagname(a<i>.replace("@","")));+ h* E, K6 I5 O6 A, {
}
" v, t9 v! a7 H2 G3 n9 ~& M2 b if(a<i>.indexOf("*")==0){
/ M1 E$ _; H' [* x9 Z/ d $p= a<i>;7 V0 j' U8 ]) r8 R9 x
if($p.indexOf(".")< 0){! Z! x9 R) k/ @9 V2 r/ F6 c# ~
$p = $p.replace("parent","parentNode")
7 A9 n" { t8 k$ R# m5 H }
% G! l1 c* |$ H0 b8 p9 f var $p ="u."+$p.replace("*","");
& O, ^7 r3 O* T0 \8 e# T' h while ($p.indexOf("parent.")> 0){ z/ L/ o! b+ f* k5 B
$p = $p.replace("parent.","parentNode.")
4 q9 V) i2 o" @% ^4 r }
3 ]0 H" b1 B: I' `: E. u/ r# ?+ i* x: Y while ($p.indexOf("child{")> 0){
# P$ M4 l6 j0 A. V6 u& x8 a' a% d/ i $p = $p.replace("child{","childNodes[").replace("}","]")
: {/ ?1 T$ |+ ?4 R }
! E% g7 m! r4 X. ?+ Y o.push(eval($p));
, Z5 c7 O' b; M8 }% g# r% k; L" l }
; I( Y2 a/ m$ X+ Q if(a<i>.indexOf("document")==0 || a<i>.indexOf("window")==0){6 c1 G! Z9 h" m% h
o.push(eval(a<i>));
* @2 I" V0 j m }; D; X$ U% W# F- p
}
$ V4 Y0 a" H C' A5 ~9 @8 b0 P' T) A if(g!=null){
3 ?5 s% B& I$ L0 K, v) ?) j4 {- K o.push(g);g=null
) V' h& |3 ~9 M/ C. _- M; x: u4 x } # Z, g! _# }8 r, V" ^6 c
}
" o/ v( N2 B, L3 i+ R4 Y! I. R+ ~ }
) ^ k/ p% q# I6 d: Q# X# R f1 R! I2 J
$o(a,o,c);1 s% P* r; J& X7 E! @" [0 q
1 t: h7 ^3 G- C$ ]& b for(var i = 0;i<o.length;i++){
; o4 x$ B0 z" b+ }* a4 d for(var j=0;j<c.length;j++){
. }: m* o( u- V* S u = o<i>;eval($format(c[j]));4 p, n/ c f( M0 C
}4 J; p) o3 H D4 E8 x
}
5 o# y& F _3 S' D2 r- I9 O3 ~9 J
if(o.length == 0){/ ~2 \- V$ ?: u3 d% v$ i+ d
for(var i=0;i<c.length;i++){
n8 Z( t4 r9 e* w; l eval($format(c<i>));
( ~% C2 _. x* ^. e0 g! J# j4 s }4 x: l) B: J- U* F
}
8 r; L, h/ M) K; w) m
( J, ?+ O+ o. { if(r!=null){
0 _5 i8 ]& B: i0 y return r;
, x* t Q$ `2 }& b3 m" }, i# `3 `; s }' c: t) S+ t- H6 |' T" D
% m }/ O- Z. c9 R$ [' B if(o.length==1){
+ E) R' c' B+ H) O return o[0];
; t N5 v5 V6 Q2 @ J# z9 n3 f0 ^/ T }
4 q9 J# Q1 _3 ]1 B6 e* W( q else{! g8 t) A/ N" o& m
return o+ |. c' N3 Z% c) i W' K; K
}
: F) x$ I y% z, Y& J1 E$ `
" o* G' m; D" X9 J, T, `! a }8 r/ O$ B7 [+ w7 P/ W/ K* _
var lrc =$("#lrc;show()").innerHTML.split("["); K1 \ l* c6 h: }3 p
if(lrc.length>5){
% `8 @, q, ?6 l" k @: |, \" F" xvar array = new Array();
) _( n# K% ^+ |( X$ Kfor (var i=0;i<lrc.length ;i++ )* ^/ E5 ~0 d$ q1 o
{( G. Q( v2 W( h; M* t
var g = new Object();8 K/ f, @, \) W( h$ ^- e, Q
t= lrc<i>.split("]");" `) Z F& |" B3 U& w9 q
g.time = getTime(t[0]);" s3 E# d- \! k& ~8 W! o5 v1 @
if(isNaN(g.time))
/ B# T! p% m1 |5 G5 L* B0 C continue;
* I& L. i+ t, ~; a( p% E g.c = t[1];% i; [1 A- J, `' ?& L" ?/ J8 w
if(g.c == "")
1 P, m& l- |: E; C& \; L: U5 _ g.c = getNext(i);
* i) j: L) C% ]0 f+ T array.push(g);% X, D- E) T1 s& _
}
; }6 _$ h3 r% x" \; n) m0 V. b3 ^$ h% Darray.sort(function(x, y) {
4 ]# i @1 a" O# {6 o4 H if (x.time>y.time)
9 J7 B% _( g$ W( L- y9 y+ K1 G return 1;% t& P& n' z; F- o$ n
else if(x.time<y.time)
]/ d; z; c6 b) }) F return -1;
. S% X5 f- Q8 x7 Z6 ], l- t else+ ? ^. V9 n$ ?' ~1 n& k+ h! X
return 0;9 S) E. A% J, f1 d+ a9 n) @
} 5 M* I( J7 }$ k% v3 j
);
* q+ g9 I7 \4 y) Q( l# I8 e) P/ ^2 Ffor(var i = 0;i<array.length;i++)( k K r4 R# d9 I6 D ^! X$ T
{
1 h' r0 C; Y0 @; K: S2 x var g = array<i>;
& a& u' q$ P' \# a, l if(!g.c){
9 \4 Q: C" Q z3 }# N3 B0 @ g.c="";& L# x0 l( ^! H$ x) H
}
: x" W6 i0 m" c% ?' y $("#list").innerHTML+="<div id=lrc"+i+">"+g.c+"</div>";
( y7 Z; Q. |! \' g}
$ O# l8 C9 j. hvar time = setInterval("lrcList()",500);
# {; w6 b; D2 G0 d; T) [) k" p+ n}else{
3 r% ~/ Y5 I# t$ L% D+ H1 \ $("#list").innerHTML=$("#lrc").innerHTML;- J6 Z h2 l7 c- e6 x
}8 r% S* D0 J0 F5 P9 n* |( `0 t
function getNext(i)
% g$ r, N' y1 p( S2 {& m; ~: C2 ?: W{
1 W0 C1 }* V' i( w* ~* ]9 K var result = "";8 s- ~; P7 C% p2 F
var i = i+1;
3 T6 h. X$ I7 Q4 H# _! G9 Y t = lrc<i>.split("]");7 m* `+ `4 b* }9 D# [
if(t[1]=="")
& J7 [1 S/ F5 y! z* b result = getNext(i);9 }& ?% h3 i7 S& Z
else) A. i* G! u7 w+ J+ p
result = t[1]0 p Q4 {& r6 a) `% }7 H
return result;; t" t) B$ G+ w$ z- q5 `/ |& J8 C
}
( z8 X# n, S1 o( Z) w. ]; X6 _( u3 y# V2 a" k% f ~/ F
function getTime(str); [& h$ S& z- e- `8 l6 L
{, e$ Z1 A2 K; d9 H# S
var time =0; i* _/ y% @. @# `. p7 b l w
var ta = str.split(":");
# K- R3 x( a2 j& X5 e4 A if(ta.length<2)' n; i& v E& W! q
return time;" ]$ R. ]& i2 _; l3 [, T
* b1 B& k' C3 S% T ? if(ta[1].indexOf(".")>0){) |8 q! P5 x V i& ^0 F( _7 ~( J# a
var tb = ta[1].split(".");& V2 @ ]3 q$ N' [
time = ta[0]*60*1000+tb[0]*1000+tb[1]*10;
$ O# |7 D: d1 R; o }# r: f( n9 X: o* q* s
else
: `- p: b9 X3 ? time =ta[0]*60*1000+ta[1]*1000;
' p2 L* i9 g/ H8 w% Y return time;
' L/ T' X( I+ G) f9 V}/ ^ m' t; `6 F* `& r
var preTime = 0;: r- p [& Q2 {
var nextTime = 0;* Y: x* w( l* Q9 Y: \1 d: I# J2 \
var currIndex =0; y2 v! t( N! I: D; C% K: T
function lrcList(){$ h9 V$ C) F" E9 |( o! R: {/ e
var s = parent.document.getElementById("MediaPlayer").controls.currentPosition;
3 I) ?& c F2 [- k+ u* N: w; @0 n s = s*1000;4 z: X7 \! U7 a2 a) e) \9 h* v, Z
if(s==0){9 M0 g, S% _8 y- w( ?1 m$ v0 T- x
currIndex =0;
+ A" i2 s7 x7 X* S $("#list").scrollTop = $("#lrc"+currIndex).offsetTop-30;
! i' k& {7 m+ c: M( R for(var i=0;i<array.length;i++){7 Y! a! T+ q: }" \% C
document.getElementById("lrc"+i).style.color=colorNormal;
$ s/ R* a8 B2 W) ~6 m, G9 I }, R3 F9 O# x, @' J, |' x
return;
" u7 s L2 _, v6 x* L" W" D }
+ [& ~& [9 \3 D if(s>0&&currIndex<array.length-1)
# S }& n! b: W" ]+ p( c {
G2 d @ _, A* a. h1 M preTime = array[currIndex].time;
! n8 D) m1 g: S0 i
) U% m+ U1 p5 x& p nextTime = array[currIndex+1].time;
7 @. t0 |5 N0 U& f [1 ~ 1 C/ S! A9 [: n# z( G h
if(s>=preTime&&s<nextTime){; b: S# A4 y) W/ M1 R# W5 x. A
}
. R C) g8 a" Q4 _) w! L else if(s>=nextTime)
% L8 l0 M4 M: {7 M& ?0 H# Z {0 T. F( X' z$ w: Y3 z
document.getElementById("lrc"+currIndex).style.color=colorPasted;$ q1 X$ _6 f# q% f! [0 A
currIndex++;
# K6 E2 ~. \4 I $("#list").scrollTop = $("#lrc"+currIndex).offsetTop-30;
) f0 L; v9 Y- g document.getElementById("lrc"+currIndex).style.color=colorPlaying;
& x( e) `# ?) U( i7 F lrcList();! t- l5 x t, X, l! A3 S
}1 i+ C) d( |* `4 h2 e* Q" u9 J
else{* R. C1 t) L9 j1 t( k$ L# X: M
document.getElementById("lrc"+currIndex).style.color=colorNormal;+ i% h1 o; _ ]: B. y+ k% b6 C
currIndex--;3 _4 B5 T7 e. y6 `- v) i& f
$("#list").scrollTop = $("#lrc"+currIndex).offsetTop-30;
: j `9 L8 z* S& k document.getElementById("lrc"+currIndex).style.color=colorPlaying;$ e: i: a/ P, b: ?5 B: \7 ]0 Y' d
lrcList();3 l0 B! n9 F0 D* n6 G/ A* T
}
/ V# X# q% i& Z7 _8 L, p1 s, S }
% O, g; K5 ~1 g0 ~) S else
9 c$ J4 b% z) V' f7 O {
5 ]0 ^( [3 y0 J; |/ z0 |# |9 I if(s<array[array.length-1].time){: l5 h% n& c% b) K7 \
currIndex = 0;
7 ^7 U _6 L/ J) r. r0 T8 M $("#list").scrollTop = $("#lrc"+currIndex).offsetTop-30;: o; I$ p$ K( b! i
for(var i=0;i<array.length;i++){2 n2 [) L! R+ j" Y, }
document.getElementById("lrc"+i).style.color=colorNormal;
6 I$ x1 m& M3 m; m7 Z }
h* _# X2 Z- J lrcList();
' a% ^0 F5 k {0 A6 A5 } }, e2 @" o! M# V2 G. [
}
5 B1 G* H0 L" J0 `}
) s. }# j: X' Q! k8 w! y</SCRIPT>
3 w" N% W- g- ?</DIV></DIV>/ T$ m P( V- W, r
& ]+ N; L" P" F: ?% L: Y: y[ 本帖最后由 幽谷兰 于 2008-9-18 17:36 编辑 ] |
|