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