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