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