|
|
<DIV id=list>* {3 n% N, O+ N& r8 `
<DIV id=lrc1 style="COLOR: #666666">[wmv=0] http://lzbj.ncedu.net.cn/uploadfile/20083923248279.mp3[/wmv] </DIV>
# Z8 i/ m5 P2 n/ R; p5 r! l) u<DIV style="COLOR: #666666">|等一分钟|听到这首歌,觉得它很动听,旋律很优美,很是喜欢,传上来给大家听听。</DIV>
3 m6 I ?6 c: n/ M3 j7 q& @<DIV id=lrc2 style="COLOR: #666666">词曲唱:徐誉滕</DIV>( F$ J, e; r2 }3 e' B, I
<DIV id=lrc3 style="COLOR: #666666"></DIV>1 o- c1 D) V( Q. o
<DIV id=lrc5 style="COLOR: #666666">如果时间 </DIV>: x7 o) i Q- p- W' F
<DIV id=lrc6 style="COLOR: #666666">忘记了转 </DIV>9 P: q0 Y2 U3 e1 S8 v: L7 G
<DIV id=lrc7 style="COLOR: #666666">忘了带走什么 </DIV>- t' ~2 N. g5 C3 `" d
<DIV id=lrc8 style="COLOR: #666666">你会不会 </DIV>0 b# u/ D# ]8 e' p* L6 R
<DIV id=lrc9 style="COLOR: #666666">至今停在说爱我的那天 </DIV>5 l/ z2 ^' H! V3 W, {# i
<DIV id=lrc10 style="COLOR: #666666">然后在世界的一个角 </DIV>
7 T! d Z6 O% S<DIV id=lrc11 style="COLOR: #666666">有了一个我们的家 </DIV>$ k0 V' W/ i; G1 {3 l5 i/ T
<DIV id=lrc12 style="COLOR: #666666">你说我的胸膛会让你感到暖 </DIV>: l7 i3 h6 n. Y- G
<DIV id=lrc13 style="COLOR: #666666">如果生命 </DIV>
6 H3 m+ r; O; ?: F" T( }$ u( Q5 F<DIV id=lrc14 style="COLOR: #666666">没有遗憾 </DIV>
# n y, {0 n! |2 A<DIV id=lrc15 style="COLOR: #666666">没有波澜 </DIV>! _! v& C! I: J7 K- z/ C
<DIV id=lrc16 style="COLOR: #666666">你会不会 </DIV>3 n, ?5 t9 R9 C) z) _
<DIV id=lrc17 style="COLOR: #666666">永远没有说再见的一天 </DIV>
1 p8 @- z" s; c1 M<DIV id=lrc18 style="COLOR: #666666">可能年少的心太柔软 </DIV>
* y# t1 G# ~& G# `$ G& T<DIV id=lrc19 style="COLOR: #666666">经不起风经不起浪 </DIV>
) U1 M: ~# }: ]<DIV id=lrc20 style="COLOR: #666666">若今天的我能回到昨天 </DIV>" Y& d0 L- N/ S0 m8 D7 a2 Z: A. x
<DIV id=lrc21 style="COLOR: #666666">我会向自己妥协 </DIV>0 F( j" ?8 x. @/ Y
<DIV id=lrc22 style="COLOR: #666666">我在等一分钟 </DIV>
5 T9 X. Z( A. m5 f9 i<DIV id=lrc23 style="COLOR: #666666">或许下一分钟 </DIV>% c; E$ f8 p$ G
<DIV id=lrc24 style="COLOR: #666666">看到你闪躲的眼 </DIV>
# S6 h& q4 k9 K3 |0 N5 w! ?<DIV id=lrc25 style="COLOR: #ff3300">我不会让伤心的泪挂满你的脸 </DIV>
% d- t2 K7 m! `<DIV id=lrc26 style="COLOR: #000000">我在等一分钟 </DIV>
O# ]- s" p8 |7 |5 }% k<DIV id=lrc27 style="COLOR: #000000">或许下一分钟 </DIV>
4 O1 o! l) t: m4 U, S* Q<DIV id=lrc28 style="COLOR: #000000">能够感觉你也心痛 </DIV>
& o, {. K: w8 F' Z5 b/ U+ }<DIV id=lrc29 style="COLOR: #000000">那一年我不会让离别成永远 </DIV>
; e" U0 S; F" j. I" k2 ?" w<DIV id=lrc30 style="COLOR: #000000">如果生命 </DIV>
9 g" ]& ?4 @& h- }, ]# r; U. g<DIV id=lrc31 style="COLOR: #000000">没有遗憾 </DIV>
3 [( _5 m; B7 I: E3 s<DIV id=lrc32 style="COLOR: #000000">没有波澜 </DIV>7 i# L4 V2 |2 u2 T
<DIV id=lrc33 style="COLOR: #000000">你会不会 </DIV>; g* H* ~$ I0 `7 C9 e! \
<DIV id=lrc34 style="COLOR: #000000">永远没有说再见的一天 </DIV>+ [* g7 w3 d9 `* h! z/ i {
<DIV id=lrc35 style="COLOR: #000000">可能年少的心太柔软 </DIV>2 y: q5 L# G) V& |* O" |
<DIV id=lrc36 style="COLOR: #000000">经不起风经不起浪 </DIV>; ~; k' Q4 W/ l+ ]6 `) O
<DIV id=lrc37 style="COLOR: #000000">若今天的我能回到昨天 </DIV>3 \$ A. j9 ]+ W! D% a1 Z# e: I
<DIV id=lrc38 style="COLOR: #000000">我会向自己妥协 </DIV>
. y$ g/ ^5 H( O- w1 j<DIV id=lrc39 style="COLOR: #000000">我在等一分钟 </DIV>. e- D' K9 `0 W3 V1 ?3 P+ \% i, a
<DIV id=lrc40 style="COLOR: #000000">或许下一分钟 </DIV>2 {- M3 B) Z6 k) @/ ^7 e2 ~1 C9 `6 ^! f
<DIV id=lrc41 style="COLOR: #000000">看到你闪躲的眼 </DIV># Z7 u4 B# x, `2 C w
<DIV id=lrc42 style="COLOR: #000000">我不会让伤心的泪挂满你的脸 </DIV>' ]& X1 \9 X) [3 f- f9 Y9 q- d
<DIV id=lrc43 style="COLOR: #000000">我在等一分钟 </DIV>
4 q- j; X2 b8 K! _<DIV id=lrc44 style="COLOR: #000000">或许下一分钟 </DIV>
! k8 G! u R5 P" l: x T" {/ y# H<DIV id=lrc45 style="COLOR: #000000">能够感觉你也心痛 </DIV>
. g7 ~/ k, y- v$ v<DIV id=lrc46 style="COLOR: #000000">那一年我不会让离别成永远 </DIV>8 z1 d) y. l- K' O, z9 t4 q
<DIV id=lrc47 style="COLOR: #000000">我在等一分钟 </DIV>
; }! h. _6 U# @: \3 l" G. e; F<DIV id=lrc48 style="COLOR: #000000">或许下一分钟 </DIV>* F/ N# y% K6 T/ Z2 J* e
<DIV id=lrc49 style="COLOR: #000000">看到你不舍的眼 </DIV>
: i# z7 p( k- B' [<DIV id=lrc50 style="COLOR: #000000">我会用一个拥抱换取你的转身 </DIV>
$ y0 N5 g# m; p% |<DIV id=lrc51 style="COLOR: #000000">我在等一分钟 </DIV>) a. l# _3 v7 g5 E
<DIV id=lrc52 style="COLOR: #000000">或许下一分钟 </DIV>
8 d! R# a5 h$ h# R: v# z% _<DIV id=lrc53 style="COLOR: #000000">如果你真的也心痛 </DIV>8 U$ F5 }, g G- K# @
<DIV id=lrc54 style="COLOR: #000000">我会告诉你我的胸膛依旧暖
* @6 p% Z% v2 f$ S- m<DIV id=lrc style="DISPLAY: none"></DIV>
$ }* R8 ^" [! A7 P<SCRIPT type=text/javascript>
6 b2 b1 h1 C" S% n% l3 idocument.domain="1ting.com";
4 z- Y" k& I+ Gvar colorPasted="#666666";
5 x' D4 a% z3 x# m6 P. e6 n2 U0 avar colorPlaying="#ff3300";2 l4 A6 s( _3 O, N: A
var colorNormal="#000000";, S+ r+ @* t4 i2 F1 {2 Y
$ = function (a,g){
" I$ U! f3 x7 l! Z( C' Y var o = new Array(); " s" x% F* }$ E# l: }4 |
var c = new Array(); 4 E1 ^0 k$ b2 U
var r;
* |7 i. ?6 S; |( d" r var u; 1 w) m `! L7 f3 O) ^5 D& P$ n
var a = a.split(';'); - M5 E8 Z/ ^0 v3 W2 U' w" h1 \( @
8 A: e3 v" D8 Y! H
var e = "keydowns,resize,load,dblclick,click,mouseout,mouseover,mousemove,mouseup,mousedown,inputchange,inputfocus,inputblur".split(",");
- y0 {. p' O6 w5 } for(var i=0;i<e.length;i++){$ d! B! Q3 t5 a
eval(e<i>+" = function (s){eval($event('on"+e<i>.replace("input","")+"'))}")
* i% h: x4 e" x2 Y }
5 S0 A1 x; @" [2 U1 m9 s
B" q+ G9 p1 J9 o5 a0 b% E0 N after = function (t,d,s){
" l1 g( S3 a" N $after = function (){9 h" r7 ~& d7 j
var $n=document.createElement(t);1 Q# v9 g+ j# Y, T( {9 y% G: }
if(d!=null){; W) p" ^* ^+ L
$n.id=d; 1 R/ Z$ I9 J1 V# ?# \% F
}8 F6 Q- {* W3 D. R7 s0 |
& G* \3 R: {- n* u u.insertBefore($n,null)
# y3 C. D. @% I7 g9 u r = $n; / g. z0 a6 g4 }
u = $n; 4 ?$ a- Y" G9 \& P' }/ l& {6 e8 d* L: M+ R
}
; M* f, e* ^4 ]! C3 z( X9 R: A $for(s,"$after")
2 c; O; w9 D9 h5 x& u$ g$ c }& J+ y: \8 O7 C" H$ l
. P2 ^3 E P8 R show = function (s){
- B( H$ H7 W3 r# Y; ] $show = function (){9 `* @; B1 Z& Z' w. a, `4 `
u.style.display!="none" ? style("display:none") : style("display:block") ;& _' ~0 ?3 @1 k4 F1 P9 B
}5 j& t5 o" q9 N' T! R8 J
$for(s,"$show")( T" [% p! u7 M7 T; q
}
7 i/ x% H) `0 Z- J& p9 K4 ?) s+ B, {* s$ Q5 y" H0 }& n/ h4 F( h" S
check = function (t,s){& C* H0 A5 d3 V0 o
$check = function (){
" t* ~" ^1 a0 n2 D: H# F7 |$ E if(t=="2"){
- k$ G& v/ l9 h- U, ^/ G if(u.checked){
; \; ]% L) o( D7 j9 p3 |$ G u.checked = false;2 O6 [8 R9 f# K/ ~
}else{, l' ^6 q/ i; Q/ h; z, C
u.checked = true;$ a$ W9 X X" y+ q1 u+ H
}
! E/ r; j n% k$ z5 @ }else{$ k& N! B# ^4 C8 h4 c
u.checked = t*1 ;
) U( j0 j% l x7 e }$ D @3 h& u; j
}
, W* |9 ]/ c8 m' ~ $for(s,"$check")6 m( i* {: W$ X. r _' b8 d
}
& g- ^4 }1 _) {3 d3 o- h; ] [3 W0 a, {" B
style = function (v,s){0 d: u, n$ h( h: M
$style = function (){
% |* s4 ] i9 F Z8 T var $n = v.split(",")
, @# Z" `$ w5 w- q for (var i=0;i<$n.length;i++ ){# x6 ?1 |$ I3 g$ u( F4 V
var $m = $n<i>.split(":") + N; ^+ a* {1 w% H
eval("u.style."+$m[0]+"='"+$m[1]+"'");+ Y7 I2 s# M* a& S( C
}9 l8 o$ N) m5 |( k `7 G
}6 T- _1 i. N! R% L
$for(s,"$style") ]) b" w4 T M( ~7 Y# S2 q0 a. F
}$ Z& T% I$ Y I& B/ e9 `
' x4 l5 z! ~3 @ q# n' O1 |
value = function (v,s){$ X- x* x5 D9 y
var $n= $this (v);9 K& g. }) ]) N# w/ m1 }
$value = function (){
' c% H( r$ A8 G0 l+ D3 g; w u.value = $n
8 H' r8 i$ p4 B; u u6 ]( j# l | }
5 m5 Q1 q* x/ s. ~: Y3 b$ L* w. @ $for(s,"$value") , G8 F# j+ U7 e" N" d1 G0 f" O" D
}, A/ I4 N0 Z% H; H3 P* D
: P w$ [6 |7 i7 T
text = function (v,s){
# \* W- Z) G; n: S, h" K; v var $n= $this (v);
' z6 V5 D. e) s $text = function (){
5 g* ?; r3 U7 j- C& J0 b
8 H% e( U2 ^' M+ X7 N: v u.text = $n w+ i3 S2 U5 Y- _
}; t- Y3 `& i2 c5 ]8 |( o0 O
$for(s,"$text")
0 z1 f5 k* s3 ~" u; i, S& K3 R }
( j8 O' C' X* k @. C
/ b# m! D$ V- |( ?* c6 @ innerhtml = function (v,s){1 R- F, M4 @" b2 R) S" g. q% ]
var $n= $this (v);
* x0 \% e& n, K% |* h $innerhtml = function (){
# |3 h4 s7 N5 W0 w3 J u.innerHTML = $n
$ t1 _% Y1 ^4 b }9 n7 X4 J" b) r" z
$for(s,"$innerhtml")" @' k2 S0 z/ U y! f6 Y& R/ X* `
}
$ S7 l ^8 F1 O/ Z
1 P! \$ I1 R$ b! B removechild = function (s){
( |* A8 S) T- D) n, B $removechild = function (){
- W4 I, H3 e; ?/ ^( W u.parentNode.removeChild(u)
0 S b+ ?( G. D8 _; r }+ L$ ?. k8 F8 Y* k8 B
$for(s,"$removechild")5 _$ L6 n2 V0 `) ]* a. ]# w. J* i
}
9 f2 _/ c- H, `
f1 w. K, u g; q0 Y; e $this =function(v){! e3 ^. V1 W4 p) s5 T3 Y
if(v.indexOf("this") == 0){
5 V+ a# w. a3 u9 G return eval(v.replace("this","u"))
; B5 `. V$ f) ]& F }
+ \; o# ?3 N! w( k% @, ~ return v;: S6 _3 x% I! f5 i) c; B
}
+ s+ N5 [( ^- t7 ]9 a* Q/ Y0 C. `- z' p9 O1 ?9 e
$event = function (s){1 d0 E+ u# J& S( ?9 F* e) {
var $n ="u."+s+" = function(){$work(this,s);}"
5 n, K' H! m/ K9 r return $n;
+ e' D, }. y \5 U }4 X! Y8 H) J* p+ P4 \8 D
; ^9 E3 M( l7 i O7 y $replace = function (s){! G$ s, G1 M$ t6 d: \9 I+ R
+ A0 H" V& M- N. | }
6 ~) \' ~4 @2 p) h7 M: u+ n0 I- D, [& E/ R$ Y- Q- O
$for = function (s,c){
' c4 q; P' b- P! B# k var $n="this."+c+"()" ;
3 n" t7 Z% q. |7 o: j if(s!=null){2 P+ E/ \3 s0 Y6 \6 R' \: {) U4 \& q
var $m =$test(s);
; W) E' o' r$ r; Y/ q4 z for (var i=0;i<$m.length ;i++ ){5 Z* [: e5 i. A
u = $m<i>;
6 r- Z. I' j* P- C2 J' r$ e' \ eval($n);2 f* c6 i% g, _! M
}
& V/ s% `- W F" U5 J }
6 ]( f5 o$ @& v else{
) w( q q: m. U! f3 `* e% d, i8 b eval($n);5 {% P ]8 c. a2 Q) D
}5 Y( i$ N8 z& ]9 p* h# I
}1 _# ?, Q2 \& C' d, y
! M' |4 X! E7 I. [0 B
$test = function (a){
6 T; I; s0 W/ o( q# p' u4 { var o = new Array();$o(a.split(';'),o);
" t/ U) D) w P, g return o;' c7 j+ Q- b2 Y, G
}
$ W O) B: `& K8 W4 h, p, Z! a; m* t6 ^0 s
$format = function(s){! W# v- ]: R2 d8 `5 x* {
while (s.indexOf("'")>0){8 P3 ]# S2 m; B2 Q) P* V) V
s=s.replace("'","\"");7 D. z6 v X/ V4 }" |# P( ]; d; J
}
- \3 e% X: `' U6 x6 j# {" V/ h+ d while (s.indexOf("][")>0){
" \" ^6 |. v; M$ z& I' u, t7 E% _ s=s.replace("][","','"). t9 X+ C* I) t
}
) u$ O) D/ `7 Y while (s.indexOf("[")>0){
+ P8 L& d: Y8 j s=s.replace("[","'").replace("]","'")( ?- e& ]0 g( T, }9 S, C
}
* C0 ]5 i, K2 D) _! A, G return s;
+ {4 E: `3 q) `+ r9 I- w }$ f: u. p1 p# [" O6 j# N0 N1 {' @6 ?5 b
: u. n( B# k/ L! S6 Y$ k5 j6 M $work = function(w,s){
9 B6 P4 F2 p9 F u=w;eval(s)% Y$ G1 x1 [" B* {% l% A
}. H& r( ^1 g4 g5 o0 q; r! C) z" ~
) s2 e& N; o" W1 i, Y $id = function (s){. {0 g! C# z/ w
return document.getElementById(s);9 W* \ l4 F' t" s0 Q! t: J! }
}
! {# j/ o5 k2 q0 Y0 r$ ^- J W4 v, K9 f6 D/ r* _( i% T' y+ u
$name = function (s){5 a5 x d9 ^' w8 v8 w V) y7 m
return document.getElementsByName(s);
4 E7 L' z% p3 W! u0 [* d }
l2 f% O9 v. F9 b$ o0 h. _. h% u' S
$tagname = function (s){! N0 X, c* c3 V
return document.getElementsByTagName(s);
, }+ _1 Y |6 `" _& K }
% [! F, h3 o) i$ m; r. W9 h/ }9 G" g7 K
$o = function (a,o,c){5 g( K: ^& h# X! l
$push = function (n) {
! g: {1 K" F4 E. e for (var i=0;i< n.length;i++ ){
6 R6 b+ y6 W. l; f$ Q" w' L o.push(n<i>);6 {! Y8 l( ? a4 `" j, R
}
5 f1 D7 k& v$ ~ }5 s5 P" I+ _$ s3 z& R8 A2 `
for(var i=0;i<a.length;i++){
7 K% ]6 x6 L! z4 z v if(a<i>.indexOf("(") >= 0){0 x% y- z- k( c% M. B
c.push(a<i>);
p, W& a; q) q0 b4 h7 L2 e }
' ]8 l1 G4 l L if(a<i>.indexOf("~") > 0){0 f! _. K1 z$ U
try {. O) R i3 ]. j8 y7 p
$push(eval(a<i>.replace("#","document.getElementById('").replace(" ~ @","').getElementsByTagName('")+"')"));
* _: v; Y/ i# S @& B* H" e- b }catch(e)9 {8 Y7 _7 h7 `6 M% s% m Z
{}
1 T! r3 g8 e4 M8 A( b0 R! y' l. }( Z }5 l4 H4 j4 v8 r0 p9 {. u* \
else{2 [* s3 f5 n3 ]
if(a<i>.indexOf("#")==0){( f7 F. U9 k3 A& F4 V2 z O
o.push($id(a<i>.replace("#","")));
8 M% j' n# p9 Z% e, d& { }
/ l( V7 s7 `, \. k& O" d/ p- x if(a<i>.indexOf(".")==0){; Q# I4 b# v5 Z1 [7 z$ q
$push($name(a<i>.replace(".","")));$ g! T- B& i; W, K1 C- I: i! C1 E
}
& o$ Q5 \1 x3 k& |, c: t8 ~1 y4 U if(a<i>.indexOf("@")==0 ){
- Y, t2 ?; y" X2 e0 v- p $push($tagname(a<i>.replace("@","")));
" g$ Q! Q; c- H6 r }
* g2 [0 y; m) ~ if(a<i>.indexOf("*")==0){ `4 c, D* A4 g
$p= a<i>;1 U6 ~ h' S* L/ v3 o
if($p.indexOf(".")< 0){
1 u m8 Q. F0 P1 ]4 {4 u c $p = $p.replace("parent","parentNode")
+ T3 j& ?' d# @( e* X } {5 t6 ?9 K" F# V/ x- |' X
var $p ="u."+$p.replace("*","");4 j/ i4 U6 V8 [
while ($p.indexOf("parent.")> 0){) D) \+ \' \# j
$p = $p.replace("parent.","parentNode.")
! A. X! r4 w2 k X }
( n( f; T% L; x n while ($p.indexOf("child{")> 0){+ b0 @; \! m L4 _: J
$p = $p.replace("child{","childNodes[").replace("}","]")
$ `. ^4 v7 l% O }1 S8 U) J' Z9 u2 O) m' g
o.push(eval($p));
+ Z+ E9 {) g) e* n- S. T! T% D% [" e }
, M$ |' j8 k) V1 h+ b1 a( F; k# k if(a<i>.indexOf("document")==0 || a<i>.indexOf("window")==0){
. [( [4 B5 X* g7 f) h3 A' t, u6 k o.push(eval(a<i>));
" f; S' o# g4 @+ ^ }
8 L' g( |. {# ~- g4 h }
: s- v' C* ?; y0 B1 ^ if(g!=null){
0 p& ?( V; |, y+ M0 ]) [0 } o.push(g);g=null
# }4 I2 {4 @& T4 r# n# z# x" b- D }
5 V# c" Y( I- p- Q _3 [ }
+ G5 j$ w" [2 [% U/ y5 [. E) Z3 U' ^ }, \# y; Z+ W4 L' R" u- s
# [0 I0 X6 i. o- w' J $o(a,o,c);, f! b4 q' |- o. g
$ B( G8 B$ }, ^ L/ Q/ ~, I8 H$ i
for(var i = 0;i<o.length;i++){$ |" A; E. \. c3 u" e5 b
for(var j=0;j<c.length;j++){/ g3 g$ H0 Z% @7 T' Z
u = o<i>;eval($format(c[j]));2 r* n$ l- Q6 t0 F" U9 O
}
: Y+ Q! f. l! v! J. q }
1 V) S. G: P' U. r& F$ f" p$ }: b0 @- [+ z% P+ L' ~7 f
if(o.length == 0){5 Y) q8 ]! a. _
for(var i=0;i<c.length;i++){/ R! s5 V6 V* W& r) m* B1 N! `
eval($format(c<i>));2 O, G: U0 m, U8 [
}
+ l4 C( \% _* S; O9 c8 ^% ]# t }: s' c! Q- i9 i; i( d" X. s
8 X6 f4 }1 l# }: b3 S
if(r!=null){
- G* F* Y% N* ~2 f: l return r;
4 `+ k5 Q; \9 }5 e2 T8 Q }
. }3 S5 D! \+ K: c
$ G3 }! Z- n' `* F( m6 b# R if(o.length==1){
! g* \- ]1 L& R' c `, V return o[0];0 [& b$ W8 s( y% _5 k9 h+ ^! c
}
3 R: D$ H$ c7 ]' [# y0 j+ v5 ] else{" m3 N6 |* g5 i; C
return o7 U. h$ N$ \% }( j) f1 Z9 a' u
}
& c1 x. o7 {+ H* C- v8 S
- ?5 j% O. s& \4 ^ }; A8 j& d3 x& r0 z( }
var lrc =$("#lrc;show()").innerHTML.split("[");% e/ p8 G( b" Z
if(lrc.length>5){
% ]0 n9 F( D7 C* jvar array = new Array();
7 f$ B% ?5 ^! O. Pfor (var i=0;i<lrc.length ;i++ )
6 J" _3 t& Y* b( v0 m$ C( `{, V) I, N/ m$ a1 H& g0 Z
var g = new Object();0 h% o: n3 x9 f7 `- @
t= lrc<i>.split("]");1 R" m6 Z: f. r, b$ t$ M* D
g.time = getTime(t[0]);
5 T. x4 C7 R o \! S if(isNaN(g.time))
) t- P0 O1 L- Q9 m continue;
! X; J. ^) v M" r% {7 b4 G5 { g.c = t[1];5 y0 }* k. A0 N+ t2 s/ a( A
if(g.c == "")
' g* h' k0 f5 ~; q8 Y8 a g.c = getNext(i);! q/ `, z) @$ M% F3 I6 e
array.push(g);- @. z5 _: n' M: w$ ~# A# }
}5 @: j7 ]( @4 d7 J4 @
array.sort(function(x, y) {
% U% [) |1 j( ^& R; J if (x.time>y.time)
1 [0 O C# W7 A' N; a( Y return 1;
4 O b; b9 q) u( d else if(x.time<y.time)* G$ a: c4 X" B! s+ R, K8 B: @
return -1;, f/ K! L; y- y$ a
else6 { S$ x6 w# u
return 0;) [1 s, A0 W/ R0 |' r1 R
} 3 A" N H! T( L, O
);% W1 k; Q( ?4 Z; m1 s
for(var i = 0;i<array.length;i++)# p% [! p% p$ L8 W: _* X2 d
{2 ]% ]- X" e) i; l% P% {
var g = array<i>;
" k' o- g/ \0 P$ }2 ~% H" H/ A: f if(!g.c){4 Q+ {/ S: a9 x1 @& Q4 r9 b J
g.c="";
1 z+ K+ |6 l3 u }
5 ?4 o9 e+ V7 i$ W $("#list").innerHTML+="<div id=lrc"+i+">"+g.c+"</div>";4 |% |0 K# d( R; ~. T; `8 q0 J3 y
}" k" N* E: d5 D
var time = setInterval("lrcList()",500);
8 h; n; c7 D8 O* s}else{+ T9 ^8 \ {- P. d. h6 D
$("#list").innerHTML=$("#lrc").innerHTML;
5 @ j, H! `* N7 g}4 c$ ^) v$ B3 L
function getNext(i)* r4 ~4 B; r% O t3 a- |2 S+ ]
{: a3 W) A/ i$ ~7 C
var result = "";
1 e* n; b) a/ z. O9 E3 b var i = i+1;
# y( i( u# w. N4 [ t = lrc<i>.split("]");+ l/ O! U5 L2 e) S, j& r& E
if(t[1]=="")
# i+ E+ n, }$ t; R: ? result = getNext(i);
2 U5 B/ S, a1 V, C Z else
% Z5 l2 d- m+ \6 S4 _ result = t[1]
! w- `6 e8 f; X3 ` return result;1 h" h# X; ]+ A7 y
}
& T+ W, G- u" g2 E7 a6 ^! Y/ m+ V/ u2 w# k" n0 E
function getTime(str)
+ C$ m5 Y6 X: ~; f. w& e- v f+ ^! X{8 j- B0 H& G0 ]* Z6 ^9 W# |( S
var time =0;
4 h* L+ s4 V* u2 ^ H0 ` var ta = str.split(":");- b% [; z) C0 _4 u+ d
if(ta.length<2)# Q! Z3 A) d. }* X6 V4 _
return time;
! ^3 X, E6 o" V- ]6 C8 \& K' U7 v. k* n! O( n" I# f
if(ta[1].indexOf(".")>0){
- x5 P5 S; E/ s/ g: g: [ var tb = ta[1].split(".");
( {6 N$ L. d3 j: T time = ta[0]*60*1000+tb[0]*1000+tb[1]*10;! h* J9 D' S! l9 Q
}2 J$ e8 h% l, u7 I* I/ e0 X8 W& H. A# t7 T
else6 W2 X- t# |' a; C
time =ta[0]*60*1000+ta[1]*1000;
& h7 r9 \5 H& F8 ~7 Z4 ^9 r/ C$ N return time;6 D/ S/ D [: \* e/ v- P& J
}9 b0 s# H5 ]4 t+ G J
var preTime = 0;; U) H; F: X* Q7 q3 Q: p/ s
var nextTime = 0;
$ |% Y; K, v. {+ j mvar currIndex =0;
; j- D d) P, a' Z6 sfunction lrcList(){
- U0 E& q& `% ], o/ o/ {$ T var s = parent.document.getElementById("MediaPlayer").controls.currentPosition;
8 P) g! }% L8 h% x- f" y% L0 L s = s*1000;6 C, z/ o7 u& B& A( K7 A: p% S* X
if(s==0){2 U% M7 d$ R$ i! ^
currIndex =0;
% i) t+ {4 p# _( @) f u' m8 K8 c $("#list").scrollTop = $("#lrc"+currIndex).offsetTop-30;
5 h4 N( p' D5 J5 c" ^8 u1 I for(var i=0;i<array.length;i++){
6 t9 @, l# h. j- X document.getElementById("lrc"+i).style.color=colorNormal;
2 Z9 v) o9 [4 u5 J6 P7 E9 ~" T }2 h( q6 i. T. r$ i' b* ~' l6 H: y
return;$ F* d! W+ d8 J$ Z# l5 `
}
* d7 _ a$ e9 |9 i if(s>0&&currIndex<array.length-1)
9 z; ?* n7 l; c J6 U$ n4 T6 F/ h- N" J { 8 g' A1 y) u2 T0 E, w
preTime = array[currIndex].time;
2 t! |9 O6 E1 J3 Z% p
' v _: n, ]: Y& I nextTime = array[currIndex+1].time;: A6 b: C# c+ M! N& ^! O
9 d# [% S' l5 X: T/ w$ P, h
if(s>=preTime&&s<nextTime){$ S+ r7 a, f1 H3 K
}) K# g1 N$ c- P7 A4 N# x( F
else if(s>=nextTime)7 B# k# L4 T* Q+ F) R
{% n) B K- {0 ^& H
document.getElementById("lrc"+currIndex).style.color=colorPasted;+ C$ X8 M- s+ s7 H6 h( V- V
currIndex++;
& g9 _- T6 C5 U $("#list").scrollTop = $("#lrc"+currIndex).offsetTop-30;( X5 Q0 a! g" N" Z; Y
document.getElementById("lrc"+currIndex).style.color=colorPlaying;7 E- w; S$ F. G2 c/ _! Y7 o
lrcList();
u& Q% z7 Z; X8 d3 | }
: m2 M9 C( p5 k$ ?- o' w else{
2 k' b- B' E$ @- }0 r document.getElementById("lrc"+currIndex).style.color=colorNormal;: U" \2 g" |+ B0 q$ ?, B3 P
currIndex--;
8 n8 P2 `2 }6 A" W7 n# W; H- ?: p $("#list").scrollTop = $("#lrc"+currIndex).offsetTop-30;
, G6 K) K, c$ i document.getElementById("lrc"+currIndex).style.color=colorPlaying;$ w ~2 l# k7 ^9 |. {
lrcList();2 x* j& n7 H3 t6 X4 K
} ) o4 [7 E, s' p7 N% \2 q5 x3 a
}7 p! ?7 p0 O9 h% ^
else0 i* o! _# S- ?2 \- _! y; M
{
# i# r9 @0 M, J" a, `$ s if(s<array[array.length-1].time){ [3 S% f3 R% ^0 i4 ` f1 D$ K
currIndex = 0;/ f4 H8 ?2 r' Y, |
$("#list").scrollTop = $("#lrc"+currIndex).offsetTop-30;1 ?0 u# A; y* o5 n* W9 l
for(var i=0;i<array.length;i++){
1 G7 S& u) g: T0 F r document.getElementById("lrc"+i).style.color=colorNormal;( |. p$ [ A& I1 f$ [ H
}
& h# U" |" {8 h7 m" S2 {) U lrcList();( x. y( D7 s! n& c+ b- y2 ]
}" t, j+ q1 f8 Z# \3 I; y2 S0 @
}5 T( Q* P0 U+ |* q! P# A/ d6 [7 L
}. s" s) Q! W1 g5 h5 k
</SCRIPT>; T" B) O6 B, G6 a Z
</DIV></DIV>1 r' h3 L% \8 m1 M" T
/ T+ w# S3 Z$ k( b V3 Q" u- X
[ 本帖最后由 幽谷兰 于 2008-9-18 17:36 编辑 ] |
|