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