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