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