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