|
|
<DIV id=list>
$ s w! ~# v/ w; d. z" [! Z1 m: b3 m<DIV id=lrc1 style="COLOR: #666666">[wmv=0] http://lzbj.ncedu.net.cn/uploadfile/20083923248279.mp3[/wmv] </DIV>
+ ~5 _7 ^# A% ]* X# e$ L<DIV style="COLOR: #666666">|等一分钟|听到这首歌,觉得它很动听,旋律很优美,很是喜欢,传上来给大家听听。</DIV>+ V& Q. _$ @" D, i0 Z( d4 d
<DIV id=lrc2 style="COLOR: #666666">词曲唱:徐誉滕</DIV>
- q0 Z) F. b6 X1 [5 d. {<DIV id=lrc3 style="COLOR: #666666"></DIV>
6 l1 O1 _% _' ]<DIV id=lrc5 style="COLOR: #666666">如果时间 </DIV>
# ?# z# i9 }* s. P4 I<DIV id=lrc6 style="COLOR: #666666">忘记了转 </DIV>
+ B/ S; @3 ?9 O' H% `" G6 i<DIV id=lrc7 style="COLOR: #666666">忘了带走什么 </DIV>9 d/ m) g1 O& o+ N2 W
<DIV id=lrc8 style="COLOR: #666666">你会不会 </DIV>
5 E8 u( m1 p* d6 f n3 m# f; n<DIV id=lrc9 style="COLOR: #666666">至今停在说爱我的那天 </DIV>
8 O, N/ v9 ~/ U) p* L# r/ t' @# y. U/ B<DIV id=lrc10 style="COLOR: #666666">然后在世界的一个角 </DIV>
6 N* s: [# V9 F: T7 x9 O<DIV id=lrc11 style="COLOR: #666666">有了一个我们的家 </DIV>* {7 r" g) N! {# [/ t
<DIV id=lrc12 style="COLOR: #666666">你说我的胸膛会让你感到暖 </DIV>
7 I: c& Q% I: }9 m" A0 O<DIV id=lrc13 style="COLOR: #666666">如果生命 </DIV>
/ |. Z" o9 o; ]) J$ ]<DIV id=lrc14 style="COLOR: #666666">没有遗憾 </DIV>8 |$ B( _+ a) a) q
<DIV id=lrc15 style="COLOR: #666666">没有波澜 </DIV>. h" G0 Q% J1 }3 d; q$ D( |
<DIV id=lrc16 style="COLOR: #666666">你会不会 </DIV> p S! V! \" x: y! Q. g
<DIV id=lrc17 style="COLOR: #666666">永远没有说再见的一天 </DIV>% [6 k! k8 D( B7 l+ a1 |9 b7 m
<DIV id=lrc18 style="COLOR: #666666">可能年少的心太柔软 </DIV>
, y4 V; B6 Y/ T( q<DIV id=lrc19 style="COLOR: #666666">经不起风经不起浪 </DIV>
4 K/ L( U. a5 q, a+ @; I<DIV id=lrc20 style="COLOR: #666666">若今天的我能回到昨天 </DIV>/ ~4 @, K- C6 M# U$ {
<DIV id=lrc21 style="COLOR: #666666">我会向自己妥协 </DIV>: M2 \' O( \. x& P
<DIV id=lrc22 style="COLOR: #666666">我在等一分钟 </DIV>
5 P5 l8 J" I4 T<DIV id=lrc23 style="COLOR: #666666">或许下一分钟 </DIV>. `9 W! _1 w6 V, D; w# n
<DIV id=lrc24 style="COLOR: #666666">看到你闪躲的眼 </DIV>
- q- O s, W9 V( U# l# z<DIV id=lrc25 style="COLOR: #ff3300">我不会让伤心的泪挂满你的脸 </DIV>
) h! M$ U5 e4 h7 b1 H% j0 H0 R<DIV id=lrc26 style="COLOR: #000000">我在等一分钟 </DIV>: a- X+ k# _, L1 R
<DIV id=lrc27 style="COLOR: #000000">或许下一分钟 </DIV># p0 O6 s# q$ I+ x+ [6 \
<DIV id=lrc28 style="COLOR: #000000">能够感觉你也心痛 </DIV>
! e2 u3 u8 u' n$ b<DIV id=lrc29 style="COLOR: #000000">那一年我不会让离别成永远 </DIV>, p4 R7 s: I X
<DIV id=lrc30 style="COLOR: #000000">如果生命 </DIV>
" S/ z! c2 Q& W% E; b: `<DIV id=lrc31 style="COLOR: #000000">没有遗憾 </DIV>
! X E4 M9 ]( O+ U/ d* o% \7 y3 w: K<DIV id=lrc32 style="COLOR: #000000">没有波澜 </DIV>
0 H5 M' @. H; b" y8 z<DIV id=lrc33 style="COLOR: #000000">你会不会 </DIV>- h0 R. a. p9 B: Z6 Q! ^1 t+ P! j
<DIV id=lrc34 style="COLOR: #000000">永远没有说再见的一天 </DIV>& y3 J5 j/ |3 q/ v, R. }
<DIV id=lrc35 style="COLOR: #000000">可能年少的心太柔软 </DIV>
$ `1 |# _3 Z- w% x<DIV id=lrc36 style="COLOR: #000000">经不起风经不起浪 </DIV>% @+ `1 F4 T* f
<DIV id=lrc37 style="COLOR: #000000">若今天的我能回到昨天 </DIV>! E9 f, w. |# O2 G* ]/ l6 y& A
<DIV id=lrc38 style="COLOR: #000000">我会向自己妥协 </DIV>
3 g% W( O" R$ E) Y<DIV id=lrc39 style="COLOR: #000000">我在等一分钟 </DIV>+ A6 e1 c4 G5 C4 _ r6 g+ I* ^0 f( C' z
<DIV id=lrc40 style="COLOR: #000000">或许下一分钟 </DIV>
. `" Q- Y! \$ W5 y& n, W, a<DIV id=lrc41 style="COLOR: #000000">看到你闪躲的眼 </DIV>7 m) S& w. a2 Y0 n( q3 c5 n; v
<DIV id=lrc42 style="COLOR: #000000">我不会让伤心的泪挂满你的脸 </DIV>7 r$ O2 S: l {
<DIV id=lrc43 style="COLOR: #000000">我在等一分钟 </DIV>
& ]" s! i# S1 }- l1 b3 u<DIV id=lrc44 style="COLOR: #000000">或许下一分钟 </DIV># y& c T! }7 r, _* g
<DIV id=lrc45 style="COLOR: #000000">能够感觉你也心痛 </DIV>
5 O7 g* H2 c& j( D<DIV id=lrc46 style="COLOR: #000000">那一年我不会让离别成永远 </DIV>
8 R7 p$ N* o/ }9 f* O: M<DIV id=lrc47 style="COLOR: #000000">我在等一分钟 </DIV>
' `1 _$ p# F8 }! u# ?<DIV id=lrc48 style="COLOR: #000000">或许下一分钟 </DIV>0 c- h+ @$ _0 P
<DIV id=lrc49 style="COLOR: #000000">看到你不舍的眼 </DIV>
: s) L' u9 Y, ?' P5 S# p<DIV id=lrc50 style="COLOR: #000000">我会用一个拥抱换取你的转身 </DIV>
* E* _, T' s( t Z$ o' |<DIV id=lrc51 style="COLOR: #000000">我在等一分钟 </DIV>
8 g6 E' W3 J4 t2 [' s: y<DIV id=lrc52 style="COLOR: #000000">或许下一分钟 </DIV>6 V5 j, ?8 L) B& b) r3 @, c8 u" j
<DIV id=lrc53 style="COLOR: #000000">如果你真的也心痛 </DIV>) i" ?6 W0 X3 a" @
<DIV id=lrc54 style="COLOR: #000000">我会告诉你我的胸膛依旧暖 * O4 E+ G, G* e. p3 [3 _
<DIV id=lrc style="DISPLAY: none"></DIV>1 R7 l$ a, M! }! r1 C
<SCRIPT type=text/javascript>
* t% s" Q) f5 J4 _+ J; L/ K2 Kdocument.domain="1ting.com";) b. G" L+ W5 u: `" R
var colorPasted="#666666";
' N+ S; l2 B. h2 Z, O5 h+ T2 evar colorPlaying="#ff3300";
8 z; ]- E& u! V8 w. R0 H7 I fvar colorNormal="#000000";5 M& U" l9 }1 f
$ = function (a,g){; h' k4 Y1 X6 i0 N+ h
var o = new Array(); & N& Y& O/ c/ c5 l- m6 O" ]
var c = new Array(); 3 F/ w L& ~6 Z$ u
var r; 2 A, \' d8 G2 q j* t5 Q
var u;
& ~( ]- `! ]7 G: |! F6 a var a = a.split(';'); % U$ x8 j! W& }2 v
9 i& m1 p6 ^8 ]- E8 q
var e = "keydowns,resize,load,dblclick,click,mouseout,mouseover,mousemove,mouseup,mousedown,inputchange,inputfocus,inputblur".split(",");1 p$ h% s( h$ w& J2 |2 x- ?
for(var i=0;i<e.length;i++){
; X8 l8 N, a2 b5 A' z eval(e<i>+" = function (s){eval($event('on"+e<i>.replace("input","")+"'))}")$ c2 Q9 D& W+ z% O& C3 n
}) H8 E% \ y% Z) U7 N7 U
# ?6 @! ?1 {9 Q2 |6 J0 b
after = function (t,d,s){
$ V8 i. h$ C: B; W5 y* O" ^ $after = function (){) ]0 _: Z6 [0 i
var $n=document.createElement(t);- [- S! a2 C v; ^4 f0 _6 `
if(d!=null){8 ]. C D5 [0 O2 |/ F
$n.id=d; 3 ^+ i T/ x3 c9 g5 h( }- m
}
& Q$ p) M W' v, R# P& B; T % r* H0 {0 K( I* I) A/ c4 i6 D
u.insertBefore($n,null)
3 I2 k( T0 J& h# b/ n r = $n;
+ ]0 L& j9 o9 X5 y u = $n;
. h: h2 h3 K/ S3 j* Z# H2 K9 N }# Z/ c, ~( P W
$for(s,"$after")* v: P4 f; m3 k. _5 F8 s, J
}/ M$ E; `7 v9 V
+ }3 d0 |3 V# R show = function (s){' { g) G. `' a3 D3 B6 M p
$show = function (){
P6 ^8 W' F3 N# c5 k0 K( u8 u2 J u.style.display!="none" ? style("display:none") : style("display:block") ;
/ v' e3 B% B% D6 d! {' \) H) S }
+ {9 {8 \8 X1 d3 {- I $for(s,"$show"). m. d; @/ |0 |4 g
}
; l$ N# r$ l6 d$ q
2 w0 i2 a. J4 P0 ^ check = function (t,s){
3 E4 N& ] F: [! m; x $check = function (){3 @, A% ?, l$ V- i- L3 g/ R
if(t=="2"){
6 l( m' K7 d3 q/ g7 a if(u.checked){
. Y [3 o6 j- _2 V$ }. G u.checked = false;% Q" q2 b, }; O' T
}else{
, ]# _0 a8 I, P u.checked = true;( ^, J1 h% y4 u' P# Q5 c2 i
}
+ J1 X- M8 ` b8 `& n F }else{2 K O3 r/ z* u$ Z# |2 F: U2 a
u.checked = t*1 ;
$ B+ M, ~( v) ^: u5 V" n }
- O( r- g' t7 O5 x# c }
& A% M' Q0 p: F! U5 C! C $for(s,"$check")
, k: U+ _" T7 P! N2 e1 h! [; ?3 C }7 G+ n% X5 Y c5 m, V
+ D. O6 D' n) }# q$ B) X style = function (v,s){
- z3 o: d1 j( C $style = function (){3 K' X: ?, h0 C3 q2 o' G
var $n = v.split(",")
5 |9 O% W! G2 l3 C* l for (var i=0;i<$n.length;i++ ){/ N \( d7 U$ j1 \2 ]; V/ K0 i
var $m = $n<i>.split(":") ! r/ P2 S# S) O3 U" O) v
eval("u.style."+$m[0]+"='"+$m[1]+"'"); D' t* X5 x, V4 a7 m
}& W% t5 g7 o7 u
}& I' L- l- x0 ]& T) \8 e* q7 ]7 [7 |
$for(s,"$style")
( Q. {) R9 L9 L# T( D7 Q }
. d1 b$ `# W5 S8 u. \$ U3 Q9 c4 R! y2 R u
value = function (v,s){
* @8 I* l, V2 ?! O4 ^8 s7 h var $n= $this (v);% a/ M G- k7 Z
$value = function (){
; D, P1 I% H5 Q; B) L u.value = $n
* V4 }1 `. P3 u* ` }
% B c: G8 I: r6 c0 B $for(s,"$value")
) t. ]. p! |$ s" M7 y }& |) X1 s5 r9 E1 y: n- f% q
/ C4 d4 H1 w' o, X) d( z
text = function (v,s){
* G4 s0 f; z6 \# S# m7 g) f1 c9 q var $n= $this (v);
4 Y. `0 K2 w+ [6 ~; {( L4 K $text = function (){, v* l V {- R8 p
( t3 ]+ ]# P* \7 b8 c' n
u.text = $n+ } f7 t( n6 J+ b+ J, k) U5 `
}
7 Y* A3 n: q3 B4 |& \: W f. \ $for(s,"$text")
* K8 R% p: u* s' J4 ?2 r8 c3 ^ }8 ~' ^: A& h! ?; t. C
0 r9 \% ~2 ?- y' [8 | innerhtml = function (v,s){5 R/ h9 P; |8 G% @
var $n= $this (v);
2 R9 B1 W# j* u6 z4 ^8 v7 G. X9 ^* J0 K $innerhtml = function (){- y/ X* C/ L0 v6 @8 I/ c* q* z. ^1 }
u.innerHTML = $n6 f$ h6 j. x" Z- v
}
/ k& Z& u6 g* q9 X# f& B0 X( ^; h( r" { $for(s,"$innerhtml")9 p& ?3 M8 t0 n) Z
}
4 ?' K& M8 Z$ @' q7 L
! I. A7 G# T/ e# [: r- f) O removechild = function (s){9 z7 g) K8 l) g: W
$removechild = function (){4 O, v5 F; o. X h8 W
u.parentNode.removeChild(u)# S( q( v# t& f# R* i
}+ y4 u2 U" j! R0 B R1 I- M
$for(s,"$removechild")
! J! Z% D! \$ k. v5 R5 Q }
6 H2 ~1 c, R- ~& E" [7 I+ |7 {" A
4 t1 F6 G7 L( i& N $this =function(v){1 Y# U' s6 @, j/ t
if(v.indexOf("this") == 0){
% L& S/ \+ D3 | \0 H- D return eval(v.replace("this","u"))
5 P! h7 R% J# k3 p }! P) ^0 U3 ?% N
return v;
) A# W2 ~/ B4 U8 S* a) v; { }& v5 x8 T5 Y. e3 F9 x
! ? X3 }+ _: b $event = function (s){: s5 V' J" N8 E, ^' G o
var $n ="u."+s+" = function(){$work(this,s);}"( S5 P8 m! }! f) x! x8 U6 j
return $n;
7 ~' L. ]5 y& r; M }
+ P* x5 P: W3 C4 |# M! H6 k5 I" H# g% C" B8 v! j" p2 g
$replace = function (s){: Z$ ?* {! |6 O
/ P1 G- X u5 g( d }/ S; C! u7 Q j; t! F! ?
, y, z+ k0 m% v $for = function (s,c){
/ ]/ M3 j: q% ^9 l0 ~3 U* K var $n="this."+c+"()" ;& L, o; w; Y4 {# A# N( j/ B4 I$ b
if(s!=null){
4 \$ v; J9 ? @) c6 }% ] var $m =$test(s);. u2 }/ C" G9 m! T& v8 E
for (var i=0;i<$m.length ;i++ ){+ I& @( A. e4 c2 L! ^; C
u = $m<i>;2 T+ a( g# s& g) u- D/ d9 a
eval($n);* C- l1 t- X3 n) q' J5 \
}) F3 D) Z. {1 V% e
}) i, l9 s; m7 Q+ P
else{* d' d; P' M# e8 d6 `2 O- `
eval($n);
. [7 L' s( p% n Q }
6 {. d8 p7 F8 x5 b }5 E1 u0 _7 Q+ Y) H" U
; b1 f R0 z" i% r1 X f
$test = function (a){
2 t# @, y8 M+ T) m' L0 | var o = new Array();$o(a.split(';'),o);5 H$ ~# x2 {. v }6 f% A
return o;6 r; Z7 F3 r/ S. G4 e
}
/ X1 `! |6 S8 N. Z: C, g# }
: f) M# n, \: j: ]8 u $format = function(s){7 G0 l3 m8 K) j8 P g% @
while (s.indexOf("'")>0){
3 P' n) x4 a: B7 a6 W, z. C s=s.replace("'","\"");
. u( B5 d9 l1 M* |3 A7 W- _9 h }
. y3 i2 {$ _% c1 c while (s.indexOf("][")>0){
$ Q; P7 f5 C9 o+ X" H s=s.replace("][","','")7 [- f# N1 s* O
}
8 r; r) L9 d* R. u while (s.indexOf("[")>0){
A/ O3 ^2 x2 ]7 U% a$ {9 r s=s.replace("[","'").replace("]","'")
' E3 E0 V% K- P2 V' K }
/ e8 [( M; t( T; G% \- { N+ P; h return s;
5 d! p, ]/ C! D' m% Z) A0 @6 I* @9 b } Z" c; U& c4 b! o1 x
# _4 ?% K9 G$ M: ~
$work = function(w,s){
1 f& M8 @! X: H! z, P u=w;eval(s)1 T, X) O5 f4 b7 v4 g3 x
}
& l& S5 h' S% R/ a+ s7 H4 `) ~! O2 |
$id = function (s){
. e: x1 i7 ]* w& V5 C$ F7 w return document.getElementById(s);
+ n8 F7 ~( O/ R; X p+ T- Q }
8 S5 x4 [7 Z# G, v1 O" \+ f
2 J! F6 N0 L5 F# J: L: s- Y6 o8 y $name = function (s){
- P9 ? [9 c/ Y' X; p& a0 t return document.getElementsByName(s);/ ^! k* I/ a- Y( `$ z
}
- r/ |7 E: E* P: k: T, j) u# N' j3 {+ ~! f
$tagname = function (s){1 t1 S, J% |$ j- ?' j1 H
return document.getElementsByTagName(s);3 q" p4 x# a- e( n
}
0 f$ o! F$ {% u6 a. O1 x2 O8 X% z _, u1 h* X
$o = function (a,o,c){
( U. g$ f. c5 H: K& a& w $push = function (n) {
! k" U7 f$ \% y% L S& D% D$ a for (var i=0;i< n.length;i++ ){
- H0 j6 y3 S# F' m. e$ [3 I4 e o.push(n<i>);
: c( V# n) m X9 a9 t }
# b& v9 }# u2 v w: b( E }* b) [3 {( D: ~' |9 V
for(var i=0;i<a.length;i++){
1 G9 U& J: L6 K if(a<i>.indexOf("(") >= 0){# u% v8 {4 l2 `. y h4 P* `% ]
c.push(a<i>);) K1 c5 R0 Y6 ~
}; T8 g8 v: E) h5 [
if(a<i>.indexOf("~") > 0){
' S' O `. f* o+ t$ t try {
$ c5 Z M3 r/ p2 \- E( q# y' O) M $push(eval(a<i>.replace("#","document.getElementById('").replace(" ~ @","').getElementsByTagName('")+"')"));3 t, f2 b( j- H: x
}catch(e)
% n0 e1 ]1 g6 ?0 F) I3 |0 P {}
0 f8 {9 S8 g/ {: {3 A }
. _$ f. w' u7 I4 [+ S% u* ~ else{
# t" M, x5 H( F if(a<i>.indexOf("#")==0){
: O7 A( s" l6 O) Y; ] o.push($id(a<i>.replace("#","")));
& Z$ J: e6 e3 W9 r }9 x+ U' J7 t9 u
if(a<i>.indexOf(".")==0){4 H7 p" J8 U. J; i1 W2 t U( x
$push($name(a<i>.replace(".","")));, E c1 ^5 W( x; o* i- C
}
% y4 S0 _9 N+ y" g, t; a7 z5 p" ? if(a<i>.indexOf("@")==0 ){
, t* g ?1 c8 Q) Q' t2 Y% H $push($tagname(a<i>.replace("@","")));, x0 }% I- }; U& O+ o6 y5 ?2 _3 C- \
}
# Z. B# c4 l$ ?$ e9 ?9 d; | if(a<i>.indexOf("*")==0){
% m$ W- S' }1 o9 t $p= a<i>;+ R9 t! x6 E9 ^: K: w, p0 J+ Z; W+ m, o
if($p.indexOf(".")< 0){
1 |3 H& M) R5 |. K $p = $p.replace("parent","parentNode")
8 k! F" b$ h$ b4 D2 N/ R2 Z1 R4 f }2 Z: i- M& G7 B. ]
var $p ="u."+$p.replace("*","");
8 U1 T" k1 E `$ R$ [/ _2 l# S while ($p.indexOf("parent.")> 0){
- q% Y& R) m" ]' _" z! l $p = $p.replace("parent.","parentNode.")
$ P5 v! T. h0 J5 V. G1 T }
" Z1 l6 M6 e f1 C while ($p.indexOf("child{")> 0){
) O7 C% {& b1 E+ H, H) c: h $p = $p.replace("child{","childNodes[").replace("}","]")
1 T6 N0 m y% P3 R) w( d }
* i& w$ E; P/ g6 {1 C o.push(eval($p));8 J! V8 v) E7 R, ^3 `$ _
}
1 {( l+ o# y0 \9 k/ H: x+ I# l8 n5 b if(a<i>.indexOf("document")==0 || a<i>.indexOf("window")==0){
2 p2 t# q! D$ N0 _: q+ m( S8 j o.push(eval(a<i>));7 B0 W7 X5 y+ h: A
}
0 B) U; K- Z9 h* P! D }
9 ?& F' N' m! U% g: s0 Y if(g!=null){
} L# X/ B) B/ \, c+ {. k o.push(g);g=null$ d8 y. ~+ V( d1 F
} ) E* K2 a, E! @! g
}: C2 z3 x# n+ ^/ F( c+ ]
}
& a; y$ J$ G. M% w+ P8 Z
' y" q. q* P; g; ?4 D p7 i $o(a,o,c);
/ m, v4 m: P9 V! a0 e6 M: Y! N2 F0 v' J3 ^* X6 K; \) ?( f5 ~/ ^
for(var i = 0;i<o.length;i++){
6 f# E2 J" H7 w2 d for(var j=0;j<c.length;j++){* ~; Y6 P% F1 a! g6 u5 {1 G A6 W) n
u = o<i>;eval($format(c[j]));
/ }; [* t! L4 C! Y1 s0 W9 q/ R3 \ }
( C5 @ s' |+ R7 `$ U& D7 a- V5 r* h }. i. E1 \, e$ q( k. z+ g, }- Z/ K
3 B( v+ c$ ]; e
if(o.length == 0){: U a( T" I! D; b7 A
for(var i=0;i<c.length;i++){+ x) }2 `" V4 [6 \ V: }
eval($format(c<i>));
/ l+ T5 O/ Z0 F; p% @9 R }- G3 \& `7 g2 q4 ^9 L
}0 z8 f4 k8 T: s+ G) ^
; R+ N8 X. _; x7 }
if(r!=null){& [( f! `/ n i6 L
return r;! K. l$ f o# \0 X& l7 t- @( V
}' h Z7 v( Z; `7 M8 J7 `. w
( K+ L0 v" |6 {' V
if(o.length==1){
8 y/ E, M9 Z5 u; `$ W. Z return o[0];4 v) M. y' x& v$ x/ A- F: J6 \8 n! w7 Y
}0 e) d9 B9 A0 M7 X- {: @% k
else{
# H2 Q# L9 w, H8 X return o: n: C2 ?: f7 g0 G, {
}
( b% M1 F1 c+ @0 ?
- I" o, I1 Y0 P+ b7 l' d }
, K. y. G! B0 C# S. o9 J gvar lrc =$("#lrc;show()").innerHTML.split("[");+ L+ j. }& S! z% t( g( u
if(lrc.length>5){4 m$ ^' J: k0 I
var array = new Array();" ^- n6 d E+ n
for (var i=0;i<lrc.length ;i++ )! A/ Q5 k; J0 E5 K' M
{
% O" S+ M/ T# }5 U0 S, {' a var g = new Object();
* g( g) b' }: ^! H; ~/ |: {, }- B( n t= lrc<i>.split("]");
4 f6 l# M+ p( j& J g.time = getTime(t[0]);
+ u% y5 A" P4 o2 E% Z: ~7 H if(isNaN(g.time))
9 o M+ j% h6 }; V! P continue;
5 @+ \; k0 P* L. R g.c = t[1];
* {( P: \& L6 P( o8 S$ y: X if(g.c == "")
: x# j( ^5 y+ m2 h& W) ~ g.c = getNext(i);0 ]8 i0 }% x) c. `) C. h
array.push(g);9 m! N/ s2 S7 |: d
}7 X H+ W& n; `5 ?
array.sort(function(x, y) {6 Z( J, q4 J, v
if (x.time>y.time) 0 H% J5 @. ^* a* g% ~1 ~
return 1;
" g. u$ \# ~8 g* W& X' }! |) O else if(x.time<y.time)
, D3 Q6 D$ l d return -1;% t, G& I4 |* V: q
else, W- i/ Z; y9 K g
return 0;7 k. e6 L6 ^' X: a4 [* T2 z
}
7 [; e1 K* }& Q1 Z$ B, J( |9 ?3 S);5 w& `3 c/ b4 R% l
for(var i = 0;i<array.length;i++)
1 I( @7 X: D! X! |. A s+ z{
. b% q0 e, ?' @8 { var g = array<i>;
% E- a, k! T9 [+ I+ M5 W if(!g.c){/ k& X5 G6 M* C) m0 y$ `
g.c="";
/ x' Z* }+ D* A/ h }
6 B+ F" L/ R" c% t! L $("#list").innerHTML+="<div id=lrc"+i+">"+g.c+"</div>";* p; w4 k' n) [9 o( n
}
7 M7 g* I' t6 Rvar time = setInterval("lrcList()",500); % o2 |1 Y7 e6 J- m. |! i) O
}else{* l: A5 J+ _( ]& O
$("#list").innerHTML=$("#lrc").innerHTML;
0 i4 o4 _# f4 N% h}
2 d5 K+ L. t- R* b" d9 rfunction getNext(i)
: t [0 q, T* N2 `{0 E- m# a, [; K% d6 U& R/ P
var result = "";& v7 X: V7 f p. d- [$ \( r4 C5 w8 d ^
var i = i+1;
' X7 q! M0 n- B- A t = lrc<i>.split("]");/ {- [$ Z: K* k7 |- \
if(t[1]=="")
7 d( g) K( U& u3 j9 `+ S x+ {% B result = getNext(i);
% Z! A5 l `5 n- a4 a else/ Z0 ~2 n1 R% |! G' w8 r' t9 f
result = t[1]
0 R k6 v9 T. k; T3 h) h return result;
3 _* n* f% @9 h}
2 V1 b: ^" `# E* N; d* C1 K7 E# j6 R) u3 y
function getTime(str)
! ]0 h; R& B: G! w{. d' Y' C" c8 l1 t. A! @8 O* z3 o$ D
var time =0;
3 b. H' m3 ^/ `) b; q var ta = str.split(":");. x+ Y+ ~0 u: [. m2 }+ l
if(ta.length<2)
: t2 t# N! `& V- e* e! w6 f* r return time;
& G8 Z" d% F5 q) M
$ O3 Z6 h) k+ G: G! O. x: Y if(ta[1].indexOf(".")>0){5 T+ c6 A) `+ \, S2 Z( ?
var tb = ta[1].split(".");1 i0 Q6 ^$ R; n9 t+ M7 n }
time = ta[0]*60*1000+tb[0]*1000+tb[1]*10;
+ G8 R% l/ a2 B( F$ }! s( z }8 q* c" ^0 y; g- M* M6 l$ v+ t0 S. d
else' e2 R% m% }( O" O: h4 X' I
time =ta[0]*60*1000+ta[1]*1000;, s# [! w: J8 E' a; b5 t
return time;
! Z) s9 k, X% H' x1 |+ ?}
% x y3 } l. u! V* bvar preTime = 0;+ u# v- T! @3 I" o9 I
var nextTime = 0;
+ m" o# V, d \! q* Evar currIndex =0;8 i9 ]4 z, {2 |4 _' }2 P
function lrcList(){
& p1 y' }. A, `/ A9 K. } var s = parent.document.getElementById("MediaPlayer").controls.currentPosition;" \6 S @, t J6 \. A5 d4 l$ @3 i& G- q
s = s*1000;
: s2 L4 t; ?* J) g3 z if(s==0){' w( T- u/ ^3 H0 `: e' u6 i
currIndex =0;
8 Z1 }6 H' ^0 B- l* [1 U $("#list").scrollTop = $("#lrc"+currIndex).offsetTop-30;
2 @" v2 F! t) D# e- I ~ for(var i=0;i<array.length;i++){/ U1 j4 L7 F" J, M/ ~# X u
document.getElementById("lrc"+i).style.color=colorNormal;& Y' Z2 d* g/ ?$ r" C3 e
}
& F- p) Q9 w8 S( w% D9 c return;' `# ]/ Y; H7 w, H1 ^; G, e
}. {6 s# V5 @. b. L. ~/ O2 c8 o
if(s>0&&currIndex<array.length-1)
# g8 K# _5 H4 T, ? l" w { 3 q* g( G$ Z+ c# \; p
preTime = array[currIndex].time;+ }& ~4 G: q1 N( n2 k
5 g" |- t$ B0 V7 K9 l. ?$ @ nextTime = array[currIndex+1].time;
4 k4 c$ P4 N5 b9 J! |% k, ~
" Q9 k1 S: H, E) Z$ e+ ?2 w if(s>=preTime&&s<nextTime){
* x7 c# C5 N Y) s3 }$ q, b) D8 u }
3 W! a3 Z/ D" W6 m/ M else if(s>=nextTime)
2 A! J: \) ]; J {
# u- u& E9 v: N! U2 } document.getElementById("lrc"+currIndex).style.color=colorPasted;
; J1 Z6 _0 X3 G. q I currIndex++;- V T( e. M" o. R$ G9 y
$("#list").scrollTop = $("#lrc"+currIndex).offsetTop-30;& i. o2 l) o, l
document.getElementById("lrc"+currIndex).style.color=colorPlaying;
) Q! S* X0 f* E6 m) p4 u' d) e lrcList();. t, u3 `" f% t( c1 S
}
2 D! z) h( i( o* ?+ R else{6 \, j" |. n6 R. u! P
document.getElementById("lrc"+currIndex).style.color=colorNormal;2 `' p. e5 M3 @2 _1 T1 F9 G/ ~& a
currIndex--;
+ p+ w& N5 X3 D. @1 ^ $("#list").scrollTop = $("#lrc"+currIndex).offsetTop-30;3 X3 P3 ^0 s) F, W+ x1 E
document.getElementById("lrc"+currIndex).style.color=colorPlaying;
% O9 K: A$ A# n U: {" m: H lrcList();% D3 W$ g6 R! P0 o1 t
} : K) t: `7 S. y, c8 @( k; [/ |
}0 }1 t$ O9 g6 A8 g) L# |
else& a; Q, d V* t. m7 P" H
{+ R3 B, D- Q* p& j$ X
if(s<array[array.length-1].time){
' |7 \* Z+ k) l8 U currIndex = 0;
! {& `" o& C4 p; l& k1 o $("#list").scrollTop = $("#lrc"+currIndex).offsetTop-30;
9 c4 T# g: J) C Q for(var i=0;i<array.length;i++){
4 I( V! j7 [# K) u document.getElementById("lrc"+i).style.color=colorNormal;6 ~, t- \. j) i' s
}
5 o B6 A1 s" W' }/ I3 F% ~ lrcList();. Y, ?7 E" e/ K# {, C0 C
}5 E' z. T! W/ u T) B
}" g1 C$ a' }( G9 e+ j+ g- i
}2 B0 R& k: t) _* f7 H# x
</SCRIPT>% R; |$ a# P6 R' y, F: b
</DIV></DIV>
( c0 ]) ^! F& Z l R
! F; f6 O7 ?; R% x, S[ 本帖最后由 幽谷兰 于 2008-9-18 17:36 编辑 ] |
|