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