|
|
<DIV id=list>6 V4 z- s- p# H+ H1 e9 Z
<DIV id=lrc1 style="COLOR: #666666">[wmv=0] http://lzbj.ncedu.net.cn/uploadfile/20083923248279.mp3[/wmv] </DIV>3 ?* w. [% W/ g5 }4 j5 f c
<DIV style="COLOR: #666666">|等一分钟|听到这首歌,觉得它很动听,旋律很优美,很是喜欢,传上来给大家听听。</DIV>3 e4 F2 d, [, k4 A
<DIV id=lrc2 style="COLOR: #666666">词曲唱:徐誉滕</DIV>* J. K- f$ y# Z. s1 H' I& a
<DIV id=lrc3 style="COLOR: #666666"></DIV>& d+ ]- \# C w7 n1 c( [
<DIV id=lrc5 style="COLOR: #666666">如果时间 </DIV># B: c) i% x: G4 l% v O1 G, g
<DIV id=lrc6 style="COLOR: #666666">忘记了转 </DIV>6 V/ k# d7 s6 M6 \4 I5 e5 I
<DIV id=lrc7 style="COLOR: #666666">忘了带走什么 </DIV>
/ c0 o4 D5 d. g$ t' B1 @<DIV id=lrc8 style="COLOR: #666666">你会不会 </DIV>
: I( W) @% ?( B* l; z$ M<DIV id=lrc9 style="COLOR: #666666">至今停在说爱我的那天 </DIV>
2 O' d: H2 J6 K; k! ?" q: J<DIV id=lrc10 style="COLOR: #666666">然后在世界的一个角 </DIV>
% v" S' T! r8 |& d1 |<DIV id=lrc11 style="COLOR: #666666">有了一个我们的家 </DIV>1 ?( S0 _6 |. U4 G2 F( G
<DIV id=lrc12 style="COLOR: #666666">你说我的胸膛会让你感到暖 </DIV>; J8 h$ u% U; M( T
<DIV id=lrc13 style="COLOR: #666666">如果生命 </DIV>
4 C9 [) b' _# Y* g<DIV id=lrc14 style="COLOR: #666666">没有遗憾 </DIV>
; ^- K% |! B; ]- U<DIV id=lrc15 style="COLOR: #666666">没有波澜 </DIV>- Q+ m: f$ A' | {$ G- O
<DIV id=lrc16 style="COLOR: #666666">你会不会 </DIV># e, t" G: @8 |% z4 I
<DIV id=lrc17 style="COLOR: #666666">永远没有说再见的一天 </DIV>
% r/ ~# B0 Q6 Z<DIV id=lrc18 style="COLOR: #666666">可能年少的心太柔软 </DIV> [. T0 h; F9 t1 L% l( x5 ~: J
<DIV id=lrc19 style="COLOR: #666666">经不起风经不起浪 </DIV>
% y- C, F1 [0 u4 W. S<DIV id=lrc20 style="COLOR: #666666">若今天的我能回到昨天 </DIV>$ t, J! p3 U: c/ {: \0 O5 ]
<DIV id=lrc21 style="COLOR: #666666">我会向自己妥协 </DIV>
: x [: C9 I; Y6 X, R<DIV id=lrc22 style="COLOR: #666666">我在等一分钟 </DIV>
, [/ H/ O* u" n<DIV id=lrc23 style="COLOR: #666666">或许下一分钟 </DIV>
$ k, d9 `# z2 w5 l<DIV id=lrc24 style="COLOR: #666666">看到你闪躲的眼 </DIV># T8 J4 {" p* w; s2 ~) x
<DIV id=lrc25 style="COLOR: #ff3300">我不会让伤心的泪挂满你的脸 </DIV>
' a/ h0 u/ j/ _- _<DIV id=lrc26 style="COLOR: #000000">我在等一分钟 </DIV>
8 |7 j3 P |. g% M# L<DIV id=lrc27 style="COLOR: #000000">或许下一分钟 </DIV>
4 ]2 B, B1 H4 N! ~7 ~3 {; \<DIV id=lrc28 style="COLOR: #000000">能够感觉你也心痛 </DIV>
8 I4 J+ L; }& w0 E+ ]5 v<DIV id=lrc29 style="COLOR: #000000">那一年我不会让离别成永远 </DIV>0 G6 E( @0 H% `- J
<DIV id=lrc30 style="COLOR: #000000">如果生命 </DIV>
. W6 M# c2 Q) o. @<DIV id=lrc31 style="COLOR: #000000">没有遗憾 </DIV>
/ D9 n' a7 o7 n$ L<DIV id=lrc32 style="COLOR: #000000">没有波澜 </DIV>
p& d! B7 S3 x# W y<DIV id=lrc33 style="COLOR: #000000">你会不会 </DIV>3 U9 x' L$ D2 f4 e
<DIV id=lrc34 style="COLOR: #000000">永远没有说再见的一天 </DIV>% A6 D( ^' J1 _( A. t
<DIV id=lrc35 style="COLOR: #000000">可能年少的心太柔软 </DIV>
6 Z5 B1 j+ ~: A9 u, q<DIV id=lrc36 style="COLOR: #000000">经不起风经不起浪 </DIV>8 l! X' `# {: \+ G. ~
<DIV id=lrc37 style="COLOR: #000000">若今天的我能回到昨天 </DIV>" z0 y2 Y; w5 X# D
<DIV id=lrc38 style="COLOR: #000000">我会向自己妥协 </DIV>9 Y# B1 w2 V; s" R) T* H
<DIV id=lrc39 style="COLOR: #000000">我在等一分钟 </DIV>3 a' Z9 }" K: ?
<DIV id=lrc40 style="COLOR: #000000">或许下一分钟 </DIV>% m, G" K) Q- m4 r* Y
<DIV id=lrc41 style="COLOR: #000000">看到你闪躲的眼 </DIV>0 ~5 V& N# B! e- C3 _6 I& Y
<DIV id=lrc42 style="COLOR: #000000">我不会让伤心的泪挂满你的脸 </DIV>
* D) @1 |! s9 C1 x9 v! z2 ]<DIV id=lrc43 style="COLOR: #000000">我在等一分钟 </DIV>; N: _2 c6 C* n: _
<DIV id=lrc44 style="COLOR: #000000">或许下一分钟 </DIV>/ q4 z8 b o* A! ~7 M, ]- B' l
<DIV id=lrc45 style="COLOR: #000000">能够感觉你也心痛 </DIV>
% ~. A' M% W/ e, g; A( E K$ U+ T% \<DIV id=lrc46 style="COLOR: #000000">那一年我不会让离别成永远 </DIV>2 r# d( H9 G/ \6 ^) V
<DIV id=lrc47 style="COLOR: #000000">我在等一分钟 </DIV>5 H# }- J z! U1 y0 }
<DIV id=lrc48 style="COLOR: #000000">或许下一分钟 </DIV>" j( \& F& j3 p
<DIV id=lrc49 style="COLOR: #000000">看到你不舍的眼 </DIV>& ~8 H! m# ~' @
<DIV id=lrc50 style="COLOR: #000000">我会用一个拥抱换取你的转身 </DIV>, j: d. @% Z1 [1 b
<DIV id=lrc51 style="COLOR: #000000">我在等一分钟 </DIV>
( W* L; m! \7 }% n<DIV id=lrc52 style="COLOR: #000000">或许下一分钟 </DIV>
; [7 o* t: n, T4 Y1 ]( S% E, m<DIV id=lrc53 style="COLOR: #000000">如果你真的也心痛 </DIV>
8 |8 S: q2 w0 m2 `( a/ T) l<DIV id=lrc54 style="COLOR: #000000">我会告诉你我的胸膛依旧暖
# b4 \5 `3 \' e6 I" J# q9 A. ?" p% L<DIV id=lrc style="DISPLAY: none"></DIV>3 Y" X0 \0 r3 o" f
<SCRIPT type=text/javascript>! Q. _! i+ z: L i4 \
document.domain="1ting.com";3 F9 p+ s' m, L, m$ M% `# V7 c
var colorPasted="#666666"; O% r9 x1 u7 q$ h4 ~
var colorPlaying="#ff3300";! x" B. x! N( D. w6 U
var colorNormal="#000000";
1 w1 Y ]; f, {" `( y$ = function (a,g){' A& l8 [# @- X$ N
var o = new Array();
* |% A; V) ?* @( x: y( T$ c* `% q var c = new Array();
5 `. d& u9 N$ c! x. V5 `' M var r;
& I( _! E2 Z8 E9 q% v( t4 h var u;
$ `1 c7 v- r& t! }# q$ T+ c2 X& Y9 ? var a = a.split(';');
2 W+ T+ D) S4 r6 x0 n4 A U- k. {' b' f5 V0 b) H
var e = "keydowns,resize,load,dblclick,click,mouseout,mouseover,mousemove,mouseup,mousedown,inputchange,inputfocus,inputblur".split(","); o/ T- L2 M' M7 _% ~! O
for(var i=0;i<e.length;i++){
4 N; F; f# W& |7 U eval(e<i>+" = function (s){eval($event('on"+e<i>.replace("input","")+"'))}"); U2 |5 c2 y% t( o( D0 @2 u9 D$ L
}+ I' ^& E: P+ n$ a! h9 t' K( k
# Q% W q- ^ Y% I after = function (t,d,s){, z( d6 \6 P. U2 k" |' s9 i/ L1 l' r2 ^9 V
$after = function (){
* c7 C7 q: f3 [) J var $n=document.createElement(t);" ?# M w+ H5 U I9 @
if(d!=null){" j9 e5 C: j5 \ ?9 o
$n.id=d; * K4 B# e5 s. J2 X6 i
}. Q, Q+ D9 V) p8 W7 O
' D" u; B. _' a$ d; V& M b u.insertBefore($n,null) # q0 v; A5 {4 g$ p
r = $n; 0 h4 X: |. J; \* J& `" `4 e
u = $n;
" T8 x" A4 c/ N1 Y1 @0 h }6 a8 \3 p1 e/ K
$for(s,"$after")
7 B) W) C- B, V1 w" ]$ O/ T }
- ~# ?/ s, G$ p) V+ d. ~2 u' q$ ?: F
show = function (s){; c6 O4 o6 B- D- s3 C
$show = function (){
6 c2 \9 ^6 u8 f& ^/ i u.style.display!="none" ? style("display:none") : style("display:block") ;
) o, t# M( E4 Y, u& y# s }1 G4 S! S% M ` N6 O
$for(s,"$show")0 f2 r) c4 s1 E9 q1 `$ j
}
g( [) \$ k: X& }+ m& y
: w, z' U. Q" B/ [ check = function (t,s){& Y5 f) y/ p5 R2 G, x% V( Z- u
$check = function (){/ q" X9 _/ t8 j+ }
if(t=="2"){
8 b. R- o7 u! W2 Q6 P! w/ r9 a& G if(u.checked){
5 D+ C; Z% L. ?# O0 A5 E5 \- M8 m u.checked = false;* S S4 `6 X% }$ B2 w) A% D
}else{
4 ]/ {: c/ \) u1 y. r u.checked = true;
6 G5 Z, x- F% r2 s9 U/ U, T% D7 g }
: a1 m8 M0 t5 k/ q _ }else{# Y6 q2 j5 \1 c5 j
u.checked = t*1 ;
4 ?7 [6 `' U! ~ [# Z }7 @9 s& Z5 i" j+ W
}
6 t. T. I& K0 p# t2 W $for(s,"$check")! k. U$ ~2 r7 ~
}
9 i P2 Q0 Q5 L* L1 M1 v( K' w9 o! L. @8 X0 t* K; g- g' [/ m8 N
style = function (v,s){
8 b7 T9 `8 ^9 y( g6 ~4 u: `$ U $style = function (){ N* A6 x& p- x, v, ] k
var $n = v.split(",") " }4 ^( M, ?8 J) f9 B& a$ I
for (var i=0;i<$n.length;i++ ){6 H7 R/ k; A+ Q. Y2 A8 v, K
var $m = $n<i>.split(":") k+ ^5 h8 {, y* R, q6 p k
eval("u.style."+$m[0]+"='"+$m[1]+"'");
- `+ L, i/ K% I ~4 f' N }+ S' U. F3 \/ N" M
}# c9 F: a2 x0 ?: [" U. f( F3 e
$for(s,"$style")
0 O( ^% W. l6 V8 E P0 r2 R* F }
1 ~% I6 v6 ~8 S: \8 P, J# d0 M
) u) {8 `1 c9 O8 y value = function (v,s){
. l" ?# \/ k# K. m var $n= $this (v);
: P+ w" e; \8 O* n; _ $value = function (){
# h" N- `! ]" X+ `: D u.value = $n, ~! L! Q( ]$ E7 {& o
} J9 ?, t1 E3 l' @3 B+ U! m3 D5 H
$for(s,"$value")
/ Z: ?$ V9 T! I; z. Q }, p( |& T/ e" L7 M
, ^2 o6 i& D; D6 C text = function (v,s){
( W4 [1 A/ @5 B3 ~! u B var $n= $this (v);
1 k. h2 I3 Y' Q- W* R $text = function (){
5 `$ T. w8 [- ]) X. m 8 w1 Q5 Y" t/ A$ O! ?
u.text = $n' X6 l, S$ h" G: F
}
/ c: h" {9 a% R* l% b $for(s,"$text")
3 ?# C0 Q, U. t- t' g }
& U* E7 \8 y' b) V
9 f4 d' v8 a8 B, c innerhtml = function (v,s){
, m2 i2 N* y- _ Z var $n= $this (v);
: @9 k/ y9 b. X6 Q5 F D $innerhtml = function (){
) V/ h1 |7 g, _$ d% G( g* I. g3 S u.innerHTML = $n: H8 S5 I2 m8 g2 w
}
c0 n+ I" Y: e6 J Z $for(s,"$innerhtml")
* |; X' J: n$ b1 W- U }
" X; ?3 Q! h" w0 B8 M$ {
2 a! i) F+ }" k/ ~* Q removechild = function (s){3 X' s- o4 r7 P/ X, t8 e0 c+ p
$removechild = function (){# c/ D% d5 e3 e8 }- G% q% x
u.parentNode.removeChild(u)
/ `1 Q2 S9 f3 y } ]* Z7 T" l8 `. T X9 D
$for(s,"$removechild")& X) N1 y9 l" j/ M% d4 m
}
" q% k2 d9 \* y- h2 V2 e: b5 _
V0 a! q2 U$ G$ |( N $this =function(v){) J& x4 H1 G- A: N& @
if(v.indexOf("this") == 0){) i) v1 X/ ~" n) V- o) O7 d
return eval(v.replace("this","u"))
; F8 Y* q$ v+ X3 B; X }
, I" W- h7 q W; i4 c9 q0 f return v;
5 o% z4 t1 @9 ]# V }
: {+ X" ^9 M' ?4 Q' S
( B' V" E1 `+ A! s2 ^ $event = function (s){
6 R! {+ ]+ V4 g/ z) S4 d! o var $n ="u."+s+" = function(){$work(this,s);}"
Q, Q6 f. _: O/ |% B return $n;
. ^" q! {3 y+ [0 L8 Q }
) g+ y# z5 ~3 b6 ~3 i; F1 ?
9 Y2 G7 V Q1 h' p9 A4 b3 T $replace = function (s){
- v( J. I$ s6 N
: y, w Y& g3 v0 Z. D }
- M- g9 B$ u- H+ u$ z
% q: O4 H: r& p3 N* E $for = function (s,c){
u- |! G2 p* {% B& A. c4 ^$ u) \+ N var $n="this."+c+"()" ;. s" P2 m, y2 M
if(s!=null){
, ?6 g* n7 `& H% s& |3 ` var $m =$test(s);5 u7 }9 |. k; t0 R
for (var i=0;i<$m.length ;i++ ){
* @( k( t! [# M u = $m<i>;
% B9 T( n1 y: S1 Q eval($n);
& u3 Z$ D; z- ~3 P }
+ a2 o% _0 }- y- J; O3 }7 e& B" v- d* D }3 z; s# P* d+ I E# F1 x) y+ x
else{
x w! z& ~: a( u$ ]( u6 L: c eval($n);
( s1 Q( ^+ k' e/ o( x6 D, G( p }* E7 u3 x: o, t* X: B6 w
}6 B0 C' }: n- P8 s0 w$ S) R
+ @9 T1 c* l& I" v( l $test = function (a){" V9 f% @0 n1 J. r
var o = new Array();$o(a.split(';'),o);
$ i0 g& [. r, z% E return o;
& L5 \7 w2 J; `$ O/ o2 ^ }4 Q5 D" L% p$ X9 B; r7 I3 f, {& b
, ^9 ^1 j& O# l/ c3 m/ C $format = function(s){
' C+ s# C8 `6 b while (s.indexOf("'")>0){ W! ?! b1 r' o4 D" Y& U/ K
s=s.replace("'","\"");& O. C9 o d! Y' q6 n. e
}3 Q9 ] v) v. w
while (s.indexOf("][")>0){
! x5 m; A' S, ? s=s.replace("][","','")9 u, }, Q7 |7 E$ o- D% F/ q/ v
}) [4 d7 I" H' H) ^5 K" {
while (s.indexOf("[")>0){
+ W. {" ^3 s, X6 o s=s.replace("[","'").replace("]","'"): u, U/ t; R+ n) @9 d: n
}
% _2 i5 C# `& B' G! u return s;8 p7 n6 E; N% H
}2 Q1 e6 d3 E1 s ^
9 p: v8 {/ f+ P* H7 z( A $work = function(w,s){- F& a+ y p1 F" @5 \, x" A
u=w;eval(s)
/ z: r7 r% z4 d }
( }* X3 B) S3 z1 Q/ k- ]' l
6 {! w6 n4 s. i$ p. ~4 {% i $id = function (s){
% Z0 N. y5 W5 b0 k# r; w) |) K return document.getElementById(s);+ P; y. } I- H) V& p
}5 @7 V* ?7 `' R* ~( ^6 {/ [
8 G4 S$ _/ a1 z* t
$name = function (s){
6 U8 b, Z3 o$ u4 o+ O return document.getElementsByName(s);2 j( q* x' R5 y) }) e) k' I9 }# c
}- X) N! `% w) t
s+ g. s4 i- c! m3 `3 V& U
$tagname = function (s){# G8 P% s7 L3 @- U" N
return document.getElementsByTagName(s);
9 o' I3 n8 H: b! ]. R }+ }* k( `5 g2 ]$ b
/ r8 C! q' ~; V7 K6 m$ b8 ? ~ $o = function (a,o,c){: d4 [# ]7 S1 u+ a
$push = function (n) {
" N& P3 f: `8 V0 ]7 o for (var i=0;i< n.length;i++ ){
/ B9 h& S }0 y1 [3 `" J o.push(n<i>);" T- t ~' H# m9 L j
} 0 Q( N C# F# O/ M
}7 z; N5 j8 |( R& G3 R5 G9 v
for(var i=0;i<a.length;i++){
$ H; S' X+ z0 v" l8 U$ W4 [ if(a<i>.indexOf("(") >= 0){
! Z9 b: Q! _" Y# C$ u1 K! G c.push(a<i>);' q2 m) ?( u* O9 h
}7 _* {+ v2 k- a4 V2 N
if(a<i>.indexOf("~") > 0){) q* L. W _5 J3 k- |
try {
1 t% I3 d$ i& ?4 v/ ` $push(eval(a<i>.replace("#","document.getElementById('").replace(" ~ @","').getElementsByTagName('")+"')"));
) {) g6 _3 i/ W! l }catch(e)
( { j9 X1 @( f# T {}
' K" `. i& F0 b: X6 ]8 g }3 t) o6 x9 a, H9 {! T
else{1 b1 T+ K( |1 ~
if(a<i>.indexOf("#")==0){
/ s! S4 ~# y1 [6 z2 {/ y o.push($id(a<i>.replace("#","")));
: M$ v; w2 y A' v- C' n }
. o& u8 [3 P s6 L: p3 K if(a<i>.indexOf(".")==0){
: N; A1 F- X) s1 h1 \ $push($name(a<i>.replace(".","")));
2 k, G* |& f- V& u! D7 A8 P; M }6 G+ X4 v3 x# N# B: s7 R, ]* D
if(a<i>.indexOf("@")==0 ){0 W$ y8 x* `; q6 W) [" |0 J# c
$push($tagname(a<i>.replace("@","")));
: W- x& P+ m) t5 S: | }
`7 `1 ]( N; f+ l2 I! x if(a<i>.indexOf("*")==0){
. e& ?, V; X& F+ W $p= a<i>;* q8 S, I5 H+ v o7 S4 y7 H
if($p.indexOf(".")< 0){7 k5 F1 D8 V! G1 ]( N+ {
$p = $p.replace("parent","parentNode")- a9 L2 @# S: O
}
0 D/ n% ]' b$ M! {0 h; k9 h% D var $p ="u."+$p.replace("*","");( V' s+ D0 k/ B M
while ($p.indexOf("parent.")> 0){- Y- g0 z7 @) U& y2 Y
$p = $p.replace("parent.","parentNode.")
3 V+ ]. t0 `- i, |# p3 W }! \( m0 z( D' X, N5 `( S# ~) t) E# {
while ($p.indexOf("child{")> 0){' }7 N; ~8 v P( I H
$p = $p.replace("child{","childNodes[").replace("}","]")/ G ?1 R$ S: M4 D: u
}' O9 |. n# l. z
o.push(eval($p));
+ S, Z. B, X. V }5 G2 V' V% H2 F
if(a<i>.indexOf("document")==0 || a<i>.indexOf("window")==0){- o9 N) G7 E+ c
o.push(eval(a<i>));. F+ c1 W- b( ^# ? f& b
}
& S% r& R, h* v2 o }& U' B- f* g' ~- L! w
if(g!=null){
( } `% v& s: \0 S4 u! T1 [ o.push(g);g=null
6 o v7 i3 p* f, z9 p, M% o0 r6 S }
% T& `4 M2 Z* K/ @2 u }
R' P5 s O/ L8 A( b }
/ q5 L* r1 x) E/ V# `5 C& g. B% j! A" }" W, Y1 {
$o(a,o,c);( N6 u! }( i3 _4 V: i3 x/ g* u& @
# U: q0 B: y# ~
for(var i = 0;i<o.length;i++){
! x" ~, x6 W* k for(var j=0;j<c.length;j++){
* c) n7 U) g7 {9 ?* A u = o<i>;eval($format(c[j]));
: m. u- A f. o, a0 t }
- f. H2 \( g% ^/ N4 l! D }
' D# {" B: Z6 g
: B( x2 t" ]* E, z if(o.length == 0){
% B5 E8 J. g: @) c for(var i=0;i<c.length;i++){
1 O; r' f% V' R9 x) B eval($format(c<i>));" W0 V% `$ O" c8 @
}
7 @+ _* `% b: u) d0 w3 M) P }1 [" I# A. `; m) T
4 P! L8 m0 d9 Z/ }2 s# M6 I
if(r!=null){
/ t& r6 V# y: M! _& _! } return r;6 q' O/ l: v; ?' c
}
, w# ?8 \4 h* ~# g- A @ * I* ]9 I4 K2 r' S; U6 \0 e* i
if(o.length==1){2 t+ M0 f N" x+ d, W. L
return o[0];
, Q8 J; _3 Z1 z& F$ P }
, k3 z3 M1 C7 B% D, O3 R else{
$ _2 }( B# j9 G' j. L- I; { return o
7 b) f0 w4 I, I4 U9 O8 u) I }
1 m/ z) M) q, k, [3 o
5 h% ^/ i4 Q1 { }
2 n6 N/ D7 u! U% \' h8 Hvar lrc =$("#lrc;show()").innerHTML.split("[");# T" R/ l0 H' m* u, }
if(lrc.length>5){
) H. t4 D, a) i0 O) j: S& hvar array = new Array();
% U+ l9 b( @! C5 X Cfor (var i=0;i<lrc.length ;i++ )
# Q" a6 d! f) u1 ?{
6 u( d, u4 b3 {& \; e var g = new Object();
5 m+ G4 D0 L. z/ L. C t= lrc<i>.split("]");
9 X/ W$ l- H# S! E2 P) u g.time = getTime(t[0]);6 q/ C6 S& b5 r T+ G; h4 q7 n& v
if(isNaN(g.time))
$ k; u5 f9 s3 D9 F0 _1 | M. f continue;
# Y1 b0 o$ Z* ]7 z2 y+ C g.c = t[1];6 ~5 d n# ~4 S1 ?! }, L; Y4 p7 A( Q
if(g.c == ""); f& R. o2 _2 E& p' c) j- f- S
g.c = getNext(i);6 X& ]* i+ E1 @. h1 a \: ~
array.push(g);
+ d1 E. z) ?' Z# d# C7 P1 f}
2 s7 _- R) }) G9 R! barray.sort(function(x, y) {0 o& T1 o( |0 ~0 Q
if (x.time>y.time)
4 W5 U, _8 U# b3 A/ e' p3 K return 1;
6 y" |+ ]3 E* d) K' H9 R else if(x.time<y.time)! t9 [ t- T, x, R
return -1;" k0 U# b1 W3 N) k3 ?
else U* t7 _ ]4 N5 c6 c
return 0;) l$ }+ l5 c( M
} . |8 | m+ t' p' Y6 E& C
);
; t( k; s: w @! F5 d) |% rfor(var i = 0;i<array.length;i++)/ D" T2 K6 R, R
{( P( G [+ f4 R" D; f
var g = array<i>;
! Q: B. p7 X1 {' z! v if(!g.c){
; d+ {- M4 u$ B; `9 q g.c="";
# U8 o2 E- w+ p. m5 L2 D4 @ }
. L3 S: [% K5 h0 M5 l. c $("#list").innerHTML+="<div id=lrc"+i+">"+g.c+"</div>";7 ?+ M8 A+ ?% T s8 I9 ?3 m- C
}5 Y% j7 }% [% Y- F" R" P
var time = setInterval("lrcList()",500); : n5 G/ Y! h4 Z$ j" v& V0 _
}else{2 r4 V* }. r# L( |# R1 q/ w
$("#list").innerHTML=$("#lrc").innerHTML;
' q% C2 j L3 }}
+ G* v! n0 ~4 H: l. e1 K) W9 nfunction getNext(i)/ T' z( J. P3 F* p$ |# ~6 I
{# }8 P5 D5 c" h9 Z2 ^
var result = "";% S2 G. o0 r9 y2 }, p0 A
var i = i+1;/ b4 P9 u: n/ A; h. X7 U
t = lrc<i>.split("]");
7 G3 }8 c' ?3 ?4 @% L if(t[1]=="")
2 L' K& d; y- x result = getNext(i);
; @% ]0 {- s5 [( X6 ^" z else8 V1 h) d: S9 t- _8 L
result = t[1]2 Q6 O/ l% q9 G
return result;, s W0 P; I2 |+ D9 W8 Q& A
}' `" O+ o' ~2 A9 d! _: o( Y0 ~5 @
% _: \6 V' u5 X% _
function getTime(str)6 ^) Z- k1 X5 K F$ Q; I
{& D: A# {# M; ^
var time =0;
' s5 k/ ^ v) z' r, w# x var ta = str.split(":");
$ F2 w& @9 E- e5 p if(ta.length<2)5 V. M) Z5 `4 h
return time;
' @* t# S" F) A0 ^
5 i7 t! x6 [9 D* _5 H( h if(ta[1].indexOf(".")>0){
1 `. P3 O6 j2 D. v, W var tb = ta[1].split(".");
" i. h m) M. R* N* n time = ta[0]*60*1000+tb[0]*1000+tb[1]*10;
, P; b$ O% X! G' u }4 E! N' g/ ]1 u8 Y
else1 A. q; L3 e6 ^/ k) n
time =ta[0]*60*1000+ta[1]*1000;' }% h' _/ o# r% s7 Q. O
return time;5 |. g0 V/ k4 b" }) @6 n; J
}# _/ Y) X; m4 k# Q
var preTime = 0;
* f$ {( s* W" J/ P4 n3 y( cvar nextTime = 0;
1 } @ A9 w' `6 y, rvar currIndex =0;% Y3 ~+ k+ I% G. h! y! k+ d
function lrcList(){# E9 W2 ?! F5 @5 T" y
var s = parent.document.getElementById("MediaPlayer").controls.currentPosition;7 o2 V1 M' c; S; J! E. O v
s = s*1000;
; ^2 ?' N" _" H6 `$ F e if(s==0){' @0 u2 j$ C; s- w
currIndex =0;
, v$ T( @2 M! s1 l" m1 h $("#list").scrollTop = $("#lrc"+currIndex).offsetTop-30;$ L! w! @6 K; v5 i* q
for(var i=0;i<array.length;i++){
; u1 H6 W: f+ R S$ J document.getElementById("lrc"+i).style.color=colorNormal;% C" |7 o) J; ^8 n
}
2 \$ C/ b( H( q0 _) s& z% }4 S2 G return;
; v% _: g: j3 { { }, c( b9 @4 r! L; Z/ Y/ r0 a
if(s>0&&currIndex<array.length-1)5 R% W: d% K/ N s6 e; b
{
6 s7 }9 C5 p0 H& l preTime = array[currIndex].time;4 }: Y( U+ v/ m7 _$ R, j
6 W" |8 \; Y. S6 e3 f) Q6 B$ W nextTime = array[currIndex+1].time;
) P( _/ h7 }9 Z5 `8 | " X# N( [' T; \2 B
if(s>=preTime&&s<nextTime){. j5 y' w' y+ a1 o3 u
}' ~; `# y% Y8 e7 a' r
else if(s>=nextTime)
. A3 K w6 X* a% E* E {
0 e; q- F, i" z2 l- {9 s2 s document.getElementById("lrc"+currIndex).style.color=colorPasted;
& W: ^7 B! }# |; h/ [6 g9 v currIndex++;
/ S# p2 n6 B- B+ B; f+ }' h $("#list").scrollTop = $("#lrc"+currIndex).offsetTop-30;
) J G8 ~' {" c1 E document.getElementById("lrc"+currIndex).style.color=colorPlaying;
1 `2 p3 X; A" P lrcList();
, k# `. ?' S; W4 f& {6 h }; _# u; a5 s3 G( H( @3 i
else{! e3 x6 M. g4 ]3 L) Q! g& ]
document.getElementById("lrc"+currIndex).style.color=colorNormal;
2 u8 C l% m& s4 K/ S# B' I currIndex--;
& x) Q2 I, v5 p7 a3 G6 C: ^8 Z+ d2 S $("#list").scrollTop = $("#lrc"+currIndex).offsetTop-30;. z+ e& L# I) F1 G
document.getElementById("lrc"+currIndex).style.color=colorPlaying;
8 I9 C' j! |3 | c6 A) D4 ^ lrcList();
: y: `7 r. `& d; g+ j' |/ L } ) A3 t1 {, }3 \
}2 y8 h8 W: K9 y# f& }2 o- c
else
2 @4 [- ^$ d7 m9 K% D0 | {% D/ k; v8 F0 Q2 I# A% L
if(s<array[array.length-1].time){
/ I" O9 U: S* n1 a, I currIndex = 0;
& g. x; r) M4 J $("#list").scrollTop = $("#lrc"+currIndex).offsetTop-30;$ y/ B7 r- _5 x* s" H
for(var i=0;i<array.length;i++){2 m4 i* Q% f& L# F) p* x; U4 i& w
document.getElementById("lrc"+i).style.color=colorNormal;/ P2 } h: k0 H
}& W) _3 J, m; p, A* T. A) j
lrcList();
$ ] @2 t5 \" U8 @ }& }- Q( F. j5 t* r0 ^5 X' ]7 e
}
, d* ` C- R4 F}
3 m) m- B/ O G' X, `</SCRIPT>
1 ?. E1 _. Q, V7 ~</DIV></DIV>
j w# h0 S U$ N: G9 b1 l @( a' Y: L4 C) D% u7 c) I5 G: T* e
[ 本帖最后由 幽谷兰 于 2008-9-18 17:36 编辑 ] |
|