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