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