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