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