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