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