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