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