|
|
<DIV id=list>7 p; z; k9 p- D1 } N
<DIV id=lrc1 style="COLOR: #666666">[wmv=0] http://lzbj.ncedu.net.cn/uploadfile/20083923248279.mp3[/wmv] </DIV>
2 D) D4 M3 e! k- k* K6 ~<DIV style="COLOR: #666666">|等一分钟|听到这首歌,觉得它很动听,旋律很优美,很是喜欢,传上来给大家听听。</DIV>
, y0 ]9 y: m- O% W+ M<DIV id=lrc2 style="COLOR: #666666">词曲唱:徐誉滕</DIV>
$ {# `: s( v6 Q0 L<DIV id=lrc3 style="COLOR: #666666"></DIV># u! e# |$ I/ q, k0 U
<DIV id=lrc5 style="COLOR: #666666">如果时间 </DIV>
1 s" z! L; \' x& @" m<DIV id=lrc6 style="COLOR: #666666">忘记了转 </DIV>+ }; \$ m( Q2 [8 x( z: w9 G! e6 C
<DIV id=lrc7 style="COLOR: #666666">忘了带走什么 </DIV>
; N: M3 d1 z$ T% d<DIV id=lrc8 style="COLOR: #666666">你会不会 </DIV>
. @1 Q9 c8 ]4 I% g/ H& _3 O2 s0 i<DIV id=lrc9 style="COLOR: #666666">至今停在说爱我的那天 </DIV>: l' Z8 o6 I# ]$ @+ P1 ~
<DIV id=lrc10 style="COLOR: #666666">然后在世界的一个角 </DIV>/ ?3 x4 L7 l7 \% \
<DIV id=lrc11 style="COLOR: #666666">有了一个我们的家 </DIV>
' a4 X2 O& d- f0 C<DIV id=lrc12 style="COLOR: #666666">你说我的胸膛会让你感到暖 </DIV>
) K( u8 o9 u% E/ `6 [' Y<DIV id=lrc13 style="COLOR: #666666">如果生命 </DIV>, w6 r* |2 @+ j9 k: ?$ f+ `
<DIV id=lrc14 style="COLOR: #666666">没有遗憾 </DIV>
3 C4 [5 X& A( Q0 H9 \<DIV id=lrc15 style="COLOR: #666666">没有波澜 </DIV>
6 d# ]% C2 g) Y<DIV id=lrc16 style="COLOR: #666666">你会不会 </DIV>
3 k% q6 k$ c- l. V<DIV id=lrc17 style="COLOR: #666666">永远没有说再见的一天 </DIV>
/ |; I2 o. H2 H( S$ ~4 A5 m( A<DIV id=lrc18 style="COLOR: #666666">可能年少的心太柔软 </DIV>
2 t7 ]. n9 ~4 A! I1 m<DIV id=lrc19 style="COLOR: #666666">经不起风经不起浪 </DIV>
1 v$ O& a- K+ d. L: c5 ]; |6 T<DIV id=lrc20 style="COLOR: #666666">若今天的我能回到昨天 </DIV>
2 \' w4 V2 i6 o* d<DIV id=lrc21 style="COLOR: #666666">我会向自己妥协 </DIV>5 V; G E) P5 T( ^
<DIV id=lrc22 style="COLOR: #666666">我在等一分钟 </DIV>/ l' R- D4 ~9 L9 d9 o- G
<DIV id=lrc23 style="COLOR: #666666">或许下一分钟 </DIV>
/ r8 z& _5 ^' q7 N; O' ?$ H8 ] D<DIV id=lrc24 style="COLOR: #666666">看到你闪躲的眼 </DIV>' n P9 i2 f2 \) X, p; M6 P
<DIV id=lrc25 style="COLOR: #ff3300">我不会让伤心的泪挂满你的脸 </DIV>& ^; D& P4 G& Y' ?8 S( M, o
<DIV id=lrc26 style="COLOR: #000000">我在等一分钟 </DIV>3 h) p3 h$ y# r. B4 [
<DIV id=lrc27 style="COLOR: #000000">或许下一分钟 </DIV> V0 X! _8 f3 V0 o. C1 S
<DIV id=lrc28 style="COLOR: #000000">能够感觉你也心痛 </DIV>$ G5 J3 Q! L" o
<DIV id=lrc29 style="COLOR: #000000">那一年我不会让离别成永远 </DIV>
7 R* w3 |1 e! U<DIV id=lrc30 style="COLOR: #000000">如果生命 </DIV>5 o, D" ? F+ E8 Y
<DIV id=lrc31 style="COLOR: #000000">没有遗憾 </DIV>
' A/ {9 F! f' `<DIV id=lrc32 style="COLOR: #000000">没有波澜 </DIV>6 M |; K9 G; e( O7 R
<DIV id=lrc33 style="COLOR: #000000">你会不会 </DIV># m4 W& a9 ~* J J2 A" ]
<DIV id=lrc34 style="COLOR: #000000">永远没有说再见的一天 </DIV>' p: J3 I4 w4 ~' F9 j% P9 h
<DIV id=lrc35 style="COLOR: #000000">可能年少的心太柔软 </DIV>+ B6 G# a3 j/ W
<DIV id=lrc36 style="COLOR: #000000">经不起风经不起浪 </DIV>& Q+ S+ X3 J5 }9 o9 [0 v
<DIV id=lrc37 style="COLOR: #000000">若今天的我能回到昨天 </DIV>8 m7 V. C! U G9 k6 v, n) O
<DIV id=lrc38 style="COLOR: #000000">我会向自己妥协 </DIV>
0 q: O1 ]( p' k* B" V a<DIV id=lrc39 style="COLOR: #000000">我在等一分钟 </DIV>( f0 P) a! \/ I' j, i1 @
<DIV id=lrc40 style="COLOR: #000000">或许下一分钟 </DIV>
: [( x# x/ C. d' V/ ^* B<DIV id=lrc41 style="COLOR: #000000">看到你闪躲的眼 </DIV>
, H2 q6 }9 [0 g! N<DIV id=lrc42 style="COLOR: #000000">我不会让伤心的泪挂满你的脸 </DIV>% E6 {( V- W! e* Z: o3 }- S
<DIV id=lrc43 style="COLOR: #000000">我在等一分钟 </DIV>1 f7 E% d5 @8 ^# x+ f
<DIV id=lrc44 style="COLOR: #000000">或许下一分钟 </DIV>
, k% n Q: K$ n& h+ N9 N& ^<DIV id=lrc45 style="COLOR: #000000">能够感觉你也心痛 </DIV>
( w( p: [* ~' O: J% l<DIV id=lrc46 style="COLOR: #000000">那一年我不会让离别成永远 </DIV>
* M7 Y, V. D1 n- R' m0 i<DIV id=lrc47 style="COLOR: #000000">我在等一分钟 </DIV>
0 A$ u- y2 I6 F! J/ N( i<DIV id=lrc48 style="COLOR: #000000">或许下一分钟 </DIV>$ y% L# S: t( a2 f9 o$ h) O
<DIV id=lrc49 style="COLOR: #000000">看到你不舍的眼 </DIV>
2 Q# a6 a" e% g1 O. ?$ Z8 P<DIV id=lrc50 style="COLOR: #000000">我会用一个拥抱换取你的转身 </DIV>
, h: e z: @; c- f; R6 j7 ~0 f% N<DIV id=lrc51 style="COLOR: #000000">我在等一分钟 </DIV>8 V y* y# R( `; w
<DIV id=lrc52 style="COLOR: #000000">或许下一分钟 </DIV>: g% t1 w! I# U- S4 m
<DIV id=lrc53 style="COLOR: #000000">如果你真的也心痛 </DIV>
/ s5 b. p; y( d/ j<DIV id=lrc54 style="COLOR: #000000">我会告诉你我的胸膛依旧暖
9 C9 f1 U' H( `3 \) B$ }3 {<DIV id=lrc style="DISPLAY: none"></DIV>* ]; N$ A. \) u' k; z% C$ c+ ^
<SCRIPT type=text/javascript>% f( Q: X* |8 g/ `5 {. k
document.domain="1ting.com";
% `, [, n/ n* w* |" A2 h: E7 tvar colorPasted="#666666";
% v4 ~ b4 R( ] K) gvar colorPlaying="#ff3300";
$ u6 R7 _+ s* C1 E0 x: ovar colorNormal="#000000";& k; }# ~& d* {' y
$ = function (a,g){
: d4 Y/ y6 J% Y) v% g var o = new Array(); & M/ K I# l8 e1 j+ [' E0 k
var c = new Array();
, X& ^+ ?- j# x& s var r;
1 b5 e7 J% w0 X2 m& Y3 Z var u;
9 @3 T. a0 j* L; k# P) V% j) K6 s/ t4 n var a = a.split(';');
% K# @8 ~$ k; E! ^+ U' ~7 k; @2 o
' |4 u- t$ f$ M0 G var e = "keydowns,resize,load,dblclick,click,mouseout,mouseover,mousemove,mouseup,mousedown,inputchange,inputfocus,inputblur".split(",");
6 X% J5 y/ f- L# ] for(var i=0;i<e.length;i++){
, x! r/ P; v* V% p0 e8 L, w9 p eval(e<i>+" = function (s){eval($event('on"+e<i>.replace("input","")+"'))}")
! P" S6 `! e: t) r- T3 r }
' j3 z9 G* j- T
/ q, G' i5 W u6 h& L$ F after = function (t,d,s){
6 Q: t+ F8 F9 l+ X% r$ w" k8 ~ $after = function (){
3 H$ n9 B0 N' J. A var $n=document.createElement(t);
2 H4 M4 T% M. Y% [( f/ J* q) M/ f if(d!=null){, @0 B& O, u9 b
$n.id=d; % p' k# C O2 U( y) t9 K* q5 ~
}" S, Y' B, J$ `: ]
4 l9 h+ J1 Z- q# O
u.insertBefore($n,null)
9 G8 M6 V' s9 i) @: }! J% i r = $n; H+ E1 o/ P) y' J
u = $n;
" K" C% \+ l8 i! h. Z }" `3 Z: p/ b4 D: E# y
$for(s,"$after")
/ t- x' j7 p1 r3 U }) }9 Z5 k% D9 R1 o ]
. r* I I. K- Q2 w, I' u! j2 d
show = function (s){
: Q8 Y. k+ l2 S) N% r; Y: T $show = function (){
+ w4 u8 y3 u" s+ q$ Z1 o/ J+ ` u.style.display!="none" ? style("display:none") : style("display:block") ;
. N8 ~0 v- c! D }
, t& n( ]% z. F5 B, _ $for(s,"$show")7 b' c" V. W( {* V* b" ]
}$ w# S2 u$ q; S, F" s
7 }/ I7 C* t; `( U7 S- T H) G check = function (t,s){
3 E( c% i2 O& g% h. F+ _ $check = function (){
6 O' ]* {* d; g1 [ if(t=="2"){
# K+ P5 l& z; ? if(u.checked){
- h! ` O' f5 x$ T) } u.checked = false;
( ^0 A% ^# g6 s1 g, j" ] }else{. s( r) L8 o- s' l' u
u.checked = true;2 [ C9 D1 i# v
} S' u& ?6 b: T. |7 W
}else{
) `% w9 ~" c) Z. v, Y u.checked = t*1 ;
" p& O3 O; P5 o4 e3 C1 E4 }: h } }
) j+ n( m3 v5 {$ |5 ~% _ }
9 K' `$ {3 k: ?4 \5 O" o7 _1 S- T; ~ $for(s,"$check")
7 d. H ?& L# Z5 B }$ X4 x( ]0 p' ?6 n+ f8 q$ `
$ h9 i. O+ u% b' o% H, B7 q style = function (v,s){
+ f6 ?% p7 l# W% w5 w $style = function (){
. b) t5 c) `) r1 P$ g var $n = v.split(",")
% w% [& R$ |$ s! e" v3 f p+ a for (var i=0;i<$n.length;i++ ){
2 F) \% T) A' o( R% d var $m = $n<i>.split(":")
& s( i( p/ u- ?, _; k, q( I$ v- z eval("u.style."+$m[0]+"='"+$m[1]+"'");
1 V7 \$ r8 m: i) M }# A! k7 l+ \. M; L* U9 N
}
; {6 v9 e ]/ K: p8 z$ Q $for(s,"$style")% B F! x% E/ ? e L
}
. ^, s# m8 X- G6 x& N5 [% w* U
$ J" _- i7 T( p8 V value = function (v,s){! S( g# D& I8 V
var $n= $this (v);+ p' h! T0 \$ p0 I+ s
$value = function (){4 Y+ e r9 o' `0 U
u.value = $n
C; b7 h+ H4 O1 f }2 Z& p( \! }5 x& u0 C' ?% \9 j' ^
$for(s,"$value")
y, q3 n. V. ? }0 Y( o3 p1 I# c2 F! N; o* y$ n8 b: `
. ~- M8 @9 B2 J. k( S- v/ } text = function (v,s){" C. H' u2 o+ E( L1 ~% @1 ^7 k
var $n= $this (v);
2 F( K( X' u) t7 V O- M* R Y $text = function (){8 m8 C) M4 y+ E/ y0 F9 f
( v/ g# Y0 X9 j0 ~+ `7 h
u.text = $n
R2 I9 Q! h+ D) y9 B0 i& e }
0 w% B/ v; M& D Z2 H $for(s,"$text") 5 L5 e" G3 E5 J* l/ }' c
}
- {3 P3 Y6 l* p2 @) P: h: }
. u0 i" }0 |/ G/ g0 _ innerhtml = function (v,s){" I2 r5 @- ~/ o6 [, U. @$ X. r: N
var $n= $this (v);
+ D$ h$ M6 u4 w( N1 ^7 j% T $innerhtml = function (){
( C* m! e* P1 {1 M" y: I7 w u.innerHTML = $n
4 S. g1 r9 t- b9 d: y }
% Q D) J, m- P: Z& w $for(s,"$innerhtml")
0 P9 \' P) C' r$ d) U' T }& o6 |+ ~ H3 v) o* D! u
, D5 R0 E! o4 @/ F4 x
removechild = function (s){
7 U$ g5 @+ \/ P6 R8 s, [ $removechild = function (){
" G, v* `' X4 x% F7 q u.parentNode.removeChild(u)
7 c% { _% _/ t" r }
3 R, v8 b$ R7 S# i# k3 y $for(s,"$removechild"); ?6 {) E% p$ C* W7 P( _# V* C
}3 N4 T. L: L' A7 O) w
9 {- ?; y$ S5 ~/ X $this =function(v){% N: X8 r6 W" i4 } K6 e c/ p
if(v.indexOf("this") == 0){* R; w: _/ L2 Z1 n; k
return eval(v.replace("this","u"))9 ?" g2 y5 @! P/ c& r
}) y; }# w6 t# j0 }& a5 v
return v;
2 c) W2 o" M# {* h- e }4 ~( b# I% A( F5 F7 V+ t
) F% N+ R+ b% {% Z. T, C) i Y6 u $event = function (s){9 X! e' |% R+ c! I- \5 o6 P
var $n ="u."+s+" = function(){$work(this,s);}"
/ h- K1 O0 x. }( L+ `2 q6 ? return $n;' F6 y& L4 Z3 M
}6 N' } {5 b2 l) [" `& {
* y2 n2 P* x) Q$ R8 M
$replace = function (s){* `6 S( v9 Z' o+ e1 ~7 R: o8 S
7 E3 }7 f- W$ c/ S! u/ @9 d
}7 o6 z, ?: {; w' I
) ^% A, b4 H @2 I; j% t; g
$for = function (s,c){
X' i. e- b5 ~1 v var $n="this."+c+"()" ;
8 `: o; e. o. M& D/ v. C if(s!=null){7 a f- u. ^6 O6 R( t( Y7 i4 D
var $m =$test(s);
# G5 Q2 {; V! Q% L6 a! y. |/ ~4 [ for (var i=0;i<$m.length ;i++ ){
# M- T& |4 Q7 }' |: P7 ^ u = $m<i>;& T1 E; K4 q) z( X$ g# J, [
eval($n);" I9 s2 O- ~3 j9 i
}
( y% i& E8 N6 \3 h. g: Z: c& u- D }, e% m& r7 V- \' W
else{* R- {6 w3 d* |0 s( Y
eval($n);
# n* T) E" g- {9 v } j/ i; P U' ^! g2 N1 m5 ~
}
+ D& L& e5 u1 p$ n9 S) J: ^
: C0 o* M: p$ {( R* d6 t0 s $test = function (a){
?' _% d Y" j! {4 ~4 @ var o = new Array();$o(a.split(';'),o);/ J6 N1 B# V; u9 F" h, e
return o;
5 ~% h, M) \, E. X2 u" W. A }
4 p: y5 T! I# ~" |& L/ A2 l" z5 V0 T8 G/ L* Y( _# B
$format = function(s){
2 _* }# M' W* W |& `) T& o# g while (s.indexOf("'")>0){0 i# o- a" Y5 r! d1 H7 y8 {
s=s.replace("'","\"");
( g3 C7 M+ R, R( l0 C }
0 X' V, `' T# E0 M' _' c9 [+ ? while (s.indexOf("][")>0){0 w7 i e0 s/ O( \
s=s.replace("][","','")! ], T c( k m! w8 Y
}1 H1 T" ?1 T" P ?
while (s.indexOf("[")>0){4 `' `2 i( `: r
s=s.replace("[","'").replace("]","'")5 j) ~1 T& ~& C# N3 ]& q! T
}
' G, j( }0 e7 {2 M- L return s;
2 q% c$ Z8 _$ z6 x5 y* R# Q }
7 I. G# y. F& f* u7 F: t0 R* U6 f" v
$work = function(w,s){
0 `9 H* V, z i4 W+ G, v- U u=w;eval(s)
' O5 M: e! s+ s1 x, s }
( X ?/ i2 m0 U$ z$ Y$ t" \3 |* k
$ b: `9 J* ~- A# S5 M3 v $id = function (s){- a9 i5 y( y0 S7 y) N
return document.getElementById(s);; S5 W* @) h9 {* g- {0 G1 I' ~
}/ M4 x7 g0 R- N4 r g0 L
0 K. j3 U D; K U3 u
$name = function (s){9 u4 l- @ \! Q! [; a8 @9 k: d
return document.getElementsByName(s);* a' V1 {0 \. {0 h
}
9 Y$ `& P& R7 R2 _! a+ C" n: g
; q, g+ |* ?& m2 Q7 f $tagname = function (s){
- p$ z5 u( R' |1 P) g3 T8 K return document.getElementsByTagName(s);
2 `( z$ U6 @; u( F" g } @+ ?, r7 b% k4 j
4 X" j6 D$ T* l4 G4 t( }, I; L
$o = function (a,o,c){! O O. r1 e* D3 K( B
$push = function (n) {
6 x2 C% |8 E5 f) _ for (var i=0;i< n.length;i++ ){
# r& C6 ]& A2 d o.push(n<i>);
: p4 G/ l' X0 w: ~ } ; _; c* _ K1 Z8 w6 J/ l' f) \7 g
}" l/ C/ o( ^9 q+ p+ M* ?7 }! C3 J% s
for(var i=0;i<a.length;i++){6 B7 r4 A9 l: F; l2 n$ z; k' b
if(a<i>.indexOf("(") >= 0){$ y- R4 i8 q$ _. s9 Y3 ^" w7 p3 i
c.push(a<i>);. H. V0 z( z5 ?5 u; N! G
}" A; E9 T' S. i! W; E! h9 a
if(a<i>.indexOf("~") > 0){
9 j- @ C) ^$ p- o# z* G9 B try {
5 R3 q' s+ ^. c" t9 [# B $push(eval(a<i>.replace("#","document.getElementById('").replace(" ~ @","').getElementsByTagName('")+"')"));' n' M0 Q ?3 }. R8 }7 |6 v& J! v; B
}catch(e)
1 a" ?6 [- h- R# X/ ]. Z {}
R8 |# w* W7 Y7 c. B# V/ i }
~7 `( [$ L5 }# R d else{
: G; ?9 D; x& t& ~3 l5 H0 Q if(a<i>.indexOf("#")==0){
0 @9 c( M0 ~1 D+ N" V% |% J3 R( R o.push($id(a<i>.replace("#","")));
# Y5 H q1 n- v3 K. ?8 o6 |2 A }
7 K& Y0 k8 X( d: `7 {( y/ ]7 ]0 D if(a<i>.indexOf(".")==0){9 [& ^! o2 i' P2 J9 R7 B& p
$push($name(a<i>.replace(".","")));
( D4 ~4 J& e+ o5 v2 T; r; K }
" R& [( E B3 P4 V0 m9 d8 l/ L) c3 L if(a<i>.indexOf("@")==0 ){
4 [% k( ~( n4 a" S $push($tagname(a<i>.replace("@","")));9 s- W8 v0 ^3 s- r1 A* B( b# o
}# u5 e! Y0 ?7 N" I
if(a<i>.indexOf("*")==0){! s7 ^2 Z4 d1 K" y( s
$p= a<i>;
0 a6 C2 \2 `: f: q7 m6 L" t2 A% [ if($p.indexOf(".")< 0){" x. M1 L t, e+ K8 z
$p = $p.replace("parent","parentNode")
9 o% h& X( s1 P6 G; t }, \9 K# b' }1 L1 F' T
var $p ="u."+$p.replace("*","");
, [ a* J. a9 W while ($p.indexOf("parent.")> 0){% O1 U( q$ s# d
$p = $p.replace("parent.","parentNode."); F s% Z. j4 @. m2 z/ S
}
+ y; Z6 d. V( B$ c while ($p.indexOf("child{")> 0){
9 D; Z, ?/ n5 @( [ $p = $p.replace("child{","childNodes[").replace("}","]"): A+ M1 r$ {1 o3 f& c. y
}0 D2 y/ S" C; P9 Z4 g+ ~1 Y) h' e
o.push(eval($p));
- X9 O$ |4 d0 J5 g+ @' R! I }
$ O% n2 ^, n* i w if(a<i>.indexOf("document")==0 || a<i>.indexOf("window")==0){' P" i+ y! A$ ^8 Q/ C7 `
o.push(eval(a<i>));# [% Q" D, G7 l9 Y
}7 _$ ~( _* P2 v# B0 v
}
$ P- f+ |5 h0 N$ i7 p if(g!=null){
. b( x8 L) J% e. u% ` o.push(g);g=null
8 i5 h8 g9 I9 V, |2 Z6 g } # g. D, l+ a" ] i# v9 y
}4 b/ p2 N! C U
} R) x. ~/ q# }. P* S( m
2 P3 h+ u) }: A* a1 N
$o(a,o,c);
8 W5 a( x& p0 x" F
4 r2 L2 U( T5 B& @5 I for(var i = 0;i<o.length;i++){
! t2 q o9 x1 f& W9 u k2 E for(var j=0;j<c.length;j++){
. I6 B$ e e5 r+ s( \4 G u = o<i>;eval($format(c[j]));
9 J: V4 g9 U+ I3 Z3 ~& N5 T }
' L* H: ?2 d! G% h }/ I# k- Y* ]' t& n) f: W
* ` X' p8 o9 T9 T- }5 Z if(o.length == 0){: c& n9 ?2 V: K4 i# V+ {+ k9 E
for(var i=0;i<c.length;i++){
X4 b! _' W7 W eval($format(c<i>));
' l! o$ }* ?0 v: P }, k4 L* L; ]# i% p
}: j+ J, W0 r7 t+ x
- {; P* ^; c6 C5 W1 r4 o' N
if(r!=null){
0 S+ J' Z( R1 }) ?% Y return r;/ M0 W: [# L+ U9 p0 X$ ~
}
. s6 Q+ V: s/ C$ c# w1 _
5 p8 S* n$ e/ C7 a: ?0 H if(o.length==1){! y0 w$ X) b& C; G5 C: S( D
return o[0];
. g; I5 U7 n" w5 y }; ~' q+ Z. I* w6 _, c) I
else{! I7 s$ J* w* K4 W' g5 [! H
return o+ r' K, i. \8 j' K
} . b7 d5 W7 T0 X0 j
( q, E+ X. J U( v1 x" ]
}5 ~. T* u/ U3 T9 [
var lrc =$("#lrc;show()").innerHTML.split("[");: g( s- F* E7 j2 ]% D4 U" q# c6 y
if(lrc.length>5){
1 x! y; t7 b! zvar array = new Array();
' |& U- H/ H* H5 d3 N6 ufor (var i=0;i<lrc.length ;i++ ); Q. ^! B$ G6 v" ~! Z, n2 x5 m
{
2 r$ }# \3 h% c9 }& N var g = new Object();/ s, m5 { J7 ~2 a9 u' Y! W) m
t= lrc<i>.split("]");3 P! ?+ ]8 C& L* O
g.time = getTime(t[0]);% L. X3 _, M: l* I$ M9 w$ H
if(isNaN(g.time))
% k7 Y. ]0 y# }3 I' `9 f8 h continue;: _4 F: i+ Q1 G, e! R& `/ \$ Q
g.c = t[1];; A& j* n3 ]5 {6 ?: W2 X
if(g.c == "")7 ~: j" `; p+ ?) g8 h' v, A
g.c = getNext(i);$ N5 X/ {! e: ~' ]2 s3 W7 L
array.push(g);
, x/ [% X% k( j& {6 i! V}
( `# N6 c1 i% m7 W% Qarray.sort(function(x, y) {# w% ]% ]$ ^3 ?' t1 R/ H& |
if (x.time>y.time)
/ P6 }5 m4 V6 ` return 1;
: f: |& Q' R: _' k else if(x.time<y.time); Z; W. @! Z7 g4 _" G* r9 J$ Q
return -1;
7 {9 u2 Q4 N& f$ w% O else2 g3 Z5 h- @$ y: l6 t/ f2 R0 e
return 0;
& c% S* o% K8 k8 p' [. p$ N8 Z" n }
3 M0 t% Z1 b5 y) i; i8 L& A, T);6 Y8 j5 m) i, j0 B8 l" m L; c
for(var i = 0;i<array.length;i++)
' E6 U1 h. o: P# J{& {4 i2 V# m% S$ K! P0 J1 f
var g = array<i>;
: H1 N0 l0 y: P7 d if(!g.c){) g) }; O; i9 C( |/ s, n9 M
g.c="";
( l; J/ }: G7 t }9 c0 G" G; t. {% P; I5 x U9 W$ |
$("#list").innerHTML+="<div id=lrc"+i+">"+g.c+"</div>";5 E/ p9 Z4 ]0 ?, h" ~5 i+ L G8 Z$ e
}
8 h3 K/ s2 R& S( O% S3 L% zvar time = setInterval("lrcList()",500); ' G% U% x1 ?) f8 L7 g
}else{9 e1 T l" M* k$ [
$("#list").innerHTML=$("#lrc").innerHTML;$ T( ^0 V3 A4 ^5 v0 P! |8 i4 v# D
}' _4 I2 W% @+ Q, U1 F7 _; B
function getNext(i)
' @6 \' d2 t0 n* J' w% J* ^{
4 p, Q6 v4 W% F var result = "";
9 u, s3 e1 e# c5 f var i = i+1;' |3 `% C/ `' R7 x: ^3 G* T
t = lrc<i>.split("]");
; f1 i5 |! Z; ^- x if(t[1]=="")
1 `6 p5 ]1 O( g4 p result = getNext(i);) i$ U" q2 M0 n5 `: t/ ~( n- l0 f$ t* g
else
6 O9 r2 ?$ q1 f3 y) R result = t[1]2 s& S- _+ i/ K2 R
return result;
3 ?; f2 g, u8 s}* \; K' C6 f( |! P- X& J
" ^4 T% U/ @2 B( Q* @
function getTime(str)# N. O& O1 E6 D8 G5 N. a4 u
{% s# n# e8 L- M7 `- r- g
var time =0;9 y L8 r. o0 h" H$ |
var ta = str.split(":");
1 E- @8 @5 a( r1 T. O2 o if(ta.length<2). b" G1 n) \, d5 ]+ ~1 W7 W
return time;
/ f3 `& k- b0 P" d
3 x# F) P' g' \6 a" s/ r! O0 {" M if(ta[1].indexOf(".")>0){
7 {, c: k' b* h7 J+ [+ Q var tb = ta[1].split(".");& _/ o3 T4 J5 }
time = ta[0]*60*1000+tb[0]*1000+tb[1]*10;2 J7 `9 N( R4 c0 {* f6 P. C
}
5 b- `, ~& ]8 e7 W" T* z. j else5 J1 o7 O ^- Y: F
time =ta[0]*60*1000+ta[1]*1000;
* ]7 o4 R1 Z2 r0 k; w+ V: W& ? return time; ~' U) D2 R. X% R' I
}! n" z/ y+ o6 F8 i
var preTime = 0;
4 g9 Q: M! k& U5 a8 ^! s2 x6 ^" j+ gvar nextTime = 0;
; R2 O8 S2 h5 k) J6 l# m4 F7 lvar currIndex =0;& i9 N) C1 w1 Q# `0 r* |
function lrcList(){
# L, u2 ^1 | m0 Y, S; f! ~* E& r var s = parent.document.getElementById("MediaPlayer").controls.currentPosition;. v" `2 ?/ P& P; d% a5 C+ v! Q0 O
s = s*1000;8 B% W! @4 }8 Q8 ~
if(s==0){
% E$ A4 N3 _, ]) C/ M5 u currIndex =0;
K9 m$ K: n" N9 e6 r7 c $("#list").scrollTop = $("#lrc"+currIndex).offsetTop-30;
L2 r; [! Y8 T% C: a$ V3 q: T* d for(var i=0;i<array.length;i++){" d) ?! j0 _8 u
document.getElementById("lrc"+i).style.color=colorNormal;
& {! T8 z/ J* k% P; ~ }
. V+ t* v% k+ D& c8 M5 R return;
% D) B& V% ] M: t+ z3 K. X; C9 A }/ r% b: y* s8 v8 S6 m
if(s>0&&currIndex<array.length-1)& Q& Z N/ S) h: O% d
{
, v9 K9 G8 @+ r b# I% Z! y( w preTime = array[currIndex].time;
5 E0 E" |0 ~6 r: A5 _
9 p3 A6 v4 Q; i q- s nextTime = array[currIndex+1].time;
$ k' d( T N) C2 g1 ?, Z5 j
* ]/ G, { o) w z2 O% |* D if(s>=preTime&&s<nextTime){
0 v$ ?; Q, y# r: H6 `7 n3 T: l }+ Y5 X+ z( s2 |( j
else if(s>=nextTime)
6 M2 h+ R$ C8 L+ U {
; G# F* N) Y+ W1 p+ \# s document.getElementById("lrc"+currIndex).style.color=colorPasted;8 ~3 I2 u' Z' x7 m8 ^
currIndex++;& t S; ~1 H1 t ?
$("#list").scrollTop = $("#lrc"+currIndex).offsetTop-30;; q1 v1 l1 }+ A( M
document.getElementById("lrc"+currIndex).style.color=colorPlaying;; W5 M/ g$ a* Z X* [# m
lrcList();' [5 y/ t: r# o6 q5 F; F) h
}
3 M: S/ Z% X; ~) r: Y5 O5 u else{- k& P. Y& F4 o g, ?& h3 l, R& Z& A
document.getElementById("lrc"+currIndex).style.color=colorNormal;
, e( |% D) x, k; |! l/ e0 |7 |7 E currIndex--;
5 J$ W% ~+ R" r) L% N# K $("#list").scrollTop = $("#lrc"+currIndex).offsetTop-30;+ i! u" e: j( @+ @" r
document.getElementById("lrc"+currIndex).style.color=colorPlaying;# I+ O9 u: Q0 ]6 H" G( M
lrcList();
3 e& i( K v. { ~4 T% T } $ P( T- B5 J7 S. m
}
/ N4 P6 U+ G% j6 v' `$ q else1 U2 M6 \, h9 \9 X) D" R
{# ^: D; [1 f0 i( c% k( c9 x6 p
if(s<array[array.length-1].time){
$ D5 o" I5 [% t3 v# X! @. V currIndex = 0;
' m2 l1 i- ], Q% x; A: e1 v $("#list").scrollTop = $("#lrc"+currIndex).offsetTop-30;
; g! g a' ^8 P0 f( F" k; U/ x/ o$ }) k for(var i=0;i<array.length;i++){
. \2 H" g; ^* l8 `7 |) H9 A document.getElementById("lrc"+i).style.color=colorNormal;
/ T4 k6 F; x# ? }
# S2 e$ Q' c9 u1 y, d lrcList();! E* C* @9 {7 W
}) I4 ], p$ J* x4 c; d/ X2 \
} z6 F I8 Y, p; H+ T
}' p6 p/ B. ]* C2 G+ e
</SCRIPT>
! j3 W8 x7 q. }! k }1 Z5 j</DIV></DIV>4 [. q* G: |& Z4 e
4 n# \1 ]' @, X* M[ 本帖最后由 幽谷兰 于 2008-9-18 17:36 编辑 ] |
|