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