|
|
<DIV id=list>
' s3 L: I; @, ~* D8 `<DIV id=lrc1 style="COLOR: #666666">[wmv=0] http://lzbj.ncedu.net.cn/uploadfile/20083923248279.mp3[/wmv] </DIV>
; Y& X: O- o" _% k<DIV style="COLOR: #666666">|等一分钟|听到这首歌,觉得它很动听,旋律很优美,很是喜欢,传上来给大家听听。</DIV>
3 m3 D3 p! ?7 W9 x<DIV id=lrc2 style="COLOR: #666666">词曲唱:徐誉滕</DIV>
: K: S8 K1 i& a* @4 g<DIV id=lrc3 style="COLOR: #666666"></DIV>
9 C1 \; g; C& r<DIV id=lrc5 style="COLOR: #666666">如果时间 </DIV>
& c9 P5 L7 t: R! a4 z% ?: H% H<DIV id=lrc6 style="COLOR: #666666">忘记了转 </DIV>, f$ K4 I1 F( ?1 K! z3 t
<DIV id=lrc7 style="COLOR: #666666">忘了带走什么 </DIV>
* m9 y+ K; e% J. }, {8 t- |<DIV id=lrc8 style="COLOR: #666666">你会不会 </DIV>- j [4 [( d r% |
<DIV id=lrc9 style="COLOR: #666666">至今停在说爱我的那天 </DIV>) u3 v9 K m( y- `$ ?
<DIV id=lrc10 style="COLOR: #666666">然后在世界的一个角 </DIV>
# D6 L T |! o! v n: |9 w6 J, u<DIV id=lrc11 style="COLOR: #666666">有了一个我们的家 </DIV>0 V" t5 v' z5 }' _" v8 w: g
<DIV id=lrc12 style="COLOR: #666666">你说我的胸膛会让你感到暖 </DIV>
0 Q2 I" c0 ]8 }3 }" j" |- {<DIV id=lrc13 style="COLOR: #666666">如果生命 </DIV>
# d. E! c( Q( \6 {3 d<DIV id=lrc14 style="COLOR: #666666">没有遗憾 </DIV>4 u+ L6 {2 l) q6 H5 r
<DIV id=lrc15 style="COLOR: #666666">没有波澜 </DIV>9 k4 }# c7 b" Q" G p
<DIV id=lrc16 style="COLOR: #666666">你会不会 </DIV>8 e1 U+ o, ?, Y
<DIV id=lrc17 style="COLOR: #666666">永远没有说再见的一天 </DIV>
6 p: v4 ]3 y, x: m% T<DIV id=lrc18 style="COLOR: #666666">可能年少的心太柔软 </DIV>) u- w4 R0 M( |
<DIV id=lrc19 style="COLOR: #666666">经不起风经不起浪 </DIV>5 }/ V7 L5 _( A D" U% A
<DIV id=lrc20 style="COLOR: #666666">若今天的我能回到昨天 </DIV>
; F9 e! T: n$ e. {/ \<DIV id=lrc21 style="COLOR: #666666">我会向自己妥协 </DIV>' _& I3 L/ J8 w. ?
<DIV id=lrc22 style="COLOR: #666666">我在等一分钟 </DIV>8 C% F! ~% ^# U$ M% |% w
<DIV id=lrc23 style="COLOR: #666666">或许下一分钟 </DIV>
# y3 Y! u6 c, O! G: P<DIV id=lrc24 style="COLOR: #666666">看到你闪躲的眼 </DIV>1 P- ?* `- I& }3 p
<DIV id=lrc25 style="COLOR: #ff3300">我不会让伤心的泪挂满你的脸 </DIV>* j5 s' l% z" g0 D8 z) U, p
<DIV id=lrc26 style="COLOR: #000000">我在等一分钟 </DIV>6 `1 l& K. ^0 M m7 R# R; B& R5 g
<DIV id=lrc27 style="COLOR: #000000">或许下一分钟 </DIV>) l6 [% a$ G* g: _" `/ a
<DIV id=lrc28 style="COLOR: #000000">能够感觉你也心痛 </DIV>
" a6 v+ E7 M2 d" ?% _<DIV id=lrc29 style="COLOR: #000000">那一年我不会让离别成永远 </DIV>
' M/ l4 f1 ?: D% H: i4 r8 W0 z9 s<DIV id=lrc30 style="COLOR: #000000">如果生命 </DIV>
) L, A9 S4 \* Q<DIV id=lrc31 style="COLOR: #000000">没有遗憾 </DIV>7 l. y; I7 m' E
<DIV id=lrc32 style="COLOR: #000000">没有波澜 </DIV>9 F; F8 _# r# t# R* Y& [, E8 j! _
<DIV id=lrc33 style="COLOR: #000000">你会不会 </DIV>
! y$ H# D5 ]/ Z$ W+ J7 W- X7 Q<DIV id=lrc34 style="COLOR: #000000">永远没有说再见的一天 </DIV>+ B' n w9 D1 t$ @( ]
<DIV id=lrc35 style="COLOR: #000000">可能年少的心太柔软 </DIV>9 Q) A' x; q5 r/ R
<DIV id=lrc36 style="COLOR: #000000">经不起风经不起浪 </DIV>- K2 U' M# r" t' Z4 V
<DIV id=lrc37 style="COLOR: #000000">若今天的我能回到昨天 </DIV>
& D T& E( c) m<DIV id=lrc38 style="COLOR: #000000">我会向自己妥协 </DIV>
" Z+ _1 v+ V3 J0 w3 ?4 \8 ?<DIV id=lrc39 style="COLOR: #000000">我在等一分钟 </DIV>
F/ [9 e4 ^1 ]" A$ j5 I<DIV id=lrc40 style="COLOR: #000000">或许下一分钟 </DIV>
% ]7 P$ }' u. k2 Z<DIV id=lrc41 style="COLOR: #000000">看到你闪躲的眼 </DIV> f) l) M8 S! k3 Q
<DIV id=lrc42 style="COLOR: #000000">我不会让伤心的泪挂满你的脸 </DIV>, n$ N: w% W) L+ G
<DIV id=lrc43 style="COLOR: #000000">我在等一分钟 </DIV>" b V+ U' F) a8 i; i
<DIV id=lrc44 style="COLOR: #000000">或许下一分钟 </DIV>7 f. ^5 E$ f; A- S( L
<DIV id=lrc45 style="COLOR: #000000">能够感觉你也心痛 </DIV>/ d# ^ U5 y3 C# E% c3 C
<DIV id=lrc46 style="COLOR: #000000">那一年我不会让离别成永远 </DIV>1 b }% z% h8 K7 ^3 E" i# K' B% |
<DIV id=lrc47 style="COLOR: #000000">我在等一分钟 </DIV>
, m6 q" N6 w6 o<DIV id=lrc48 style="COLOR: #000000">或许下一分钟 </DIV>
( v9 n, u" i/ o2 N* w- w; R" ^5 s<DIV id=lrc49 style="COLOR: #000000">看到你不舍的眼 </DIV>
$ \6 A( F& s2 n; t<DIV id=lrc50 style="COLOR: #000000">我会用一个拥抱换取你的转身 </DIV>
7 c7 {- T. @( _* P4 b8 Q<DIV id=lrc51 style="COLOR: #000000">我在等一分钟 </DIV>
" Z/ M0 ~$ b4 ~% A2 C E% i8 @<DIV id=lrc52 style="COLOR: #000000">或许下一分钟 </DIV>
0 j0 U# m; m! p; v3 b) O% @# t6 [<DIV id=lrc53 style="COLOR: #000000">如果你真的也心痛 </DIV>" x) p8 A d: g: j" P/ Z
<DIV id=lrc54 style="COLOR: #000000">我会告诉你我的胸膛依旧暖 , b0 q: E9 } z9 A9 W& V; c
<DIV id=lrc style="DISPLAY: none"></DIV>& f$ g& m. q* T+ W
<SCRIPT type=text/javascript>
9 e2 M) T, O1 V3 T7 }7 Wdocument.domain="1ting.com";
* a# H7 V8 d* `: ]7 k& tvar colorPasted="#666666";8 d# s* ]7 ~( K5 M8 k9 q5 U
var colorPlaying="#ff3300";
/ d' G! z) u% h$ C" R# {7 g, Bvar colorNormal="#000000";
$ V: s1 R; K; ~' |2 z$ = function (a,g){2 X* v- g2 U* a
var o = new Array();
0 p/ L: q. ]: C* _& p var c = new Array(); ! Y( W! f" R) e
var r; 2 s0 u6 e2 m! e- e
var u; ) a! }. i" z; c: s
var a = a.split(';');
. |; N6 ]# M. |% v- i4 `; ^
2 n0 C( n; {, {$ W# J var e = "keydowns,resize,load,dblclick,click,mouseout,mouseover,mousemove,mouseup,mousedown,inputchange,inputfocus,inputblur".split(",");
, `6 ?- O, q3 Q! h2 z3 s for(var i=0;i<e.length;i++){
8 ]6 Q7 W5 z/ G5 n- x1 B eval(e<i>+" = function (s){eval($event('on"+e<i>.replace("input","")+"'))}")
* i* l# ~7 e5 `4 a }0 c! ]# D h' S' `) c/ G
2 H! r O/ G5 R
after = function (t,d,s){3 W: s7 V, J: `$ K1 p
$after = function (){2 I6 c. W D! W m
var $n=document.createElement(t);
8 x3 }; l. V* n' \: e1 m if(d!=null){
# Q/ ~4 z+ a4 `& Z' B $n.id=d; X t5 @! p! B7 e
}
7 F+ S$ v& Q$ }$ a
% ~6 q7 k4 B- x5 U u.insertBefore($n,null) 6 m( o- {7 @ O+ i$ Y
r = $n; - p0 ]6 s( x" A) `
u = $n;
, L/ g5 v% M% M; l }
. b/ J! @! ?4 A7 C- x $for(s,"$after")) e, ?" X. K1 N v2 L+ N4 \
}" `3 g, K1 Y z; r5 k5 G( R5 _
" Y0 ~9 T, Q4 t l. c show = function (s){$ C& u4 P" \: N$ H7 z/ ^
$show = function (){" C4 A: {* |- e: O- {, u* T
u.style.display!="none" ? style("display:none") : style("display:block") ;
0 L/ v3 b$ H" H! Q: R' W }
; V% M# m' @6 L9 {7 N9 x $for(s,"$show")# O' a: {- ^$ Q5 J M3 u7 w
}
& u y: i4 @# J( w0 `4 {6 \9 }# a8 P; I8 P H9 E G
check = function (t,s){3 f: _2 {8 n3 s! c' [2 s
$check = function (){' d0 ]* k# T; i; s0 w
if(t=="2"){1 O9 M( u9 c" X* x" g
if(u.checked){! f4 B. z2 G; W1 _2 Y
u.checked = false;
7 i" U+ j; A4 p. H" k- F+ F7 o }else{, p: n! e: P' R& I- Q: X
u.checked = true;
7 K- Y7 `4 D' ?: B- w; W% S# r' W& z }, z5 ~% {8 g- u7 s6 G( f
}else{
- \: l, v& F8 J u.checked = t*1 ;
( |8 h5 R2 z O, g8 ]/ x. e5 P }
# n5 N3 b+ T! Q1 ` }
: w8 k! I8 k( j% Z $for(s,"$check")
. r r7 _' l& H8 s+ \! U. o }
0 e: Z! @4 l! b6 c
0 x, F3 o" C6 ~0 ^5 c style = function (v,s){5 H: c4 w/ p( e7 R ]
$style = function (){
: R9 J- u8 z; F% \8 Z1 z var $n = v.split(",")
0 f9 Q# A4 V0 k: ]$ l# | for (var i=0;i<$n.length;i++ ){
M, p. \$ O& f( B var $m = $n<i>.split(":")
) p x; U1 n9 }( q9 u9 p8 k7 _ eval("u.style."+$m[0]+"='"+$m[1]+"'");. x& W& T n0 K& ?: n
}
1 ^6 H) ]7 P+ j/ N( T7 F }
) {( `0 |; g- P! F9 P2 ]5 q- s" h $for(s,"$style")* ~8 O( w, [4 l, V3 D Z
}
b2 \" I; V; [, ]( [8 t
. [( W1 L/ k# x value = function (v,s){
5 Q- M) _% w1 n) { var $n= $this (v);2 V e0 I! Z5 T$ {3 W7 W
$value = function (){& k5 A! ~/ Z$ U& E
u.value = $n
$ e" p9 s/ v. c3 d1 P0 s9 t( H1 T3 b }9 j: M: o2 l; m/ N! L
$for(s,"$value")
" v( M- i& D/ d2 T, X }
1 ]# x) p# w: L F
- P8 ?( O/ l% k2 G8 L1 F, j* A text = function (v,s){
. A, [$ }" q) e8 _ var $n= $this (v); T, T1 F" Y+ D# R& {
$text = function (){
7 p% F( l8 @; R& U ^5 ?
, q8 Z: G2 F/ M8 Y6 | u.text = $n
+ f W8 _& A' L1 T }
! V6 {, m; B* r: a $for(s,"$text")
6 H F: S# R. h% f5 E1 i } f: l& J5 h, i. |
) @2 C. d# U) H5 Q innerhtml = function (v,s){
5 g4 C4 ?( B+ \9 F* I3 E var $n= $this (v);" m# G/ ~* f( x) s2 j$ G
$innerhtml = function (){
1 [) m/ O4 o4 ]2 Q# C6 ]+ Z/ z% w u.innerHTML = $n
. z& K# @. w7 E# w6 a }
: Q' @6 j' ~" S& N- ^: C2 X $for(s,"$innerhtml")- ~& B% x7 x+ C0 u1 V
}
: g8 e7 i. z4 d4 s( R
& l) r2 c8 q! ]; i removechild = function (s){
7 l5 |* j; h; B) Q; o6 {2 X' _ $removechild = function (){
( ` w! F- t7 ?: a" A7 R3 P ` u.parentNode.removeChild(u)
& O: ]; r! \# v! y1 B }
, h1 y) L" H) n1 r# b $for(s,"$removechild")2 h9 u- `9 b7 ?$ G/ L
}% d* _' @" n/ f' O; U5 g9 o2 z
: l6 q: T- `9 E2 W $this =function(v){4 B4 G6 T# w6 o5 z t1 q
if(v.indexOf("this") == 0){
1 w3 N* B2 ~8 o return eval(v.replace("this","u"))# e/ @+ t# \' g! J. s' n2 w; h
}# T% ~: ]9 }9 s! e+ n
return v;
, H9 }, M3 W* e( C) n" N0 B* \) F* ~ }6 c( `8 ~5 s* u8 ^: _6 r
) D0 o" A' M# G j, r$ }2 h+ f& n
$event = function (s){$ X1 m& g) v, e9 D @3 }! Z
var $n ="u."+s+" = function(){$work(this,s);}", Q2 {- W+ y$ ^4 Y- w
return $n;$ Y6 x2 ~% |* I8 B. _
}
k0 K6 j/ w Q( ~
4 @, ?5 [5 k& f $replace = function (s){* p0 e( G; `7 t8 n( K( R) G8 b& F
1 V9 Y# K% I+ \8 `" p* O
}* E" Z8 |' @) G F
8 i+ k# n( \4 m3 d ~) l2 d$ N $for = function (s,c){9 F5 E ]) U, k+ l
var $n="this."+c+"()" ;7 N! e) ~" s- h- l& Z
if(s!=null){
6 d) V1 Q/ ^0 c8 N( v var $m =$test(s);
" E3 z8 h) r' A k( Y" n for (var i=0;i<$m.length ;i++ ){6 h) `+ T9 g! t/ Q( r
u = $m<i>;
7 S: T3 e+ r2 L; k! D% q3 H3 U: ~ eval($n);
: U" e* D# H8 F* A- p7 m }( S, v0 M" z0 i0 v) v: H8 ]) G& j
}
9 B" h# Y/ {( Z4 b$ {7 y2 _ else{
8 V# {1 f9 U& j6 t1 n9 C% {! ~ eval($n);! r( T# l( ]- p6 G3 D/ R" n6 h0 V7 s
}; m( z1 X; K* q( v" T
}# ]+ G5 |7 O! O" M* T$ O; m% G. f
1 i5 m. q6 O, ?+ X: G2 L" `
$test = function (a){
$ ^0 T. B0 k) Q6 R& d4 s var o = new Array();$o(a.split(';'),o);- p- `. I% y7 j, x
return o;% I% _8 `2 r* @, t
}
! L3 h$ C- I* S" h
, z P9 d, T, Y: I $format = function(s){( `3 }! t5 B* E! O
while (s.indexOf("'")>0){
! b' k- B( X% ?2 Q s=s.replace("'","\"");8 n B. `" {/ p1 D1 Z: d# n% V v
}3 h- g6 a, b' L5 c
while (s.indexOf("][")>0){# @5 h+ f$ T% ~2 O
s=s.replace("][","','")
# F1 z6 ?; y4 \+ i$ M8 x- }" n }
& i3 `1 N' m/ h% h4 b$ Q( F. _ { while (s.indexOf("[")>0){
, N; J) }. }4 a1 k s=s.replace("[","'").replace("]","'")/ Q/ s- \4 {0 S; D2 V: F
}
7 V/ C0 f! H) T$ r return s;+ d. }+ V' x8 h; a
}
) S+ e, | D- d; @* C( P0 Q% m+ n4 j8 h( {- T# `7 i0 E
$work = function(w,s){
% q; p9 P& X4 e5 B: O: z u=w;eval(s)
' |- B" E, @6 h }
' V: @0 w' C) |) X( l
G- N" E$ z+ f7 A/ G; ^ $id = function (s){9 @& \3 F( N8 u; c/ |! V
return document.getElementById(s);) y2 `' U) U7 P5 o
}
+ R, V: F# l/ V+ a1 I5 l$ m: G- P- W* ?: f8 V6 Y% r
$name = function (s){/ v% i# g( n6 E
return document.getElementsByName(s);) I% k8 K. B6 c! F; i
}
+ s' L8 Y& j% M4 u# t; u* v( Q
* I+ A$ G. A3 u/ Y4 \9 p8 v $tagname = function (s){
! h9 a6 D/ g, |( T return document.getElementsByTagName(s);
( J, ~; @% j" s6 l* f0 a }
9 r' i/ g5 m m/ `% @, ^5 ?9 u& l8 `: o- g& }. p n! r+ k' S
$o = function (a,o,c){
+ z8 N, ^& f$ a% P( C: G $push = function (n) {6 Q; s/ s% @0 q" A0 M
for (var i=0;i< n.length;i++ ){
& I- R% P4 z" }+ a6 {$ n. B6 E, i2 l o.push(n<i>);
% p( I) Y% V: b- C0 E, ~2 ` } 2 \3 v4 R- b* V( J
}- @' g4 U) K0 @
for(var i=0;i<a.length;i++){3 x( E, o/ j7 R4 v6 t$ n
if(a<i>.indexOf("(") >= 0){' f% x/ q! m3 Y N8 S( e3 J/ O
c.push(a<i>);
* R7 l- l- m* y4 O& A }& R7 B8 W6 H( l* A* R2 A# T
if(a<i>.indexOf("~") > 0){
" C- V" y6 }7 S% t try {
0 D. \) H: {. R5 N/ f $push(eval(a<i>.replace("#","document.getElementById('").replace(" ~ @","').getElementsByTagName('")+"')"));
+ d5 A. d$ S [" b* R } }catch(e)
5 j `% h2 o" a; W {}
& b- J) E8 N- E3 K# x a }. j( C" }. {6 T ` x, J$ g
else{5 ~+ \, j: d/ {, D
if(a<i>.indexOf("#")==0){: C1 c! e, `1 D) Z" H; a
o.push($id(a<i>.replace("#","")));+ ?. A0 I' r+ m- A' ~
}
, z" Y& Y$ w8 }- t/ t- y* E if(a<i>.indexOf(".")==0){
) E! q, Y: I. f $push($name(a<i>.replace(".","")));
* h* ?; f) H* m+ y" ~: E. e; U# P }$ v: @* L0 ?7 W x5 q% o
if(a<i>.indexOf("@")==0 ){
$ O% ]- r$ |) h9 _ $push($tagname(a<i>.replace("@","")));$ C, \5 Z' l% Y6 {/ i5 G5 z
}& k. \% a' W8 Z) e5 L( ?: ~' E& r- X5 g
if(a<i>.indexOf("*")==0){
4 \. H' p& x- X/ ^: w" p! W $p= a<i>;
# l* `2 a5 f9 y+ B if($p.indexOf(".")< 0){8 t) P" a( A; u7 T; B
$p = $p.replace("parent","parentNode")7 U" L- P. e/ { F: x+ d6 s" x
}
! E* h6 ?5 ]6 D$ H var $p ="u."+$p.replace("*","");" C7 \+ A: Y4 A
while ($p.indexOf("parent.")> 0){) A" g* C& u% T! k) K2 h
$p = $p.replace("parent.","parentNode.")
7 ~+ F1 u- |/ i% g }1 E& p% p6 h5 x, O8 h B
while ($p.indexOf("child{")> 0){
7 y8 m( R& J/ ]9 T! h& N $p = $p.replace("child{","childNodes[").replace("}","]")
) A% E- `2 g6 b6 v- `% g }
$ p/ l* q9 _# b) P3 a o.push(eval($p));
' F j/ c' A$ h0 u$ H' }2 H6 O' k }6 ~& R2 q" n( F- I7 p, S H
if(a<i>.indexOf("document")==0 || a<i>.indexOf("window")==0){
' T* ?2 r1 C, {. A* |2 O o.push(eval(a<i>));
% |- q' E5 o+ O }( X; P) ^( m: U! Z5 o; [
}) w$ R( E' R! w8 H
if(g!=null){ 5 L9 c; \2 D3 q8 d' K( X
o.push(g);g=null
: T2 s( N) I7 M3 F5 T! f) k8 O }
# x- c7 U) s3 @. R6 _- S }0 ^9 j5 k( y6 N2 J) \5 p
}3 G I+ a9 S" ~
# x( W) _" u$ O- i7 {
$o(a,o,c);
5 R; z% v9 O9 E# k8 c
2 N4 [0 o C3 P8 n$ d for(var i = 0;i<o.length;i++){ T" I7 B) V- j
for(var j=0;j<c.length;j++){
5 E# n. W( C% ]- [5 D8 H# k u = o<i>;eval($format(c[j]));* i6 L3 Z/ f0 }) W
}/ a1 j" Z7 s. V# d% n
}
* k! w: N$ T/ e: e1 t# t" ~- l5 I
if(o.length == 0){
# [! I5 L8 [/ ]& y1 J for(var i=0;i<c.length;i++){
; G2 Q1 {5 F0 s eval($format(c<i>));
/ ~6 e' U9 \0 k2 } }$ n( b7 C" R6 ]: M h
}
* j4 p* k' u, y8 W9 V7 V
1 l* w4 s% Q4 t2 B4 e if(r!=null){
. k9 F' o- y- [' J$ { return r;" J" t: {5 k: e, s* f9 R
}6 _7 ^- [/ H( H$ O" k
, R2 l& O& T O+ d0 d8 O9 P" g
if(o.length==1){" b9 ^ H' W9 i" h# h
return o[0];
& X! A7 k7 s* @( ~& Q0 U5 a }
2 T8 M8 A2 i+ H9 m' g* Q7 _ else{
, }5 s ]4 a( Z7 Z: `8 ` return o9 @. M9 g3 j; {, y9 s _
} 4 P; ^2 e9 a- ~7 d: ]
! c1 t2 Z# z( L% z% ^5 z4 V }
9 b7 u4 \& x7 e7 ^7 \var lrc =$("#lrc;show()").innerHTML.split("[");
$ a" R) `0 \) K& gif(lrc.length>5){
2 W: K" h( }3 n2 Z9 P0 evar array = new Array();0 t& t; T* k' D* a, F! J7 n; F$ Q* C
for (var i=0;i<lrc.length ;i++ )3 @ z2 P0 G& s2 O' _/ F
{- y" P8 d: ~4 K/ J7 H9 q
var g = new Object();$ g9 ^& t- l( E s
t= lrc<i>.split("]");0 d5 F4 `' `' u( O7 L! R8 J) U
g.time = getTime(t[0]);
7 W3 S# Z' f. j y if(isNaN(g.time))
* w7 A, r' N" l w continue;
% _- V( u7 F0 U. [; G5 U" d g.c = t[1];# r2 w# q# M; d1 ?) F; X: u7 e
if(g.c == "")" m# Z; I4 |$ w# F+ ^$ A6 }1 S
g.c = getNext(i);8 v3 w# V2 i6 {" v+ W" i- |
array.push(g);
) L& d0 M6 p6 \. |5 b! {6 M}
v, }; l/ l) T! W/ d qarray.sort(function(x, y) {
# D! z& p: u2 h9 ?- \, P! a if (x.time>y.time) / ?" i, z9 P% T- Q1 n
return 1;. a5 B% ?" i0 R( q4 f8 p
else if(x.time<y.time)( D& [2 K$ ^( N9 s8 k( O0 C
return -1;
3 _+ S' c: n1 J1 u5 T else
6 j, ]: j* m, e5 ^ return 0;$ F5 h! p* Q7 q1 z3 Z# a- _
}
: c0 p2 I& O' W# n' j);
# z! E. T1 G* W( [! D; d3 ufor(var i = 0;i<array.length;i++)
% ?4 W! W/ h* X% s. h8 [3 L8 h{/ A1 C$ Q7 o' @& e+ _& {0 I
var g = array<i>;
; L* S$ s9 B& t' l$ B1 ~+ ? if(!g.c){
: _) i4 O! n8 b" C g.c="";4 ~5 V1 v5 U2 p8 r( N
}
; l: b+ Z3 C, s* O& @ $("#list").innerHTML+="<div id=lrc"+i+">"+g.c+"</div>";
2 h( E: O7 _ i( O; \}
3 p- X% I& r" c" ]0 I( Rvar time = setInterval("lrcList()",500); 7 C0 D6 \" g7 I4 s" c1 ~
}else{
" N! S) z, Y* w% { $("#list").innerHTML=$("#lrc").innerHTML;* W% ?; V/ l8 j; b h
}
1 p" N: J4 \# N' @' [function getNext(i)
9 `4 ?" P1 `' J# x. Y C{
2 X# M) n( E+ J var result = "";
$ M- b; \9 u: G G, F var i = i+1;" Z/ Y' [! l4 y: z
t = lrc<i>.split("]");
! Y" P# T0 w; g2 p+ B( T if(t[1]=="")5 T$ q% j/ N! t: b
result = getNext(i);7 y( k. ~; T6 E8 J" q
else$ X2 k( _" a5 Y _* \9 b( l
result = t[1]
- S, Y" o7 H; ?$ p- H- h return result;" H; n; I/ n& M$ n* }" Z6 n s, \& J
}
9 m. Z$ `2 S8 G# C: F# N1 u$ _, Q$ x% }# y8 J
function getTime(str)
& p, [* u' h: r5 ~4 G8 S{' L6 S I4 g6 K
var time =0;: D0 |, c( O, Q0 K. m
var ta = str.split(":");
5 U$ |% W9 m# S! l9 d if(ta.length<2)
. s3 D4 f. S7 N) `, Y5 u return time;- y3 c: v" |- B1 N$ w3 f3 L
. W1 r$ {" M& Y0 b2 o
if(ta[1].indexOf(".")>0){
4 x- Y% g% ^- U, r, { var tb = ta[1].split(".");0 l, C' Q4 t1 ?7 e6 I9 L
time = ta[0]*60*1000+tb[0]*1000+tb[1]*10;$ v, @/ W- _7 |' k
}- J" }4 F6 L7 A
else' |6 ?8 \5 q! I
time =ta[0]*60*1000+ta[1]*1000;
% \1 y- n- H X: z6 G ], { return time;& R; j; I+ p% o1 f
}
' e4 \6 X7 l9 w' |0 }% Rvar preTime = 0;
! G' j3 p" v( ?* C$ Kvar nextTime = 0;- S2 A& x5 K8 g6 \7 U& P3 U& [# z
var currIndex =0;; W1 g+ L- r2 K. D
function lrcList(){
- m0 K- Q" e: y/ P7 [ var s = parent.document.getElementById("MediaPlayer").controls.currentPosition;8 ?- M X; C( ]$ F4 M( \9 P( g# P& f! L
s = s*1000;7 O0 T9 S1 J: U4 \
if(s==0){# C9 X( e9 G* H1 i
currIndex =0;9 U- D, Z( _" `; Q& N
$("#list").scrollTop = $("#lrc"+currIndex).offsetTop-30;, e' p+ Y5 S+ r |, q
for(var i=0;i<array.length;i++){' a4 B! E B9 u+ X+ C
document.getElementById("lrc"+i).style.color=colorNormal;
1 U! B, @! m' \; P0 k5 ~+ Z: ?7 R' } }
& H6 S$ t D9 \( w7 C return;% N# h7 n3 \% l# S Y. b7 d% U9 r! V
}: Q9 w7 z3 o8 q! Y) L
if(s>0&&currIndex<array.length-1)% y! e- S5 v3 m3 x5 K
{
+ \; _" d' V8 M& z, Q preTime = array[currIndex].time;5 U5 p$ ?' J0 C7 V
7 J* |7 D$ I, K* p5 O! \
nextTime = array[currIndex+1].time;
5 ^( }% `/ B, D; {) ~: n. B
( ^$ z3 a b' \: U) A3 i if(s>=preTime&&s<nextTime){9 V# u9 w0 R/ \1 b! [, I
}
) X+ o+ p U5 p8 D/ s5 N& j& _+ r; y else if(s>=nextTime)
! o1 `( E( \. x6 D: Y' G0 {& o {
& R6 R" }0 r6 b$ H# \4 q3 y" e document.getElementById("lrc"+currIndex).style.color=colorPasted;6 O( b" t1 K$ L9 @
currIndex++;- n2 Q, i: x6 o% ~- G
$("#list").scrollTop = $("#lrc"+currIndex).offsetTop-30;5 I& n2 \% p; x1 j$ J. ]
document.getElementById("lrc"+currIndex).style.color=colorPlaying;: L9 x! ~0 ]1 S. D& I
lrcList();) ^" t" i5 t+ @5 M$ `2 A- a
}5 D% G* T. r3 b& g+ {# J6 T
else{7 P8 d( T2 ]* [* x1 v
document.getElementById("lrc"+currIndex).style.color=colorNormal;4 X8 I4 _4 O% B, J
currIndex--;
N# a4 ~2 j! U" } $("#list").scrollTop = $("#lrc"+currIndex).offsetTop-30;
* O* M5 g+ _) S K7 x9 O/ y1 B& w7 | document.getElementById("lrc"+currIndex).style.color=colorPlaying;% |, N" s& L. E/ h `3 y) O: S
lrcList();
6 @/ D' |7 u4 i } 3 M% `3 y6 H4 t7 a
}$ a) q* S+ P8 N B4 w% [6 T
else
1 w" M0 t# G( ^ A; t {
$ R; y: ?& O: c" v! P if(s<array[array.length-1].time){
}7 G3 S7 ?2 f* p currIndex = 0;
9 c0 J5 [+ K7 j+ o0 w1 y; s, a" K $("#list").scrollTop = $("#lrc"+currIndex).offsetTop-30;
) I" ]$ |4 k5 @" `- ] for(var i=0;i<array.length;i++){
" P1 c, A, H$ h+ j' H( p document.getElementById("lrc"+i).style.color=colorNormal;$ t3 Z& @" H+ ]+ P7 g7 N/ X$ S
}
1 c8 _1 ?4 p" K0 H# H lrcList();
) `: B% f4 y1 v3 l6 @6 F }
9 n2 w' P7 ]1 p, {4 }; ` }
* |6 H4 q5 N9 i4 H* r6 F" ]8 A5 o/ {}
5 I6 s4 C7 z9 D8 m</SCRIPT># o( y. D' w4 |
</DIV></DIV>5 R( B1 F8 m& n+ F7 E9 f
. n9 D( H0 o0 G) i* [
[ 本帖最后由 幽谷兰 于 2008-9-18 17:36 编辑 ] |
|