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