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