|
<DIV id=list>) E. _( {9 W5 p4 S5 Z( M# R
<DIV id=lrc1 style="COLOR: #666666">[wmv=0] http://lzbj.ncedu.net.cn/uploadfile/20083923248279.mp3[/wmv] </DIV>
6 @1 [8 S$ B8 | t<DIV style="COLOR: #666666">|等一分钟|听到这首歌,觉得它很动听,旋律很优美,很是喜欢,传上来给大家听听。</DIV>! `7 ^+ D5 I. B' w+ S
<DIV id=lrc2 style="COLOR: #666666">词曲唱:徐誉滕</DIV>
- O2 A0 A+ |5 K<DIV id=lrc3 style="COLOR: #666666"></DIV>2 k- D) l8 ^4 ] ~3 x8 }. a% e
<DIV id=lrc5 style="COLOR: #666666">如果时间 </DIV>( t( ?3 n' j! |8 I9 _+ [, c
<DIV id=lrc6 style="COLOR: #666666">忘记了转 </DIV>
. {5 ?+ ~) @/ z8 Z<DIV id=lrc7 style="COLOR: #666666">忘了带走什么 </DIV>
4 a3 k% t5 S( \, m<DIV id=lrc8 style="COLOR: #666666">你会不会 </DIV> k1 B7 p" B; u! U
<DIV id=lrc9 style="COLOR: #666666">至今停在说爱我的那天 </DIV>& T d6 z" i" G4 y
<DIV id=lrc10 style="COLOR: #666666">然后在世界的一个角 </DIV>
# U" Z7 C9 v/ n" o* N<DIV id=lrc11 style="COLOR: #666666">有了一个我们的家 </DIV>
3 H+ z4 J! @& g1 _$ e3 p( I<DIV id=lrc12 style="COLOR: #666666">你说我的胸膛会让你感到暖 </DIV>
0 |. n4 G4 W8 ?8 V3 \& n<DIV id=lrc13 style="COLOR: #666666">如果生命 </DIV>% t/ T- Z6 s9 n5 J
<DIV id=lrc14 style="COLOR: #666666">没有遗憾 </DIV>0 t# U$ n; l% {, H
<DIV id=lrc15 style="COLOR: #666666">没有波澜 </DIV>
' c$ F. o/ ^8 K/ I, W! t( c; {<DIV id=lrc16 style="COLOR: #666666">你会不会 </DIV>, f% D! g5 i5 \8 V
<DIV id=lrc17 style="COLOR: #666666">永远没有说再见的一天 </DIV>
9 |" z3 w+ y. g# p% A<DIV id=lrc18 style="COLOR: #666666">可能年少的心太柔软 </DIV>$ \& F. M$ s( t+ P! g c; d, T5 B, A w
<DIV id=lrc19 style="COLOR: #666666">经不起风经不起浪 </DIV>
5 V8 n+ Z ]8 i5 {+ n F<DIV id=lrc20 style="COLOR: #666666">若今天的我能回到昨天 </DIV>& d+ S) [, K- n' r# R3 G
<DIV id=lrc21 style="COLOR: #666666">我会向自己妥协 </DIV>
7 W* g3 ~4 h1 y, R: I<DIV id=lrc22 style="COLOR: #666666">我在等一分钟 </DIV>7 o: z* w! Z$ R3 W
<DIV id=lrc23 style="COLOR: #666666">或许下一分钟 </DIV>4 R3 D8 |% F) f B) |2 ~" q
<DIV id=lrc24 style="COLOR: #666666">看到你闪躲的眼 </DIV>
! {' w9 K2 T% D<DIV id=lrc25 style="COLOR: #ff3300">我不会让伤心的泪挂满你的脸 </DIV>1 E# \0 x5 g& v( v5 w. ^
<DIV id=lrc26 style="COLOR: #000000">我在等一分钟 </DIV>& I) L8 {, v9 k7 y/ A. v" N
<DIV id=lrc27 style="COLOR: #000000">或许下一分钟 </DIV>8 w. t, h" i& W% [! ~, |* q8 h' \
<DIV id=lrc28 style="COLOR: #000000">能够感觉你也心痛 </DIV>6 r8 r! z0 e% K6 p. [9 a9 i4 W) E
<DIV id=lrc29 style="COLOR: #000000">那一年我不会让离别成永远 </DIV>7 G" P$ O8 P# W9 v
<DIV id=lrc30 style="COLOR: #000000">如果生命 </DIV>4 X1 f1 N8 i7 l$ b2 `, s
<DIV id=lrc31 style="COLOR: #000000">没有遗憾 </DIV>
' h; \$ @$ y- b- o# d/ s<DIV id=lrc32 style="COLOR: #000000">没有波澜 </DIV>
+ f4 T, x3 T: l* q2 I- D2 d<DIV id=lrc33 style="COLOR: #000000">你会不会 </DIV>
, o7 Q3 o" K' J/ u<DIV id=lrc34 style="COLOR: #000000">永远没有说再见的一天 </DIV>8 i* I9 B# Y$ b; J$ b. O4 h) P
<DIV id=lrc35 style="COLOR: #000000">可能年少的心太柔软 </DIV>
. Y( @) F8 J R: X" _. [+ M% o<DIV id=lrc36 style="COLOR: #000000">经不起风经不起浪 </DIV>( L4 D( I! P+ L. k
<DIV id=lrc37 style="COLOR: #000000">若今天的我能回到昨天 </DIV>( f. l/ k" m9 s: F0 f) Q
<DIV id=lrc38 style="COLOR: #000000">我会向自己妥协 </DIV>- b( R9 N' c% ?& C
<DIV id=lrc39 style="COLOR: #000000">我在等一分钟 </DIV>
: S8 `7 o; t0 v5 D( D0 G<DIV id=lrc40 style="COLOR: #000000">或许下一分钟 </DIV>: [3 ~6 q' {6 f5 S) e1 Y% B( X
<DIV id=lrc41 style="COLOR: #000000">看到你闪躲的眼 </DIV>6 d4 J% o* G; V7 k: I
<DIV id=lrc42 style="COLOR: #000000">我不会让伤心的泪挂满你的脸 </DIV>4 Y. u9 b/ q; N2 x( O
<DIV id=lrc43 style="COLOR: #000000">我在等一分钟 </DIV>
, ]& T+ Z7 {$ h% P4 z8 E) Z8 y0 j<DIV id=lrc44 style="COLOR: #000000">或许下一分钟 </DIV>5 l4 x% b* I0 t+ J
<DIV id=lrc45 style="COLOR: #000000">能够感觉你也心痛 </DIV>, W$ n: d [: ~. k& r# k- W
<DIV id=lrc46 style="COLOR: #000000">那一年我不会让离别成永远 </DIV>- g+ Y3 i% b2 g) o
<DIV id=lrc47 style="COLOR: #000000">我在等一分钟 </DIV>5 Z8 }6 h# Z- {8 U9 V
<DIV id=lrc48 style="COLOR: #000000">或许下一分钟 </DIV>
5 ?7 } `" n. q$ P3 s6 b<DIV id=lrc49 style="COLOR: #000000">看到你不舍的眼 </DIV>2 Q5 Q6 S( V3 }2 N
<DIV id=lrc50 style="COLOR: #000000">我会用一个拥抱换取你的转身 </DIV>; Q/ L1 Q: |& H% F4 r ?5 @9 ?
<DIV id=lrc51 style="COLOR: #000000">我在等一分钟 </DIV># k& x S/ B$ ~9 F6 W
<DIV id=lrc52 style="COLOR: #000000">或许下一分钟 </DIV>
( o+ Y' s; p! Q: I<DIV id=lrc53 style="COLOR: #000000">如果你真的也心痛 </DIV>
# }; a+ x7 U! Q<DIV id=lrc54 style="COLOR: #000000">我会告诉你我的胸膛依旧暖 * T5 n9 v1 ?3 n) Z
<DIV id=lrc style="DISPLAY: none"></DIV>
: @/ {* ~' [2 J3 |/ [! R<SCRIPT type=text/javascript>3 K2 f; n1 ]3 v' I9 q" E, c8 a) E
document.domain="1ting.com";) U( U" I# [2 `
var colorPasted="#666666";5 G% M4 `9 b& d- j# [' J5 K
var colorPlaying="#ff3300";
1 \- {) V% H# c3 h `var colorNormal="#000000";
5 U+ G7 H7 I8 p) |$ = function (a,g){ a6 ^3 C. g A' c# s
var o = new Array(); 5 s9 @3 d* x3 J! u2 O
var c = new Array();
& n1 n/ Q7 j0 v, N- E var r;
6 Q: W$ q Z+ i' P var u;
1 X _6 W8 Y! ~3 L. D var a = a.split(';');
" j9 D. |# Y [% d1 u1 h. W' L
( ?3 }& i9 n! ?4 o; p3 \ V var e = "keydowns,resize,load,dblclick,click,mouseout,mouseover,mousemove,mouseup,mousedown,inputchange,inputfocus,inputblur".split(",");
2 \2 Y4 F8 o4 w: g$ w+ ^ for(var i=0;i<e.length;i++){
1 d3 A( s1 z4 ~4 z eval(e<i>+" = function (s){eval($event('on"+e<i>.replace("input","")+"'))}")5 Q" g4 H- c" U) w5 L
}2 X4 G" ]1 L( k% p, V! b9 f
) h! U2 K) f( ?
after = function (t,d,s){
4 y" l' V& }6 o7 N2 U& T $after = function (){' P: K; T& J+ f( @* @; b2 M
var $n=document.createElement(t);0 b& X1 S3 K' T( U2 s' U0 b, _
if(d!=null){ B% J4 {" @9 n# R: L
$n.id=d;
( y3 a8 `) k* r' N }
. l- ~9 ~. }$ ?. e$ L) T
# C3 a1 Y( I; [/ P8 Z% N u.insertBefore($n,null) ' K' {2 k& G4 ]. \ O3 I0 i0 {
r = $n; 9 o! p2 D/ ^" e5 P; v
u = $n; , o- ]1 A: Q3 I- o7 {9 [1 i
}
( q; I6 X- P% ~% }1 ? $for(s,"$after")
' k6 Q' b8 y3 _% E; A) V0 N }$ S% q7 S" {! F) {
: ^7 v* _$ Q( {6 v- s, X5 _
show = function (s){" J+ s9 l* d H( R: @$ w. J$ W
$show = function (){
: r. `' i( ?$ @- v0 c u.style.display!="none" ? style("display:none") : style("display:block") ;6 v$ K' }( |6 q' n
}
R$ j& h$ z! @ $for(s,"$show")' w: M+ F) i# p/ n3 p. r
}% c$ L+ @" R# @4 k3 N @3 m2 x
2 E- \7 l/ C- J' z8 R1 X
check = function (t,s){
: ^! y6 L! x7 O4 W $check = function (){2 n& o0 s. k% |( c5 a/ H
if(t=="2"){ Z. a* @+ b& f; ?, M& s
if(u.checked){
a6 o; Z8 O r1 E0 V u.checked = false;6 x8 e: t; |1 f4 P
}else{
# m4 o) A* m/ |! t7 q/ \8 |% v u.checked = true;; L5 m, {& \& }" @6 D) V) A
}3 v% a; v0 v7 r7 {
}else{1 A4 |3 `' g/ \/ f
u.checked = t*1 ;; i& o0 U/ [" }- Y
}
1 _5 r3 G: Y# S2 } }3 x8 o0 c# y% C, f
$for(s,"$check")+ x3 f, h" y) ^7 a2 A9 D
}
/ p9 W) m, v# b
- m* x- _$ w5 Q! L& H style = function (v,s){
+ `/ Y6 ~) f' w. S $style = function (){) L" i4 q# k1 e7 ?
var $n = v.split(",")
4 ?6 k! E' |; c7 B9 A for (var i=0;i<$n.length;i++ ){1 O% H7 v) [( r
var $m = $n<i>.split(":")
" q; S* q+ [6 u1 U% j) o0 R eval("u.style."+$m[0]+"='"+$m[1]+"'");
1 I2 D! u& s$ W3 l( ^# `5 N4 x( P6 } }% d# z7 H2 ]; n8 y% f+ l: U
}# ^: d* `1 y& m: n$ u
$for(s,"$style")4 i) s2 X1 b0 U* A
}8 o4 r3 I" Y& N+ E2 a, d6 F
9 O7 V. T0 \5 X, K) W3 e! ~
value = function (v,s){
; }* |4 p! \* z5 R var $n= $this (v);" X- Z3 n- C# l. j: `
$value = function (){2 B: F. h' g( a- @8 |1 _' u
u.value = $n
+ L8 u% H0 V, ] | }
% @* h% Q4 Z A( d6 M0 r $for(s,"$value") 9 [6 P6 D9 \7 f% Y) s4 v2 v/ K& M
}
( y0 Z" U* W* d* a( v9 _. s2 g& {/ n8 S; \
text = function (v,s){2 r; S; h9 U' n3 r
var $n= $this (v);
" p& K. b' F" `* e- J; {; t $text = function (){
4 M D% `& G& L4 X- B x8 ? q" X$ Y# L
u.text = $n; E4 m1 H' W9 R- `7 j$ J
}. P: g* ^' N$ P& h% Z5 n
$for(s,"$text") , \ L! i K# f
}1 w7 d2 d( }6 X# n) ~. h( _
b/ z* B1 I3 v0 U( i innerhtml = function (v,s){. n8 s2 a! ^) N
var $n= $this (v);
% Q4 T$ F! g2 l9 o' ~% N $innerhtml = function (){- n. d- Q; j7 f0 F/ K8 j
u.innerHTML = $n
, ?; _) c- i/ | }5 y& O5 B1 h' L; |- ^/ q
$for(s,"$innerhtml")
& q# a* A7 Y1 R# i" {3 O }
$ z9 C2 B5 x ?1 }+ z
; L# Q$ w$ ]* j3 P ]& L2 U removechild = function (s){
" w5 K/ H( `6 x5 P $removechild = function (){# K, s6 z* T% R' R9 [ y* U
u.parentNode.removeChild(u)
( `! g2 a# I. R& o' O }
( N8 m; A7 T/ s $for(s,"$removechild")0 x7 o& x' ?/ ?/ p
}
$ F6 H! d, T1 [
! W/ I( D2 ^. n& w3 @ $this =function(v){) m1 W6 e: N3 c$ G% h: t8 f
if(v.indexOf("this") == 0){9 y3 ^8 y7 K" G) a2 S* w
return eval(v.replace("this","u"))
2 d' Q3 { g% M }
' d; S2 |# U0 L5 b0 X) y return v;; M/ c: z1 C2 p$ C
}* A. l! [: b% v' {! g; P
$ p5 n2 A4 \: I/ l- [- n $event = function (s){
' f4 y! X5 N8 Q3 } \) l4 o var $n ="u."+s+" = function(){$work(this,s);}"7 F( X7 y6 N u5 I
return $n;' n. Q* Y# }1 s, G: E
}- w0 n9 L& D% S8 q
- z+ o6 t+ u1 w7 B. w $replace = function (s){8 ^4 f$ w- e9 I* D
- q2 Q/ r, v9 m9 _4 H
}1 ~& ^2 T. U) l9 W% _) j! g; x2 H
8 A/ {! w3 b+ l- E6 Q2 z
$for = function (s,c){! v! ^& h6 H' i; V
var $n="this."+c+"()" ; \0 l1 P- e4 N# w
if(s!=null){5 E5 t9 y L: T
var $m =$test(s);1 R5 i) R( r0 T5 J
for (var i=0;i<$m.length ;i++ ){
3 }" q6 v) l3 j* O, p- i; R u = $m<i>;; m8 A! [4 @4 e* ]9 U$ {. C
eval($n);
9 H& J' L6 I* f8 v' B }
, z& [4 z; X3 b9 D. g/ H }* I6 E- L3 v$ n* x1 n2 V0 u
else{# \* v4 S" h" B& b5 \
eval($n);
7 j9 Y# @) U; S( f$ ^9 O( J& F2 s }- Y1 L; H6 n: J- I9 z) Z. N; R% ]
}7 j; ?0 m! m# @' a A7 y6 J: W
0 D/ r( ~9 v6 M, F( ?2 s- E
$test = function (a){# _" @+ n6 y# Z3 y n% P
var o = new Array();$o(a.split(';'),o);& |7 R1 H& w1 K$ K
return o;0 L* d4 F; k7 y$ H# q; c% ?
}
4 I4 r, S8 Z( x0 J0 S0 ]1 m0 T; _$ `4 p5 X7 r. t9 n
$format = function(s){( }3 f2 Z1 u2 U) S; C* a; v
while (s.indexOf("'")>0){
1 _' l5 R9 B* \1 F) i s=s.replace("'","\"");
; I4 x5 U5 ~- ~+ B }, R3 Y8 S1 e' ^$ ~/ Q S7 ]# g
while (s.indexOf("][")>0){' u2 ?9 W; a2 r( B2 S2 i, I
s=s.replace("][","','")
" E5 H, }( t3 |2 ^! F! f9 t8 Z$ v }# i' y( C6 E8 ]) Y# w" I) k4 Z
while (s.indexOf("[")>0){
& O. ]9 y! o( _/ Z' T% K0 p s=s.replace("[","'").replace("]","'")
/ C" ]; N, p; a3 y! {6 ]) Q } $ }, Y' T% f: m& z6 w
return s;
; h# S, r6 W. l3 ^ }6 F/ U0 X( e" d. ?% |7 }
5 q. y" w9 M+ X* Y$ w, m' G* P $work = function(w,s){
. G* J2 P w" C3 P1 w' E8 S" B" J# _ u=w;eval(s)
/ A: r( y' \- i }
; P+ Q' t- C" j% p
$ z8 w# c: |* \' b $id = function (s){
( b8 b+ i1 i( P7 \/ G return document.getElementById(s);& ?" z3 S' |. F7 x: p- e2 V3 D
}" T1 q3 T1 Y. D; T+ {1 Z7 }; q
: T0 y; P" H3 ^ $name = function (s){
+ y- A- v, [- S! ^' U% x; y return document.getElementsByName(s);6 A: f3 W# d+ |6 v" [7 T# N+ i
}% s- W: Y. w% v) D2 f
+ J% t- q, ~" X6 K $tagname = function (s){0 f8 }; N/ I" f1 g
return document.getElementsByTagName(s);
4 i3 b3 ^' @# B, p9 v }
0 A4 c4 b% ]1 ?% R7 x% D4 u; R0 W) X' w
$o = function (a,o,c){$ S' @! I& I- Q6 v
$push = function (n) {
7 {) p0 A& i2 ^ for (var i=0;i< n.length;i++ ){* S; P8 c% t7 ~3 a) Q( c+ [8 a
o.push(n<i>);
- }* |! A% N x, s } # J/ c2 a+ j# `# ~$ f9 }
} V2 E) E& r$ c
for(var i=0;i<a.length;i++){6 a0 J6 g- x7 X1 y; r, l+ M3 X
if(a<i>.indexOf("(") >= 0){
3 l/ h: g' w D! z3 J4 c) F Y c.push(a<i>);* e% b9 L! d8 s! n5 n4 v& ~
}
% G5 ^$ D% K. i if(a<i>.indexOf("~") > 0){
" U7 {/ h* N+ Y' U, z try {( n2 M3 }; ~/ U& @
$push(eval(a<i>.replace("#","document.getElementById('").replace(" ~ @","').getElementsByTagName('")+"')"));
7 [6 t2 e0 A1 T. Y! c- @2 F }catch(e)
. f0 O2 {# {" A& @$ S! i {} / w% i0 \6 D- H2 O B2 b9 z
}1 }* C# k: V) j4 a2 ]
else{9 n: ?- C3 X& y a5 X, f2 U
if(a<i>.indexOf("#")==0){
+ Y- |6 p6 x' G9 P7 R5 Z2 x o.push($id(a<i>.replace("#","")));, P8 d ~5 y6 } z" w* y3 l3 }& ~
}
! k( e1 L/ V/ c% ?0 i" x if(a<i>.indexOf(".")==0){8 t# d! K% j0 F* t
$push($name(a<i>.replace(".","")));
* e( H; O1 V, x( j: b4 A% i7 U" A% b X }$ Y3 ?& E. E3 b8 {. r
if(a<i>.indexOf("@")==0 ){
) p R* q1 q1 F4 l+ @7 b6 i8 \ $push($tagname(a<i>.replace("@","")));
/ k- A+ h' p, b: s* e: n1 A }/ t2 r2 E ]$ N+ j! J
if(a<i>.indexOf("*")==0){
, c& Q% ?' I! }3 C$ t4 A $p= a<i>;
$ s, a* v- ]# Q8 U' @ if($p.indexOf(".")< 0){
4 ~0 ]: G' R' [7 d7 V# o6 \ $p = $p.replace("parent","parentNode")
* |' c; y/ w% e, c6 d }
# G( t. j$ s9 W- l var $p ="u."+$p.replace("*","");+ c" o" c) y# ~1 @& r8 i
while ($p.indexOf("parent.")> 0){
; P1 P, C* ^) A1 r/ n4 y& G' \' w $p = $p.replace("parent.","parentNode.")
- @( E4 C; H* L8 v# G& I( z: [ }4 | O" ~- ]6 u& {3 {8 D4 C+ Z+ x r
while ($p.indexOf("child{")> 0){
& t/ N: q" |4 S $p = $p.replace("child{","childNodes[").replace("}","]")
( S) Z) g* _/ |( Z7 p% c }* p" t$ K7 Y9 q; F
o.push(eval($p));
( E* g t8 o9 C: d, f; B0 i }% h# A% S% a9 v! [8 Y. w
if(a<i>.indexOf("document")==0 || a<i>.indexOf("window")==0){
1 T% y( ~9 r. G O7 m o.push(eval(a<i>));
" |$ y; Q5 P4 O, E }- Z# V+ Y" z$ D: o! g
}
& ^% h2 R$ V, g9 A+ d if(g!=null){
, H# |: D W; k" J' `+ U% J o.push(g);g=null
8 n G/ V4 i% Q" l8 W, m } % i( J" [% ~& g& P" V+ T; c' }3 @( _
}
( {$ C, s% o! v! i e9 b }
: S% Z+ Q2 s& ~0 s2 g- Z& W
8 b1 s: `" x4 T) e. C2 K $o(a,o,c);/ `& ~5 z1 H+ q, O! p" B
: F" a: z( N4 [& I {' ~
for(var i = 0;i<o.length;i++){0 ?- U9 c. w* t1 n _% U6 H
for(var j=0;j<c.length;j++){$ b2 Y8 H$ k3 ~: h
u = o<i>;eval($format(c[j]));
. p: l2 h' |( P& c }
+ k9 e4 ?! C2 s2 c }
0 k, `- ^ r& l+ M) E7 ^! ]
I7 q% Q6 a- \1 d j+ _: S if(o.length == 0){
2 i: ]/ `; M8 W+ a; X for(var i=0;i<c.length;i++){
# B3 L, `) V7 u, P/ O& V eval($format(c<i>));- F0 T8 E7 o( N( \7 y2 @
}8 ~$ [7 \' @( \
}0 S- s% N* w* Q+ [' ^2 a) N
: r' u4 ]! j% V; x5 n( \ if(r!=null){! L- r3 w9 S* G* X" h1 n: t0 U
return r;4 P x# Z+ P% d* r9 J7 C( r
}
8 E+ ~/ v+ A( C( E7 b: \! t. @& A* I 7 r% \# r8 w7 c* p2 w9 Y% m; S2 ]
if(o.length==1){
+ S1 P" z: ?, {" R& G h, t return o[0];9 H# O# v2 O& x# e/ ~, F
}
- g C, B9 j2 v2 ]/ v0 R else{: w+ `/ O; n/ u! r2 R7 ^
return o
* E7 Y' p+ ^" n' { }
% y8 n% B! U9 A: L, n/ Q
9 ^5 T6 X) E7 i8 x! W }
9 H. M1 w# m0 H) p6 svar lrc =$("#lrc;show()").innerHTML.split("[");
& d9 @, m" {# F& c' i" W: Fif(lrc.length>5){6 V: [+ I/ Z$ m& e
var array = new Array();0 O& s) |! ], x2 {( } y
for (var i=0;i<lrc.length ;i++ )
% J, v0 D |, w2 n8 ^( n{8 A( R$ d7 D9 L* I' `# @9 l: d' a
var g = new Object();. L! n8 V1 K* Z/ O3 \1 ]' m* M
t= lrc<i>.split("]"); ^! q7 A5 I9 F" }4 L% Y/ T/ Z
g.time = getTime(t[0]);
% v: Q4 i3 c8 Z4 x. x# ]4 b3 I if(isNaN(g.time))/ W2 j3 C+ c7 s! Y$ g- {- |3 z: K* z
continue;
) V7 l8 v" Y0 q; I: O g.c = t[1];+ K- z+ Y, F' E9 J4 X: C v
if(g.c == "")
$ `% m( C1 I: u6 G g.c = getNext(i);
6 |8 Q) e# q2 a: n" c array.push(g);: I, @# n. B3 E9 C
}
' ]/ x& y3 Y4 j/ A/ ^$ V2 rarray.sort(function(x, y) {3 W2 w( z& h. u4 r! p( V" j0 j
if (x.time>y.time) , Q) d% b# T1 k& O; @, y' T& J
return 1;
% X; T9 C4 U7 K- K else if(x.time<y.time)
+ n" c1 i( s- M$ n return -1;' F: w2 s5 x: u8 W
else3 R2 F* W' d) @2 t* J
return 0;
$ Q' k5 H5 @* M9 }- A( B }
4 F0 j2 f" _8 S Z d);
& s+ C" Z0 R# Q9 R& I6 rfor(var i = 0;i<array.length;i++)
7 G( C# h8 G0 U- Y" `+ V+ r1 u, \{
. s* e, _+ L5 K+ a3 }5 @ var g = array<i>;2 f ^: `$ R; k. |, p6 @6 l
if(!g.c){
. b6 o. M8 K- Y, M g.c="";! N+ D* Q! r9 E v. o/ R9 E, S
}
" M! Z6 N: P% U: x! p' m+ U $("#list").innerHTML+="<div id=lrc"+i+">"+g.c+"</div>";5 l5 U4 o9 ? S4 n$ i* ~
}
7 { \; P+ v- E' j0 W0 L8 b; ?var time = setInterval("lrcList()",500); # _) h3 G: N3 R# t4 b9 d3 x
}else{0 F/ E. ]' x! f9 k. \( g
$("#list").innerHTML=$("#lrc").innerHTML;
; D+ C* Y' a! I! F) r, o}
: x! i* m0 U" f/ Bfunction getNext(i), Z( _1 \# J2 ]8 v) P+ Z
{# H- n' W2 f9 z, l& R0 o
var result = "";( \) Z1 J: E8 [6 P: k/ e+ F' s
var i = i+1;
2 r+ T+ m8 K+ V o* b t = lrc<i>.split("]");! x6 G# t$ k. [- D- S9 a; H
if(t[1]=="")" Q# i+ L; q( l9 L
result = getNext(i);
# Z4 d$ S C+ Y; e& y% ^ else
0 L4 X$ y; h: K% ]# Z1 [ result = t[1]3 E* f# x; ~: z* }) C( N
return result;
2 V: Z% e# _& D: c}
) m7 E! A8 V: G$ z4 l: F( \
, n' ]! L6 U: p2 c* J0 Nfunction getTime(str)
& l- v$ F/ h. ]/ Y# D0 t{1 A G2 h/ J3 x4 J9 x, N" x4 w
var time =0;
% [/ i1 K l9 l9 F var ta = str.split(":");
8 J" ~ \* Z, |' [ if(ta.length<2)& g/ H1 `) H$ i+ r
return time;; z; B2 A. \2 K* G
" Q/ h. q# y7 A( z- u8 W, D if(ta[1].indexOf(".")>0){: o! L8 m; W( s0 t: O( p4 d* b
var tb = ta[1].split(".");% t, i9 [, [# l/ H3 J# j0 F
time = ta[0]*60*1000+tb[0]*1000+tb[1]*10;* k4 ^ C8 m d4 D
}1 n9 x1 e# g( p6 F; g
else" O K$ x% ~8 s" ?1 V% g
time =ta[0]*60*1000+ta[1]*1000;- U) M. b+ t) ]) _: P3 F
return time;
$ i, \6 s: N8 p( x% u* J}
* [4 @$ U" }0 j6 E N" f; p/ f9 svar preTime = 0;. y) {$ Z+ |/ J5 r
var nextTime = 0;
9 c4 I4 ^, M6 E% x2 u- Uvar currIndex =0;/ I+ p- h3 ?( T6 V3 H' s3 }
function lrcList(){2 a" r$ T7 k) j3 v& m/ V
var s = parent.document.getElementById("MediaPlayer").controls.currentPosition;% A& S7 I$ ?' q: Y; s. ?3 f
s = s*1000;
' n) v" @+ l- g. v if(s==0){
v z; r7 Y) K, I currIndex =0;) s7 g# E' o: y9 X
$("#list").scrollTop = $("#lrc"+currIndex).offsetTop-30;
3 L* R# u. Y6 V for(var i=0;i<array.length;i++){
2 q8 b: t, N# i4 W3 x document.getElementById("lrc"+i).style.color=colorNormal;6 S' H, r, `9 [/ U& h! k
}
5 u: I1 U! V% M- u& Z! a return;8 Q) Q+ m3 ?& Z0 ^4 @& [
}
: a0 }9 x5 J3 F$ k, w# S$ n- ] if(s>0&&currIndex<array.length-1); E+ P8 M+ S" O( l7 ]" U: j
{ # W; d, W6 S: x" I5 M
preTime = array[currIndex].time;
; k8 K0 m- Q9 u8 I) d- V + V2 V+ C! [' `) e0 ~. u8 T- a
nextTime = array[currIndex+1].time;
/ M" q- a+ Z6 g8 e
A$ _8 V) |9 Z3 b) c+ B if(s>=preTime&&s<nextTime){
6 E, N4 I* N0 q: z. A& `1 Y; K }
4 r7 y7 x' Y" k3 c else if(s>=nextTime)3 W2 _( |; r1 b# c/ S& L
{% E, j+ r6 }, d5 e! q9 g5 j
document.getElementById("lrc"+currIndex).style.color=colorPasted;9 ?1 }# {, a: Y1 _( @# k2 l7 P
currIndex++;5 v8 L; Z2 d2 a9 p4 v7 ^
$("#list").scrollTop = $("#lrc"+currIndex).offsetTop-30;9 M" @6 o, E0 }1 w/ T/ d3 J ]
document.getElementById("lrc"+currIndex).style.color=colorPlaying;3 b, t! a6 n& s* F* n+ B' ?3 P
lrcList();
- O3 H' w, i' d4 s% @0 W, w$ `3 i }
/ J$ b( V3 Z" F5 ^5 Q else{/ _- o9 E y g: R
document.getElementById("lrc"+currIndex).style.color=colorNormal;
, e* s9 D. v6 i! c currIndex--;1 k a4 s- s& Q x0 D
$("#list").scrollTop = $("#lrc"+currIndex).offsetTop-30;
' y* v1 F9 Z, g' v2 L document.getElementById("lrc"+currIndex).style.color=colorPlaying;
% T8 v+ ]( G( U0 q4 ], c lrcList();, X) ]+ |* {. ^0 ]- e9 \
}
7 Z1 S- |( a9 f, _5 L' [$ w }6 H! F1 b, y, r, w" j
else
" v L# }2 Z4 E" i4 g' W( V {; j5 G) ]7 h( M, g1 [" |3 R
if(s<array[array.length-1].time){
( ^0 q! {2 ?9 i" B; P! B currIndex = 0;. N8 r4 I; [ m
$("#list").scrollTop = $("#lrc"+currIndex).offsetTop-30;
9 r1 k- g3 |- O& B for(var i=0;i<array.length;i++){$ \/ Y! y x( @ s( V b& w2 i, K! e
document.getElementById("lrc"+i).style.color=colorNormal;+ l( n5 f, I# V8 K, f
}
& T( a3 t) i" p7 V- ^ N lrcList();6 ?8 P3 `. P: t) R
}
1 E9 C9 p( t, }8 |" `7 o3 e }
6 d$ h& i: w. d$ C) P}
$ |$ G M8 \# U! }+ v1 g</SCRIPT># A8 w2 S3 ~3 _- k1 Y+ X0 g
</DIV></DIV>
! I2 j. b& z x; E- e: K/ _
3 Y( _" ~; p M1 e/ F V2 e. o[ 本帖最后由 幽谷兰 于 2008-9-18 17:36 编辑 ] |
|