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