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