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