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