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