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