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