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