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