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