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