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