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