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