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