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