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