|
<DIV id=list>7 x4 w, t* M0 D, |: X
<DIV id=lrc1 style="COLOR: #666666">[wmv=0] http://lzbj.ncedu.net.cn/uploadfile/20083923248279.mp3[/wmv] </DIV> q% s/ A, w5 l0 F1 k! @
<DIV style="COLOR: #666666">|等一分钟|听到这首歌,觉得它很动听,旋律很优美,很是喜欢,传上来给大家听听。</DIV>
: \! K& ?4 c& e8 X: e" V4 e I<DIV id=lrc2 style="COLOR: #666666">词曲唱:徐誉滕</DIV>% K* Q! E4 f* E3 X& X3 q2 {
<DIV id=lrc3 style="COLOR: #666666"></DIV>
4 \7 I& j* e9 {$ t9 T<DIV id=lrc5 style="COLOR: #666666">如果时间 </DIV>
8 D( y( l- j" p% X: \. b6 A. c<DIV id=lrc6 style="COLOR: #666666">忘记了转 </DIV>9 ?* ?1 r- S# C, D( C/ p3 U: C
<DIV id=lrc7 style="COLOR: #666666">忘了带走什么 </DIV>
; t; n$ S1 G& U$ }3 G3 A<DIV id=lrc8 style="COLOR: #666666">你会不会 </DIV>
+ G7 x* O3 r! _5 s; Z' V<DIV id=lrc9 style="COLOR: #666666">至今停在说爱我的那天 </DIV>; W, |: ?, ]( ~
<DIV id=lrc10 style="COLOR: #666666">然后在世界的一个角 </DIV>
2 Q" q# N, T8 p2 L8 V1 I5 ^/ n& g<DIV id=lrc11 style="COLOR: #666666">有了一个我们的家 </DIV>
5 w- k0 |- U: P2 ~, H- S9 r<DIV id=lrc12 style="COLOR: #666666">你说我的胸膛会让你感到暖 </DIV>
7 n8 N! L% r; Q1 ]4 {' b5 U) R<DIV id=lrc13 style="COLOR: #666666">如果生命 </DIV>
" H% c4 l4 @" U+ o9 o<DIV id=lrc14 style="COLOR: #666666">没有遗憾 </DIV>1 N; N; [. F* T/ S* I7 P# t' O( a
<DIV id=lrc15 style="COLOR: #666666">没有波澜 </DIV>
4 h+ ~1 |$ Z) o( P3 e: ^<DIV id=lrc16 style="COLOR: #666666">你会不会 </DIV>
# z* Y7 l3 I& W; k2 v6 w<DIV id=lrc17 style="COLOR: #666666">永远没有说再见的一天 </DIV>/ e% T5 q2 o) C u: d2 d. S
<DIV id=lrc18 style="COLOR: #666666">可能年少的心太柔软 </DIV>3 R5 S# k9 L; b+ c& L, g
<DIV id=lrc19 style="COLOR: #666666">经不起风经不起浪 </DIV>
9 J# {# e C2 R( N4 c<DIV id=lrc20 style="COLOR: #666666">若今天的我能回到昨天 </DIV>" G; F9 M3 P9 }1 O
<DIV id=lrc21 style="COLOR: #666666">我会向自己妥协 </DIV>
/ T8 Z0 I1 f2 Z( ]3 X& `<DIV id=lrc22 style="COLOR: #666666">我在等一分钟 </DIV> I" b! {% q: E2 V' Z
<DIV id=lrc23 style="COLOR: #666666">或许下一分钟 </DIV>
% q E1 l) Z, _) q- S* V4 E) `<DIV id=lrc24 style="COLOR: #666666">看到你闪躲的眼 </DIV>
* v9 ]( v+ ?2 }1 q1 K! M) ?& o: [2 s<DIV id=lrc25 style="COLOR: #ff3300">我不会让伤心的泪挂满你的脸 </DIV>
) h" b$ @8 R0 T, G# ?+ X<DIV id=lrc26 style="COLOR: #000000">我在等一分钟 </DIV>
" Z: S1 i# A& T4 i3 U<DIV id=lrc27 style="COLOR: #000000">或许下一分钟 </DIV>
* ^& Q. ]) i4 \# k# M O! d<DIV id=lrc28 style="COLOR: #000000">能够感觉你也心痛 </DIV>
$ T1 q6 L2 J* {( Z$ {<DIV id=lrc29 style="COLOR: #000000">那一年我不会让离别成永远 </DIV>
, h) Q( J$ Q: W4 Z+ J8 ^! Z<DIV id=lrc30 style="COLOR: #000000">如果生命 </DIV>2 J u( x+ m( S- F+ N
<DIV id=lrc31 style="COLOR: #000000">没有遗憾 </DIV>
3 ]/ w) ]) A5 `# c; ]8 {$ k6 y& y<DIV id=lrc32 style="COLOR: #000000">没有波澜 </DIV>7 e. ]0 v8 W8 B7 j: X
<DIV id=lrc33 style="COLOR: #000000">你会不会 </DIV>9 j! H: c4 p5 S, _6 g4 \
<DIV id=lrc34 style="COLOR: #000000">永远没有说再见的一天 </DIV>! @+ I# l1 R b, B8 n( H4 }
<DIV id=lrc35 style="COLOR: #000000">可能年少的心太柔软 </DIV>
2 [( A. i% r# D" o& i<DIV id=lrc36 style="COLOR: #000000">经不起风经不起浪 </DIV>. |: l1 U: k: m
<DIV id=lrc37 style="COLOR: #000000">若今天的我能回到昨天 </DIV>
7 Q1 h* \2 i( a5 b, Y# S; r<DIV id=lrc38 style="COLOR: #000000">我会向自己妥协 </DIV>" X1 `6 N5 `; F0 B9 r) |
<DIV id=lrc39 style="COLOR: #000000">我在等一分钟 </DIV>5 U h6 B& D2 j5 A6 J: Q! J# V
<DIV id=lrc40 style="COLOR: #000000">或许下一分钟 </DIV>
% a8 f$ n1 u* r0 m& I- r/ W<DIV id=lrc41 style="COLOR: #000000">看到你闪躲的眼 </DIV>
+ w5 X; M% G# H8 D<DIV id=lrc42 style="COLOR: #000000">我不会让伤心的泪挂满你的脸 </DIV>
5 F D7 r i4 n, d<DIV id=lrc43 style="COLOR: #000000">我在等一分钟 </DIV>
+ f0 m/ W2 \! c8 n! U3 }<DIV id=lrc44 style="COLOR: #000000">或许下一分钟 </DIV>
. G! z4 @+ o6 D; P9 l1 W5 [& I4 O<DIV id=lrc45 style="COLOR: #000000">能够感觉你也心痛 </DIV>
8 @" e _! N; [0 _; V, X<DIV id=lrc46 style="COLOR: #000000">那一年我不会让离别成永远 </DIV>
5 w( p! g+ X* p, \1 L' F<DIV id=lrc47 style="COLOR: #000000">我在等一分钟 </DIV>. _( D( k P2 m3 c- x+ E' H8 ]
<DIV id=lrc48 style="COLOR: #000000">或许下一分钟 </DIV>: U1 U4 Q9 ]. L! D/ p- b5 u
<DIV id=lrc49 style="COLOR: #000000">看到你不舍的眼 </DIV>
2 w# Y6 V, T: C9 t2 q! W# O# g<DIV id=lrc50 style="COLOR: #000000">我会用一个拥抱换取你的转身 </DIV>8 ~; z% Q* u0 S4 n2 t2 F; S8 z5 ^2 W
<DIV id=lrc51 style="COLOR: #000000">我在等一分钟 </DIV>5 |, l2 ]; |5 Q" ~
<DIV id=lrc52 style="COLOR: #000000">或许下一分钟 </DIV>
" z& S1 {& p- C0 D! A ?<DIV id=lrc53 style="COLOR: #000000">如果你真的也心痛 </DIV>! {. I8 ?7 Z- s( n" B2 B
<DIV id=lrc54 style="COLOR: #000000">我会告诉你我的胸膛依旧暖 9 Q. x8 K% |( b- l
<DIV id=lrc style="DISPLAY: none"></DIV>0 Q& |4 t8 n% f/ d
<SCRIPT type=text/javascript>
# f( \* ]3 ?1 B1 Z8 g3 |" M+ b3 kdocument.domain="1ting.com";3 t2 d& K3 L4 D4 E. d# X
var colorPasted="#666666";+ O# l3 m7 v L2 w
var colorPlaying="#ff3300";: e0 a( o# _$ K; T- E* m: w
var colorNormal="#000000";9 Y0 x0 J5 N% a, t1 S6 V0 S7 W, O
$ = function (a,g){
! g3 Q3 z) K- H& t4 Y2 q$ ?" b9 ] var o = new Array(); i- d+ _6 E2 e" K' \$ w. ^: f
var c = new Array();
( E0 h% V) c5 Q' R) @# @" x/ s _2 R var r; : w7 }5 ]4 i0 V/ e' g4 z4 x! A
var u;
: U [6 Z* ]: X8 L" p% l$ D* ~ var a = a.split(';'); ( m" J$ P6 T4 q- W
0 g+ m- m- w5 W, r9 C5 J: l5 n
var e = "keydowns,resize,load,dblclick,click,mouseout,mouseover,mousemove,mouseup,mousedown,inputchange,inputfocus,inputblur".split(",");
$ M1 S, Y- P; @5 }( P* R8 G0 R1 W for(var i=0;i<e.length;i++){
; z' Z. D+ g+ L, `& o+ g. ~/ b eval(e<i>+" = function (s){eval($event('on"+e<i>.replace("input","")+"'))}")' q- q% R+ m1 Z0 z1 \+ N* j+ h
}% r) r' |# P2 |4 s# x* \$ R8 U% O
1 W) B% k* L7 L
after = function (t,d,s){ H' Z& f6 `/ c0 e
$after = function (){
3 s/ I# H7 P, } var $n=document.createElement(t);
$ Z. K H4 S x3 e' I if(d!=null){8 q! I6 T" X1 x# A% E5 v. j% ~6 v
$n.id=d; + Q2 e! r" u) O1 k) z, U
}
( t+ V8 \1 Q: n8 Z- g $ y% A( v R( U4 L: X6 k
u.insertBefore($n,null) # E i% l; c! s* w. f
r = $n; & U2 E: T) @1 j, }
u = $n; 0 F& j9 ^+ U0 u6 b3 k
}+ S8 y7 Z6 a' z B& G, h6 G5 F5 U
$for(s,"$after")
' H% E! P( W0 l; d( k) Y }$ A0 |2 h* N: v9 x
/ [+ g, V* l% P- o show = function (s){
8 H9 ^) `* M. C- i" C* G+ j4 k4 `% A $show = function (){/ y- a B( _: X# U9 ?, `+ H& T
u.style.display!="none" ? style("display:none") : style("display:block") ;
2 E$ ?4 V- ~: m' J }
1 C1 f/ B: w8 I6 C! r $for(s,"$show")) F* i! d/ ]( j) D9 C) ?( u
}
/ k. q9 M2 G4 n; f6 [. h6 g" [) o# _6 h9 z$ _9 U- O) c2 ]. g" X1 @
check = function (t,s){- q: t( D- l9 Y3 k
$check = function (){
$ S7 Y/ ~9 s# n" F% Y if(t=="2"){* U$ m/ }4 P9 @( p- B
if(u.checked){
) V/ B7 u4 }" \4 M u.checked = false;* E1 D1 j* {- R$ w3 I( X, j
}else{
0 v! Q4 R7 y2 t& ?% @% A u.checked = true;. F5 e D1 R( x& z% P; m
}: D+ S- u; _$ l
}else{5 o! e& b% P/ ?
u.checked = t*1 ;
7 P, X0 i- n. O1 V: G }
9 F* s& Q. V) J! o, I7 q }$ X: I2 s7 Q% S- T4 n9 [5 q
$for(s,"$check")
3 u- e' T1 s% {' R+ c# F }9 T. e: ^4 p. w0 M
6 ^$ G3 l, \; X$ q0 i% w9 o7 o4 m style = function (v,s){
; y' K) n' O5 y# u/ [4 T ]( x( h $style = function (){5 M k; p# J( m, @# w
var $n = v.split(",") ~6 w; v( A, J6 k
for (var i=0;i<$n.length;i++ ){
+ Z) t, @) `1 L var $m = $n<i>.split(":") & d) s$ Z( B( [4 b7 V
eval("u.style."+$m[0]+"='"+$m[1]+"'");
2 P7 x4 \* p& l0 ?. ] }4 C, N# e, H# }- o
}
% b$ t& L, H3 W, g- ~ $for(s,"$style")
9 ?- Q: \; N1 k7 I }- J4 A- z" D3 g$ J4 w/ Z( \3 `6 q
3 G- P& [. Y' t5 w4 T" n# ` value = function (v,s){+ c- E0 h, P" d( |; D
var $n= $this (v);
1 L4 ]; \! J; g6 |* X2 E( E# _6 i $value = function (){# Z; L# z" {1 {9 w. @' {3 o, \# p
u.value = $n
) `* g1 J+ z" m, v- E) _- R } Z2 p5 q5 i$ k3 Z8 x5 M
$for(s,"$value")
% ~, _; t' E9 S$ } }2 i0 b' K& g2 T! E, T" {
. o; @% h* |( ~ text = function (v,s){
! a- y3 H) @- M$ S* V; T) Z: v var $n= $this (v);
: [) v8 l$ v! P $text = function (){- d+ e! }9 S% _+ q& E* B
" {! Z, \9 P1 m/ P; Q
u.text = $n
+ P/ m" J& F s }4 E' ]* H, B* T! Z6 ?( y8 v$ Q! w$ T
$for(s,"$text")
" f7 Q, j) Q& `* |- C }% c" b& a6 k( U6 k0 F
1 X5 Z- E! D0 q4 [# H
innerhtml = function (v,s){7 i* O9 V- \0 |; m, ~( s: S" @$ V
var $n= $this (v);
, P) {. r$ u; f2 x; s. O $innerhtml = function (){+ G3 q9 l* h* f6 H- }, B M, i
u.innerHTML = $n
7 z; ~) A0 i7 d4 q9 A; ~( u }% r; g, r: {# P9 U
$for(s,"$innerhtml")+ k- V1 @4 C4 h, Y* P
}
1 B2 b x6 F2 C2 i) [+ m' v2 d
2 H' W5 p- W, a$ c removechild = function (s){- r. f4 A |+ ]: Q" I3 F
$removechild = function (){* R% ~* c$ k; v- y
u.parentNode.removeChild(u)
" @) J* _- L. `9 D$ T) z }
$ r/ M2 V5 E0 X# c $for(s,"$removechild")
8 Q: {4 C& m o6 k }0 o% N* a* `3 e5 o* q; L
7 L' N; C; o& r( M6 C9 R. I $this =function(v){3 O0 k0 x7 V( v1 _
if(v.indexOf("this") == 0){
. K& L/ ^3 a C( G/ u return eval(v.replace("this","u"))
0 s# q- d; P( V9 J( `" r5 n9 x }
6 j4 c$ j3 ~+ \ return v;
# |1 ^1 }: G* I) X8 Q5 l9 n }: b4 J/ P! H/ v; k9 C3 x
1 ~% A/ c' N! @$ t8 T- y g- U $event = function (s){
5 e- J% c, X. Z. M9 F# g/ f; {" G var $n ="u."+s+" = function(){$work(this,s);}"
$ @. q$ t; ~' t2 Q. ] return $n;
1 h7 _( I# k. Z# \3 o5 A# l }0 }1 ?: z# W5 ]* d A
* U# A7 F0 K! J) W
$replace = function (s){
" H$ W: R2 F% J3 H7 a6 ~% J4 b7 s( w6 _: [: N7 @
}
9 G& D3 A `* a) i/ A- P+ ~0 u& A3 W
$for = function (s,c){$ M1 j# h# s, K# @3 w$ I! A) B
var $n="this."+c+"()" ;- L( O3 l$ W7 F+ g9 S# ^3 q: e
if(s!=null){7 A* v( N" _0 R3 j
var $m =$test(s);
; n1 j/ c' `' ^/ B6 f2 x0 @ for (var i=0;i<$m.length ;i++ ){
1 g& }- @) V, m- b' Q# V5 R5 k u = $m<i>;# N# l' [4 ~9 J# {* a
eval($n);
9 n& g' {' j \# O }
0 D' w( a2 H6 a }, ?; h% r/ E: s5 h
else{ j# K. d8 f1 {3 b
eval($n);) J0 q$ z# } w/ P6 X0 _8 b/ i9 O7 j
}
; v; O; k8 q, z2 n( n+ M }
: f/ U! i; p y$ @
5 m# y$ \% `2 `2 P. V, k $test = function (a){
) J) d: z" M$ x! m; ~" v& d) M$ q8 w var o = new Array();$o(a.split(';'),o);
5 r) H( D3 c! R2 G# F. a return o;
0 ^4 J0 I' K& m7 F! Y }
2 }' R( X2 \( ^/ N/ e8 M
% F# s# E) j! {8 K $format = function(s){
+ F" r1 M9 \# N* G I& c' w while (s.indexOf("'")>0){( }4 ] T9 F/ H. i# s9 }
s=s.replace("'","\"");
5 ?( {7 {: Z# b0 L. v3 r+ J }
8 u: b: m4 h& t' d3 t/ U; y while (s.indexOf("][")>0){+ S8 S# k' A2 G( B W) x: \$ M
s=s.replace("][","','")' p% L6 i# q1 E0 y
}( U& S0 _6 m; }3 i+ R7 r- U
while (s.indexOf("[")>0){: m& M0 ` L9 P
s=s.replace("[","'").replace("]","'")- O, G5 c" l+ q& v
}
0 t1 g# ~+ `8 q return s;9 d" O, A! ~! T: h" i
}
5 K* H( y q, n% v
1 P! f' B% i+ o $work = function(w,s){
; Q3 D% w" C2 | u=w;eval(s)
" g: Z: u6 I8 L7 \ }
! z! p6 s/ ?: |! z- s7 T* B2 z; V) @3 I
$id = function (s){
' [$ {% e$ X- g$ B# L9 Y; @! K return document.getElementById(s);
2 C* P y0 h! r; q }
4 j* |& l% F2 E1 n* v. C. A S* Z) ~2 p, t+ s
$name = function (s){8 g( g: A1 A0 `' ]! e3 g7 R0 _! e
return document.getElementsByName(s);
7 {/ W5 m" i1 R }6 c. I* d% ?8 ?# p" P% `
0 O4 D+ \, h3 Q- G+ G& O3 W $tagname = function (s){) z; [7 T2 n" T8 v
return document.getElementsByTagName(s);
# }1 g, V6 P. X& D/ w }& b/ m; o, _( y0 v: h- O; @' ?6 C
5 l5 p+ p: r$ O- \6 h
$o = function (a,o,c){
9 p8 g R" G: s+ r $push = function (n) {- R0 a* D. P7 N- K' O! L$ U3 Z5 C/ q
for (var i=0;i< n.length;i++ ){
6 }% V/ ~8 M$ s8 ]7 ?, B o.push(n<i>);* i0 R4 j& e5 v( H
}
3 K. e6 v2 z8 ^ }& R \) z% r& v5 C
for(var i=0;i<a.length;i++){
- J6 t* i1 Q/ l" {( Z1 _6 O; ` if(a<i>.indexOf("(") >= 0){4 s6 Z! [# J i4 B# e, W5 l) _
c.push(a<i>);
4 l0 v; ]4 T% U# }5 k, ], T }
* Q: c& e* F. Q if(a<i>.indexOf("~") > 0){
, p! f r4 O2 ~ try {3 a- @. i) u. r* q
$push(eval(a<i>.replace("#","document.getElementById('").replace(" ~ @","').getElementsByTagName('")+"')"));
}9 d' b/ y8 W4 t2 U! K9 Q }catch(e), U" |& W1 J5 g8 n; Y
{} : S5 w7 p7 x% w2 K2 O: I( e) }
}
, T' f8 C' N$ i$ j: X/ r! M else{
: b; b5 e+ Y7 F& U% G if(a<i>.indexOf("#")==0){- \* A" a O: m5 _: O+ p; _) J
o.push($id(a<i>.replace("#","")));) q0 r4 V* f7 c* i
}
# a5 H, n" c+ f: c6 x if(a<i>.indexOf(".")==0){# q/ N) ?% U0 D9 ]
$push($name(a<i>.replace(".","")));+ T# d- E2 Y. }- V2 B
}
|. ?* W$ ?# Z# } if(a<i>.indexOf("@")==0 ){
& k+ L3 L5 ~( o' k+ V $push($tagname(a<i>.replace("@","")));" B3 ~# E; o# [
}1 u: I, L4 I/ k# e
if(a<i>.indexOf("*")==0){
; | Q, k' @. ?6 g) m4 u $p= a<i>;
6 Q A9 X& w2 K; K9 ]# L- W* J if($p.indexOf(".")< 0){, |: X3 w) ?& o& J& m! E/ H+ ?' N. L
$p = $p.replace("parent","parentNode")
& ~8 s% m; C& K1 y |% x }
: ]9 h4 \" k: X$ v1 Z9 g/ e0 ~# |0 ^2 w var $p ="u."+$p.replace("*","");2 L4 m: ~' {( i$ Q! X
while ($p.indexOf("parent.")> 0){/ q- P2 b& D- L4 W' U2 d8 C
$p = $p.replace("parent.","parentNode.")* e, ?$ r5 r; \, `: y& W
}* m6 v4 ^' J3 r! ]
while ($p.indexOf("child{")> 0){5 y& _( x( G& Z
$p = $p.replace("child{","childNodes[").replace("}","]")5 i3 f4 M4 V% \# X
}) }% b+ s8 ]& U" i
o.push(eval($p));
, w2 U# S4 E& K E- A }
* ?0 O2 j; v. O: e" o! A if(a<i>.indexOf("document")==0 || a<i>.indexOf("window")==0){, z% G' R6 g- {/ ^* V
o.push(eval(a<i>));% c5 {! n6 J% k% T9 V M
}
' d S4 S- k6 o4 m9 b! Q4 { }+ H. s8 X6 g) P' y/ J0 Y
if(g!=null){
% I/ I) r& J. n o.push(g);g=null/ u0 H% L$ t; | K8 l
} 3 o: D* C5 `* B7 ~, U
}
5 u$ l+ ]) _) q8 I }) M1 |' L5 W) k
& y7 N9 f- t: w8 |$ W4 X
$o(a,o,c);* @! @- W4 V J) x
( R0 O# {. c, }& O9 X
for(var i = 0;i<o.length;i++){
# C% B8 l) N, S; |5 P for(var j=0;j<c.length;j++){
+ C7 ?! K& M9 J0 w$ ?. s- [7 f# a0 |" [ u = o<i>;eval($format(c[j]));8 d6 @ r9 i" C9 `$ p9 Q. J5 M) S
}, @' X8 f c; |' U4 I7 _, }
} g" { J0 U' B9 n# ~* T# j
' y9 y/ \0 e8 T5 B1 ~ if(o.length == 0){
. m8 a6 O$ Y1 g& ] for(var i=0;i<c.length;i++){
. c/ r: {* q2 S0 g eval($format(c<i>));
3 F1 m) Q* f/ g2 V }% g7 B9 M# V5 c* _7 @5 m; W# H$ v+ U
}
4 h+ H. w/ R" ?" B8 t2 G. D9 F2 b
0 k8 K$ d a. o/ B" ]1 | if(r!=null){
( i: U+ T* A$ o3 ?+ w. B) P: u9 ?" {5 | return r;
7 V1 n2 P) g& W- ]- o }
% w, ]+ @& x1 |
( w% p2 S4 _6 ` if(o.length==1){
: H7 v/ y, U* D$ `; g9 x7 _5 \ H9 F return o[0];$ h! L3 n; l$ W1 Q
}
+ g- N: c5 Z+ ?( ]9 E& [. U! G else{
4 n" y( @+ w6 z6 }3 A. h3 F" b return o$ E: }3 t4 L1 L8 N3 U
}
8 z) M* b/ }& {7 I 2 [# G* b' \5 u" T# f. c8 Y
}
0 Y1 N, N" |) V) ?6 l5 |4 g( `* Svar lrc =$("#lrc;show()").innerHTML.split("[");
& u) W- y! g+ k5 s1 Qif(lrc.length>5){, W* w2 s8 y: B+ |
var array = new Array();
& \! f Y6 f1 g; Ifor (var i=0;i<lrc.length ;i++ )
5 p4 n% f, k ]" G; f{
) R4 a4 Q T' c' X1 W var g = new Object();% ~% S3 `+ E6 C& G+ O0 V4 O2 U
t= lrc<i>.split("]");5 W" ?" V4 p# V! Y# q& X
g.time = getTime(t[0]);( o. s$ |. ~4 |
if(isNaN(g.time))
; Q: Z. F% G$ l4 R; d continue;
) @9 Q& H7 K- z' l0 ]; U g.c = t[1];
( V) ~ `; B @6 e6 B/ Y if(g.c == "")5 E6 _: |3 F; r/ U) V/ c* I. H
g.c = getNext(i); C# }6 x2 U- l& f+ V2 q' B
array.push(g);
) _" p8 |. |. n* H4 O}
& W( [/ H! G% v6 P* i7 w* Marray.sort(function(x, y) {' a! _2 E2 I* \
if (x.time>y.time) ! o& s1 n/ n; L6 M
return 1;
8 @% y& q3 A4 R) `% G else if(x.time<y.time)
, a; U1 l, H x! A1 a return -1;
/ {5 `5 ` E# f r! f( V else
9 S' d- D" N( ~! T: r; U( U return 0;
9 r6 y7 l' e) y }
6 @' N% n" H! ^% N- |);6 y: h) q* U# X2 P, }
for(var i = 0;i<array.length;i++)) d+ A( i8 d3 W% x& P
{
0 c7 o" b2 ?+ U9 `0 h1 | var g = array<i>;
) O, Y9 R6 v4 W. y2 M# c8 f if(!g.c){
! ?5 R$ J' U* z g.c="";+ Z) L% o' R0 L
}% n9 k( }- m. K
$("#list").innerHTML+="<div id=lrc"+i+">"+g.c+"</div>"; c1 v. F1 U& v/ ^/ A
}' i; x Y" C8 e, Z
var time = setInterval("lrcList()",500);
1 R1 [$ B& {9 o0 r}else{
; ~! k) |2 T; K: b! v; w0 q# I' N' O $("#list").innerHTML=$("#lrc").innerHTML;" A- D& x% v, u' q
}
6 D# [0 [: k8 d% M. _; z: }function getNext(i)
$ P& {1 j! A( f, T. y{
8 ]$ B- S/ k7 b' `3 g var result = "";
* t, r. i, q+ q: X9 H var i = i+1;
* C% w2 ]; i( P. ? t = lrc<i>.split("]");
9 L4 s' C3 }7 D) n0 S1 U if(t[1]=="")
+ z# h5 P/ a- {! U result = getNext(i);
1 J- x6 a+ \* v/ c' Z h' E else
0 q. }; V m. I7 s7 B. b result = t[1]$ ~. |" A* B i0 F8 C* V
return result;
, _* | {; L3 h- y5 w}
+ E" s, B, [5 u& @( F; ?5 s, w3 }+ k' y+ n& z/ i
function getTime(str)
2 ^8 Q( L3 |! b& P2 r{! @4 M% J; T c2 U8 o
var time =0;4 w& ]0 }, Z G4 H; h8 V
var ta = str.split(":");- P! ~7 E$ |$ P& B4 |/ w
if(ta.length<2)
; W, W# P8 h$ m9 H% `; c$ E return time;
+ `" O# d/ @5 T: G2 W0 i: q' Z; n( s% ?) G1 X g1 J
if(ta[1].indexOf(".")>0){" B' `3 \: v. [9 i/ F8 \ }$ a
var tb = ta[1].split(".");
b' V8 N6 D/ C2 p1 q& U" R time = ta[0]*60*1000+tb[0]*1000+tb[1]*10;, z& U8 S! W o, d- P
}
+ v; b2 A. K2 \- j5 q9 } else
* H+ m. ~- s o; ` time =ta[0]*60*1000+ta[1]*1000;
8 S5 F! y: G& X+ o return time;+ X+ s, }2 u* j$ r7 k# }
}8 d, P. b( c' |* ]0 h
var preTime = 0;: J; @- X3 t$ ~, k& B7 J. W
var nextTime = 0;
9 \& F3 J5 c9 I! Z# f. `, B2 s1 U0 ~var currIndex =0;1 I1 N( p" B0 z
function lrcList(){
2 f. M L* ~5 C* k' H# M# h var s = parent.document.getElementById("MediaPlayer").controls.currentPosition;
* f- l+ s! c1 c/ o; v' a s = s*1000;' d: r% J/ C" c' C; }
if(s==0){1 K* } g0 j4 `- J! [
currIndex =0;* S4 `! T9 { N
$("#list").scrollTop = $("#lrc"+currIndex).offsetTop-30;
, d7 n6 P. A- Q' x3 c1 R# [4 b for(var i=0;i<array.length;i++){& A; e: d3 a) B
document.getElementById("lrc"+i).style.color=colorNormal;, v" F) e7 G3 t& i' _; h9 h
}7 [/ N) g3 V% Y. r% P4 H
return;
( i4 p9 R; W; L# i# e- X }
3 z& p& v0 Z- Q if(s>0&&currIndex<array.length-1)
+ a0 s& D1 ]. n! G ]3 O; ? {
. O( W; I8 l7 i$ R) a preTime = array[currIndex].time;
2 j% ^; h5 k! N9 p$ x: v
2 c" m, h& A8 Z2 S5 ~/ U! I nextTime = array[currIndex+1].time;! e$ Q: r/ @ \2 e" v' T `
/ H8 R( r, Y5 y/ L% ~ x
if(s>=preTime&&s<nextTime){# t* x: ?7 I3 L
}
- ?9 ?& {5 m. I$ G else if(s>=nextTime)1 @: P( f5 G) r" \
{
. H, p0 x$ ?7 y- h. ^ document.getElementById("lrc"+currIndex).style.color=colorPasted;
& K5 Q, y# H8 y+ U/ y0 R* e' l2 y0 v currIndex++;
/ t3 N3 {9 {9 E# i2 j $("#list").scrollTop = $("#lrc"+currIndex).offsetTop-30;
) e! C' L/ L) D3 K# q document.getElementById("lrc"+currIndex).style.color=colorPlaying;
3 T& J+ Y. [& k lrcList();( l5 \% d$ ]) W( M; Q; c) W' c
}
; ~' z% Y2 C" D9 i else{+ w9 k9 K4 E; Z# \0 _' Y( ]
document.getElementById("lrc"+currIndex).style.color=colorNormal;# s6 L% m# e1 S5 b
currIndex--;6 r0 b- F, e, t+ B1 S* h# Y
$("#list").scrollTop = $("#lrc"+currIndex).offsetTop-30;
! ~7 d k% E, z0 Y G document.getElementById("lrc"+currIndex).style.color=colorPlaying;
- ~/ M) e& v, ^* W lrcList();
/ ^6 A# p- L7 F3 z$ Q }
6 X: n. J, m3 v, `4 ^+ P }3 s, W. |+ {4 [" k
else8 u- C0 C5 {5 F* \3 g9 a' _' x& w
{
( V9 d/ t! Q1 `5 |# H% a if(s<array[array.length-1].time){/ z( {" h, F( r; ? h5 P2 v$ g
currIndex = 0;' [# e. N' d6 V" M8 O4 O: @" Z
$("#list").scrollTop = $("#lrc"+currIndex).offsetTop-30;( z4 d' D m. j# f" b' [) ?
for(var i=0;i<array.length;i++){% K% f9 M @* R( Z
document.getElementById("lrc"+i).style.color=colorNormal;+ H, D$ b6 W* o" j* B
}, ?5 S3 `( n0 t0 p; i% M
lrcList();
- [3 U$ w3 U, N }8 f1 X( Y0 ^& V7 h
}- b8 @8 [* r0 m$ B
}
V. s8 c! @ T! r1 s z! |- F$ g</SCRIPT>
( Y7 {% K5 ]# ~ M+ }: n</DIV></DIV>
6 n9 `3 _6 o% t" r/ k$ g" D+ p3 p2 d6 u1 P
[ 本帖最后由 幽谷兰 于 2008-9-18 17:36 编辑 ] |
|