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