|
|
<DIV id=list># b% C$ B. }! Y. B# S/ S- N1 g
<DIV id=lrc1 style="COLOR: #666666">[wmv=0] http://lzbj.ncedu.net.cn/uploadfile/20083923248279.mp3[/wmv] </DIV>' T: M& n6 O% p: {! D+ s. r! j
<DIV style="COLOR: #666666">|等一分钟|听到这首歌,觉得它很动听,旋律很优美,很是喜欢,传上来给大家听听。</DIV>* }# r9 g- B4 ^9 P2 j5 q. |$ D" M
<DIV id=lrc2 style="COLOR: #666666">词曲唱:徐誉滕</DIV>
8 {6 ]: `- M4 s" c6 }<DIV id=lrc3 style="COLOR: #666666"></DIV>
' e+ x) `) p+ R2 Q2 L) S- o<DIV id=lrc5 style="COLOR: #666666">如果时间 </DIV>
* C2 p1 `0 x/ C7 A: J<DIV id=lrc6 style="COLOR: #666666">忘记了转 </DIV>: M) _$ Q3 ~ ?0 N
<DIV id=lrc7 style="COLOR: #666666">忘了带走什么 </DIV>
# C& v. O6 G( T1 d; e9 ~- D. G5 x<DIV id=lrc8 style="COLOR: #666666">你会不会 </DIV>' `, w1 t0 O' b+ R2 z
<DIV id=lrc9 style="COLOR: #666666">至今停在说爱我的那天 </DIV>7 Q+ z; E" c( b5 D) T
<DIV id=lrc10 style="COLOR: #666666">然后在世界的一个角 </DIV>6 f1 {7 G- }7 z% C! K. u' o6 L% h
<DIV id=lrc11 style="COLOR: #666666">有了一个我们的家 </DIV>. d0 Z7 w! u4 f7 ^4 D
<DIV id=lrc12 style="COLOR: #666666">你说我的胸膛会让你感到暖 </DIV>" r( L2 e' J# v/ m u$ {
<DIV id=lrc13 style="COLOR: #666666">如果生命 </DIV>
4 r, N' R7 U: X<DIV id=lrc14 style="COLOR: #666666">没有遗憾 </DIV>
- y5 v: t1 r3 ?* U* a4 C<DIV id=lrc15 style="COLOR: #666666">没有波澜 </DIV>. Z, a9 |+ W; @" u, V
<DIV id=lrc16 style="COLOR: #666666">你会不会 </DIV>3 R2 l$ z) @1 e
<DIV id=lrc17 style="COLOR: #666666">永远没有说再见的一天 </DIV>
# [, |4 x8 @; ~9 C1 S<DIV id=lrc18 style="COLOR: #666666">可能年少的心太柔软 </DIV>
& L) g6 Z2 \0 }) a9 M/ b) n& d; H, a<DIV id=lrc19 style="COLOR: #666666">经不起风经不起浪 </DIV>
* t8 G% M0 Q; g( G<DIV id=lrc20 style="COLOR: #666666">若今天的我能回到昨天 </DIV>
! m: h" T* R: V<DIV id=lrc21 style="COLOR: #666666">我会向自己妥协 </DIV>" P6 q" u6 z" p: i( e0 M
<DIV id=lrc22 style="COLOR: #666666">我在等一分钟 </DIV>" V' b& A* F8 }. Q
<DIV id=lrc23 style="COLOR: #666666">或许下一分钟 </DIV>
3 M( w% H9 U+ j \<DIV id=lrc24 style="COLOR: #666666">看到你闪躲的眼 </DIV>4 V4 i. o$ N2 y, ]& D' A4 G, C
<DIV id=lrc25 style="COLOR: #ff3300">我不会让伤心的泪挂满你的脸 </DIV>. y' a( B& H0 }
<DIV id=lrc26 style="COLOR: #000000">我在等一分钟 </DIV>6 N H3 v+ s% i( ]: x m" T( O- s h
<DIV id=lrc27 style="COLOR: #000000">或许下一分钟 </DIV>
* S4 n3 u8 o# D8 h* o/ W% ?4 y<DIV id=lrc28 style="COLOR: #000000">能够感觉你也心痛 </DIV>4 E5 e' P" Q- x$ m
<DIV id=lrc29 style="COLOR: #000000">那一年我不会让离别成永远 </DIV> j2 [& M# g+ o) E" ^
<DIV id=lrc30 style="COLOR: #000000">如果生命 </DIV>4 i; t4 Y. |5 q# |! R3 R q
<DIV id=lrc31 style="COLOR: #000000">没有遗憾 </DIV>8 H7 ]* M& o/ B K2 d5 |
<DIV id=lrc32 style="COLOR: #000000">没有波澜 </DIV>
( X# s [3 A% U& D1 X3 j<DIV id=lrc33 style="COLOR: #000000">你会不会 </DIV>8 Y: t3 E( d, V: N
<DIV id=lrc34 style="COLOR: #000000">永远没有说再见的一天 </DIV>0 A1 d/ i8 Q( z. r: u
<DIV id=lrc35 style="COLOR: #000000">可能年少的心太柔软 </DIV>( m4 a1 t4 S2 E
<DIV id=lrc36 style="COLOR: #000000">经不起风经不起浪 </DIV>
+ T# y& f( D9 v' M<DIV id=lrc37 style="COLOR: #000000">若今天的我能回到昨天 </DIV>: L) R( d- z( E* x8 ]+ l4 h
<DIV id=lrc38 style="COLOR: #000000">我会向自己妥协 </DIV>
- _* K: D+ z* N2 y" {" s) ?<DIV id=lrc39 style="COLOR: #000000">我在等一分钟 </DIV>: J: g; `: I6 x/ s2 k
<DIV id=lrc40 style="COLOR: #000000">或许下一分钟 </DIV>% g) d9 [1 n9 _0 e M2 l1 n9 _
<DIV id=lrc41 style="COLOR: #000000">看到你闪躲的眼 </DIV>
; i( Q' i* [ O- G! k Z3 N<DIV id=lrc42 style="COLOR: #000000">我不会让伤心的泪挂满你的脸 </DIV>
6 h$ B. E. _2 G+ @* R6 R2 o<DIV id=lrc43 style="COLOR: #000000">我在等一分钟 </DIV>" w9 T9 O6 K) t$ d7 W3 I
<DIV id=lrc44 style="COLOR: #000000">或许下一分钟 </DIV>
/ f9 O1 A! O8 ]% F# J" s<DIV id=lrc45 style="COLOR: #000000">能够感觉你也心痛 </DIV>
0 D; ^1 S0 ^8 o0 w+ Q5 \' Q: U6 o<DIV id=lrc46 style="COLOR: #000000">那一年我不会让离别成永远 </DIV>
3 S2 }5 V' |( g9 W# l3 _4 J! m<DIV id=lrc47 style="COLOR: #000000">我在等一分钟 </DIV>
; c3 z7 _! Y4 K: p! o! H/ H! ^<DIV id=lrc48 style="COLOR: #000000">或许下一分钟 </DIV>
, G5 ?( s$ F; ?; u$ s* [<DIV id=lrc49 style="COLOR: #000000">看到你不舍的眼 </DIV>
7 A0 c$ h% u/ k7 N$ }9 ?, o<DIV id=lrc50 style="COLOR: #000000">我会用一个拥抱换取你的转身 </DIV>6 M$ ?& q/ s, m. W
<DIV id=lrc51 style="COLOR: #000000">我在等一分钟 </DIV>
! A% T* x; t: n<DIV id=lrc52 style="COLOR: #000000">或许下一分钟 </DIV>
2 J- u" H9 B. Z' C4 {<DIV id=lrc53 style="COLOR: #000000">如果你真的也心痛 </DIV>
: v; b! c$ n3 M% h r<DIV id=lrc54 style="COLOR: #000000">我会告诉你我的胸膛依旧暖 , T5 i" e. x- p& N6 Y& P7 ]
<DIV id=lrc style="DISPLAY: none"></DIV>
9 P" [# j' q# E& f1 I: a& i# T<SCRIPT type=text/javascript>
1 u) i6 z' P. G$ t Kdocument.domain="1ting.com";, t7 d7 J7 s) \2 w
var colorPasted="#666666";% h/ n1 d: n O4 c2 T- P
var colorPlaying="#ff3300";
u" [% k" C9 a0 H$ V; X# Vvar colorNormal="#000000"; m2 R- j+ P" b; p, @
$ = function (a,g){
9 v' [6 C$ l5 H8 P, V! d% d7 s var o = new Array(); 0 P9 y. G4 m9 F
var c = new Array();
# X6 y4 w9 k4 A9 V var r; ; S& N$ b! y2 g% |/ o2 D2 v6 b
var u;
. N6 s2 I4 f7 ^ var a = a.split(';'); / \9 [ ^% e- ?3 n \% B
+ y, z. ?+ w' u$ V: F var e = "keydowns,resize,load,dblclick,click,mouseout,mouseover,mousemove,mouseup,mousedown,inputchange,inputfocus,inputblur".split(",");& |7 v6 x+ N, [* P$ X, A9 V
for(var i=0;i<e.length;i++){2 _, t; L( X& ~: g8 W4 K/ [- e
eval(e<i>+" = function (s){eval($event('on"+e<i>.replace("input","")+"'))}")
% t+ I2 c) ~& E' `& ] }- _, T0 a+ P3 H0 Y) N' k
+ P: x9 w& @( a P1 K) A+ Q after = function (t,d,s){3 e* n9 y* e! A& }5 l
$after = function (){( R9 R$ A* J9 `2 L
var $n=document.createElement(t);) p1 H0 r+ M& ^: J4 c. W
if(d!=null){
) }# |) h+ D9 Y! A. X1 C/ V- { $n.id=d; ( P) \" k( Q! T: r. U5 k' b3 F# O* x% Z
}
/ i& I/ ]4 h% B' X: S0 h
8 [8 Q* h9 L1 Z& C$ R3 U u.insertBefore($n,null)
" x7 f" y; y8 U8 a; B2 k( O( F) F r = $n; ' z( G& ?, v5 T9 H5 U% P( Q
u = $n; # H% ]& ?* h6 N. s% E
}8 t! y3 _! K2 ^1 ^6 i
$for(s,"$after"); Y3 R" `5 v x0 U# n$ B5 j
}
, W: ^9 a# `9 u" K4 {1 W
! p @9 G0 J1 q l3 ^ show = function (s){/ R; S: M X6 W- ^4 u
$show = function (){
- N8 S0 m0 ?, H' D5 E. [+ Y u.style.display!="none" ? style("display:none") : style("display:block") ;
8 X g/ E3 u8 o8 R e }. [, L' D4 g8 R( X- u
$for(s,"$show")2 X' ~# F8 a8 e1 F8 B' ~
}1 P) ]: m! H! F' }4 g0 d: R- [
O$ y& ?6 [1 h y/ D
check = function (t,s){
1 M6 `, D0 [9 Z2 I, t $check = function (){
% {% q. h0 _- _ if(t=="2"){
* U2 a/ |) [# U7 S; E if(u.checked){
) C% |5 ~; e, p* r u.checked = false;8 r+ v, I0 ~6 K# Z8 i/ T! e* ~+ t
}else{
1 y7 B/ |1 \- ^ c& m: R& h- ] u.checked = true;
' z `# L, k: C }# g8 e2 j- K' [' j$ C: ]# h9 w
}else{8 D- N: r M" B" S @' h
u.checked = t*1 ;
! k4 h N" n. C. { }
" @' X! N. n; t' H }- S" @: O- K; ]$ f4 ^1 |1 K% |1 k, _9 y
$for(s,"$check")
- X, Q! g! I7 S+ s. T! g. f: ^ } V/ ]# z; C; B2 g @/ M" n
8 G2 E. `3 ?6 Z0 O& k+ @4 Z$ j8 { style = function (v,s){& y( E: ~9 B% K& S7 z! |
$style = function (){; M# u6 ^/ P- J( K% O- X1 j
var $n = v.split(",")
/ G' }% ^+ h% X; ~; D- N for (var i=0;i<$n.length;i++ ){
0 B; G2 ~1 B* h. `7 K var $m = $n<i>.split(":")
" Q+ d- p ?% C) L( w5 E# w eval("u.style."+$m[0]+"='"+$m[1]+"'");
& ~( ^) k9 m- n7 S }
3 ^/ O: j x/ f$ n9 f- I }
/ p4 i. _3 c2 M, i; x, d $for(s,"$style")9 f) V8 l, d: Y4 o& i; _! }5 V; f
}1 S6 H) o ]' N" g. F
Z4 K% A" O k2 u& S' _8 p6 C/ T' h
value = function (v,s){, i. S7 X, ~5 @1 ?- e3 O
var $n= $this (v);( I A% ]' \3 a8 \& b% A
$value = function (){6 q7 V( b: s% E
u.value = $n: T, O, ^) _7 v" K# v$ h& J4 O" Y* v
}7 E, D8 H z% Y* g! L4 d0 C
$for(s,"$value")
; F3 E; m4 |/ Q& R' i `- E }
" H+ V5 a4 m8 M- T
0 X- \: @) M" s: }9 I+ k text = function (v,s){
* i9 Q( |* f1 Z var $n= $this (v);, w; r% {+ q5 X9 T) D* y# S6 L/ U
$text = function (){- D1 x4 ^2 t+ p$ L8 |
3 k# A: P0 ]5 \
u.text = $n
, Q% h5 s0 Y8 J3 A" @% \3 w }, s+ ~! ~: H# Q; ]1 q/ N4 a7 t) t
$for(s,"$text") 8 b0 N8 t8 k& k% Y
} z# ~6 D! |/ f
5 e) n X9 x' v# E# f& G2 @6 K% { innerhtml = function (v,s){ `7 }; H2 O- i. D$ p
var $n= $this (v);
; E4 t3 R. }" L- A $innerhtml = function (){
4 V/ W `- u. H: D- y/ u5 m* w u.innerHTML = $n
1 y& T1 J1 r6 M5 y1 F6 l }
. q' n6 _& `3 w F: Y $for(s,"$innerhtml")
- W3 i v. y: Z; m }
9 Z4 s6 E2 N0 R) _, |+ c; M. p 7 T0 S0 z* `5 h. ?* E/ y' L
removechild = function (s){
# i9 |5 g/ i( L4 M $removechild = function (){# @% l/ Q( ~1 l0 ?2 \. z
u.parentNode.removeChild(u). g6 U4 C$ f) P
} ]* k, \# r3 w. l- `
$for(s,"$removechild")
1 L& a/ Z# l6 S5 C }
6 r& [' E% D6 m) y& V6 v
7 l; h; a/ X+ l $this =function(v){8 e' w8 _8 F! _- {& b" Q
if(v.indexOf("this") == 0){
' A, H" {4 ~; N7 c return eval(v.replace("this","u"))3 i; W- @; y' P4 m4 S; a, K
}
" W/ e7 I; q8 f# R& j, j/ Q" z return v;0 L3 T' c4 l( E) q; Y' z3 `" M
}
" y! K T; D3 o/ ^" _5 F0 y9 @. x$ z% ?8 {1 J4 {
$event = function (s){
. R5 u' x0 t" D3 K' k. s1 \6 y, x var $n ="u."+s+" = function(){$work(this,s);}"0 Q, h# x4 D& b
return $n;
2 W% p) o7 ^6 _2 K }( N" m* z1 B, D# x& D }) b
: U7 Q3 x* C" i $replace = function (s){2 U3 Q; P! H& Q; E
6 J V2 `* W. }) T6 w$ M }
. E" c2 E4 X1 E) Y7 V) t2 C
" o- a/ ^- U: `- m5 c8 m7 t $for = function (s,c){* k3 p( `6 O' C) e V V( h
var $n="this."+c+"()" ;
) d/ E& N$ H' u3 ^2 a9 l5 _ if(s!=null){
7 f0 F4 X# x) C; ?5 I4 @ var $m =$test(s);
9 o6 K# _3 g/ e" }# n for (var i=0;i<$m.length ;i++ ){
* m0 b, _$ o# a" c u = $m<i>;
: q* f" |; @2 a [$ x eval($n);& @: x$ f' A% k' ^ g" a( _4 F
}* W! r: P8 U R* v5 H
}
+ c6 _' n( D; z- G7 d! Z else{. d" h. f) b! n: t3 ^. ~$ `
eval($n);
$ h0 N7 i# Q; c+ ^' ]2 t, ~ }
' X" p+ [/ [- l' m/ N- f+ Y }
2 z0 A$ @' i$ z. ~ Z" z
: z0 {! ]! Z& B) e $test = function (a){9 m1 G# p2 H( w9 V- O, @1 i* m% s+ x4 P
var o = new Array();$o(a.split(';'),o);
4 D: m9 O7 u" h+ H _/ T* u: w! m return o;
% U6 F1 w7 G& E% a" m }
% g0 L9 i6 B2 z$ a
s; S. u4 j2 t $format = function(s){1 E* _3 @8 r0 h3 {& f; o( d
while (s.indexOf("'")>0){
0 v$ a3 Z( W5 M7 z; A s=s.replace("'","\"");) X" `7 w& {% _4 p3 S0 P( c! @6 i& m
}) h* O0 c( L, @" D& @# W& Z* J5 }, j
while (s.indexOf("][")>0){
4 y" X, A+ ^& ~( i' ?# \# p" `% Q s=s.replace("][","','")
$ R1 q7 \5 n: T! ^; p }
3 N: j' r9 ~7 b. ^! W; K) L8 i while (s.indexOf("[")>0){6 Q8 T+ C1 R6 p! ^3 |
s=s.replace("[","'").replace("]","'")
7 C4 L& A: t) ]& y" k } : C' K. f* p- H. T) V: v( p
return s;
; t* E# }" X" e' T }6 D4 C# {% }) v6 t U
2 m# Z/ I+ U+ b $work = function(w,s){
0 s. X) Q, h9 H% O! |- }5 n u=w;eval(s)) b- l. {% o- F7 l0 l: R% i
}
2 j+ k1 r& ?, g. d
2 t! [2 v- S; w* a $id = function (s){* I9 R! X& k# F3 i
return document.getElementById(s);
5 G! s8 ?, Q# _2 G3 X7 Y# w+ N }* U7 i- z, |, S# l
. s4 y; Z, Q8 [9 M
$name = function (s){
) @, Z8 U- z1 @. K' _- j return document.getElementsByName(s);
" z0 R( p8 l7 v }7 B% r9 k z. B, |3 F2 a [
$ v' f2 o% r; ~( d) f $tagname = function (s){
! Y9 ?7 x$ M( ~% ^ return document.getElementsByTagName(s);
% [% v0 _) W7 o: F+ y& Y }* P2 c, Q. i0 H
) l7 l; X2 N {* m2 @ $o = function (a,o,c){- c, y; w4 {* W4 _' u8 P
$push = function (n) { _, F- @7 t# q. R$ X; W) f
for (var i=0;i< n.length;i++ ){# ~$ |# C. o+ _3 [9 S; Z
o.push(n<i>);) W3 ]7 k+ o% p2 _- f/ m) O( c- o3 c
}
2 {6 y; u% D# a8 b0 U6 `2 F7 c2 B }- j& J: W! u' Q1 S1 {
for(var i=0;i<a.length;i++){
* }$ [, c/ P$ p/ { if(a<i>.indexOf("(") >= 0){
4 k& Z. X7 a2 @' P+ q c.push(a<i>);0 r6 P+ M1 B( p0 n
}
* z4 w/ f: j3 A# r5 R8 C if(a<i>.indexOf("~") > 0){
0 N) S. F5 w ]+ I6 r+ h7 \ try {9 |+ D, F2 E+ O+ o t& y
$push(eval(a<i>.replace("#","document.getElementById('").replace(" ~ @","').getElementsByTagName('")+"')"));
+ Y5 ^. T9 I8 t0 A: Z }catch(e)
+ l5 ?; Z" J2 Y* b' Q {}
' @/ U( e, J1 Q$ s% Z }
_% z- C, z5 v1 j$ k0 _) t else{
! O+ n$ c3 I- b6 J3 a9 T0 v if(a<i>.indexOf("#")==0){) {8 P, T2 z8 {
o.push($id(a<i>.replace("#","")));2 s, a) }9 ~3 h- m+ x8 j
}! Y' t# b! L# g' B* p2 G7 ^. C
if(a<i>.indexOf(".")==0){4 G2 A0 W! N; g/ Z) \! h) t( R' {
$push($name(a<i>.replace(".","")));$ a+ P. C" D" T
}+ q6 m s; B% T+ t q' `
if(a<i>.indexOf("@")==0 ){5 `# n% ^3 B- s+ n o% N' D
$push($tagname(a<i>.replace("@","")));( {5 h) Z/ H3 f |+ J
}
N6 Q: X$ ^: \4 w$ D. N8 N if(a<i>.indexOf("*")==0){5 M* e8 V- \6 V6 m8 |7 ]
$p= a<i>;$ c5 f3 A9 z! R" i2 {3 \8 W
if($p.indexOf(".")< 0){! b2 w6 {2 x# a
$p = $p.replace("parent","parentNode")
) e/ {6 d# \& L0 y0 p }% Z2 P& W8 R' Y( |
var $p ="u."+$p.replace("*","");: s `4 }8 r% j2 u* L
while ($p.indexOf("parent.")> 0){( m' x) L2 v5 X5 t
$p = $p.replace("parent.","parentNode."). D8 j0 f4 S$ n; v; s, ?& @
}; S% T; V$ n/ l* ~+ G \# p
while ($p.indexOf("child{")> 0){
0 Z* W1 X( I, U/ @4 M $p = $p.replace("child{","childNodes[").replace("}","]")5 K/ n2 _8 _. s) T
}5 C) x ?3 A! @" e' j$ s
o.push(eval($p));
& c3 P& D' W H- w G }
( l0 b) @, w' C" M d8 x6 F if(a<i>.indexOf("document")==0 || a<i>.indexOf("window")==0){, k/ w6 U* G3 i: i( j/ u+ q) X$ i
o.push(eval(a<i>));4 @9 M1 Z/ s) c" ^
}
& h$ b1 w" o' m }$ q8 n: M+ A' J& O! c3 c
if(g!=null){ 8 B% H4 t$ s' M* x( d7 m, S
o.push(g);g=null# W' G% n; W5 U$ Q
}
4 G1 Y. H" z7 y: Q3 B2 N# P9 z }
: a7 }, X+ S$ L2 K. w, | }
$ a: y. B5 ]3 X' `3 h6 C, u! W
% x/ d0 Y+ X( H3 d- b $o(a,o,c);
4 B! z4 n: p. @: @
7 o# R5 A, Z) ~( C: k for(var i = 0;i<o.length;i++){
# v/ H$ ~7 U2 R+ m8 M for(var j=0;j<c.length;j++){, A$ O: S' C3 w0 y, h: a
u = o<i>;eval($format(c[j]));
% W3 e- h3 e4 ~8 I8 | }
% q* i$ v' O) L& Q }2 I9 d; q. [6 d- G7 V
8 O8 y- y2 g2 a3 U if(o.length == 0){
# U1 L5 r$ r# S- X for(var i=0;i<c.length;i++){
. X+ n1 `( ^* G. ~% K eval($format(c<i>));% E( \$ K0 X3 c% _- H
}
. x$ l6 Q' d, k" _3 o& o7 A/ W- j6 G }2 K3 f, g6 p) k
: X: s0 V: o+ E. a A0 C if(r!=null){
7 N* @; M' N. ]* v' A$ C return r;: x& V* N+ I3 i9 k7 I3 F, o( [* X4 e
}% r4 D. V, f+ Q5 T: |
5 `9 d2 n. y* D+ s' N
if(o.length==1){. w/ T8 m9 g1 B$ }: {: l8 T# c
return o[0];3 a& b8 J1 l3 b% I
}4 ~; H: ^( t. Z4 A" B. V% |5 {0 f5 k
else{
; r' J, x/ d% N1 L. E: O% Z return o
* k5 r; u" A: V! G) u% D } " [! i. o+ ] p& p! g
" O( F& `; v. \ }
3 |' v; `" n, F7 E( b9 F0 \var lrc =$("#lrc;show()").innerHTML.split("[");
( V! h3 @$ a7 ^if(lrc.length>5){' K* h i: f8 v2 g+ g
var array = new Array();
0 W) \ d3 u+ x2 \for (var i=0;i<lrc.length ;i++ )" A1 X2 O" J! `" @! _. I! I
{( G w* X! _# G6 t
var g = new Object();6 H; ?% |4 C4 a" _4 s
t= lrc<i>.split("]");! X* R8 }) |9 T$ X" O
g.time = getTime(t[0]);
% C% @# g* w- |" V! T if(isNaN(g.time))( g# w( l1 U" @0 z0 r8 N
continue;
" Y2 m" P! Q( Q% P6 l7 L% i g.c = t[1];, A: ?. E1 \3 |; }$ |* A
if(g.c == ""): v$ P2 C. q# k# N: ~$ ]8 P8 J
g.c = getNext(i);
: i9 F3 n; X) j4 ` array.push(g);% R3 U/ `/ I( w2 N% M
}
& b' N+ U4 h; b7 i" harray.sort(function(x, y) {0 ^3 p3 |2 o: b
if (x.time>y.time)
) [8 w* k8 S( g- T6 | f7 {8 |8 Y return 1;
4 A0 |, m- _6 K* ` E* A+ { else if(x.time<y.time)
- j9 x7 l( T8 O9 y return -1;9 Q' X; a& E- u8 i; o
else
7 l$ A# K4 j9 W$ Q1 l8 O' g2 v return 0;9 F m, I7 q/ g1 N5 o. X
}
8 t7 |5 }3 a+ F0 C# `);0 P% G- p' X2 D% U, i8 `
for(var i = 0;i<array.length;i++)8 s9 V* L" i1 W" Q T* p" H" u' u
{6 D" Q# b8 m- z/ g9 N* Y! x5 ]
var g = array<i>;. c" a2 ]! V% Q4 T
if(!g.c){& Y, m+ ?& \8 n1 y( f0 }
g.c="";6 b9 l+ I( T( ~ [
}
- T6 Z( {! _3 ]$ _5 c( X* S2 g $("#list").innerHTML+="<div id=lrc"+i+">"+g.c+"</div>";
6 I; h2 t0 X3 T4 N) f2 E}
# t3 b' b: q) q8 _* L' O, Wvar time = setInterval("lrcList()",500); + @# k. q/ l' ?# p* Z- t7 l
}else{
) J7 g. g" ]4 C* d $("#list").innerHTML=$("#lrc").innerHTML;
' F& R6 y6 {% Q}
8 o* `7 V- W! h$ p5 \4 k X# Ufunction getNext(i)
8 {1 n* z& j! g# s{
% J9 D3 `6 I* |# V var result = "";; t5 p1 {, K+ [% ^4 }3 r; Q) l: O
var i = i+1;; M: P% a0 N0 J4 k4 R4 _1 l* g
t = lrc<i>.split("]");
0 R: b( c+ Y# _% T) d- l if(t[1]=="")
6 [- @8 {, _" g' P' P result = getNext(i);
# ? |6 @( j' F: w0 L0 Y# o" i% N else
! u9 T+ p! W) @9 |7 p result = t[1]: x! u4 ^ t' r! X+ ^/ m$ |8 q
return result;
- y8 h6 B1 U/ \" p. i}& `; s* S! k) ], ]4 e
* G6 {& @$ I/ Bfunction getTime(str) E7 D( S& ]% V. K
{
2 f( y/ `/ i0 T. I+ _ var time =0;" S/ A% ]8 }. C0 o
var ta = str.split(":");
. n# w- K8 C* e. I& E if(ta.length<2)
* Q/ ^7 b9 y0 o. U- C+ ` return time;
4 t; h3 V: Q- F, S# Q, V4 N: X s+ c$ \( \. D; V! |
if(ta[1].indexOf(".")>0){
8 O, a5 d8 L* w) {. j, U; M/ j var tb = ta[1].split(".");& |4 o* ?% x8 [- K8 M
time = ta[0]*60*1000+tb[0]*1000+tb[1]*10;3 A0 @5 v3 X( X7 t6 N/ T
}
1 M/ }, |7 y% z1 }3 ?3 ?) |' ^ else
3 ~' N2 |4 g4 M" q4 @* p1 B time =ta[0]*60*1000+ta[1]*1000;0 E- Y( U. A; b) e, r
return time;
, J( ~$ y9 r9 a}; R1 A9 @# b6 @' y: Y( k
var preTime = 0;
. k, k) H" H" I& Ovar nextTime = 0;$ X8 r6 ?( l. K. H7 o' |* m6 x+ @
var currIndex =0;. k& r4 [# k& H, o% p
function lrcList(){0 g- j# A- {9 c. j
var s = parent.document.getElementById("MediaPlayer").controls.currentPosition;% Q$ v. Z' l# p$ @& y6 M
s = s*1000;8 L0 `) b8 `+ g- M( ^+ V D: x
if(s==0){6 u; a s( R: J; y8 x; }
currIndex =0;
% d) H' r# x; K4 S $("#list").scrollTop = $("#lrc"+currIndex).offsetTop-30;
, T8 I; o# a9 z4 p- W, C) F% T0 Z/ ?9 g for(var i=0;i<array.length;i++){
1 F k1 C7 `/ m9 O) F- v document.getElementById("lrc"+i).style.color=colorNormal;
! e* j. J' ]9 c- i8 V" U+ \9 }2 D/ k }
3 J. C. B8 i6 F2 q/ p, z return;
, @; J/ \+ x4 |! f }
4 C8 a1 Z* D6 J if(s>0&&currIndex<array.length-1)
% r6 J4 r9 `$ L {
. C& R; m$ V q* K6 ?+ o: h! W preTime = array[currIndex].time;6 q# N' e- G- X5 N; ^! d7 c! H
9 i$ d m/ y0 b: o6 t) q
nextTime = array[currIndex+1].time;
% w( p$ ?! d+ R( f- [9 c. ? % K( R( t3 \# w* C3 P0 H, d" A0 s
if(s>=preTime&&s<nextTime){5 L" c" p4 h2 Y; w4 P6 g
}* M, E' \8 Z+ l( ], i1 [
else if(s>=nextTime)+ L+ e: m6 ?- e; O
{+ I8 E8 R- R- `! k. L- l
document.getElementById("lrc"+currIndex).style.color=colorPasted; r" @0 P) A+ }
currIndex++;
# C, |5 w. I, f; { $("#list").scrollTop = $("#lrc"+currIndex).offsetTop-30;' \" G! Y" ]4 Z$ ^
document.getElementById("lrc"+currIndex).style.color=colorPlaying;% @/ u6 w& e( i+ Y
lrcList();8 J. W$ o: Q/ F* f; P8 E
}! O+ j4 I+ W8 l, @& c. p) J/ G
else{2 T( @ `$ P H5 g
document.getElementById("lrc"+currIndex).style.color=colorNormal;8 o5 L; p4 n7 Y: A" v; P/ b4 m
currIndex--;
# I) R9 b5 ? a* p1 P. o6 b $("#list").scrollTop = $("#lrc"+currIndex).offsetTop-30;
, t" ?( `: ]" G. t9 o5 ` document.getElementById("lrc"+currIndex).style.color=colorPlaying;" Y$ z- t. o: {+ c, r
lrcList();' U3 l; ]* \8 e% b# @
}
% Y% |- b7 y5 x2 t* k& X0 l' l }
- |, u% |7 \: a/ w' _ else
h( L# f& q+ A3 l {
/ M2 n% y: y3 G/ O) g9 @( g1 Z7 [ if(s<array[array.length-1].time){
' W8 D, ?5 p& w0 c5 G currIndex = 0;$ `4 H: T) l8 f# W* d9 I4 l% m j$ O
$("#list").scrollTop = $("#lrc"+currIndex).offsetTop-30;7 ]" Q, _$ L+ i" o. @$ a
for(var i=0;i<array.length;i++){
& R# I7 L- i+ `- E Y1 T document.getElementById("lrc"+i).style.color=colorNormal;
$ a. ?' J. u$ g }
: n' n$ D x' G! {1 L) M" ^1 z lrcList();8 U, z/ t; U; q
}
$ s" H& I5 p" T }
( g! e4 _0 o" S7 g4 d}& ]0 w6 \$ F/ R( _, w
</SCRIPT>
& w9 x9 H9 U7 \& d4 X7 w</DIV></DIV>
' w1 w1 L1 D9 X/ A" X. ^9 |+ }# x% E1 C5 f! x5 l
[ 本帖最后由 幽谷兰 于 2008-9-18 17:36 编辑 ] |
|