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