|
|
<DIV id=list>
% b" S/ a! }3 T. \: s<DIV id=lrc1 style="COLOR: #666666">[wmv=0] http://lzbj.ncedu.net.cn/uploadfile/20083923248279.mp3[/wmv] </DIV>
9 C0 y8 [# q1 u8 a/ Y8 Y* M3 T3 H<DIV style="COLOR: #666666">|等一分钟|听到这首歌,觉得它很动听,旋律很优美,很是喜欢,传上来给大家听听。</DIV>* u7 W1 p3 T' Y) }& `$ j
<DIV id=lrc2 style="COLOR: #666666">词曲唱:徐誉滕</DIV>: l% d& E$ e) \! T
<DIV id=lrc3 style="COLOR: #666666"></DIV>
6 O$ h0 W& J% Z B<DIV id=lrc5 style="COLOR: #666666">如果时间 </DIV>" I7 J$ U. \ r7 a
<DIV id=lrc6 style="COLOR: #666666">忘记了转 </DIV>) ^5 ]! E; `# S2 R0 p
<DIV id=lrc7 style="COLOR: #666666">忘了带走什么 </DIV>: n* _1 U2 c, y6 H( M
<DIV id=lrc8 style="COLOR: #666666">你会不会 </DIV> f+ A0 L( w% D8 x: w, _! q+ }) j
<DIV id=lrc9 style="COLOR: #666666">至今停在说爱我的那天 </DIV>; d" `3 A c, b9 a
<DIV id=lrc10 style="COLOR: #666666">然后在世界的一个角 </DIV>$ T% u z% J1 r
<DIV id=lrc11 style="COLOR: #666666">有了一个我们的家 </DIV>1 j& P& p7 n$ g
<DIV id=lrc12 style="COLOR: #666666">你说我的胸膛会让你感到暖 </DIV>
# R9 K* @# b4 C. a K+ C6 R- _& E<DIV id=lrc13 style="COLOR: #666666">如果生命 </DIV>
% g, T* H: f" ] p<DIV id=lrc14 style="COLOR: #666666">没有遗憾 </DIV>2 I8 Y+ C" l# {8 `& m
<DIV id=lrc15 style="COLOR: #666666">没有波澜 </DIV>4 z1 _; E2 q. i: n6 f4 }) w
<DIV id=lrc16 style="COLOR: #666666">你会不会 </DIV>
! `7 G( T% I" z7 {. k! w# S# L<DIV id=lrc17 style="COLOR: #666666">永远没有说再见的一天 </DIV>( G/ V& e7 }$ P5 B1 d1 r
<DIV id=lrc18 style="COLOR: #666666">可能年少的心太柔软 </DIV>
- f/ O2 g( @ q3 I: Y3 X<DIV id=lrc19 style="COLOR: #666666">经不起风经不起浪 </DIV>5 X5 I1 j& V, V3 n* H. \
<DIV id=lrc20 style="COLOR: #666666">若今天的我能回到昨天 </DIV>
7 h$ i% s3 B# j; A+ y<DIV id=lrc21 style="COLOR: #666666">我会向自己妥协 </DIV>
1 Z' c& d6 g; R. U" r J: M, s<DIV id=lrc22 style="COLOR: #666666">我在等一分钟 </DIV>% C( S2 L8 _( @" n( c
<DIV id=lrc23 style="COLOR: #666666">或许下一分钟 </DIV>3 }& f( s! @+ @& ]8 @5 _
<DIV id=lrc24 style="COLOR: #666666">看到你闪躲的眼 </DIV>" U5 [; U2 S. b+ P& O: G; k2 D: n% f
<DIV id=lrc25 style="COLOR: #ff3300">我不会让伤心的泪挂满你的脸 </DIV>
& Y; ?+ \# l& L2 R; Y' V<DIV id=lrc26 style="COLOR: #000000">我在等一分钟 </DIV>
: x9 d% `# D& O<DIV id=lrc27 style="COLOR: #000000">或许下一分钟 </DIV>1 m# b V/ Y$ B6 g" D- q3 X
<DIV id=lrc28 style="COLOR: #000000">能够感觉你也心痛 </DIV>
- o3 s+ H( ^, b) T! u<DIV id=lrc29 style="COLOR: #000000">那一年我不会让离别成永远 </DIV>
8 {/ E3 r# H7 |' s! O& {<DIV id=lrc30 style="COLOR: #000000">如果生命 </DIV>
% K7 K$ u& Z$ r* E( C<DIV id=lrc31 style="COLOR: #000000">没有遗憾 </DIV>
& A4 i3 Y0 M% W" m! F<DIV id=lrc32 style="COLOR: #000000">没有波澜 </DIV>
7 t. r' P0 v" [8 y1 \<DIV id=lrc33 style="COLOR: #000000">你会不会 </DIV>. n' Q1 o, P2 O# o( W
<DIV id=lrc34 style="COLOR: #000000">永远没有说再见的一天 </DIV>) H$ m# M; {* Z3 N
<DIV id=lrc35 style="COLOR: #000000">可能年少的心太柔软 </DIV>
: D4 A: v2 N( v<DIV id=lrc36 style="COLOR: #000000">经不起风经不起浪 </DIV>
' \8 w, H6 L: T N. L1 @; R9 n<DIV id=lrc37 style="COLOR: #000000">若今天的我能回到昨天 </DIV># l4 s/ H% J0 |6 J" u9 g' K7 G
<DIV id=lrc38 style="COLOR: #000000">我会向自己妥协 </DIV>& t* e; T5 n( m
<DIV id=lrc39 style="COLOR: #000000">我在等一分钟 </DIV>6 ?9 q# ?8 N; q! m# L& C4 {+ ?
<DIV id=lrc40 style="COLOR: #000000">或许下一分钟 </DIV>
" r: q7 U3 F% w' ~<DIV id=lrc41 style="COLOR: #000000">看到你闪躲的眼 </DIV>: S! Z5 \: j: K8 U$ r. W+ s
<DIV id=lrc42 style="COLOR: #000000">我不会让伤心的泪挂满你的脸 </DIV>
# \ `( u4 m1 {, z, c5 l3 ]4 T<DIV id=lrc43 style="COLOR: #000000">我在等一分钟 </DIV>' C: B" r! A: a' l+ U' I! U
<DIV id=lrc44 style="COLOR: #000000">或许下一分钟 </DIV>
% |& ~1 K! n G% j9 n; x' s/ E* I L<DIV id=lrc45 style="COLOR: #000000">能够感觉你也心痛 </DIV>
' a7 K4 C* l& m a8 Q7 M7 \<DIV id=lrc46 style="COLOR: #000000">那一年我不会让离别成永远 </DIV>6 o* d7 h3 N1 h) J9 T$ a' \% S
<DIV id=lrc47 style="COLOR: #000000">我在等一分钟 </DIV>
" s8 T" `4 M; ]0 G<DIV id=lrc48 style="COLOR: #000000">或许下一分钟 </DIV>
( _6 l# [& D/ B% }<DIV id=lrc49 style="COLOR: #000000">看到你不舍的眼 </DIV>: Q4 l6 [, G: I6 s
<DIV id=lrc50 style="COLOR: #000000">我会用一个拥抱换取你的转身 </DIV>
; J5 F0 U: ^) ~<DIV id=lrc51 style="COLOR: #000000">我在等一分钟 </DIV>
. ?- S2 Q. I. p$ d7 }- M; T<DIV id=lrc52 style="COLOR: #000000">或许下一分钟 </DIV>) d! X: ~9 p0 R1 l! r' G; `
<DIV id=lrc53 style="COLOR: #000000">如果你真的也心痛 </DIV>; @/ b2 W2 D- Z0 i' i6 t; B
<DIV id=lrc54 style="COLOR: #000000">我会告诉你我的胸膛依旧暖 - w! f9 {( a* U. H5 [; t O' s
<DIV id=lrc style="DISPLAY: none"></DIV>
" {$ M1 z) }8 x# [; i L3 ]<SCRIPT type=text/javascript>
4 A2 G, p6 f8 ~document.domain="1ting.com";
9 v9 m# a# B; g1 evar colorPasted="#666666";
% {2 b# p" V+ |6 g$ {2 ~6 R" Gvar colorPlaying="#ff3300";6 |* A/ d* f9 X5 c! E. E
var colorNormal="#000000";7 Q* L1 i9 P6 J# ?
$ = function (a,g){" K/ L2 d7 u& ?$ T5 ~
var o = new Array();
1 b$ @( _: L& L8 p, b; Y( { var c = new Array();
6 P9 l& O. a4 M, i7 W/ y1 ~, j var r;
6 M* |+ P- m5 {, s! G- x var u; - P/ f, r4 B% {
var a = a.split(';'); $ X; I/ n- M8 M" {* X: ~7 ~
, N, e9 v# }! i# }9 z: y* I y var e = "keydowns,resize,load,dblclick,click,mouseout,mouseover,mousemove,mouseup,mousedown,inputchange,inputfocus,inputblur".split(",");. R# u0 G1 S+ Q. p0 h* @, j u
for(var i=0;i<e.length;i++){( u4 Z9 ]: \8 V' \
eval(e<i>+" = function (s){eval($event('on"+e<i>.replace("input","")+"'))}")
" R3 h" c' f9 o0 p* K7 m }% E. e) R3 Q+ b. S% A' q, I; C
- X( o8 s. E, h# v6 u g0 w
after = function (t,d,s){7 Y8 J" a$ d: s. Y' D7 P
$after = function (){7 W* \7 M0 U- K" B
var $n=document.createElement(t);+ M# H) [. A, s, E; X/ \
if(d!=null){ e0 u, F# J( D) G9 h. G, n
$n.id=d; , j' ]. g" q+ K' R. P2 U
}
0 D, o$ @4 _/ v: I) r- m
6 j7 l- @/ \ E% x0 K$ x u.insertBefore($n,null)
3 F6 L' B. O* R' l. u! \ r = $n; 1 ^; }* H o# V( u" B
u = $n;
9 f/ x# O S: ~7 k; F( W }5 j7 U* g' E/ O
$for(s,"$after") t) Y; Q9 A) o( C
}
- F7 s) C \8 A( q
2 ]: }7 g/ t$ i' y/ ]: J; n, \! ?" N$ v show = function (s){. B Q3 u" k4 x, V+ m$ _8 H X& ]1 w
$show = function (){
" }# w# \$ [4 D5 o2 W* i' ^ u.style.display!="none" ? style("display:none") : style("display:block") ;
; f; X& L( j$ i$ S* K5 Q }9 W( i2 ~; H- l! ^% ^4 |, b
$for(s,"$show"). K0 [, p1 `" E5 B: g* X5 [+ c
}% L8 ?% P* B4 @
& u9 Z* ?& z2 U' _( W' E
check = function (t,s){. ~2 l2 ~ K# t% Z
$check = function (){
( R) K3 s; N& Z3 J) W( u if(t=="2"){
; _$ J& n7 T5 v4 d6 | if(u.checked){& l0 ?5 U5 X- N6 f
u.checked = false;
/ y9 J9 Q" R( n" Q! s' _ }else{
, z7 m& {6 M5 }% B# Z, A# @ u.checked = true;
; n { \# K: F( k6 F8 T) t$ M9 B }
7 Q, L: x( w& X) z- O- h }else{
& R( n+ B6 O4 I6 b/ j8 T u.checked = t*1 ;
8 X* [. ?' V% ^8 |4 @; V$ Z. n }
" {8 }9 {4 U7 F }
]% b! j4 V- }7 f9 S $for(s,"$check")
1 P7 [5 N% f* Q5 H }
& e% X9 z* A) C7 Y9 ?/ B7 ]
3 ?1 M# s# K4 k6 Q9 B) S- L0 D style = function (v,s){( H Z* d' j% h4 _; i
$style = function (){
( n4 V& @) m& ]/ ^ var $n = v.split(",")
6 G3 X+ J' k. G+ D! h K for (var i=0;i<$n.length;i++ ){/ B; y; l B5 J: N9 X2 p
var $m = $n<i>.split(":")
$ c5 v P* v, u S eval("u.style."+$m[0]+"='"+$m[1]+"'");
3 W% i2 z* s7 \ }+ P: h) |6 f( F ^
}
% R) a9 x4 d( Y3 Z $for(s,"$style")
6 ^6 k7 s# N* Y }
' J, h( }# x' u5 ]+ a7 m
- |% T$ A) [5 K8 r( i) b value = function (v,s){
' |" w0 h! M! N8 \- A4 z8 ?5 g! S var $n= $this (v);
( x" ]7 h2 h0 h1 T, I3 p $value = function (){6 [$ X# ], Q# S. F
u.value = $n
' Q$ i, n4 V( T a. q }
" \+ w- }$ F2 @2 H+ m! b7 U. j( h2 e $for(s,"$value") / N% p, n' G- o9 e6 m4 ]6 ^) _
}
/ f1 ~& V! e6 h. C9 w; x' k
2 y9 E0 i$ _4 S- d text = function (v,s){, K8 t$ g6 l6 P- J q
var $n= $this (v);% e. }0 f! l* {: i( \- x
$text = function (){
1 k5 N% D- j5 l% Z) y, p
* i$ X& `' [/ I& J( W2 [ T/ o7 @! @ u.text = $n
; L: k" z/ l4 M6 W; G5 L- C }2 Z1 T: E: i( U, b5 S4 E6 T% f6 ~! P
$for(s,"$text")
/ n* @" M* {- e }
4 e% n# B5 ^+ V5 F
/ g1 n0 y- n u innerhtml = function (v,s){
, Q& G! J* Z5 G# s var $n= $this (v);+ R# i- d% S$ }0 z8 c
$innerhtml = function (){
, _4 I, N) W- D% Q2 y u.innerHTML = $n8 ?# |7 |- r2 v! Z+ S% x+ ^
}6 P1 |* W, P6 U3 P
$for(s,"$innerhtml")% }/ A0 R1 P( S6 k
}
! @8 T2 y# j* M- \# M5 S7 R
# `0 p+ S- e1 x" H7 f removechild = function (s){8 N( h) l. V5 r
$removechild = function (){
, s, `7 Y; j4 A0 w9 p u.parentNode.removeChild(u)
0 @) U+ @$ Z; p' l2 f9 R }3 c k! b0 g$ ]9 R3 R
$for(s,"$removechild")- |/ j2 T8 C, o
}
1 C' |, Y% h. t' _0 f C, W0 ~4 t
' ~/ r6 ?9 J2 ^- o6 m6 Q4 \7 G $this =function(v){0 }( c+ ]) m9 {% b7 {: \
if(v.indexOf("this") == 0){, E+ l5 P$ _9 X* o* O
return eval(v.replace("this","u"))
9 l! R. G# w( p" c9 W# c- [' s }, ^* F0 S- d" ^' G
return v;
- M; B4 h1 i5 s5 B4 T* J. q }! \% f f1 R3 [) L1 G% X
, o! k% [, d0 v4 K
$event = function (s){. p9 n! p# A2 \ W% d: C) _. X
var $n ="u."+s+" = function(){$work(this,s);}"
6 i e3 v* @# E) M+ }/ B return $n;, u' j# ^% t M: Y
}( N G+ R/ H- r
, r/ V8 p/ m4 y1 @ $replace = function (s){9 F1 K0 j h* {. S2 h1 b
+ o4 @* D+ g" e' u. L) `
}3 B3 J1 o! m6 x8 \- X; b+ d
0 K: T$ k4 |$ z7 B $for = function (s,c){
( }: n$ F+ s4 g7 n" z var $n="this."+c+"()" ;
e8 O# g$ }8 U6 A, C if(s!=null){! ]8 D: {& p1 k* x6 M7 w2 D' E% C
var $m =$test(s);
' z9 E1 ~: u5 G$ v% _( R. X for (var i=0;i<$m.length ;i++ ){
n, ]# d j) |% P u = $m<i>;+ d! s- a' ~& D2 S
eval($n);
/ @3 L, ~% A5 K9 B }0 ^1 Z, G' L8 k3 F: V$ T
}
3 H' b4 m. G8 D0 t else{9 K. U0 _7 Y( j- [, e+ s
eval($n);
+ ?5 v8 W& q! J! J0 d }
; u) z# K0 V* l }1 Y: } X: g, W: h4 s' y5 f
- R; J1 x$ r* {. w
$test = function (a){
5 a- z1 }% L* F/ H* a var o = new Array();$o(a.split(';'),o);4 c6 h5 z1 F. _+ }
return o;6 h1 s9 ]& ]% |# @- i1 x2 B" B+ S
}- F2 k3 h5 A0 i' [2 ^$ u }! H8 J
5 [3 P% w9 {4 w $format = function(s){
/ S# h7 X$ m+ F while (s.indexOf("'")>0){
' \9 C$ ~: r) ~* {8 D8 p$ L6 O' f s=s.replace("'","\"");. Z0 q- P' Q* i- O5 _
}
( A1 a9 ], b" |4 w: i$ k2 |, H8 P while (s.indexOf("][")>0){
5 X5 {/ V1 ? J1 _ s=s.replace("][","','")8 D% z! M) [% W
}
4 q( ~9 R' o- I F! N: Z ]/ m while (s.indexOf("[")>0){; S/ y. o6 Z! @6 T
s=s.replace("[","'").replace("]","'")
9 L) j& U4 V' K$ a0 M/ z/ J+ X }
0 n2 x& Z4 P h6 o7 ?3 A2 j return s;
* j! Y% I; Q1 c$ D$ b r }
2 x, m$ L M, F) `- y4 B+ _+ l0 W
' p' s$ i2 |; |$ E( g0 [ $work = function(w,s){
; Z- o9 N* q# f7 D- G u=w;eval(s), H7 I3 d& G6 r+ S- N9 Y1 _( ^: p
}- f6 l% l& X7 ?- ~
' G8 k0 i. K$ e. N' j
$id = function (s){" w* N' z2 |- ~
return document.getElementById(s);
9 B4 A- G/ N) X) a1 @ }7 e1 ^5 L( N; L! ? {- O
& [' w, i% p8 [+ L- G
$name = function (s){
2 Y2 u6 a5 ?5 b. ?$ H* J% X0 n* N return document.getElementsByName(s);7 D4 t5 h M8 e9 q
}* l+ ^. D5 u6 { I/ ]
) |% |* u2 R" j: @ $tagname = function (s){) U1 p Q; B4 y6 K4 O: W6 x
return document.getElementsByTagName(s);' ^6 K! R0 i; f8 j5 o
}8 D5 C- y2 B0 @
- K* {& x' G. A8 e% X8 [ $o = function (a,o,c){
6 _# L: J: j# j# ?. f $push = function (n) {
; G. ~, e3 w' D. U% W; ~* ? for (var i=0;i< n.length;i++ ){
/ o1 N s+ J( A' j/ f& [ o.push(n<i>);
[6 p) g2 v6 ^! p' P7 C } 6 f$ d, p8 ]+ |) e x
}
0 u1 [- E" r/ b/ F+ ?' o for(var i=0;i<a.length;i++){
- Z8 B9 q/ C* n/ b if(a<i>.indexOf("(") >= 0){
( \$ C0 |6 g9 a- R v u1 j c.push(a<i>);, c+ Y8 E8 f* w. Z% A% ~, W% T. O
}
+ }6 D: L$ W+ q- U9 Q9 a9 N if(a<i>.indexOf("~") > 0){2 n8 C5 g4 r" i) {3 Q# d
try {
+ W9 K5 e3 j, K' X $push(eval(a<i>.replace("#","document.getElementById('").replace(" ~ @","').getElementsByTagName('")+"')"));
; x# A$ F7 j9 c }catch(e)
' f" ^$ w8 ]' g {}
, b8 a4 `+ q! v' b }, z z8 ^) l- [7 ?# C9 o
else{1 a+ Q7 v6 G, X4 k% x
if(a<i>.indexOf("#")==0){
5 _' C$ w& ` o1 {5 F o.push($id(a<i>.replace("#",""))); u; w4 p9 G, a% a9 p9 r
} \# Z7 J' e9 @% C% z' U/ d
if(a<i>.indexOf(".")==0){" O) |3 e) e& {
$push($name(a<i>.replace(".","")));( y5 {) z2 Z+ X3 g* d: D
}# |# B+ |2 f7 m7 I! x" [$ |5 f9 _" D
if(a<i>.indexOf("@")==0 ){
* c( ?9 L- l9 ], w3 X5 p/ z/ g- | $push($tagname(a<i>.replace("@","")));
5 X" x* {# r, |3 v( W4 @3 p) ] }% x: I: {% y6 s$ b8 j8 N
if(a<i>.indexOf("*")==0){
8 h1 k7 U; B" ^& k8 @1 I$ l( @ $p= a<i>;
9 ?) N" |3 y* \* R! B if($p.indexOf(".")< 0){
" V! l* x0 e7 D& t4 r: M $p = $p.replace("parent","parentNode")
; W4 A9 V) S. c }
/ ^/ b! }: l; G var $p ="u."+$p.replace("*","");
) K' I3 K. ]4 ^" ]4 f while ($p.indexOf("parent.")> 0){! K' f1 s+ [% ]! E
$p = $p.replace("parent.","parentNode.")
5 g+ \( n' ^' p+ M$ Q }
) h" |# M8 k; c' a" O+ q# d while ($p.indexOf("child{")> 0){8 t0 H7 o3 I. L: L
$p = $p.replace("child{","childNodes[").replace("}","]")6 y' B2 l! T3 D5 G
}+ ?. I2 E$ _3 C& [- u- `8 F
o.push(eval($p));3 M) A1 G& z. ~
}% r* K/ y% p% Y4 T" W. B
if(a<i>.indexOf("document")==0 || a<i>.indexOf("window")==0){
, x C& v: R+ n& D. y o.push(eval(a<i>));
. |; i+ ?3 j, R' w" v }
) J% Z$ g, }5 l2 W) b8 ] }1 {! A. \* H* G2 k! s
if(g!=null){ - M: i& N) `# }; G) {3 B- o" K3 ]
o.push(g);g=null
+ O2 x( y$ H P/ y3 `; }- {- Z } ( |5 y9 r& s2 o7 A( P
}
" X0 p# `, @1 D; ?: x) K }0 b0 m: t+ ]- s' g5 C A. q$ u
$ ^) A. O+ _/ @& ` $o(a,o,c);- L4 D3 N* `1 e0 z; c$ B1 F/ h
. P" }: H% b' n) B2 ]9 u$ p for(var i = 0;i<o.length;i++){
6 `9 y8 V2 T3 f3 O/ K/ _ for(var j=0;j<c.length;j++){ C7 Z4 a5 s' k6 s. ]- [( e
u = o<i>;eval($format(c[j]));
' `, t7 n9 [: U$ y' d }( O7 G' g6 }& U0 e* E7 |
}
" V/ s% c& U$ x7 N }5 T) K+ _6 O$ D2 o4 N# v( w9 K( k, X
if(o.length == 0){
^% c' w) n& w' [8 k u for(var i=0;i<c.length;i++){5 A+ q0 b7 d% p- a9 \
eval($format(c<i>));% `, b1 J6 |; U, q2 P ?7 m
}
" `: X3 ?( e6 M! l* ]" T/ ?; J) ?3 v }; G% c& M# Y* b8 x
0 M! Z; b. B/ u; q8 P, d' K if(r!=null){ v# s) Q( a- |) z% Z
return r;
! b/ a9 s* G0 O7 {0 m3 X0 O }
5 a8 R; h; s2 i6 s+ `. n & P( D- \! a' o
if(o.length==1){8 I; i v, T& s N ]/ {+ I
return o[0];
7 n7 K$ e/ J9 x) c$ N, y( s) k/ J5 v; g }5 h. C4 |; y5 G$ ~# {
else{2 S9 G2 {2 t/ h' d. `
return o6 X6 `" f( I) }
} / q$ G% J! u% ^% C: t. N) ?* n
) ~! }5 @+ A" ?+ `8 x; Z) h: C }
1 Y. f/ a2 j& Jvar lrc =$("#lrc;show()").innerHTML.split("[");5 w& K) o% u5 U$ }. b
if(lrc.length>5){ r; r; H$ P5 |5 n" n
var array = new Array();. H3 |; l+ K$ I0 F/ _
for (var i=0;i<lrc.length ;i++ )
, Y; R! N0 g1 s{
1 H) P o2 {5 A! J var g = new Object();
7 E: _% E8 ~, I- t0 @ t= lrc<i>.split("]");
# `5 h8 X7 @8 _% F g.time = getTime(t[0]);/ L1 G9 r$ l$ c
if(isNaN(g.time))
4 F# I; N1 N6 P; X. ~ continue;
/ }( S) Z, y( s: a- t9 d! e g.c = t[1];& [9 x9 E& c) O4 x2 O6 m
if(g.c == "")
( S: O5 F0 O' F. a& R" g" E g.c = getNext(i);
; x' ], w! _8 l8 x array.push(g);
2 c! h! G3 f/ W" E% I0 t}
x1 D. o. n. ^; _9 r2 x0 F- Garray.sort(function(x, y) {
2 Y& y9 x2 \3 e if (x.time>y.time)
9 t i( ?$ r/ B; \: q' ~. r return 1;
# V7 e/ |$ K* x K3 Q else if(x.time<y.time)
5 n. v G3 H- H. j! g* X: S2 ` return -1;- t% R3 |3 V+ Q$ \6 w$ j
else8 G/ T# z- B% A# S! k
return 0;! c" ~$ {! P+ L, w5 L
} - F6 K2 K& d% Z
);
6 s' x% ]; z8 ?5 d# ^2 _' tfor(var i = 0;i<array.length;i++)
+ s. W: H3 o v1 b; I) _/ X5 X' }{
: z; x: i. ?! [: T var g = array<i>;
, F* l. l% B# T M P if(!g.c){
& T" y1 f* s% S8 Z# T+ v3 s g.c="";
+ B' d, B& ^" W }6 m0 j- _9 P3 n, T
$("#list").innerHTML+="<div id=lrc"+i+">"+g.c+"</div>";
8 Z5 ^0 T% w) j4 D4 X}8 v+ G$ j( _6 P$ J
var time = setInterval("lrcList()",500);
' F! r& E0 x! g! [# j" A}else{7 i! r: m' Y" ?2 l: L& |
$("#list").innerHTML=$("#lrc").innerHTML;
/ J6 |* s1 Q B* n" O$ |. H}
6 [; E' @" O% \- Zfunction getNext(i)
! G! L2 e/ p3 h z$ ]9 [6 X5 z{- O0 p8 A: Y0 {, X
var result = "";' v* G/ z% x) k* Q$ b, w* {6 ^
var i = i+1;
% O8 {8 \" g6 n& K t = lrc<i>.split("]");
" V+ Y3 a& m& P4 P if(t[1]=="")
) \0 m: f2 p" G2 \9 \1 O! U result = getNext(i);% f& n, W4 M( L2 p% _) T
else
$ y& E; Z4 z0 p# ?% t. R: G result = t[1]$ W" @6 {" D" G/ d
return result;' R* _. B+ k A9 U/ V6 W
}1 o+ I0 b1 {2 @
0 e# `! G8 @, k- lfunction getTime(str)
7 o9 ~- |, G3 S8 n+ Q) R$ e{8 ?# l5 S. @# A1 ~3 R! a* ^! h4 U
var time =0;
1 {/ J' V( f# A3 P& l/ h var ta = str.split(":");
( h2 b2 a4 {6 r* t; a if(ta.length<2)
* T/ H5 I. U8 A+ u* t return time;
4 f( B3 C; g4 ~0 O
) l6 G9 q) y$ `; h3 U7 L5 @7 g if(ta[1].indexOf(".")>0){
* v+ k( I2 g4 b9 q7 ~4 f var tb = ta[1].split(".");& d' `/ @( V3 ~" d; l
time = ta[0]*60*1000+tb[0]*1000+tb[1]*10;/ j5 A% B/ m- ]' T% |
}1 f% P1 \( N! t7 r
else
# L/ S4 j, x6 ^( J6 e4 w! e time =ta[0]*60*1000+ta[1]*1000;
1 r0 P2 X: b1 c* M# K return time;
; i( j( E/ \; Y1 b `! X: f7 n}( p7 w4 I! F- |8 s# e2 X5 C
var preTime = 0;
! ^& m7 M) D+ o+ i. Y7 Bvar nextTime = 0;! J4 `% @0 @* x5 M* i) W
var currIndex =0;3 C5 Q* Y8 ^: x& B; r
function lrcList(){2 p- i, C* d; V$ s3 e& h8 \$ w8 \, L
var s = parent.document.getElementById("MediaPlayer").controls.currentPosition;
3 O/ G, O7 f# l s = s*1000;
7 ?! {& ]/ P5 t' a2 }5 R" _4 U% ^9 f if(s==0){
9 _7 B/ B, N7 q5 U9 Y currIndex =0;
: B* b! S' x! s# I: J4 t4 l8 x $("#list").scrollTop = $("#lrc"+currIndex).offsetTop-30;4 s4 F4 z8 Q: J: O. V _1 {; [
for(var i=0;i<array.length;i++){
& U. t6 v6 @( N document.getElementById("lrc"+i).style.color=colorNormal;
. w5 s* O# ]" c6 B- B }9 |9 X) m0 T( m$ n' Y
return;; K' J' b- P" P
}
+ D% A" V* ?- p+ H if(s>0&&currIndex<array.length-1)
+ [# H; k% [0 I E% ]6 \% m) ], w {
; D# | H+ p6 U, |1 c' ?1 Y1 _ preTime = array[currIndex].time;
( T, i8 a9 C+ O. N
! u, ?5 B/ a0 T* e8 a$ h; u/ ^ { nextTime = array[currIndex+1].time;
: o% F8 I$ W6 j% _
% N0 ~. K4 r% q$ [6 e# w- i+ b if(s>=preTime&&s<nextTime){. v9 j" V3 \; R7 o9 n
}+ ^% d b! [2 h7 D
else if(s>=nextTime) k8 L6 ~( m |+ k
{) r) M" N" G) o- w" }
document.getElementById("lrc"+currIndex).style.color=colorPasted;% f* _" i3 d: ^3 E" j; ]3 z
currIndex++;
; ]7 ^2 b2 Q( q$ E9 q+ r7 d+ o1 N $("#list").scrollTop = $("#lrc"+currIndex).offsetTop-30;: f, [0 f1 T/ D: e# d0 c
document.getElementById("lrc"+currIndex).style.color=colorPlaying;1 ?9 H! V6 K( x1 k
lrcList();
" S: O1 n+ m3 p }
, x7 U: B0 c5 u y. i" [, R$ f else{
3 k% s) F! M+ J. g! Q document.getElementById("lrc"+currIndex).style.color=colorNormal;
a: Q9 B/ ^# c! R: O! S currIndex--;
& Z) `4 P0 s$ Z* D* i" W+ j $("#list").scrollTop = $("#lrc"+currIndex).offsetTop-30;! {: e$ Z. N3 ]/ Z
document.getElementById("lrc"+currIndex).style.color=colorPlaying;
! L( E2 ~2 y( @% [" P1 O; Z lrcList();
; X% e6 x# f1 @, y! I& Y } * z9 C/ [. \3 }+ _, r
}
6 S/ S3 D4 f1 ~- @' Z. B9 S6 U& G else: w. e, Z: b* t4 `+ _
{
1 E4 k7 J4 R1 `! t3 ^: { if(s<array[array.length-1].time){
* @- o% k( C1 G& k3 I$ h. } currIndex = 0;' e4 Z5 Q5 N( }9 _' L
$("#list").scrollTop = $("#lrc"+currIndex).offsetTop-30;4 ]. z. H) w3 W+ F% \/ M2 Q7 P
for(var i=0;i<array.length;i++){' B5 \( L0 w- w9 G" e# F/ _. T }" u5 i
document.getElementById("lrc"+i).style.color=colorNormal;
4 B+ v' C4 ?+ g: I, h( _% p0 p }
3 {: z- U& H U4 g2 S4 X lrcList();
# h4 [4 `" }1 k2 f0 | }5 F/ m5 u- o2 ^9 r/ Y3 R. V
}
3 k9 g' A. Q8 f}. m$ D4 l! w Y4 q
</SCRIPT>
' Z$ s# \5 ~2 N# ^. R</DIV></DIV>
4 d$ S5 e: b; U5 P- o8 E
* ] S% }6 i3 {[ 本帖最后由 幽谷兰 于 2008-9-18 17:36 编辑 ] |
|