|
<DIV id=list>
9 l, w9 b- u2 d& |<DIV id=lrc1 style="COLOR: #666666">[wmv=0] http://lzbj.ncedu.net.cn/uploadfile/20083923248279.mp3[/wmv] </DIV> r+ j% _2 O* i
<DIV style="COLOR: #666666">|等一分钟|听到这首歌,觉得它很动听,旋律很优美,很是喜欢,传上来给大家听听。</DIV>
7 S/ N' F; @. o9 S# x3 M<DIV id=lrc2 style="COLOR: #666666">词曲唱:徐誉滕</DIV>
& z: `& P H# O' F<DIV id=lrc3 style="COLOR: #666666"></DIV>
5 C7 K: g. R7 E/ a6 m<DIV id=lrc5 style="COLOR: #666666">如果时间 </DIV>
' R/ k7 B; H5 X2 R$ ]' G: d<DIV id=lrc6 style="COLOR: #666666">忘记了转 </DIV>
9 H4 _! s1 L: k# m<DIV id=lrc7 style="COLOR: #666666">忘了带走什么 </DIV>
; v, o: x% q* o: m: e, _<DIV id=lrc8 style="COLOR: #666666">你会不会 </DIV>
4 `. T9 q: H8 }( P( z& W<DIV id=lrc9 style="COLOR: #666666">至今停在说爱我的那天 </DIV>, H, R* C4 G% Q" a+ J
<DIV id=lrc10 style="COLOR: #666666">然后在世界的一个角 </DIV>
& b }, a1 c1 c& Q" l<DIV id=lrc11 style="COLOR: #666666">有了一个我们的家 </DIV>
' o5 P* n) G, z4 k+ ]! a' F4 p: W<DIV id=lrc12 style="COLOR: #666666">你说我的胸膛会让你感到暖 </DIV>1 j8 |( v: {. j, F: Z
<DIV id=lrc13 style="COLOR: #666666">如果生命 </DIV>0 D# ~( y/ }, |1 Q6 A6 N0 q
<DIV id=lrc14 style="COLOR: #666666">没有遗憾 </DIV>2 c8 D6 n, \6 {( ~8 w- ^ C9 o3 w
<DIV id=lrc15 style="COLOR: #666666">没有波澜 </DIV>* X+ ?) X2 G. R/ I. y% [
<DIV id=lrc16 style="COLOR: #666666">你会不会 </DIV>. T$ M/ L0 s6 `& N: X3 v+ p8 Q2 _
<DIV id=lrc17 style="COLOR: #666666">永远没有说再见的一天 </DIV>8 Z$ K5 J' N0 u1 q
<DIV id=lrc18 style="COLOR: #666666">可能年少的心太柔软 </DIV>
6 y$ q2 {- O8 x% d& a2 L( T9 Z$ n<DIV id=lrc19 style="COLOR: #666666">经不起风经不起浪 </DIV>" b) Y6 n) v* f U8 t; M6 i
<DIV id=lrc20 style="COLOR: #666666">若今天的我能回到昨天 </DIV>
3 M8 \! n: M4 l0 y5 j' {<DIV id=lrc21 style="COLOR: #666666">我会向自己妥协 </DIV>
/ p6 A( y1 Z. e! r# S; l<DIV id=lrc22 style="COLOR: #666666">我在等一分钟 </DIV>
! }/ Y2 ^, i( {( [3 G/ M7 E<DIV id=lrc23 style="COLOR: #666666">或许下一分钟 </DIV>
# M, I2 q5 g" E* e) P6 U<DIV id=lrc24 style="COLOR: #666666">看到你闪躲的眼 </DIV>, z Z; C9 j W N6 `' @( O9 L
<DIV id=lrc25 style="COLOR: #ff3300">我不会让伤心的泪挂满你的脸 </DIV>/ \) }; ]. y% d1 e# f/ y$ `
<DIV id=lrc26 style="COLOR: #000000">我在等一分钟 </DIV>% l8 U. v9 r ~7 V3 z
<DIV id=lrc27 style="COLOR: #000000">或许下一分钟 </DIV>
- h% a( W# {6 |. W<DIV id=lrc28 style="COLOR: #000000">能够感觉你也心痛 </DIV> }% r, e5 @6 d+ b: d$ y
<DIV id=lrc29 style="COLOR: #000000">那一年我不会让离别成永远 </DIV>* a2 H3 U: Q( h) |% i9 M8 V, D* M
<DIV id=lrc30 style="COLOR: #000000">如果生命 </DIV>
R) C- a% {; B5 p6 N<DIV id=lrc31 style="COLOR: #000000">没有遗憾 </DIV># O5 J9 \9 u( E$ G, |# |% W+ A9 \
<DIV id=lrc32 style="COLOR: #000000">没有波澜 </DIV>' m5 x4 v1 j% U5 D
<DIV id=lrc33 style="COLOR: #000000">你会不会 </DIV>( i; L0 z8 {7 ~& {
<DIV id=lrc34 style="COLOR: #000000">永远没有说再见的一天 </DIV>
, U0 |4 w4 i1 ~1 j t<DIV id=lrc35 style="COLOR: #000000">可能年少的心太柔软 </DIV>
! \, k. I4 \4 P5 d( q6 _; m, w<DIV id=lrc36 style="COLOR: #000000">经不起风经不起浪 </DIV>
5 i4 h$ I3 Y4 k5 ?1 h9 r<DIV id=lrc37 style="COLOR: #000000">若今天的我能回到昨天 </DIV>
+ I9 _; A Y# v; |9 e$ G$ h# S% R3 ?3 G<DIV id=lrc38 style="COLOR: #000000">我会向自己妥协 </DIV>
Y- w0 E0 F4 R7 J; Q. P9 I2 m+ I0 g<DIV id=lrc39 style="COLOR: #000000">我在等一分钟 </DIV>, e6 h2 I" d6 k7 i% {; h& n( G8 I
<DIV id=lrc40 style="COLOR: #000000">或许下一分钟 </DIV>7 y- s( f7 j, d
<DIV id=lrc41 style="COLOR: #000000">看到你闪躲的眼 </DIV>, C }+ C7 W5 v) x: g, k, p0 O
<DIV id=lrc42 style="COLOR: #000000">我不会让伤心的泪挂满你的脸 </DIV>' T$ L8 N8 L: U& ]) [* I- C
<DIV id=lrc43 style="COLOR: #000000">我在等一分钟 </DIV>7 G, @2 r4 a5 \
<DIV id=lrc44 style="COLOR: #000000">或许下一分钟 </DIV>) }& w% m& u+ e3 Q( g
<DIV id=lrc45 style="COLOR: #000000">能够感觉你也心痛 </DIV>; G+ T/ M8 r) Z T: W$ X
<DIV id=lrc46 style="COLOR: #000000">那一年我不会让离别成永远 </DIV>
) ?9 {4 m5 O$ o9 L4 {( D1 S<DIV id=lrc47 style="COLOR: #000000">我在等一分钟 </DIV>+ g2 j7 \2 d- O+ n% t
<DIV id=lrc48 style="COLOR: #000000">或许下一分钟 </DIV>& }2 y2 m: d- ?$ a6 z- o
<DIV id=lrc49 style="COLOR: #000000">看到你不舍的眼 </DIV> q" L+ y/ w$ h8 f
<DIV id=lrc50 style="COLOR: #000000">我会用一个拥抱换取你的转身 </DIV>2 Z$ A. k% ~# O( K c* i
<DIV id=lrc51 style="COLOR: #000000">我在等一分钟 </DIV>/ H- q! j) s9 U3 E
<DIV id=lrc52 style="COLOR: #000000">或许下一分钟 </DIV>* H" _$ l% }. c1 g
<DIV id=lrc53 style="COLOR: #000000">如果你真的也心痛 </DIV>
, I; J! x" j5 K<DIV id=lrc54 style="COLOR: #000000">我会告诉你我的胸膛依旧暖 ( C4 ? V2 S7 S/ h0 M- U; q9 @
<DIV id=lrc style="DISPLAY: none"></DIV>
' j4 _7 i. m* e3 Q& y5 \0 a<SCRIPT type=text/javascript>" y5 C0 d- M1 A5 J! Z1 F n7 n- t
document.domain="1ting.com";
. H9 Q7 D& G( B& U3 Pvar colorPasted="#666666";- U6 ^4 E7 N4 {2 o) Y% |
var colorPlaying="#ff3300";4 l" X! D2 e( [
var colorNormal="#000000";
& x/ q3 ^: c0 Q+ X. o; x/ y! |$ = function (a,g){
( K& r7 c; m3 [6 K- L6 Y8 }5 ]7 [& D var o = new Array();
% t- h/ S- W1 ]! a- }9 N var c = new Array();
' I& X6 x4 w2 l) b. I* T& W, Y var r; 5 m. Y) a+ ]1 \/ x# L2 \
var u; 9 S8 [" K7 P, q7 L7 m, A
var a = a.split(';'); ! g2 \- C: f6 I5 s% `4 [- R C
* h/ a4 J4 v* ]' B+ [1 v, G( Q
var e = "keydowns,resize,load,dblclick,click,mouseout,mouseover,mousemove,mouseup,mousedown,inputchange,inputfocus,inputblur".split(",");
" T' r$ W9 m6 @# m# s) P% U- {; v for(var i=0;i<e.length;i++){% S: n% ~6 c5 _ Q0 e. R3 @
eval(e<i>+" = function (s){eval($event('on"+e<i>.replace("input","")+"'))}"): B+ t7 w6 Z7 O% ]
}* J+ Z" ^/ |2 ^: m% E5 O/ x/ J
: p5 t$ F I. |5 }$ K3 m( M7 J
after = function (t,d,s){' K2 v, P8 r9 m O. e! a
$after = function (){! w2 a) k1 I& d( y" ]
var $n=document.createElement(t);7 ^$ p- ?1 Q1 _/ c4 `1 c# v
if(d!=null){7 @9 o9 }2 y6 S$ p. A7 N, d
$n.id=d; ( u& ]" o# _9 ~7 ?( L
}5 ^. H& Y/ e4 h7 ^' W
1 E' N( Q. N. { n0 W u.insertBefore($n,null)
$ ] n0 v$ }5 h r = $n; 3 q% I+ @/ a4 `2 P, J* P, N4 L* L9 _
u = $n; : a) d2 E/ O5 Q7 }) q( u+ b
}
0 {* f. k" W! P4 B- c1 u! T" ? $for(s,"$after")5 Q. n5 e- a5 s; ^5 t# Y. Z% E7 I3 S& x% A
}$ K6 r! F. O+ L+ O
! K( G/ @2 t" _) G5 G/ ?
show = function (s){
1 u* T" G/ n' I* M! m $show = function (){
! ~" E& o s z u.style.display!="none" ? style("display:none") : style("display:block") ;7 X/ g9 K& S) A5 A: B
}7 l% M6 ]5 n& p7 p8 t
$for(s,"$show"), c3 v: p3 j/ F5 J$ V4 R4 m" u
}
9 b. |: r/ [" x5 _2 z9 q( }2 U/ l* i: z/ ^6 w& f' g
check = function (t,s){% U: r4 V7 U# `- D
$check = function (){
. i* B4 |- {( N2 M9 U* e. e if(t=="2"){$ Q/ V5 Z/ A# K3 z9 g8 S8 ^. A. {
if(u.checked){! T/ w$ h& Y0 j2 f' R
u.checked = false;1 k9 r- t% v1 h8 P5 \2 L; N: w. O
}else{
4 [/ l- W% m" g2 }, ? u.checked = true;
6 ^. {* C s% ?% O }( K$ R) J/ A& u1 }
}else{
" U( J# s2 @" s1 @" J u.checked = t*1 ;$ l ^* Y+ }' o! `- n4 u: e
}
1 r/ x2 M7 U& G ?" R }
) Q+ n! d7 }! J2 m. i6 P1 J- i $for(s,"$check")
+ T) V+ b! ~1 A0 q }, g0 \9 U ~: h% k/ L. m
% g/ O0 ?- G5 j, B9 K style = function (v,s){% B% v4 x/ d. T5 x: \0 e
$style = function (){3 G$ Y0 F# _7 h$ k
var $n = v.split(",") 9 [( ~) u w. p! s {# t
for (var i=0;i<$n.length;i++ ){
& x8 h0 Q1 `8 t5 c' U* m( d7 X, r3 ~# c var $m = $n<i>.split(":")
9 V K) @& p* z) A& T, k- N0 I eval("u.style."+$m[0]+"='"+$m[1]+"'");
# j/ r, ^5 L3 i5 u/ z' x9 K }$ ?3 K; q) v& c8 {+ g9 e) L$ P
}
2 w: ` `& c$ v( x, H $for(s,"$style")
1 v. F/ o7 T5 M' V& h }( v3 e. ~0 n& Q" ` l/ q
) x# ~, j/ x5 d
value = function (v,s){ i3 M5 \; \/ G6 y* }+ P
var $n= $this (v);' m0 y9 q. [* F( Q
$value = function (){1 H; E- w, {, ~/ |* A
u.value = $n
/ x3 C2 Z( [- a% o }
+ x$ C% W9 }0 g% b2 c' s- B# l $for(s,"$value")
( h( q8 Z2 \9 y% A }
. O: a, Y" _1 w/ l/ l( t
0 |( s4 D& J2 N" _; R2 K3 E; _" C text = function (v,s){
/ Y" s8 a8 L( w var $n= $this (v);& [: U- H/ }% D6 F( h3 Q t
$text = function (){
7 A, R% c2 Z8 z% W1 R+ i
* q. I% [$ }( l2 D' Y% U u.text = $n& ~. R5 g# b' M5 J* k/ X' b
}9 G7 P) f; n- `! }7 F4 I6 i" F
$for(s,"$text") 9 c) \: p) r$ e
}
2 n S0 q( D% E
" ]/ A$ g+ b T innerhtml = function (v,s){$ D& N% ^. a3 f4 Y! Q8 j
var $n= $this (v); t1 ~ V3 s0 K* U! |' Q# O
$innerhtml = function (){
( x/ }8 {+ `: r" Y u.innerHTML = $n. q$ F5 C- e! U) W5 G8 Y+ ^$ C9 j
}
% r* W3 J2 c! @) |' e# ?( A; D $for(s,"$innerhtml")
# k% A1 u, f8 b( C }
( \3 I, q) g. X9 g - d Z9 b- W( j0 E" B
removechild = function (s){0 V3 Q2 l% o9 d7 i! o
$removechild = function (){& B% O2 e4 ~ C3 Z w3 n+ A( [
u.parentNode.removeChild(u)
: q b. L; s# {4 M, B9 U }9 R& J/ ]& P! h% A# I- x
$for(s,"$removechild"). u' F5 v z' Q% b, P5 }- H' u( K
}
- g8 {4 q6 M# n; S0 e* F7 b* ]" b
$this =function(v){
+ T* F a4 R6 Z5 D if(v.indexOf("this") == 0){
$ l* G+ v! L1 B& c& i" V return eval(v.replace("this","u"))" e% a; H' n, _( ~
}( n! G* h# p. s$ D- ?. \& y
return v;
6 A( m. g9 `/ D& D- p }9 R1 F4 G% `& L
8 ?4 d, d8 T9 l; T$ Z( }5 v) l
$event = function (s){
% p: i4 A( b* A" g2 w5 y var $n ="u."+s+" = function(){$work(this,s);}"" e# f) _7 {" q
return $n;
K% E5 h% R# k: ~; v9 \ }
+ n0 ]( U& m1 {* @7 A- R# Q1 I8 Y1 I, u. m$ y( D
$replace = function (s){
5 b+ h$ Z" A' ?7 G* c& U% C$ h3 @4 v2 D5 }, [
}
% V( p$ }1 O, M5 @8 z1 U7 h
Z1 J! |/ }6 H: W7 P $for = function (s,c){* P$ b# A6 s/ u1 U3 W9 J
var $n="this."+c+"()" ;
% y( @( u/ P9 U) S' i# R if(s!=null){
/ e- t. w3 m, N1 }! w var $m =$test(s);8 \' N6 L0 X4 l4 r }0 M$ d4 ~
for (var i=0;i<$m.length ;i++ ){
+ y' ^, b1 J; r u = $m<i>;8 _( y( K* T: u3 A4 c. d2 H9 j3 s
eval($n);
, ^# |( |, Q8 S; q$ J( ^3 B7 v* W+ i }) |7 N( M; ~/ \; V; o
}
5 ^1 V) ^9 E& v; x) H else{
* O: K- K) W# j6 Z* |/ O4 l eval($n);
! x7 i4 E$ U# }5 r8 q4 b }
" J2 G) N& F# O3 c& } }) p# Y6 Z" T: `& F4 |( [
# ?; i! ~. x( S6 _
$test = function (a){% y K+ {: F9 n& @5 b3 V9 G) D
var o = new Array();$o(a.split(';'),o);
* M$ o5 f- ]( K! i) K6 ^* x) k return o;) R; N- l6 X" u& ~- X, D9 r% g
}2 d$ G% Q7 {* \. ~6 f& q- o
( {) V, F" Z9 L' J2 B, r" Q" M, g
$format = function(s){
0 i2 E4 ^4 ?! W while (s.indexOf("'")>0){
' l/ V! }% y1 V! O7 C0 ~8 L s=s.replace("'","\""); A$ F% L# [: r1 Z$ v: i
}
1 F6 A9 F5 j7 o Q# p. Z/ R( {' ` while (s.indexOf("][")>0){; v1 _! ^# }& `4 b4 T- I% k
s=s.replace("][","','")2 r5 j3 [: {$ `
}
b$ p h, `7 t3 n/ p$ r# v while (s.indexOf("[")>0){9 ^ O7 c9 d* j5 y# K( M; b# {: @
s=s.replace("[","'").replace("]","'")
" m' s1 e# X! Z% B& t* l }
- s5 i2 F$ Z5 _+ Y& } return s;, B5 T; ], \/ q7 Z" b3 e) i/ o6 E
}
5 y u+ T7 e, K, I$ f0 b
* [' T/ _6 o3 r! I/ W9 I $work = function(w,s){* [3 ~6 T3 \( r1 J
u=w;eval(s)
1 p: x8 U; M% N ?& w2 m }# L5 C7 q7 ~" ]
! D- K- ]; [. s
$id = function (s){
% c% B& D% \- V; f return document.getElementById(s);' V6 _% E9 O2 I9 j& S ~+ V( w
}
) T. {. p; b; d$ ^7 S: s; E" B$ I8 i: h' y3 x
$name = function (s){- u5 W! V$ K8 E1 w! e! d$ W
return document.getElementsByName(s);. ?% ~% l, F+ u: z
}+ D0 N' v0 W- ~- H% J
7 J7 c F( g5 u3 M
$tagname = function (s){
, N8 ?$ ~0 K, `0 T4 c return document.getElementsByTagName(s);' V7 f; Z* T0 H: V
}( y$ k( ` ]! M4 P0 b4 x
5 \, Z% w7 W. a" ]4 f$ m
$o = function (a,o,c){5 ?) S4 W; E4 r: _% M$ {
$push = function (n) {& c0 Z$ d5 p$ D B
for (var i=0;i< n.length;i++ ){7 H" D1 ~3 D3 D6 ]: N# j! N
o.push(n<i>);8 M% a; Y( b8 U2 {8 \, X2 O: R
} : S- p$ d0 y4 H7 L" Q. ~) N" n# d
}6 M6 D8 B* V" |; X7 k
for(var i=0;i<a.length;i++){* J1 Q) V/ @4 g- I
if(a<i>.indexOf("(") >= 0){4 a; [% I# U0 O
c.push(a<i>);
4 i! W2 T% }1 e }
, F L: ]9 K0 t& s$ R! j' j if(a<i>.indexOf("~") > 0){
7 D$ D/ {5 d0 c try {* Q s2 ~/ N/ S# M, C$ H) ^
$push(eval(a<i>.replace("#","document.getElementById('").replace(" ~ @","').getElementsByTagName('")+"')"));. w9 Z% t+ @% {% N* [# a- @- b
}catch(e)
2 X0 X6 ]0 T8 Y& w4 |8 K% K {}
7 i; l3 ]/ x2 y. ]! r$ z+ _ }( v/ j. `1 L5 O) \$ @ r3 }
else{
! r4 x3 l/ N7 Q if(a<i>.indexOf("#")==0){
. o' L/ P+ }( H @ o.push($id(a<i>.replace("#","")));
9 o6 c' A4 ?- _7 s6 @' l3 R- z( d# K }' D% ~& K2 f; k1 X, ]( x& Z
if(a<i>.indexOf(".")==0){& _& L: M* Z7 C; H% ^/ [
$push($name(a<i>.replace(".","")));
W; d7 {& T% a7 n5 D }+ B5 H6 f% v2 Z* o
if(a<i>.indexOf("@")==0 ){7 Y6 q a- M2 D ? h0 f& `6 R8 o
$push($tagname(a<i>.replace("@","")));
- I" |/ f) d- f }
9 a B p0 l6 ]4 C& K2 \0 K' J/ [* ]# u if(a<i>.indexOf("*")==0){) J5 m! @5 w1 X
$p= a<i>;# [# C! O+ }+ \6 s
if($p.indexOf(".")< 0){
& s5 f7 }8 V6 z4 t+ W" j$ v! m0 x$ U $p = $p.replace("parent","parentNode"): ^7 H' a5 t3 E
}
7 s& F- B) I1 L) B var $p ="u."+$p.replace("*","");
7 t( i/ N. h+ l' b# ], p& M while ($p.indexOf("parent.")> 0){
) [ O5 h7 _1 \$ o' Y9 v $p = $p.replace("parent.","parentNode.")
# {$ p* f) p/ b5 I }% Z: d, }3 @5 g# [6 K1 [ t; r
while ($p.indexOf("child{")> 0){
7 J9 l2 Z; Q a! z9 D- ]+ } $p = $p.replace("child{","childNodes[").replace("}","]")
! B! j# @2 F+ B, G: u# d7 d: z }! J+ A' w3 t8 [2 H' q' [
o.push(eval($p));
# b! V* Y7 B% v h' \ }
8 y/ E6 U; [* l; N- i( K6 ]7 g if(a<i>.indexOf("document")==0 || a<i>.indexOf("window")==0){
( n$ ~5 [# K* P& a5 b; x- p- c o.push(eval(a<i>));$ e6 }: X7 h( A( s! e5 J; C
}
1 ^" j0 Q! w- _+ ] E, { }
4 S ?7 a) j. p" _! m6 F if(g!=null){ - x3 \! u2 ]7 H6 ]. S" k
o.push(g);g=null7 x5 V" d1 a3 x) j
} " f; e# E: Y# ^+ M
}! d1 c$ m. L7 |8 u
}# M* T- \, ?4 v
% u7 C% Z) ?$ c( h9 K; f
$o(a,o,c);9 P: ^1 m: W% N' Y6 [
& V7 A8 B3 j1 y6 `; C" r for(var i = 0;i<o.length;i++){
* T, _. v; R7 W2 o5 l for(var j=0;j<c.length;j++){
1 `: e' {/ D# K8 g8 \0 B. y u = o<i>;eval($format(c[j]));
7 n' t0 d/ d. W) ~ }
8 K' Y8 u0 _; r- L0 V8 h5 o# i }
& e, a# j4 f* i/ `7 G. Z3 A! d( V1 k+ Y+ S) i
if(o.length == 0){9 H+ W8 m# l) D# e, q
for(var i=0;i<c.length;i++){5 i# p+ q$ W" N5 w
eval($format(c<i>));
, W8 a7 D! [% j }
; b" N* d+ ~2 G: C0 i& m }# o5 _ i. b2 m; X3 o" A- I, ]
# U9 U. f2 N0 N5 D1 f0 w if(r!=null){$ p @% Q7 M; c0 d+ V5 t
return r;
3 n! R& Y* h) z* [# O }" l- ~+ {& S8 s6 s
" F5 n& p6 b" }" O5 O, h; r if(o.length==1){
. Y1 w; [3 N' ]) [6 {7 m return o[0];
- h4 I% k$ x2 t, ~/ e }+ A5 e9 Z' @# j
else{; O M% u0 f& g
return o
: G( U6 X0 h8 D# I6 Q! ` }
2 H7 \) ^7 n5 K6 Z 9 q8 u' b. s7 a6 {6 L1 A! J
}; ?% {$ p! r. j6 z2 w
var lrc =$("#lrc;show()").innerHTML.split("[");7 Y Y* C% N7 N) j& J4 ~
if(lrc.length>5){: A( h4 V& n& I" H5 Q0 r/ M! `9 [
var array = new Array();6 }9 Y0 |0 s. G2 M
for (var i=0;i<lrc.length ;i++ )6 a4 P# Y `% d; f' ^
{) M% C- p) q: l- t7 I: v: W5 S, S
var g = new Object();2 A6 d+ Y/ v* c x3 K) i, H3 K7 h
t= lrc<i>.split("]");. Z( f+ m1 s( w% u9 T4 K7 |
g.time = getTime(t[0]);
0 Q( c! q* u! {& {( Y$ T if(isNaN(g.time)); D7 x1 Y; R W( e: K0 t* K
continue;
5 W& }5 l( Q2 ^2 a# | g.c = t[1];
' p# B: r4 E) G+ f1 T if(g.c == "")
6 ?+ r5 B S( t' P8 H, A g.c = getNext(i);
/ |: |! j8 Y4 b; W7 j; Y1 E( e' B array.push(g);
_4 h; |6 [2 u( E3 P0 d! v7 J}5 J5 ~1 X' C+ Y% y" U) G; o
array.sort(function(x, y) {, b$ e, S% D2 W2 t+ P0 j, |
if (x.time>y.time)
0 I( z, v8 t$ ]! E return 1;
& s6 ^0 t. y/ T" T1 Y' c else if(x.time<y.time)
7 f. S1 Q- o4 k; F+ l8 b return -1;2 \4 A- X' i* r2 Z" F
else
2 p- h: U9 l4 _$ H7 ?3 k return 0;1 T5 q {+ P& @
}
& V- U Z: W5 H0 c9 `4 }6 ^$ F);
* K8 J4 ~- o6 `/ z* @+ V/ a) e7 l2 jfor(var i = 0;i<array.length;i++)
5 R# c' j1 g' R, ^- G, Y* m" [5 t- t{
4 {/ r1 d2 d# c0 ~5 F' T var g = array<i>;
# q* |( a! M% G8 R if(!g.c){0 l8 p, V p+ a; v/ Q4 a) C
g.c="";' M; |. R, h! Q+ r( C: A5 s1 p9 t
}. W! ^' w0 U1 ^: b$ x. w6 C
$("#list").innerHTML+="<div id=lrc"+i+">"+g.c+"</div>";
+ f2 Z5 o5 s/ }% v0 b$ z% Z; ]; O}' b) z. f) k- y4 `$ `* n6 P
var time = setInterval("lrcList()",500);
; h/ m( u0 j1 H& d& e}else{
2 d o! [8 \" y# a$ U) }/ h0 I $("#list").innerHTML=$("#lrc").innerHTML;
/ w n; c1 r, H" ^* ^}" F }! t. k5 V# ?) C
function getNext(i)% n$ P1 r4 q9 `+ i/ z
{2 y, u5 z7 P3 r" W
var result = "";4 E+ U7 Y" N3 F2 n6 e
var i = i+1;, Z1 n; Z) y3 J+ T- _" i* u7 Y
t = lrc<i>.split("]");
5 _% s- Z. I- c- ? _% z if(t[1]=="")5 c6 t& |* g9 ]7 m F) y" ^
result = getNext(i);
1 V+ e; r% M" o$ V% S* y/ o else( D7 B$ r4 i q, A0 A' Y. h; r
result = t[1]
! I! ^6 P8 F+ B' b4 F. x return result;) K9 u$ J6 G; e v* c4 F
}
2 O' z% [& _9 t% k' n) R B) D) ^* m
; g8 Z' `; i" S2 o6 R! Q# Rfunction getTime(str)
% J) _0 w! S/ i: d{1 e3 S. r" ]0 g$ @0 G0 |5 P1 f
var time =0;2 q; q2 Z) k+ M
var ta = str.split(":");$ o1 { \ h' L# J b
if(ta.length<2)
, q8 P5 p" y9 X& a: _ return time;
" G1 x) S% @( E+ q8 _, _
+ ~+ \. N4 N+ \' @, O/ j& w if(ta[1].indexOf(".")>0){- V7 r7 F% Z$ D0 A8 T- i6 G1 R
var tb = ta[1].split(".");* W' d$ x }. N" V- _
time = ta[0]*60*1000+tb[0]*1000+tb[1]*10;
; g0 u4 U K4 S6 x+ i- n }
" F% o% F( O, v# Y' A else7 E# e% k. z* B- @/ O
time =ta[0]*60*1000+ta[1]*1000;
, a$ K/ |9 E2 q7 B1 Q return time;+ Z/ n+ y0 W) z# X! M2 s+ H
}/ p/ Q! a! S, G& m' X
var preTime = 0;8 X p- [; |& A0 N" J
var nextTime = 0;
1 x; R, P$ M8 ~4 h! z dvar currIndex =0;" I. c* |: }3 `0 T0 C
function lrcList(){
+ z2 c' q3 K9 Q/ ]. U0 P* [1 L, s var s = parent.document.getElementById("MediaPlayer").controls.currentPosition;8 ?/ k0 M5 }" o' W4 o& c
s = s*1000;
, ]9 E5 ] d/ o4 | if(s==0){
# P0 T; I. k/ [7 b currIndex =0;
p6 ]/ `& j3 j $("#list").scrollTop = $("#lrc"+currIndex).offsetTop-30;' d: J9 c3 J' I5 D% y9 y
for(var i=0;i<array.length;i++){: d0 ]8 E( b" |& f
document.getElementById("lrc"+i).style.color=colorNormal;7 v# C) X( d4 W5 q4 |! }* S
}* K" {, d8 y# W& s' E
return;
7 }& ?5 _+ y1 j2 [8 \ }3 [% g% v8 I4 b/ O( y
if(s>0&&currIndex<array.length-1)- }. |* `; K4 w0 G! z% s0 x$ ?2 f
{ & N2 z/ a+ G2 f8 S/ Q. M0 C4 J
preTime = array[currIndex].time;. {+ E# x" q! _& L+ e& ^
/ {( X# W! s, B5 U' L nextTime = array[currIndex+1].time;) u6 B0 E& h: `( Z) R3 [9 ~' M
) U& c) n* N( c5 p: K if(s>=preTime&&s<nextTime){
& ^5 B" D- d4 H7 V9 _; `+ S$ E R1 f }; u# c7 C, B7 m; H
else if(s>=nextTime)9 f# L2 U7 X% x* m: X
{" P1 U `+ O5 h
document.getElementById("lrc"+currIndex).style.color=colorPasted;! W/ U3 A( g: N* H
currIndex++;
) U7 d* o: L# e- P! A' Y8 Y- o5 Y $("#list").scrollTop = $("#lrc"+currIndex).offsetTop-30;
; X7 g! R6 W' w9 {$ Z document.getElementById("lrc"+currIndex).style.color=colorPlaying;( g" y( g! M) d; H& G( d( `6 H: }( h
lrcList();, `( l5 c& r. W
}
( K, Z5 X9 H4 u% {3 | else{; B$ c @) L; u0 B* p c0 O
document.getElementById("lrc"+currIndex).style.color=colorNormal;
; T: B+ X( `- \) O* e currIndex--;. x2 g, P0 w: |* Y- x/ U5 B `
$("#list").scrollTop = $("#lrc"+currIndex).offsetTop-30;; T# j2 n6 [+ y) G
document.getElementById("lrc"+currIndex).style.color=colorPlaying;3 v$ _+ Y: T: G6 @
lrcList();) p D' u9 b' D! B3 B+ n0 A: U% H
}
1 j7 W9 I3 S/ ]! ~) L }
6 M# ~/ [! J% L else
- b- B( P( @: U; [# i {- l. e8 O2 }1 j) _$ x
if(s<array[array.length-1].time){
1 ^" B% r9 p3 S currIndex = 0;
4 T& D. u9 u. r$ \ $("#list").scrollTop = $("#lrc"+currIndex).offsetTop-30;, |+ N* G9 F) J5 I- v4 r# u& Q
for(var i=0;i<array.length;i++){
* |1 y/ b9 l( K& ?$ ~% c document.getElementById("lrc"+i).style.color=colorNormal;# j+ f$ l1 X0 A( i) @" M
}
O: g# M$ E' _% h lrcList();8 ~# r" n. T+ J8 c: F& M+ A$ i h; ]6 G
}
* B% I; p2 U6 E }& c; {5 |# J0 x
}* o& `: T* W& s! V9 o
</SCRIPT>1 ^9 K6 ?7 K& l( L8 z
</DIV></DIV>
2 U( Z7 `* k+ p# K/ {
! q8 v/ K5 @* @, M1 N6 s[ 本帖最后由 幽谷兰 于 2008-9-18 17:36 编辑 ] |
|