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