|
|
<DIV id=list>
8 {" g6 h& i( f% H; r7 w<DIV id=lrc1 style="COLOR: #666666">[wmv=0] http://lzbj.ncedu.net.cn/uploadfile/20083923248279.mp3[/wmv] </DIV>" }7 `% w; |) t( v5 z5 @* g
<DIV style="COLOR: #666666">|等一分钟|听到这首歌,觉得它很动听,旋律很优美,很是喜欢,传上来给大家听听。</DIV>6 ?* P4 W) C% r9 J0 H0 j
<DIV id=lrc2 style="COLOR: #666666">词曲唱:徐誉滕</DIV>
% G1 m7 V" R0 _7 d# T+ X! v/ g<DIV id=lrc3 style="COLOR: #666666"></DIV>( l+ F% F( }, I6 |1 b- q% W
<DIV id=lrc5 style="COLOR: #666666">如果时间 </DIV>2 B. [0 z" r; x V( [! }7 l
<DIV id=lrc6 style="COLOR: #666666">忘记了转 </DIV>% R. c) l2 ?& h7 C/ A9 p! S( I- r1 P
<DIV id=lrc7 style="COLOR: #666666">忘了带走什么 </DIV>
3 ]2 x7 t, @" y+ U- Y<DIV id=lrc8 style="COLOR: #666666">你会不会 </DIV>
! O9 q2 \, b7 p2 d' ~ l<DIV id=lrc9 style="COLOR: #666666">至今停在说爱我的那天 </DIV>: t. |' Q. Y) C- z
<DIV id=lrc10 style="COLOR: #666666">然后在世界的一个角 </DIV>% U; B0 ~( A+ m5 P' V1 a
<DIV id=lrc11 style="COLOR: #666666">有了一个我们的家 </DIV>/ \; c; [; q7 U9 y, \, p, g b
<DIV id=lrc12 style="COLOR: #666666">你说我的胸膛会让你感到暖 </DIV>
" w+ R' X9 R- G- k<DIV id=lrc13 style="COLOR: #666666">如果生命 </DIV>( [9 O3 L$ Z' _( l
<DIV id=lrc14 style="COLOR: #666666">没有遗憾 </DIV>
7 {7 K6 l$ y2 m/ D<DIV id=lrc15 style="COLOR: #666666">没有波澜 </DIV>
+ k8 `5 D" q, S- R# l1 F v<DIV id=lrc16 style="COLOR: #666666">你会不会 </DIV>4 b+ a- l p0 R+ k
<DIV id=lrc17 style="COLOR: #666666">永远没有说再见的一天 </DIV>: A8 H* R: L( w) g3 Z
<DIV id=lrc18 style="COLOR: #666666">可能年少的心太柔软 </DIV>( E' \8 E9 `9 Z1 v+ u% O( Q
<DIV id=lrc19 style="COLOR: #666666">经不起风经不起浪 </DIV>+ S7 }* d( E! z) j' y/ D r/ M' G
<DIV id=lrc20 style="COLOR: #666666">若今天的我能回到昨天 </DIV>( J5 z k8 p+ ]
<DIV id=lrc21 style="COLOR: #666666">我会向自己妥协 </DIV>* H7 x: \/ _) @7 R A
<DIV id=lrc22 style="COLOR: #666666">我在等一分钟 </DIV>- Q' l1 a; s- S& g
<DIV id=lrc23 style="COLOR: #666666">或许下一分钟 </DIV>$ y9 E& j+ e/ V# I& [' w
<DIV id=lrc24 style="COLOR: #666666">看到你闪躲的眼 </DIV> F9 a; r) p4 ?1 h$ ]
<DIV id=lrc25 style="COLOR: #ff3300">我不会让伤心的泪挂满你的脸 </DIV>. b4 }4 H3 [% S, Y0 D! F
<DIV id=lrc26 style="COLOR: #000000">我在等一分钟 </DIV>4 R, I9 c. b4 V! {; L# j
<DIV id=lrc27 style="COLOR: #000000">或许下一分钟 </DIV>
1 Z, |& y& s! K; P/ B) ~4 V<DIV id=lrc28 style="COLOR: #000000">能够感觉你也心痛 </DIV>0 W/ q9 d/ ]+ t
<DIV id=lrc29 style="COLOR: #000000">那一年我不会让离别成永远 </DIV>
, n* G; A5 w0 o( |' h<DIV id=lrc30 style="COLOR: #000000">如果生命 </DIV> D( {. Z8 V5 M, L! d
<DIV id=lrc31 style="COLOR: #000000">没有遗憾 </DIV>1 O ~7 q( E+ G, p, ]! u3 Q
<DIV id=lrc32 style="COLOR: #000000">没有波澜 </DIV>
) U* F3 T+ Q v<DIV id=lrc33 style="COLOR: #000000">你会不会 </DIV>
+ y* T/ [0 C7 [3 G<DIV id=lrc34 style="COLOR: #000000">永远没有说再见的一天 </DIV>
0 A' h! D6 T4 N: o6 x) T! `- A3 W<DIV id=lrc35 style="COLOR: #000000">可能年少的心太柔软 </DIV>& s- w% n2 M. D
<DIV id=lrc36 style="COLOR: #000000">经不起风经不起浪 </DIV>3 x" G- y6 \# i) Y. w8 o$ W
<DIV id=lrc37 style="COLOR: #000000">若今天的我能回到昨天 </DIV>
6 z Y% f: c. p; n: H<DIV id=lrc38 style="COLOR: #000000">我会向自己妥协 </DIV>7 T( o% n/ _! ]8 ~5 q
<DIV id=lrc39 style="COLOR: #000000">我在等一分钟 </DIV>
, X; y7 Q7 ^4 q$ Z7 `3 ]1 \- i<DIV id=lrc40 style="COLOR: #000000">或许下一分钟 </DIV>- L {( K+ a h
<DIV id=lrc41 style="COLOR: #000000">看到你闪躲的眼 </DIV>) G V1 h' v+ l7 S8 Y
<DIV id=lrc42 style="COLOR: #000000">我不会让伤心的泪挂满你的脸 </DIV>6 T7 _ [! m6 m. D# Z
<DIV id=lrc43 style="COLOR: #000000">我在等一分钟 </DIV>
$ {& I5 N3 {0 g<DIV id=lrc44 style="COLOR: #000000">或许下一分钟 </DIV>
! q1 v3 T+ E0 K+ w! e+ Q, ?3 |<DIV id=lrc45 style="COLOR: #000000">能够感觉你也心痛 </DIV>
' k2 M1 [; g8 q p) ?5 k<DIV id=lrc46 style="COLOR: #000000">那一年我不会让离别成永远 </DIV>' F% P; |2 W0 d/ e& {% q
<DIV id=lrc47 style="COLOR: #000000">我在等一分钟 </DIV> }5 }* {/ G4 M4 H0 A1 X
<DIV id=lrc48 style="COLOR: #000000">或许下一分钟 </DIV>
9 V" y5 x: A' g2 D# T' v<DIV id=lrc49 style="COLOR: #000000">看到你不舍的眼 </DIV>: K# t5 S+ B+ Q+ O: P2 ]8 a
<DIV id=lrc50 style="COLOR: #000000">我会用一个拥抱换取你的转身 </DIV>
0 g3 y/ W1 e' V<DIV id=lrc51 style="COLOR: #000000">我在等一分钟 </DIV>
# T [6 h6 w) ^* r2 Z' T9 f1 t<DIV id=lrc52 style="COLOR: #000000">或许下一分钟 </DIV>+ t b5 l1 {# K# a/ @" o# g$ G
<DIV id=lrc53 style="COLOR: #000000">如果你真的也心痛 </DIV>6 s8 w6 {9 P. ~! w4 `& r7 R
<DIV id=lrc54 style="COLOR: #000000">我会告诉你我的胸膛依旧暖
( u! m$ O4 Z& Y @* F<DIV id=lrc style="DISPLAY: none"></DIV>$ G) c2 g$ ~4 {, W7 w( j
<SCRIPT type=text/javascript>; J7 f2 e3 k9 D% f2 o, G
document.domain="1ting.com";
7 e+ R7 N: @; `& ^, y' `, uvar colorPasted="#666666";2 B- o. x: A i7 l# g+ L
var colorPlaying="#ff3300";# ]+ N$ `6 y9 @0 _+ b
var colorNormal="#000000";! ^- q. ]2 L- @
$ = function (a,g){& t5 X# L5 L7 \" F" [# p$ Q A5 B
var o = new Array(); * ], m. c) m R* U4 W
var c = new Array();
; C) o) Z0 A% H/ l$ a. M. q% i var r;
0 S6 ^7 @1 _, W# x var u;
" `: w5 Y% Q5 D* \1 ?- E var a = a.split(';');
% a% ]: d, n" Y6 e7 X* h" S3 R; e
# W5 L$ s# {( E2 u$ j var e = "keydowns,resize,load,dblclick,click,mouseout,mouseover,mousemove,mouseup,mousedown,inputchange,inputfocus,inputblur".split(",");, P) |/ J* t9 v: Y" k0 v
for(var i=0;i<e.length;i++){
5 h& e9 l! i9 V/ g; v eval(e<i>+" = function (s){eval($event('on"+e<i>.replace("input","")+"'))}")
$ d6 l0 v/ s' `, g! u! O2 e }+ w, o! t) G# N5 {- o3 D
( A8 F' e4 U6 z7 Y+ Q, w after = function (t,d,s){
3 Q) s+ |- o' @; B& ] $after = function (){7 ~+ L) x8 v1 ~. ?+ W9 e0 Q
var $n=document.createElement(t);7 r* O2 X& g4 D3 N- S
if(d!=null){% e' S9 e- M! ^) ~( J
$n.id=d; 3 \5 c+ C( a& y
}1 I% v/ m5 c6 g, m! T+ R
) D5 B7 E/ O# Y; n( Z: m
u.insertBefore($n,null) }/ U4 G& U* W! t# {- P$ g
r = $n; 6 {4 R% H/ L6 R( z
u = $n; + e" t$ j2 ?+ M: [( L
}# j: `7 d C2 n2 a; h9 [2 U
$for(s,"$after")
" m# d9 x& y% A2 @; @& d7 ]( w# B }
+ z+ A" C2 E, R
: X' j/ j7 e, p+ j( O' D$ { show = function (s){% D9 [! [1 i: S& J6 @* L( B
$show = function (){
. d9 O& L7 c& }0 c: I u.style.display!="none" ? style("display:none") : style("display:block") ;
1 P( J8 x* O- k0 V3 O }
& F+ v: P( h# w$ B3 ? $for(s,"$show")
( ]4 f" N8 @8 m0 r }
: q: Y* g: n" _/ { o5 T
2 ~( d& k8 T' @4 } check = function (t,s){
" Z( f3 n) G- m( y* ` C $check = function (){! d a; v/ E8 {0 F" k% }* v- o
if(t=="2"){
* I9 G( f) ?* d x* J if(u.checked){- r! f4 d: Z' F9 k
u.checked = false;. L, k+ b' Y. R1 ]" F% h$ ]* L
}else{
, S) s$ j9 }- c4 ^) v u.checked = true;$ a, W ^ M4 f1 Z8 g
}
: O0 d# I2 V( a# S# [4 | }else{- m, x* V8 O2 Z2 r2 E
u.checked = t*1 ;
4 X8 }# ?6 n6 P/ f }
! o6 I% C9 ]& T m! B, A i" H }& ?# d+ P: G5 B" l Q
$for(s,"$check")
# D4 m7 z2 K0 U ~ Q$ U }
# f* `' m& d* z8 x, O1 f g
& S M2 F# y& v% ]# |+ J# J+ I5 H style = function (v,s){
$ V- K" m A" d7 X $style = function (){
- o9 [7 g1 h1 {4 }, U var $n = v.split(",")
2 \0 Z7 B5 f# {4 V for (var i=0;i<$n.length;i++ ){
* H8 K4 C4 z5 s var $m = $n<i>.split(":") % m8 o* ^# f6 T1 Z: y
eval("u.style."+$m[0]+"='"+$m[1]+"'");
, J& Y% g a7 e5 B0 [ }
4 q5 S. x. L; F2 z( J }
) V4 U( N4 K/ C1 i& k8 q" n $for(s,"$style")3 D5 @6 V% S; f. e. O; {: K( j
}) M+ f2 s+ Z7 R# f, m+ w0 W; y
9 _7 l$ T; R8 f6 o# ` value = function (v,s){9 A8 e& V# z- l, r
var $n= $this (v);) h+ d2 h% W* M3 o: j( V/ \! W
$value = function (){
$ A) R0 \" W1 N/ l3 c- |$ D5 W u.value = $n
; _: i/ U h3 Z1 J7 s- A+ a }9 Z( E) t$ C* s7 k" A; T
$for(s,"$value")
+ Q7 m2 d( c2 r# m, E- L }
2 ~ M% M: H6 }# L ]& d* T) Q6 r% U: R0 D
text = function (v,s){
4 O& K: N% o* T+ i5 _ var $n= $this (v);
$ o& i. a8 e! [1 A, { $text = function (){
+ e- ~3 M9 v6 b * f% Z' C% W: `
u.text = $n7 V$ L$ l/ `1 q/ `( ~: D
}
# l: k, a. y% s. F! g $for(s,"$text") 1 U, c' \% k4 M) _/ Q
}
, D* w( d0 W; ^ P/ o; l% Z' D7 l, Y5 |0 Q8 A0 z8 Z7 W
innerhtml = function (v,s){
5 N& R& n+ w8 W! r var $n= $this (v);$ q! Q7 B6 L( `! f
$innerhtml = function (){
- ?6 V; t( V& Y! u7 q u.innerHTML = $n" Z3 A% n; S" |
}
3 D8 R/ L# \* R$ l) @ $for(s,"$innerhtml")
+ d3 n; n+ v. \% E7 N& Q! U }
& {) D8 F% v2 S. N+ k1 k & z& Q' n. T0 r8 o: l: I8 H5 `, D
removechild = function (s){1 g4 g; B) m* E- C/ }' n
$removechild = function (){
0 f$ q7 x9 y7 m" N u.parentNode.removeChild(u)/ B: e0 S6 Z( ~0 n& E# J
}9 b4 M! g" |/ m& H- L: P' r5 K
$for(s,"$removechild")3 q1 A# g$ x& M( x: U+ J
}
; O/ @+ j0 r% L& |5 v7 H2 l+ [! Q0 k4 ^9 e* M& R
$this =function(v){! X7 t/ | h/ S% n6 Y; V7 [+ `
if(v.indexOf("this") == 0){
" f' d4 Q$ @ U! f$ A) V4 V6 J return eval(v.replace("this","u"))
5 Z9 q1 a" z& H3 z }& B) ]) W3 P( I* Z' L. T
return v;) j- Q( ^3 Q3 Y: a: J8 ^: j( l
}6 j# F* @! R9 q% n& S
! t5 H3 [. v' ^. B $event = function (s){( {3 H6 Q6 w- k$ M, ]
var $n ="u."+s+" = function(){$work(this,s);}"; m7 {, i( S/ I$ e, e3 X. b
return $n;
# R9 c+ C$ N, u! _: P }: g- M5 k' o$ k! t& d
$ ?$ V) f7 P& z9 t A ~, r$ N. v $replace = function (s){
' s. c, {1 ]9 H4 w0 j% \: H8 p7 c7 }3 v5 Z% w" K6 {0 A
}
. v! e2 B$ t2 a/ y9 y. Q- K
/ S& ^) A, f t5 |) a $for = function (s,c){
2 U9 D1 o/ J0 Y var $n="this."+c+"()" ;
' L) ^# \3 J: ^( b; H8 v5 i if(s!=null){4 s$ a3 I+ c( L3 m0 w5 l
var $m =$test(s);
8 t# f7 c, I+ t2 C for (var i=0;i<$m.length ;i++ ){) c5 w4 Y% T: q6 `4 ^' k
u = $m<i>;, k% }- F/ O, K n. e2 c$ I3 D3 Z
eval($n);
' Q/ l& j% I2 I N, l h3 h }
- n' Z+ F* A8 G' h }
. i- b' E- V* x9 v- `+ a else{
. x. d+ s9 d5 k1 l' M! M( e( B eval($n);
2 U$ {; @2 W( P4 M: ? }
) e* t: n) F; S8 ?# ]2 A }
}) x. t8 |8 L7 _; {
2 P7 J$ y% ?8 y! m1 S5 k $test = function (a){. o, v1 e; v8 P: j3 X8 p
var o = new Array();$o(a.split(';'),o);
$ I" G, z5 O; F1 A0 ]: b return o;
% ` p! A" n+ W6 }+ F8 s- |. h }
Y) w \0 C4 _, l% F8 z; a. `, T+ f4 E' l' b A
$format = function(s){; w2 c9 i1 x v5 ^1 G M
while (s.indexOf("'")>0){- q7 ? E0 w- N6 m: ~
s=s.replace("'","\"");1 W0 A$ Q6 }& ~$ l& q# H6 _. v
}
! j/ B2 x% l- z( x" ]: `5 d while (s.indexOf("][")>0){2 ^6 \& x) g3 Q6 m) {! k$ v. H5 U
s=s.replace("][","','")
! H# i+ q# e2 Z9 N( ?( h }
7 _8 z" X5 j1 n% ?4 }5 ] while (s.indexOf("[")>0){
8 P& p3 M* z! {9 T s=s.replace("[","'").replace("]","'")
) @/ u3 @% f$ ~" Q }
9 r& g) [& G! A5 B return s;3 L$ j: t0 O0 q7 F O2 J, u+ [
}
6 F: R+ F- P: a r9 A5 F" l& P5 f& u+ C9 U
$work = function(w,s){
3 `( E. Q0 Z; i! |! L5 s u=w;eval(s)
( i- M+ \" Q$ G, \: C/ A8 K: \% i& S }. R$ W2 U) b P" K
" P# N6 K9 R/ M T j, W" g! v $id = function (s){! Z8 Y1 x4 e& f8 i2 ~
return document.getElementById(s);2 O1 E6 G) h0 A, b0 X
}: g# F9 `- i% g& h& D8 u t! K
' f& F+ w2 i! m( f $name = function (s){
7 _, E8 t- u% w; c return document.getElementsByName(s);
( L8 x6 W! x" P4 o' W }
5 e6 m" I# w8 M, v7 a8 q; o' z
! I8 l+ E- C9 N; n1 D6 Q! |" r $tagname = function (s){4 {, S0 b3 C0 w. h4 L' C% |4 T
return document.getElementsByTagName(s);! x i K/ G! ~8 r
}5 T, D- A' ^0 U5 V5 @" G
8 m' `: n+ q2 c8 Z" P7 S, k( j( ?
$o = function (a,o,c){# {: t7 ^" H. n' N' c$ F5 y
$push = function (n) {( B6 s9 k+ K6 U4 ^- b# |
for (var i=0;i< n.length;i++ ){
( Q3 M. P7 p; {% m) G' j$ ] o.push(n<i>);
6 A- V8 b+ a0 V/ f2 w+ }* \ }
$ q% v2 n+ I( i# [ F% R }0 Q) `$ ?9 J0 D! _+ z
for(var i=0;i<a.length;i++){
6 c) E3 F# B. P- a2 J if(a<i>.indexOf("(") >= 0){2 V/ O! Z3 T8 _2 Z% M9 s
c.push(a<i>);+ q; Z9 ]' ^$ V A/ Q# t* I
}2 X, t- U/ s- }# z6 x2 ^
if(a<i>.indexOf("~") > 0){
V' O' p+ W% o& U5 Y' s# B try { n8 T( S" ^& |' f& p) t& o3 c( Q3 U
$push(eval(a<i>.replace("#","document.getElementById('").replace(" ~ @","').getElementsByTagName('")+"')"));3 u) u+ i( a- f8 g) c
}catch(e)
$ B* f5 R1 n2 j {} 9 E- E/ {& Z4 Y, i: C6 Z8 {
}, A7 [* n. E: k' ]/ ^
else{1 E/ Q* X/ |- ?5 k- E9 h
if(a<i>.indexOf("#")==0){
' c: I& ~- e1 p, [5 v1 Z" A6 I o.push($id(a<i>.replace("#","")));3 C8 R9 N* |6 U! ?% t
}4 G4 V1 l5 M- y( G. n7 ~. m
if(a<i>.indexOf(".")==0){
; k1 Y6 s1 `- R7 _ $push($name(a<i>.replace(".","")));
( ?, a7 B" B' `6 K2 ~ }
6 M' _: p5 P/ f0 y7 c$ W( E2 H if(a<i>.indexOf("@")==0 ){ t1 w5 c! i1 C
$push($tagname(a<i>.replace("@","")));) k* H0 |( d4 H3 x+ |. v; L
}
3 T# @+ X! A& ?. B, O if(a<i>.indexOf("*")==0){) j$ k( c. _( u! J% }3 k
$p= a<i>;
1 v* L: S9 V7 `$ ]9 z& b" L if($p.indexOf(".")< 0){
* }% J* G$ F, h+ l7 K% w $p = $p.replace("parent","parentNode")% x% A0 R7 ]! E8 Q% ~9 Z# |4 V& [7 D1 a
}
2 J7 ?* |+ n* ~: Q z var $p ="u."+$p.replace("*","");/ r: q1 G1 e" ]9 C" M0 s( V
while ($p.indexOf("parent.")> 0){, Q& T: U% O, |: `
$p = $p.replace("parent.","parentNode.")( e2 K# }, U$ [2 h2 ]8 e, u
}6 E# p9 ^0 ~+ a/ }. e) y6 ? T- ~
while ($p.indexOf("child{")> 0){
% Z. u) {! K* X% W A $p = $p.replace("child{","childNodes[").replace("}","]")
- j# i; E, r6 S: K9 q+ Y0 o! Y }$ o9 d$ s5 Q0 [/ T$ Z( q
o.push(eval($p));2 g& H4 J) w6 M; N
}; v" E/ T- z. w5 n
if(a<i>.indexOf("document")==0 || a<i>.indexOf("window")==0){
! K2 Z. A7 c! _3 p/ x) C o.push(eval(a<i>));
* C. t) U* A2 L0 U: I2 V/ o }. w4 q2 e/ }. h2 R; r0 P4 d) B8 R
}+ e9 V* o' g; W) K6 J% J( \* X* f
if(g!=null){
W$ }# H* U3 X- U0 Q o.push(g);g=null- b9 ]8 d, w* v1 a
}
# A t; I% J, x% t+ T4 h" V7 M, D* H }
/ I v( ^9 l, c7 G4 }0 M5 } }
; E+ p4 s. V$ c
# I6 _6 t: D2 d: D6 j) r# N T! z $o(a,o,c);$ \) r$ ~ ^6 {, `/ `
3 c" k0 c4 S T
for(var i = 0;i<o.length;i++){
* d' J4 U# l) \ for(var j=0;j<c.length;j++){
5 T T" V" Z( C) k' ^$ R: g* d u = o<i>;eval($format(c[j]));
, l: L$ `5 a. H' B* S/ M; g! A5 I }
9 r H/ ^* i& m9 b& { }" r/ _$ I" x6 D% u+ ]# q1 o
& O* j* F; T+ J1 c if(o.length == 0){3 i9 h" W: U5 V8 M; X" V
for(var i=0;i<c.length;i++){
" Y6 b/ u+ l2 a- F; U) ]7 A eval($format(c<i>));
# W) X$ K1 }& Z; ?/ Y }
+ i% C! W( N- Y/ w }
/ I& M/ }; {6 m5 z1 K+ o, L1 D * b. ~% W# H; @& Q5 ?% ]
if(r!=null){
" R$ F5 Q* U) d1 z/ T return r;
5 I6 u5 f6 M& t/ h2 G- G6 E }
2 H- [( C) S) Q, ] D ) B( A* s) x: P2 T
if(o.length==1){4 \( b$ ^; j" T1 t, m! r
return o[0];/ d! M8 w7 X) h% Q: A1 y
}
% C3 @' I* i1 k else{3 m7 M0 s, s0 B' P0 V. n- K1 x1 N
return o D" U3 n* K3 ~# B6 m* o
} % R7 b' p5 b6 W
0 _+ W% ]' i% N# k
}7 S. v. R; h' i9 F1 r, w
var lrc =$("#lrc;show()").innerHTML.split("[");, L8 s3 o' j* k) z
if(lrc.length>5){
& r4 u/ x1 |' k7 _2 w: {0 Xvar array = new Array();
- C$ u7 M1 Q9 g. Yfor (var i=0;i<lrc.length ;i++ )
, Q' B. E) a2 c% }3 P{9 _. x" n2 U( |
var g = new Object();9 {# {0 ]6 M ?1 [: b2 l' f9 g
t= lrc<i>.split("]");' a( m- u; }/ F8 A
g.time = getTime(t[0]);
* S( |3 G, U2 R, e if(isNaN(g.time)); |0 M, B7 p+ c
continue;
, k; C: q S& f/ s; _ g.c = t[1];
* w# e0 r6 B! m9 _7 U& h5 F7 W if(g.c == "")4 q9 n5 F) }! _( K! r8 Z" R X2 ~ ~
g.c = getNext(i);
* W0 {0 u" N$ n9 ?+ @5 E array.push(g);, @/ i: H# I8 L K! m) S
}
& j0 l7 n6 Q6 Q' l) w/ }7 j; G7 {array.sort(function(x, y) {
7 ]! k# ^- R& w( t! W/ v if (x.time>y.time) 7 t: b* C; v; J
return 1;5 K6 n! t$ u, {0 {: a' ?7 O* ?
else if(x.time<y.time)
. B6 b G- [ I8 n9 g) K1 z return -1;* `. Y0 m q2 C- Q- g' a
else" Y# ~& A6 {) q# ~% U; I3 r* Y
return 0;
% s3 C. {" d P( R/ v# { } 3 f2 a% P) w6 }0 t; M; r( ]; h( S b
);
+ ], g2 E) A# Cfor(var i = 0;i<array.length;i++)) U9 a/ L" z" O: M
{( t Z, ^' n9 k' Z- ?: C
var g = array<i>;
5 Q, c( `' R9 x. \3 e# `: t0 q if(!g.c){
6 v3 N6 `3 }9 V) E g.c="";6 a% x; p; x/ s, V2 Z( p @! ]
}
+ Z1 h# X+ [# i- V. K5 R $("#list").innerHTML+="<div id=lrc"+i+">"+g.c+"</div>";: s! A9 E/ H0 a; R N$ I. a4 V
}
9 f; Y/ k' ~8 W) |" ~var time = setInterval("lrcList()",500); : d8 V }1 G/ q6 o# @8 h% k. P
}else{
! y' }! t' y. M9 }- O $("#list").innerHTML=$("#lrc").innerHTML;* o. ?- b Q( Q. V @9 o0 B5 R
}- Q) @/ T' D. G7 t" W
function getNext(i)( s- Y5 Z. e. ?. x1 a$ H8 T# w
{! f% m8 e; K: E" G, Z8 F
var result = "";
6 @6 w! F5 J4 @ M var i = i+1;5 j9 I- j2 l. |: P3 m5 H. X
t = lrc<i>.split("]");
' U6 p4 _0 K) k if(t[1]=="")
3 ]% N3 m1 \- `& ^# O/ s. b" l result = getNext(i);
# c6 R4 a) O' f) M% Y8 ?. @5 C else ~0 x9 A |1 G8 A- _' o- o
result = t[1]
/ {; l, i7 ~2 j% I/ u }7 Y, V return result;
/ {% U) t# s! Y9 a9 m5 A" ?! m* f}% A0 C* }7 J/ |3 ^+ v/ [
1 B. j$ H6 P; E0 h i
function getTime(str)
# @: L' J Y& k8 d( e" ^; w1 r; d{
, ]( T" s3 r/ b5 m3 o var time =0;9 A9 a/ Y2 w% Y& V4 o
var ta = str.split(":");- E( g; ], C" t# }' ]
if(ta.length<2); P: m% X- Z" k& M) ~# h) m6 n; f' @
return time;9 B6 e" G% t5 Y
8 V4 S8 D V$ C/ v if(ta[1].indexOf(".")>0){- C: ?# x' R6 c- j4 t
var tb = ta[1].split(".");
4 J4 A. m7 {' r# W time = ta[0]*60*1000+tb[0]*1000+tb[1]*10;
2 @9 U" R$ _, b# Q& o }
6 X8 D+ H+ h+ E- a else. p2 n( ^' y. \! E
time =ta[0]*60*1000+ta[1]*1000;
9 r$ n; g5 I" r8 f1 p/ R) @ return time;
8 |: V$ S1 t" p6 Z( s}
5 \" [4 }5 i w8 E' k6 w/ Hvar preTime = 0;
4 i: w+ t+ _. A6 S6 ^* vvar nextTime = 0;4 ~" s. r* e9 k* m. c# V
var currIndex =0;! p7 j, h. H+ F; u8 z
function lrcList(){
! \; B3 U" d' L8 K/ a var s = parent.document.getElementById("MediaPlayer").controls.currentPosition;
8 ]) Z3 b6 q" U. b0 P5 y- R: W s = s*1000;5 v" C+ l- @4 e
if(s==0){
9 y) s ^% q( m6 m9 L currIndex =0;
) b& ~# y$ A( L; [( S $("#list").scrollTop = $("#lrc"+currIndex).offsetTop-30;2 s7 `; z4 @0 r$ H. @: M1 O8 w1 V
for(var i=0;i<array.length;i++){
S1 J, A8 ~; i! Y$ Y4 `% ]$ a' T' D document.getElementById("lrc"+i).style.color=colorNormal;" D) i0 G" D8 X+ {7 g9 z
}: a; N' @ f+ {% [4 M3 f! Q8 `
return;
' K) a. g; a" S, m- Z! b/ \4 I9 U }
4 X1 s( M$ b+ \$ a- k0 x if(s>0&&currIndex<array.length-1)5 N" ]3 Y8 j1 c1 }5 d
{
7 h$ l) w& _3 t' {( o- y+ y6 Q" w preTime = array[currIndex].time;- Q- i$ B+ O# x* d7 s' q& Z
9 o9 e1 Y1 U4 t' |9 a) M
nextTime = array[currIndex+1].time;
# d+ K Q. L% o, c 5 B- X3 t* E# Z" H3 s
if(s>=preTime&&s<nextTime){
4 Q& Q/ u. k# M6 ~1 q* a) W$ \ }
- r2 F& P# k4 y' ]4 [% r else if(s>=nextTime)
v2 T( M- O/ n4 n0 `: h4 {+ w {
; ]2 s% X: b6 O; T document.getElementById("lrc"+currIndex).style.color=colorPasted;
4 G) I2 W/ a+ X currIndex++;
# [$ ?* [4 x- o) X& ` ]( D# d $("#list").scrollTop = $("#lrc"+currIndex).offsetTop-30;
3 Z7 J2 s; W( L document.getElementById("lrc"+currIndex).style.color=colorPlaying;8 F% V# a; S! d- m+ W6 X9 G' |4 \
lrcList();
5 j. ? e" _( B4 P. X/ q0 N. d }
1 `0 h! X7 e3 _& G# d else{2 f% ~ ~7 t0 P( V9 t" P
document.getElementById("lrc"+currIndex).style.color=colorNormal;3 I, i8 y5 K9 u2 t4 v
currIndex--;
4 D) o. _& J% v $("#list").scrollTop = $("#lrc"+currIndex).offsetTop-30;
/ Y8 o2 Q8 f( q( b u w4 q document.getElementById("lrc"+currIndex).style.color=colorPlaying;
8 x1 }9 W# e2 w# f lrcList();$ c& F. d) H. j: ^) q0 E; O
} - v. m& r7 f& s/ e$ p1 [( f/ N$ G
}0 R( i% D; s! Y& ?# \) t$ v6 u
else
4 d6 ^- F1 z- i5 F5 ?5 z {7 `4 D, Y( {7 k @ a
if(s<array[array.length-1].time){
# K) Z8 e: ~# [' b8 s4 j* Z currIndex = 0;
, N3 k+ A9 V; N& Y. T* _ $("#list").scrollTop = $("#lrc"+currIndex).offsetTop-30;% ?5 I! s' q- N0 Y
for(var i=0;i<array.length;i++){
6 Y% e( k- [7 y$ p" y K: F document.getElementById("lrc"+i).style.color=colorNormal;5 G4 Z! S5 B* u
}
6 T9 S. p) R; Q( F V lrcList();
. {3 X! X( t: F$ s6 k: m }$ T! \; }( t( ~
}
3 o' Y. J0 e D" L; x+ v+ Y/ @! t}1 Y/ H2 \6 r5 W" ^' |
</SCRIPT>, `. i% X9 ?- @4 n% A+ m. ~
</DIV></DIV>; E0 l' P! M- g0 F% l# u$ b
& i. z! i( `# L, [/ ~' d: }+ V7 J
[ 本帖最后由 幽谷兰 于 2008-9-18 17:36 编辑 ] |
|