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