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