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