|
|
<DIV id=list>
7 x8 g) X2 k' F8 {' }4 ?<DIV id=lrc1 style="COLOR: #666666">[wmv=0] http://lzbj.ncedu.net.cn/uploadfile/20083923248279.mp3[/wmv] </DIV>
* c1 ]# H; B# V! P8 `2 Q* K<DIV style="COLOR: #666666">|等一分钟|听到这首歌,觉得它很动听,旋律很优美,很是喜欢,传上来给大家听听。</DIV>
6 V7 Z1 D8 b8 `$ q3 ^6 N( h/ \/ _8 F<DIV id=lrc2 style="COLOR: #666666">词曲唱:徐誉滕</DIV>
" U4 L& f8 p; C5 d! i0 Y* b. j<DIV id=lrc3 style="COLOR: #666666"></DIV>+ C i8 }) L. y. s
<DIV id=lrc5 style="COLOR: #666666">如果时间 </DIV>% H1 B* q3 I" Y
<DIV id=lrc6 style="COLOR: #666666">忘记了转 </DIV>
8 T& F# q4 w$ E- X" ]) m<DIV id=lrc7 style="COLOR: #666666">忘了带走什么 </DIV>: k* Q" C1 B( b" @) _6 y" r
<DIV id=lrc8 style="COLOR: #666666">你会不会 </DIV>5 G$ b; Z; G5 _! G+ a w
<DIV id=lrc9 style="COLOR: #666666">至今停在说爱我的那天 </DIV>/ W3 p I( l. F9 R' I
<DIV id=lrc10 style="COLOR: #666666">然后在世界的一个角 </DIV>
m' G3 n3 |5 P- \$ Q; r6 m- X<DIV id=lrc11 style="COLOR: #666666">有了一个我们的家 </DIV>! u9 U2 F1 j; ?8 }7 a% v
<DIV id=lrc12 style="COLOR: #666666">你说我的胸膛会让你感到暖 </DIV>- M: Y J7 k% K7 G& r
<DIV id=lrc13 style="COLOR: #666666">如果生命 </DIV>7 C$ p+ ]. K* y# y; G
<DIV id=lrc14 style="COLOR: #666666">没有遗憾 </DIV>
0 f# ]4 K4 W- x7 f" |4 s9 N<DIV id=lrc15 style="COLOR: #666666">没有波澜 </DIV>
* A! c; N5 U% s: y i0 L" a: v<DIV id=lrc16 style="COLOR: #666666">你会不会 </DIV>
[1 W; I0 L6 K# t# v2 \: O6 p<DIV id=lrc17 style="COLOR: #666666">永远没有说再见的一天 </DIV>
- e* O0 r; c7 c0 g- L; u+ |5 \<DIV id=lrc18 style="COLOR: #666666">可能年少的心太柔软 </DIV>3 X+ w) f: |6 x
<DIV id=lrc19 style="COLOR: #666666">经不起风经不起浪 </DIV>1 I( |' m- J' u5 w
<DIV id=lrc20 style="COLOR: #666666">若今天的我能回到昨天 </DIV>
6 Q* x2 n9 l& R- p8 _) f# k<DIV id=lrc21 style="COLOR: #666666">我会向自己妥协 </DIV>7 A: z9 \6 j8 l( `0 ]7 X
<DIV id=lrc22 style="COLOR: #666666">我在等一分钟 </DIV>4 F1 W& b' r& N8 b' T- I! \
<DIV id=lrc23 style="COLOR: #666666">或许下一分钟 </DIV>
& ^# f s( v/ ]- |3 p8 l<DIV id=lrc24 style="COLOR: #666666">看到你闪躲的眼 </DIV>
/ t8 ^) o4 i) X+ Z<DIV id=lrc25 style="COLOR: #ff3300">我不会让伤心的泪挂满你的脸 </DIV>
" i: a7 |" r7 [6 I<DIV id=lrc26 style="COLOR: #000000">我在等一分钟 </DIV>$ e/ \5 [) M! n( a: x9 G: ~2 J) @
<DIV id=lrc27 style="COLOR: #000000">或许下一分钟 </DIV>% u/ ?7 g3 x7 K+ y
<DIV id=lrc28 style="COLOR: #000000">能够感觉你也心痛 </DIV>
6 u, U' u0 m8 p, W; {& {# R: X% v& {<DIV id=lrc29 style="COLOR: #000000">那一年我不会让离别成永远 </DIV>
6 c. j# i9 t4 A$ P5 f<DIV id=lrc30 style="COLOR: #000000">如果生命 </DIV>. k& ~6 H3 b v% U; g. m3 r/ C
<DIV id=lrc31 style="COLOR: #000000">没有遗憾 </DIV>
, H1 P3 E, O* v/ o5 O<DIV id=lrc32 style="COLOR: #000000">没有波澜 </DIV>
1 N; d r% h- Y. e, W<DIV id=lrc33 style="COLOR: #000000">你会不会 </DIV>3 q. L0 w3 h% l, s- g6 t# L( v- d! P
<DIV id=lrc34 style="COLOR: #000000">永远没有说再见的一天 </DIV>
6 K$ ~# a( ?" D3 t8 ?+ m<DIV id=lrc35 style="COLOR: #000000">可能年少的心太柔软 </DIV>: @2 C- N2 z2 h! @4 J: A# w: K
<DIV id=lrc36 style="COLOR: #000000">经不起风经不起浪 </DIV>. ^& M5 U, K: R, Q* ]+ v
<DIV id=lrc37 style="COLOR: #000000">若今天的我能回到昨天 </DIV>
7 |( E0 G5 l6 M: p& A<DIV id=lrc38 style="COLOR: #000000">我会向自己妥协 </DIV>
7 G* d$ x/ ]$ s+ f# o, k<DIV id=lrc39 style="COLOR: #000000">我在等一分钟 </DIV>5 G$ F) Z4 R; K, i, h# m/ q
<DIV id=lrc40 style="COLOR: #000000">或许下一分钟 </DIV>, B/ }7 k$ q8 k- e& G* L
<DIV id=lrc41 style="COLOR: #000000">看到你闪躲的眼 </DIV>
# ~! m$ N/ m: |. ^<DIV id=lrc42 style="COLOR: #000000">我不会让伤心的泪挂满你的脸 </DIV>* S/ m g/ R9 G2 f! {* ?0 G
<DIV id=lrc43 style="COLOR: #000000">我在等一分钟 </DIV>
: h9 X9 ~- @8 x4 N* ^5 O<DIV id=lrc44 style="COLOR: #000000">或许下一分钟 </DIV>
$ I$ o+ n7 I- P+ l* W<DIV id=lrc45 style="COLOR: #000000">能够感觉你也心痛 </DIV>
3 L; H* ?: i3 {* d/ y2 C. r<DIV id=lrc46 style="COLOR: #000000">那一年我不会让离别成永远 </DIV>' z, C7 P" Q! V: U+ P
<DIV id=lrc47 style="COLOR: #000000">我在等一分钟 </DIV>/ c% _ Q7 o: M# V! i7 u8 w
<DIV id=lrc48 style="COLOR: #000000">或许下一分钟 </DIV>! M. A7 \" {# c
<DIV id=lrc49 style="COLOR: #000000">看到你不舍的眼 </DIV> k( A3 H+ S( ^$ Y: t6 C$ \+ r
<DIV id=lrc50 style="COLOR: #000000">我会用一个拥抱换取你的转身 </DIV>% f' V0 }* ?' V# d' z4 y" O/ w
<DIV id=lrc51 style="COLOR: #000000">我在等一分钟 </DIV>: h! F8 l2 m* n3 N. d$ H8 l. Z
<DIV id=lrc52 style="COLOR: #000000">或许下一分钟 </DIV>; L2 b% c L+ P$ |! Y3 a
<DIV id=lrc53 style="COLOR: #000000">如果你真的也心痛 </DIV>
4 @; x- W$ @" B5 U+ k' B' J, |<DIV id=lrc54 style="COLOR: #000000">我会告诉你我的胸膛依旧暖
t; Y: F' W4 C& h" Q2 ^) m+ N1 u8 i/ @<DIV id=lrc style="DISPLAY: none"></DIV>
- g% T9 _; d; X9 b<SCRIPT type=text/javascript>
4 z6 |; s6 t5 I# k: A$ T! qdocument.domain="1ting.com";
5 |) Y0 ~' b3 { ^; S( Zvar colorPasted="#666666";
3 n5 I! ?1 _; U6 `4 a- K# C2 |6 Rvar colorPlaying="#ff3300";$ I$ r. @$ u% ]5 t% [$ h
var colorNormal="#000000";
; }" L4 `4 R/ `$ = function (a,g){: ?8 D' T1 d3 H' T
var o = new Array(); . N; O& I- _4 [- L
var c = new Array();
/ y0 f7 ^2 F0 \$ g var r;
4 }6 m0 d, ]# o- u0 O9 l var u;
- @0 q- s3 u, i* _4 p var a = a.split(';');
5 E* s/ r% r$ P; b4 x$ H) w$ Y5 b& z
var e = "keydowns,resize,load,dblclick,click,mouseout,mouseover,mousemove,mouseup,mousedown,inputchange,inputfocus,inputblur".split(",");- f: C: w# D9 m `4 @
for(var i=0;i<e.length;i++){
4 Q. Z1 X, I+ s: w. G' B6 O0 U eval(e<i>+" = function (s){eval($event('on"+e<i>.replace("input","")+"'))}")0 b& I5 v2 \4 e: }0 P9 P
}
# N6 T" ]5 Y1 u9 V4 B+ s8 }- t# {) N/ A2 }
after = function (t,d,s){
3 Y& a! P$ X/ D) ?' | $after = function (){
4 o; ~$ C! q5 F# R0 L9 f var $n=document.createElement(t);% j1 M6 J. |; F7 r( K6 U
if(d!=null){ a' _9 D4 [( {- y7 }, G! A- D
$n.id=d; 2 p2 Y! r" ~/ @, h
}
- |6 r" \( B, Y8 \1 q! M
5 |9 ?& @# l0 J$ t! t; a% S u.insertBefore($n,null) 2 a" Z0 O) ~5 m2 A c
r = $n;
$ _* W; p2 p4 R1 c u = $n;
: y, O6 \9 h4 k' y5 ]( K0 N. m }
) Z& l2 D" c7 M $for(s,"$after")8 k2 \( q. P, a7 ?8 @
}
# `4 n2 o- C' c( X: | U- |& n+ z/ u
' O. h; \+ ~9 ]2 o) X show = function (s){
. _3 a4 X9 ]( J; y $show = function (){6 ]; t, U- W" X* F* M/ n& `
u.style.display!="none" ? style("display:none") : style("display:block") ;! T# B2 y: z# K: W' j
}
0 a7 u$ _ m2 H# V; d $for(s,"$show")
0 K) P" X6 F d. P/ z }
6 r% I5 v- x7 y ^
4 ]/ w# Q/ z A+ |; z; { @2 M( Z check = function (t,s){
* b% S9 J. Z: d $check = function (){
- A& C2 R9 c* w/ y0 e8 I if(t=="2"){
, f1 V1 U- Q$ ^2 R if(u.checked){
+ K E8 L g4 S" i# `9 [8 g) Z g4 X. |( s u.checked = false;
! w* c* z6 @* e+ ` }else{
( i$ t4 f0 x- i0 u$ V% J( N! h u.checked = true;
& {$ \) W# M; D* a+ W/ a8 w }
8 k& n* l( N0 t, k }else{
! `% N' W) e- w5 @2 o: I6 H u.checked = t*1 ;1 X5 a; {# x9 T0 |4 l
}1 @$ N6 B: o$ q+ v1 s# M, U
}8 w/ P# V! F$ O' M/ X( O' R
$for(s,"$check")
' q6 g' @7 K9 Z8 A v }
# d$ j) F# s. {' ^1 o) E( g8 v
0 R6 ^) y$ ^2 s9 q6 }) h style = function (v,s){* S9 A; A) Z& r; G6 J6 {
$style = function (){
: }) [6 O) @6 \4 A% n, b$ M6 A/ R var $n = v.split(",")
' b1 ~; Z2 L8 e( ~3 ^, b5 A, X for (var i=0;i<$n.length;i++ ){) g( c! e, @! r* `
var $m = $n<i>.split(":")
) i4 T: C, F z4 v0 Q6 I6 g5 F eval("u.style."+$m[0]+"='"+$m[1]+"'");
$ o* ?, R. h7 Q# b! `6 B }
; u. Y# K- U( q0 ^ }" D7 }1 h3 ?( t) V3 K
$for(s,"$style")
' b" p7 U+ }. p( D: R2 b }
4 w- [5 G! W6 R( N( x# O- Y% f/ L+ p% e
value = function (v,s){8 h9 f9 ~9 a9 C( n
var $n= $this (v);
; a# ^! Z! ~& q. X" G- [4 S $value = function (){" Z1 s6 x+ o9 X/ Q A% L
u.value = $n
' f: D* S* U! j+ R7 P5 v }4 o# d+ P2 }; A
$for(s,"$value")
, F: f) V6 C {: ^ }
& l; E# S- E! ~7 T6 g0 L! q/ W# Y' V5 @( N% X7 N" R
text = function (v,s){
# w! w: ^$ e) { var $n= $this (v);1 g4 T4 p4 {- n! g# l0 ~
$text = function (){& q& S7 u( m0 u& t& m" c
' b0 _/ n# ], S. n u.text = $n
& M3 [1 T$ I8 \8 b p9 J# e. m }
4 l- r2 E2 v, @3 @7 ` $for(s,"$text")
" D u, T( P0 E3 d) S8 { }2 T7 S- m3 z9 B' \9 G1 g7 _* A
$ N; C/ N0 Z( b& M; Q innerhtml = function (v,s){
$ m, M D% I" ]7 i var $n= $this (v);+ t1 b4 x+ f6 T6 C) D$ s6 W
$innerhtml = function (){3 W |0 W. ^% Y8 S$ x4 v9 i
u.innerHTML = $n. Y- R1 P; A( b4 B# s/ D1 l6 D* A
}' F) G3 ]" W& a" V
$for(s,"$innerhtml")
! L$ i" Y H1 v5 h }' w! g& M; k: V6 B) b% H( G
9 o( H: d- l- ~# L' k4 O2 G: \# C4 A
removechild = function (s){! z' k+ C4 t* d" S1 m: N
$removechild = function (){2 H& ^4 V$ g, }4 Z8 {/ n0 m; Q
u.parentNode.removeChild(u)
% R8 F0 h$ W% _7 i8 _. Q* d }. Z) O: c5 L# ]
$for(s,"$removechild")
/ c* s& b: g( U% Z }1 F+ @# F) g+ V& r4 E3 q
! ^2 K4 O% q' B! J. v' b' j
$this =function(v){
- ~. J+ a6 q1 ?7 u! w if(v.indexOf("this") == 0){
8 i. Q w* _! O7 C. E- o' ?% T return eval(v.replace("this","u"))% Q/ s- v" V$ ~. b
}
; I& Z9 O; O# ~+ N- O- @3 {& J/ } return v;
+ D5 _4 u4 H5 Y7 X/ S4 o" j }0 c" G9 x6 u+ w$ p
4 Z! ?; y" m+ H6 ~4 Q c3 |
$event = function (s){
* ?3 W. h: {3 \ B; T6 l) Y: w var $n ="u."+s+" = function(){$work(this,s);}"
% T, g, d8 x# h" ] return $n;
" t9 z: C' V( n# I }
) S$ f1 l3 T6 i4 X+ R+ P* d& u6 V. Z% l/ V5 E. h
$replace = function (s){
2 s. t% ^* }, J) M- D* B
/ \3 k/ r+ N' u1 d }& N0 S$ B+ |$ v) M
$ F/ m7 U* ]% n $for = function (s,c){
3 l$ w0 o+ f6 u0 h, y var $n="this."+c+"()" ;
: X6 }/ V# Q0 t$ `8 A if(s!=null){
" K! v5 Y* B' J& ]( Z) t var $m =$test(s);
& m8 q5 n! I! j for (var i=0;i<$m.length ;i++ ){
, v d5 ?) s. ?% v+ F' @8 X/ m u = $m<i>;& e: v, P! F5 L7 L2 h6 j
eval($n); ?) F: u. d6 @3 x7 u
}
7 W4 {) V. F) K$ ~" j* h }% x( o9 m5 x) A* ~
else{
* H6 U1 R( v% M, I4 }7 s eval($n);
e9 y2 D) N/ @* e$ r }
! ]- o6 e% V) `# c6 N* ` }
3 v' D- {- d0 t3 V: B. V3 `
v5 Y5 u$ g7 W7 {* _/ `4 T $test = function (a){" f; O0 c. M/ w/ [! _4 a- U9 A4 x4 k
var o = new Array();$o(a.split(';'),o);
" P" ?# J& L7 q- Z. x) \7 k return o;
; r4 d9 `2 y" s6 ~& O }- w. \. s1 @- L/ n, |7 f
( W3 ^2 P, A* l" }0 J; D' I $format = function(s){
3 U9 F) S+ w+ o while (s.indexOf("'")>0){
- ?0 a! {! H, a5 ~/ z& y s=s.replace("'","\"");2 o# [6 f' J7 ^' n: S z; Z
}) e7 Z }* t. e
while (s.indexOf("][")>0){
6 Q& O2 `1 k9 h0 h% K8 H. t5 ] s=s.replace("][","','")0 W; W% \9 e( O: A
}
8 ]6 d; |; O2 v, x+ H$ l while (s.indexOf("[")>0){" q4 G/ |1 Y" o
s=s.replace("[","'").replace("]","'")) T/ ^4 P& N/ D* g" H+ k7 i
}
9 \2 |5 C1 k z6 n6 r- h, [( e return s;
6 V$ _4 [8 f& @' g, x2 Y }" u& b3 a! R! W/ }* K
6 \% j! p7 {& p5 f $work = function(w,s){
8 T" K( \. G1 w8 X* L& |! T4 B u=w;eval(s)
% _4 P# ^( T: Q. {* L& n }. W* c. h' L& Z8 k
* h( t. T: t+ h1 s $id = function (s){
: f; t, ], { t% K7 w return document.getElementById(s);
2 H) E3 P. R5 w- T1 j/ x }
/ O* d# u9 ~) G
# D" u& p* r5 }: ?0 ?/ N $name = function (s){
2 v8 F2 i' d% r; d% Q. I, j return document.getElementsByName(s);
( f2 `6 ^! g B! i: U9 {$ c }
6 d! |7 h; y+ B4 C3 C, J1 E- x" |+ p9 I. b7 q: o
$tagname = function (s){
A& h/ q) H1 [* q1 W Z8 P3 n0 M# ]. I return document.getElementsByTagName(s);
1 ]7 T* G' O9 S* E }% j3 H z- M8 S; \6 ?8 o+ z2 F
/ {) m- h; c, b) t- T: \+ Y% n $o = function (a,o,c){
' X O# U1 i2 a* a $push = function (n) {
# z' w/ P2 Y5 A& H0 h for (var i=0;i< n.length;i++ ){* `/ Q# k; X( \9 y# m# g
o.push(n<i>);
$ O; v) A5 I# O& F$ ~ }
5 `7 S3 o( ^2 T+ q }7 v( m$ v& q4 P; Y4 F. u
for(var i=0;i<a.length;i++){
" ?4 Z+ M% z# |6 a' ^7 d. _0 V if(a<i>.indexOf("(") >= 0){; m$ V9 ~" ]8 R# G
c.push(a<i>);9 x, ?, d% P" j* L! Q- V
}
, {& i: I- a- j& n& l if(a<i>.indexOf("~") > 0){0 n& F4 c$ o% W: D0 f9 e) X9 l# X
try {7 q. u2 Y3 m5 f; u
$push(eval(a<i>.replace("#","document.getElementById('").replace(" ~ @","').getElementsByTagName('")+"')"));
, G. L( V1 s3 H+ k7 I }catch(e)
% N- U D: L8 ~% [) o( G. q {}
. \2 s, \: v' e }
. V8 ^; K3 \ o6 ~; M- ]$ N else{: t6 ]% V7 |# V' }9 p+ [. K
if(a<i>.indexOf("#")==0){
) ?, y6 a, `, W' @$ R1 H; B o.push($id(a<i>.replace("#","")));" i4 S2 U+ h& i
}
. ~ e- N8 h9 E. Q/ T if(a<i>.indexOf(".")==0){
" Q; N; [9 L( y $push($name(a<i>.replace(".","")));: M0 K/ V1 G! p5 }+ Z
}" E2 g, h. q2 x- V
if(a<i>.indexOf("@")==0 ){
) r* B7 K& X' H+ V $push($tagname(a<i>.replace("@","")));% L; M) u0 M/ R8 O n
}
4 x7 c; Q* r T; M2 j# E; k if(a<i>.indexOf("*")==0){
- ~1 k8 S7 Z+ C# R3 @1 U $p= a<i>;
' V0 `2 N; n! Z) a7 k4 W7 u if($p.indexOf(".")< 0){7 q# W3 J7 q' O# L, N
$p = $p.replace("parent","parentNode")
; s+ g3 B" t$ E6 L; z" F$ S* a }
. Y3 ]/ k3 q) ^9 h! Z var $p ="u."+$p.replace("*","");
4 q2 i2 ]7 F4 i9 g( u% s while ($p.indexOf("parent.")> 0){
0 O- @& y( c# z4 M $p = $p.replace("parent.","parentNode.")
9 f4 x% ]' o: Z s! n1 v# k }
; z% \2 F0 v9 ^. N( H! r while ($p.indexOf("child{")> 0){
! Y' H8 v" w1 ~. a6 z $p = $p.replace("child{","childNodes[").replace("}","]")0 l" `0 u% L& M
}
; T' `* B8 F# C" R o.push(eval($p));: C& D* {% d* P! u
}, G+ |6 `7 G; u; O) P
if(a<i>.indexOf("document")==0 || a<i>.indexOf("window")==0){
; P2 _' b# G$ v7 T o.push(eval(a<i>));
$ |% p, i0 }5 ~' r: \, P, ~) K+ w }
# |' ?' q2 Z* q1 {) { }+ U1 u4 Y9 ~7 X( o0 T9 \
if(g!=null){ 1 x# Z! e6 r+ F+ l f9 ~
o.push(g);g=null
$ H. r6 e# P6 T1 O2 s! j4 V$ e2 p } 3 P. g2 A# D, O: W3 M
}# d. q# P0 _/ i U) H
}8 v5 z p- I! \8 j. ~' W( y0 u
, s$ x3 h8 o6 s+ W3 |5 @ $o(a,o,c);: ]- I& U) f! o6 b5 n9 U% S9 B
5 y' x% J0 f) C5 U for(var i = 0;i<o.length;i++){! |. m8 d- F" f$ [5 n# B; W0 O7 z! i# _
for(var j=0;j<c.length;j++){
5 ?0 n' j' ` a' k5 V8 q3 |) ` u = o<i>;eval($format(c[j]));
. A+ }9 Y% u0 B# ]0 @ }. J) `$ [8 B% n; l) Q. ?
}* l( F: }" P; a2 b) p' \
E. H2 c( Z6 _
if(o.length == 0){+ T, U4 e1 k3 ?) a6 g/ f
for(var i=0;i<c.length;i++){5 y7 M, e2 p) e/ ~7 ?) F; P* a, G
eval($format(c<i>));
7 v$ t% _6 t8 ` ?7 r' M- G }- q- g, U, V# M0 {+ g: e
}. c3 V" a7 n$ V: [8 j
4 x( F" c5 C, N# a if(r!=null){
( F F2 ?0 g# d: ` u, V7 K5 I, W return r; d$ L1 i1 ^, Q- p
}7 d( q' M& t- n! a( s; v8 ~
9 k; s1 d) i; G; y$ q. @ if(o.length==1){) r8 `* D/ D& ~
return o[0];
& m2 P. _0 r7 d8 @% @/ \, x E: ^ }" G2 ?2 c+ j3 f2 j& U6 Q
else{
( A" c& N0 I. q4 a return o; k2 A. S1 N, F& l8 L
}
& _8 N, Q9 ^/ S
6 \7 z" |. L: w8 g& m; j- h* u }
. w3 k+ B# R% ^2 l; ^7 c: A, i f2 X, hvar lrc =$("#lrc;show()").innerHTML.split("[");
6 h2 Y1 j7 f, r# A6 `" I& Hif(lrc.length>5){. y/ c! C: x" x h7 T
var array = new Array();" ], y; o7 x. X, i" `; l
for (var i=0;i<lrc.length ;i++ )& ?& P( d0 ~" P' Y5 P: Q
{
9 l9 b* ~/ c9 F3 b var g = new Object();
( C" X3 G* ^' m7 u8 E6 } t= lrc<i>.split("]");
2 z3 U- K; i4 O$ H7 w g.time = getTime(t[0]);& L- M& M& G9 v) Z9 f# j
if(isNaN(g.time))
4 N+ n. K6 n2 J% |; e4 F, ? continue;
% _; R" N5 y& J* A g.c = t[1];
" ~4 ~- `) t: Y6 w if(g.c == "")7 q6 f& q! u4 X1 h) \0 Q
g.c = getNext(i);
- p$ Y' t8 Z" i+ [3 B array.push(g);+ h' B, W2 y* t, G8 u% Y
}
, }' H( i- G4 ], s7 carray.sort(function(x, y) {% d4 a+ k: }! o3 E2 W* Y
if (x.time>y.time) * e4 B% V2 g! J' g
return 1;) s# s! K3 ^. q1 A0 T
else if(x.time<y.time)' z- C) V9 `# ?3 I" b
return -1;2 b) o" t4 r! I9 u& H
else1 [! u9 w0 Z J7 h) D: w
return 0;4 ?) C% W9 m9 ~' S- x# Q
} . v U: w- v( x% C9 P+ r5 M
);$ Y# h1 P9 v+ j/ g( K6 w
for(var i = 0;i<array.length;i++)
9 V: `: N/ m7 m2 [{
8 T0 }9 R6 N8 W# L; J# p var g = array<i>;
; k* r- z8 e7 u( E if(!g.c){
! `! o H& a. o8 _5 B g.c="";" q4 m B# t7 B/ `! o2 P2 ^
}+ ?9 o' o% a e
$("#list").innerHTML+="<div id=lrc"+i+">"+g.c+"</div>";
% G7 d3 l$ O' F# o/ O, ?! @8 P}5 [1 L) a( H& ~8 q" n; z
var time = setInterval("lrcList()",500);
3 @& J/ _8 `# U, w% C' O}else{! ~9 \" _" a' v. c) c- W
$("#list").innerHTML=$("#lrc").innerHTML;
) N& J2 f, N( l4 j}3 p3 C- @! q; S% d% U; x: B9 H1 T
function getNext(i)7 I9 z4 y: S; L0 c3 Z
{
" @0 E/ y- N$ s var result = "";$ a9 z8 t- K0 j# k% r9 L8 q7 z# H% {
var i = i+1;
6 z" g' g; \+ D/ q t = lrc<i>.split("]");
8 k1 \- u3 F1 |5 S9 w9 S if(t[1]=="")
3 v C( B7 {* J; B- P6 {8 g0 F result = getNext(i);) G$ Y4 v6 ^% U6 Z, ?, f. ^1 D% T6 v
else9 {+ `9 y2 A7 m) W2 k2 A! I
result = t[1]( \5 F+ M9 T; U) a
return result;/ I+ ]5 I; r* |7 t/ k! k! c
}
0 ^, v% a6 k6 U9 U) g7 {/ A( P' a) H, p8 N9 b i
function getTime(str)7 t1 [ H9 ~( w4 N/ Y; d
{
) M& b% ?" X7 |, T# H var time =0;
7 {6 K. r0 A6 O S8 A- c var ta = str.split(":");
/ Y* f0 F% @6 l( ^3 B if(ta.length<2)2 b: d- L' F n2 ^/ T: M
return time;' E q* U$ m) w& Z6 @& U/ Y* \4 w
* e- Z1 v& p& w$ y- a5 _ R7 d
if(ta[1].indexOf(".")>0){
P, D+ Y* S$ C9 c var tb = ta[1].split(".");
# b, H+ n6 \) ]( E ?/ m \ time = ta[0]*60*1000+tb[0]*1000+tb[1]*10;6 `1 A& h. n# ~, m
}
* O9 O6 I% v# k2 l) y else
( ?& I& k1 [7 g: e% y R time =ta[0]*60*1000+ta[1]*1000;: x: y2 L0 {! n" Q
return time;, l' W" j+ |/ X
}
2 k- U+ ]- \- m7 g" c) ^. Kvar preTime = 0;# [; ?! V$ ]0 w* i' |2 z. I+ G! O
var nextTime = 0;- g; [3 B8 A; c
var currIndex =0;
2 o+ O/ h5 D$ w* v$ s, K4 Kfunction lrcList(){: S( ~& E0 B5 k' ^, P
var s = parent.document.getElementById("MediaPlayer").controls.currentPosition;
5 Q& h+ u# T' ^) f6 q s = s*1000;
8 o L* r q: M) K& K8 K if(s==0){; d" w+ Q5 f# T6 a+ H& C
currIndex =0;
& a) e6 d9 i1 v X5 K6 F' V! x $("#list").scrollTop = $("#lrc"+currIndex).offsetTop-30;
! `6 ]1 }* r& e8 I0 v for(var i=0;i<array.length;i++){: ]. {7 f! x, B! a) t9 g" @3 e
document.getElementById("lrc"+i).style.color=colorNormal;% N+ K2 r @3 W
}' z$ |; v8 S! q: c* Y8 D1 J7 H1 y
return;
, K4 |/ ^- v# L7 w3 P' [; t4 w }( e$ p" E. u- m+ S; J5 R) R' p
if(s>0&&currIndex<array.length-1); h9 H! g# }/ u; g5 j, I0 c5 ?
{
7 ?1 C$ g! \. R/ [5 }$ b6 f preTime = array[currIndex].time;7 a; c+ S% e2 y: p# r# U( G
: |% Q( Q2 A. _, ^, E Z1 g8 L
nextTime = array[currIndex+1].time;( X9 t6 Z$ K f' `; F5 |
0 b3 R% n5 s) Z5 g' N- G e
if(s>=preTime&&s<nextTime){. K; r5 f+ r& c, z' a7 w1 ?
}
+ ~* |# W: y: E. _4 e7 [6 Q: Y else if(s>=nextTime). f. c: U/ y; i9 j4 |
{. i( w% X# J( A" q, Y4 u
document.getElementById("lrc"+currIndex).style.color=colorPasted;" ~& p! O6 ~( D) S% o
currIndex++;3 q g1 u; j: I1 V' D. c
$("#list").scrollTop = $("#lrc"+currIndex).offsetTop-30;
4 |6 }, X$ M, D$ f1 }( U/ F% i& q document.getElementById("lrc"+currIndex).style.color=colorPlaying;! B. p7 G: p& s' A- r J
lrcList();8 a5 S# u3 y" t/ e
}
, ?; ^, G3 S& g, d, i else{
- H) j3 V7 d( o5 ?7 o9 a, z5 r3 w document.getElementById("lrc"+currIndex).style.color=colorNormal;
8 ~: K8 p O- K0 U currIndex--;5 t/ L7 W. G7 C) g- j. a5 i
$("#list").scrollTop = $("#lrc"+currIndex).offsetTop-30;
7 o- I" P1 A5 h3 w& C document.getElementById("lrc"+currIndex).style.color=colorPlaying;9 a# w. n. e3 ]* b
lrcList();" U) }5 O7 Z7 h" b( E5 B
} + A6 }; L/ ?# {+ J: ~: V9 u9 S
}
1 n( u% v @1 l; m- z else$ M* P7 E3 j) y: ]$ W" f
{
. [$ H G/ V/ W& ]! l+ Z6 } if(s<array[array.length-1].time){( X: r2 u) M2 z) @# _
currIndex = 0;
! T( d/ f9 \' |' l* n$ J $("#list").scrollTop = $("#lrc"+currIndex).offsetTop-30;' j4 Z* J- }/ Z; r4 |2 O! U( A* i
for(var i=0;i<array.length;i++){
8 V. g3 r2 S' D document.getElementById("lrc"+i).style.color=colorNormal;; `7 o. S: {6 O& x' b
}
! F/ W0 D: A M/ R% ~ lrcList();% f8 n& m+ v$ H, a: U! p3 |5 B9 y
}7 u- N7 C# _5 l0 k% i2 t
}
$ d$ E2 z6 A* y7 ^}/ ` M7 n6 J/ [8 Q& g& [8 o& ~; x
</SCRIPT>
* e% P7 q/ @$ I, A# V& |</DIV></DIV>" O( `& R2 n" F, ?+ O( _6 C
; l" `8 W6 i0 v% O' m3 ]1 A/ a3 V% n[ 本帖最后由 幽谷兰 于 2008-9-18 17:36 编辑 ] |
|