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