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