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