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