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