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