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