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