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