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