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