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