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