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