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