|
|
<DIV id=list>
8 E# E. P d0 o' ?7 {9 d- R<DIV id=lrc1 style="COLOR: #666666">[wmv=0] http://lzbj.ncedu.net.cn/uploadfile/20083923248279.mp3[/wmv] </DIV>
7 r, b5 z* ?# e3 z<DIV style="COLOR: #666666">|等一分钟|听到这首歌,觉得它很动听,旋律很优美,很是喜欢,传上来给大家听听。</DIV>
, A1 K; i5 s+ B" [3 U; T8 @- Q<DIV id=lrc2 style="COLOR: #666666">词曲唱:徐誉滕</DIV>
7 K: N i! V8 b- t$ v {# ?<DIV id=lrc3 style="COLOR: #666666"></DIV>% A" O6 m& W0 A6 X# w
<DIV id=lrc5 style="COLOR: #666666">如果时间 </DIV>
' r6 C" w# r! o* H. `7 x<DIV id=lrc6 style="COLOR: #666666">忘记了转 </DIV>% q% [: I- N9 n: P0 w# R
<DIV id=lrc7 style="COLOR: #666666">忘了带走什么 </DIV>
" Y- ?( E: c- E1 W; P3 A<DIV id=lrc8 style="COLOR: #666666">你会不会 </DIV>
; U; c9 k1 L1 t3 V; j! h<DIV id=lrc9 style="COLOR: #666666">至今停在说爱我的那天 </DIV>5 c2 Z1 l& ]' e* L4 ^
<DIV id=lrc10 style="COLOR: #666666">然后在世界的一个角 </DIV>7 }, d* \5 [% v
<DIV id=lrc11 style="COLOR: #666666">有了一个我们的家 </DIV>
4 `, ^' A# f$ |8 J& z<DIV id=lrc12 style="COLOR: #666666">你说我的胸膛会让你感到暖 </DIV>: t; W8 H9 _% |7 }2 I
<DIV id=lrc13 style="COLOR: #666666">如果生命 </DIV>$ c* J+ [0 d- X0 K
<DIV id=lrc14 style="COLOR: #666666">没有遗憾 </DIV>" ^# d Z$ r' d2 K( ?4 N
<DIV id=lrc15 style="COLOR: #666666">没有波澜 </DIV>4 H) E5 K6 d6 \& m2 I
<DIV id=lrc16 style="COLOR: #666666">你会不会 </DIV>
! c4 M4 e5 k9 R: G, U+ M<DIV id=lrc17 style="COLOR: #666666">永远没有说再见的一天 </DIV>
8 Z* s3 D1 f% u, g# h* m+ d<DIV id=lrc18 style="COLOR: #666666">可能年少的心太柔软 </DIV>
9 z7 P- a! S' Q0 G/ G5 v2 q; W- M<DIV id=lrc19 style="COLOR: #666666">经不起风经不起浪 </DIV>0 B# O+ w7 x9 M4 B5 O
<DIV id=lrc20 style="COLOR: #666666">若今天的我能回到昨天 </DIV>
) [$ k; \0 R0 T! d<DIV id=lrc21 style="COLOR: #666666">我会向自己妥协 </DIV>
6 D$ V( z6 a5 Y% M5 Y1 M' q4 V' \<DIV id=lrc22 style="COLOR: #666666">我在等一分钟 </DIV>
5 V0 m# h! I4 ~$ x<DIV id=lrc23 style="COLOR: #666666">或许下一分钟 </DIV>
" f8 W* y( k( q9 p<DIV id=lrc24 style="COLOR: #666666">看到你闪躲的眼 </DIV>
j2 t2 F9 E+ j2 F! m. i+ \( l# u<DIV id=lrc25 style="COLOR: #ff3300">我不会让伤心的泪挂满你的脸 </DIV>3 S& w9 d; m+ `; ?6 O( {
<DIV id=lrc26 style="COLOR: #000000">我在等一分钟 </DIV>
. G5 Y! C' R" K( d0 T$ ]& A<DIV id=lrc27 style="COLOR: #000000">或许下一分钟 </DIV>
# g8 z/ N. ]/ q! T4 q<DIV id=lrc28 style="COLOR: #000000">能够感觉你也心痛 </DIV>: m4 q- F. M$ M% ^8 c, x2 |, _
<DIV id=lrc29 style="COLOR: #000000">那一年我不会让离别成永远 </DIV>+ w3 T/ {! g T+ g; i
<DIV id=lrc30 style="COLOR: #000000">如果生命 </DIV>
- H; `' O$ V- }. B" H5 z6 g$ E0 O<DIV id=lrc31 style="COLOR: #000000">没有遗憾 </DIV>5 E/ q# s, U. X$ P
<DIV id=lrc32 style="COLOR: #000000">没有波澜 </DIV>
3 R( F ?6 C/ Y' y! J, x8 m: h<DIV id=lrc33 style="COLOR: #000000">你会不会 </DIV>
; T0 b# u. Y7 f6 d) O- j4 g: j6 [1 T<DIV id=lrc34 style="COLOR: #000000">永远没有说再见的一天 </DIV>( R+ c- E" r; H! b/ @$ u: i2 W! k
<DIV id=lrc35 style="COLOR: #000000">可能年少的心太柔软 </DIV>, U1 W4 D" {% t2 S8 l6 c6 T7 b
<DIV id=lrc36 style="COLOR: #000000">经不起风经不起浪 </DIV>9 l0 }& A1 ]) f$ b3 ]. e
<DIV id=lrc37 style="COLOR: #000000">若今天的我能回到昨天 </DIV>5 f' Z! b- _/ c, T. I: }3 P
<DIV id=lrc38 style="COLOR: #000000">我会向自己妥协 </DIV>
6 J' A$ B* P" y J# V" `<DIV id=lrc39 style="COLOR: #000000">我在等一分钟 </DIV>
" W! [" C* x8 Y7 L' l<DIV id=lrc40 style="COLOR: #000000">或许下一分钟 </DIV>
4 f: ^7 k3 P2 ?, Z1 C<DIV id=lrc41 style="COLOR: #000000">看到你闪躲的眼 </DIV>
3 T4 P/ m1 ^% Q8 U/ S<DIV id=lrc42 style="COLOR: #000000">我不会让伤心的泪挂满你的脸 </DIV>
5 h- \, x7 Z9 u, L<DIV id=lrc43 style="COLOR: #000000">我在等一分钟 </DIV>: n+ D' z0 n; |. D# v8 l
<DIV id=lrc44 style="COLOR: #000000">或许下一分钟 </DIV>! T% k( a8 I! n3 E) d
<DIV id=lrc45 style="COLOR: #000000">能够感觉你也心痛 </DIV>
" z: L2 @' @5 z, u8 ~/ Z& i<DIV id=lrc46 style="COLOR: #000000">那一年我不会让离别成永远 </DIV>% _; v2 N5 @. |& L8 r$ _4 C
<DIV id=lrc47 style="COLOR: #000000">我在等一分钟 </DIV>6 ^* @! S) G3 S- d) Q: U( m
<DIV id=lrc48 style="COLOR: #000000">或许下一分钟 </DIV>% Q( ?! S! S- b. A q4 K5 ]
<DIV id=lrc49 style="COLOR: #000000">看到你不舍的眼 </DIV>
4 H2 f& K4 f! q3 m0 w; a<DIV id=lrc50 style="COLOR: #000000">我会用一个拥抱换取你的转身 </DIV>5 M! \! ?0 @1 f, N! q
<DIV id=lrc51 style="COLOR: #000000">我在等一分钟 </DIV>) W8 ^3 P. N$ E& H+ Q$ R' m% X& `
<DIV id=lrc52 style="COLOR: #000000">或许下一分钟 </DIV>
7 k+ W1 v/ j4 e3 C8 ?5 x% X# O<DIV id=lrc53 style="COLOR: #000000">如果你真的也心痛 </DIV>9 r5 U8 v3 ?/ u% u/ f% F$ }
<DIV id=lrc54 style="COLOR: #000000">我会告诉你我的胸膛依旧暖
+ A2 Y/ y7 h h# M: _/ m+ b# U3 N<DIV id=lrc style="DISPLAY: none"></DIV>, e. `8 k; Y7 u
<SCRIPT type=text/javascript>, H) X- R6 C5 [
document.domain="1ting.com";
# {, x6 l$ C7 cvar colorPasted="#666666";% A) [; Y0 P; d
var colorPlaying="#ff3300";2 B* |6 { @6 r7 B z
var colorNormal="#000000";
0 t) d' x/ A. @$ T+ T& u9 X) i$ = function (a,g){
* B$ U0 T' W9 U' ]9 ` var o = new Array(); . ^+ S- ?5 R+ R$ O7 ~
var c = new Array(); * e( s9 P4 p7 C
var r;
" \2 t1 G& Z. a3 w: I5 C var u; * {$ {, g* [! A4 L; F& f6 x7 J
var a = a.split(';');
7 U( l4 E( n. f) k) E1 g
! j7 ~7 ?8 @* L2 h. I* b var e = "keydowns,resize,load,dblclick,click,mouseout,mouseover,mousemove,mouseup,mousedown,inputchange,inputfocus,inputblur".split(",");* ~1 L$ r2 Y& X# S P- R& e- ?
for(var i=0;i<e.length;i++){
+ L) j+ R* _ [" u& P( A# e eval(e<i>+" = function (s){eval($event('on"+e<i>.replace("input","")+"'))}")
+ g. T4 l( O { }
; J7 G! _- P. m
! t) _" |6 B3 ~- \: p after = function (t,d,s){! l8 Y7 E3 V7 \7 N0 C1 a
$after = function (){
6 Q2 `% c1 E" P1 G7 B" o+ n var $n=document.createElement(t);
. l0 o8 m( ?& n$ l: J if(d!=null){
- V/ A2 y; I* q0 f $n.id=d;
" p3 L& E1 ]( L6 `- F }
& f" w8 j: N* D" A $ t1 e5 m& j7 S% a5 ~
u.insertBefore($n,null) : M6 l9 j5 s3 L
r = $n; $ {3 `2 R2 I* l
u = $n; 4 x9 |" ^0 b3 v8 j
}* e# A" e9 A0 C/ u+ b9 q: s9 a
$for(s,"$after")7 p9 y! b4 y1 y; O2 {& R$ |- @
}2 s7 o$ Z! S; i6 E1 i$ q- l
* ~/ ] l/ J: `9 v show = function (s){
- }$ f- o4 T* c $show = function (){) K/ N- z6 \' ]$ r6 ^ P& W; b
u.style.display!="none" ? style("display:none") : style("display:block") ;
6 t% f8 Q( M7 @7 R X* a& u# S* U }
0 T% |; v) a# u' n8 X* H- o $for(s,"$show")& u' c! j7 P! V$ |3 ~8 G
}" `+ @, }" b, M2 G% u, T
: x: `! _2 Y# D! A* g check = function (t,s){
) K6 j6 q m, z9 f9 \7 Y+ C4 c $check = function (){# I; } H' l; G. g, g
if(t=="2"){7 f# k P1 ?, J8 \* s+ q' N
if(u.checked){2 ~( ]" R9 G* t, T% P' A
u.checked = false;
0 f4 L2 Z7 `. F; m. o7 h }else{
+ E f8 W8 ]5 } u.checked = true;
2 n, w$ M& G1 R2 [$ u* U1 S6 l: y }. Y3 a3 c; E, q- G0 M* r
}else{
, Q2 g7 a; r8 k `0 j( ~7 P( i/ } u.checked = t*1 ;. d) G+ @1 q" ?) C6 c* c
}
% R' h- a, y! y3 I) b S5 W% ^ }
) i! v* ^, U4 D' c/ @6 S $for(s,"$check")0 M) H; z' Z+ r& V% _( N. ^( E) l( L2 V
}
0 z L! j4 W) H2 x" T: C# O; i+ Z
style = function (v,s){4 h' v& c, k5 z" O% \3 f, M
$style = function (){* U$ R* J2 Q- `. F' f# ?" z: _" s/ |
var $n = v.split(",")
* {& J* C K- w3 ]- Q8 W2 n for (var i=0;i<$n.length;i++ ){
5 Z1 l; R3 h7 e var $m = $n<i>.split(":") 5 o N. H" q# u* y: X2 o
eval("u.style."+$m[0]+"='"+$m[1]+"'");6 a7 k; E9 B5 Z
}: p3 F: N+ x: n% f9 Y& W# i" f$ X
}
1 @0 U2 D) J* H+ n $for(s,"$style")
% l: Q0 Z& W4 v* i9 l. b, o }; a0 H! ^+ _7 K: }8 a
) R7 t$ l9 ^0 H/ a- c value = function (v,s){
2 e" E# p$ q0 W( l# S- u var $n= $this (v);) K2 m- a9 k; ?& l. D9 x
$value = function (){
. P/ N" }4 K0 V% j7 h u.value = $n
X |, p1 k F/ Q. E6 G6 R" e+ y }
& e( J- i) y' @5 O $for(s,"$value") ' l( ~5 ?4 E- q1 y) n
}
( P% p& W5 A! Z* K
! H4 }0 \) w: A4 V6 O4 S text = function (v,s){ e' b' O" \# b9 X
var $n= $this (v);
( p" }5 T4 ?" f8 g/ E2 b7 p $text = function (){& d" X. [- p! X) ]8 A! O1 w
8 I, ~# t2 j% }% E' Q u.text = $n: }8 S$ e$ T+ g' q
}
/ u4 J4 J, c9 U% y $for(s,"$text")
" y' }0 k7 g9 U% Y, R9 Q, W! a }
2 R8 }: s4 p9 a* j2 E5 ~- I0 r& c! a$ x! m. p. o. t3 b
innerhtml = function (v,s){# _* h9 q) n$ Q4 I: G
var $n= $this (v);
/ x. G g# X7 H/ @- L# t& a $innerhtml = function (){# \1 i7 y3 l! N) }2 ^( R
u.innerHTML = $n
9 {( m. ^8 q1 E9 R: C }
: l4 g6 N5 }$ E) j# ]6 J6 o1 D $for(s,"$innerhtml"); ~% e& k* B+ ]
}7 `$ s' y5 w. Q8 P, W
# }1 E2 B6 B' o1 S* A, H
removechild = function (s){
) H; k, @. e4 k0 l $removechild = function (){
7 g# H y7 k" h5 }9 B+ a9 V u.parentNode.removeChild(u): o+ p0 z6 S4 R: B% L( V2 h
}1 @. q; @ L9 G; V& T
$for(s,"$removechild")
+ X9 i! L' S7 }% P }* j6 J$ K# j% N6 u( ?( C, W5 V" A
+ G: |% T. ?" R* v. \, i1 R/ O' D4 r8 e $this =function(v){2 P4 v$ W; B ^; Y
if(v.indexOf("this") == 0){
' e5 n& u) b. N( {; B- {1 Q6 Y: U return eval(v.replace("this","u"))) s3 h: Y. L, T% l* L
}
/ }0 Y; l6 L. c' x' V return v;9 F2 Z. `7 ~6 h3 {7 S
}5 G$ b7 h% x1 o/ V( Z
$ j- Z" J1 U `4 p0 W7 O; o( H
$event = function (s){/ ?. ]# Z- t( O9 }; ^
var $n ="u."+s+" = function(){$work(this,s);}"
; y2 W+ {. k- J4 I return $n;! l$ w# ?9 m6 c5 q
}" \: @: U. R4 G1 G4 X3 _* U& ~0 l
% n0 @' n* Y* C( ?
$replace = function (s){# t, A! N9 R9 R
& s% E' `! O( X9 {+ Q8 Q }4 K' f( q7 b# ^) k) z& O* V
6 @( e% r+ @* F# k $for = function (s,c){; d" [& n& m- @ Y7 Z
var $n="this."+c+"()" ;. P/ i- g" u) A- F) v
if(s!=null){
5 d7 H0 }/ ]" |, _ var $m =$test(s);
~, }2 X! ^" W& Y* O& N for (var i=0;i<$m.length ;i++ ){' f: Y4 Z5 ^, F4 f3 _
u = $m<i>;
5 Y! U. |- n! E( q eval($n);
+ W+ i: E7 L4 m! s# t3 D/ V' s }
3 S- V' m9 N8 _$ y, }( N }+ {$ q6 I, r% w( B6 X: A. p' W& ]& B
else{3 l1 P4 W+ @, V, Q4 R6 p# o. g2 q
eval($n);
[3 ^( z3 H# b9 o }
" i; g8 Y* o9 X) |% r }9 N. k' D% _3 S
9 m/ `8 o" D; a; T/ `# l/ ?8 W
$test = function (a){
9 e/ v7 \7 |: K* g var o = new Array();$o(a.split(';'),o);
' r% B; y: } j* G1 e1 s, g; b return o;
& d J- E7 f6 a+ s8 P }
. u" A" K2 q4 F8 y
- g2 ~' i- ?% E7 V7 j $format = function(s){! b& C; W- y+ u0 I. `7 x# N
while (s.indexOf("'")>0){1 O5 ~1 ?# x: D9 ]+ U1 G& }
s=s.replace("'","\"");
+ F; W2 y' @; ^" i. N, Q+ t }! k# g+ S, T6 _4 \+ u$ A
while (s.indexOf("][")>0){
' r0 O: Q6 t5 D) h! I s=s.replace("][","','")
; e7 o, @) p- |4 ? }5 k* q2 ~7 D6 [- T8 t
while (s.indexOf("[")>0){
: V* _7 e# j# F# `% E1 a+ B s=s.replace("[","'").replace("]","'")' R6 I1 f2 m/ h& ^4 f1 N9 c
}
. w* g- N* Z; a1 r" `2 |6 y& E return s;; L( E7 k: T5 d4 T. u
}
" H# ^4 p3 B( d) k5 B+ L" Z7 h; e8 o* f! S; w2 h" H3 g* O* O+ {
$work = function(w,s){; X8 H' L: _+ k* Z# a3 \
u=w;eval(s)) r# F/ T" l& t7 B: y `
}: ^5 d! P7 N% M7 l2 ~
) y. w& I3 w. M) h. O9 R $id = function (s){
1 M. U) z# X; F" u, g& t5 s return document.getElementById(s);5 z6 t& q9 V- U1 L2 G( {3 y: t
}
$ n& ]) Q$ D4 ?8 ~( l3 t% Y
; l+ T5 s, ]& A' a $name = function (s){5 a* c2 M, J7 h2 T- t8 A4 ?2 o
return document.getElementsByName(s);
M( @( {9 C) C }7 { B, M; j t7 t- c
' U# v+ f- r4 ]
$tagname = function (s){( F* ?! I" ]' L9 y' X
return document.getElementsByTagName(s);
! L& z1 S0 W6 Z ~! i }
/ G2 z B' l' G- X+ q4 r1 ]( t2 l6 L2 r
$o = function (a,o,c){
+ w; `! `4 w$ A+ C- a# n. ^ $push = function (n) {; s) i5 s4 N8 N# U6 m
for (var i=0;i< n.length;i++ ){+ \# G% }" N6 J0 r3 o
o.push(n<i>);
6 Y7 w7 W- {2 ]; e* v } 6 |( x; I5 ]" m
}
# e8 Z q; E! J7 O& }7 B for(var i=0;i<a.length;i++){
: h% V; D7 i4 }' [: Z3 x: w- R% R if(a<i>.indexOf("(") >= 0){
2 o4 f8 O4 X# x) J) C3 i, d( h c.push(a<i>);
. V( Z9 p( J, w; I- z. ~ }9 q; ]; ]+ X7 k; z
if(a<i>.indexOf("~") > 0){4 _! ?$ F* d; q
try {
1 ^7 q1 D/ v$ n $push(eval(a<i>.replace("#","document.getElementById('").replace(" ~ @","').getElementsByTagName('")+"')"));
7 U% q6 ^! f# D$ z }catch(e)
) G% ^! V* H" e- t& R2 ~( p {}
% @% ~8 K6 e9 A2 q2 \ }/ c5 Q. m" K1 x% }$ B, b" `
else{
C7 }; b. w. ^: O* `$ r4 C$ B if(a<i>.indexOf("#")==0){+ D' W) O3 x- `3 S8 i
o.push($id(a<i>.replace("#","")));; n3 N, h$ H7 k; r
}( f4 C7 S8 V$ N9 E
if(a<i>.indexOf(".")==0){
# m& m- ^( {. P' T4 Z $push($name(a<i>.replace(".","")));- X$ q9 Y& l/ G/ L% b
}
1 D/ b# ]% @3 v( H: [! m4 k if(a<i>.indexOf("@")==0 ){
$ h* @" E$ V# G" R $push($tagname(a<i>.replace("@","")));# P: x# J/ `) ?( i3 }- k0 C5 ^
}
/ l& G) F. R/ j! `0 C* M if(a<i>.indexOf("*")==0){
3 U( w9 m# k# @; q6 a/ g $p= a<i>;
. K; z J1 z F if($p.indexOf(".")< 0){
! }: X6 q8 j8 v $p = $p.replace("parent","parentNode")
9 o' G0 q+ D! w/ U) b }/ B8 j9 G3 Q% y- \( Y
var $p ="u."+$p.replace("*","");
5 G# I- ]8 y) B5 O while ($p.indexOf("parent.")> 0){6 \5 ?- g% @9 n7 |
$p = $p.replace("parent.","parentNode.") t0 P+ S. R; T- J: r
}# N, }2 `+ p1 {' r6 F: P
while ($p.indexOf("child{")> 0){9 l( K1 W. |; N
$p = $p.replace("child{","childNodes[").replace("}","]")4 o2 F% i; g. A6 u4 ]. x. G
}
4 z8 ]& u7 S/ Z9 F! ` q* v o.push(eval($p));6 n" P5 R2 u, |8 G! b& ?; |- H
}
8 k8 J1 C( V; ? if(a<i>.indexOf("document")==0 || a<i>.indexOf("window")==0){
9 L6 S1 F. t' q2 M, T3 V) d o.push(eval(a<i>));
6 Q- S6 s1 A1 Y K } T8 t& e W; I
}
$ F& z, r5 R% a s! M if(g!=null){
( q0 [1 b" b9 i: B5 o o.push(g);g=null" q. t9 R' c- V$ u; O7 t
}
! H, h) h$ X' S G }
3 P1 [) v8 B x& \9 O }
a( {7 O( a* B* z# i' w
# ^8 L; E; h3 b $o(a,o,c);# |$ B4 m3 G( M W$ \5 \
% _7 B5 D( _$ }
for(var i = 0;i<o.length;i++){
) N; {7 P, |: a, D for(var j=0;j<c.length;j++){
5 g. J! ]. S/ f4 E% \' K) B6 u u = o<i>;eval($format(c[j]));' K( l" p3 p n# S; T
}. e1 R! L p$ W* _
}
- N- y) b: A5 X8 u( {& d. m u7 x f
if(o.length == 0){
. U% o6 X8 t1 K7 }& |, d' W for(var i=0;i<c.length;i++){
. l! l7 x$ Y0 ?9 U& ~, B5 Y eval($format(c<i>));
" e' {* y' h( a. W. S7 b: _ }
) z& p0 z3 q! _ }
! s/ r; K+ C6 {6 q5 E 8 T- B" \) q% R2 n# Q) O9 |5 }
if(r!=null){
0 U7 {) a+ [0 g9 B5 }& M# F$ s return r;
' ^( c% w; p% m: ] }4 j o: G* P7 v7 f2 d
7 i) B$ j% A! e4 ~& g9 ~# i5 E5 P if(o.length==1){' X0 V- Z5 N2 @3 [& Q3 Z3 M" {
return o[0];6 L2 T4 r" G: {( ^7 ~8 N
}
; b$ i4 E) Y1 a, R else{1 g, B) E& c) x9 C: d- d# D
return o$ E. O* i4 w8 t
} * p+ U* ?3 {* O* O$ q8 B; D& }
8 F% `5 ^, q- j$ s# ^ o/ M, s' d6 \2 @4 p }. W3 y5 q! q: g5 n& y
var lrc =$("#lrc;show()").innerHTML.split("[");8 H. m1 w) p, b& a) K) Z g
if(lrc.length>5){
5 q4 M, C( M, Y3 x* S2 Svar array = new Array();) U' X- ?" Z4 q, m/ H& V' A( {
for (var i=0;i<lrc.length ;i++ )
' T- o$ r3 `2 }$ k5 m1 r{ \' r$ T8 T: ?0 @
var g = new Object();
& K/ ~' |, F: X) y' C t= lrc<i>.split("]");! i% j f8 r3 m2 m j
g.time = getTime(t[0]);; I" ^. f, _ ^
if(isNaN(g.time))# }. `! n# c$ Q8 M5 g. E
continue;( f- n5 C, G6 J. S
g.c = t[1]; c6 ^ p% R3 n6 _4 Z
if(g.c == "")
' Y- H& s' X- }+ s2 g, Z* I g.c = getNext(i);
" b3 \/ n! l X9 w array.push(g);. C' Q. r, n9 H( ]% H/ y
}
/ M, I% U, O. y3 @( Parray.sort(function(x, y) {" q6 v$ @8 j6 w' E
if (x.time>y.time)
/ [2 R7 m. ^% g& |, E return 1;4 [* c: H& d) S5 `# R/ x# R% S2 R
else if(x.time<y.time)
# c+ u$ p. \/ n8 h return -1;
! i/ w0 e' `8 i/ E5 J( g/ l else
' e( ~% m3 k) |# d return 0;
' S% c- t- v" Z& s" H } 5 e5 p' h8 p6 J3 T- t
);/ m+ T( @0 s3 {; n
for(var i = 0;i<array.length;i++)2 S5 M" ^, O, B6 o6 z
{
, J. z+ P, ~- @- R* J var g = array<i>;( a6 |6 r3 Q5 [4 r) f9 q% G; _
if(!g.c){% |# ]4 N2 }6 l: P+ V u' D
g.c="";9 {) b( Y) J; T) K4 `( j' c! _
}
( f0 J0 _9 K, O2 N) { $("#list").innerHTML+="<div id=lrc"+i+">"+g.c+"</div>";
9 ^: ^+ O# \" D}5 C. W: w4 n; @* O
var time = setInterval("lrcList()",500);
" q# t4 L- g7 R5 z}else{
5 J0 n7 H& @) Z) e1 g, n $("#list").innerHTML=$("#lrc").innerHTML;
& e1 ]) h0 Q5 t) [}% o! \# v6 E' O0 v% ]0 ]6 D
function getNext(i)
5 s$ Q& q% t1 ~2 \! L3 f9 m% k5 H{
( j- H5 a/ m5 `: F var result = "";( @$ V0 ~$ ~/ H. L7 }3 }
var i = i+1;/ d! H, O2 ~) p3 \! s" w3 S
t = lrc<i>.split("]");
; q8 G1 o+ ^( t if(t[1]=="")
* q( W5 O A1 W$ L& V* F result = getNext(i);* A9 @' q5 R; H' ~0 p# \
else
6 Z4 j P! k* W/ R f. \ result = t[1]0 U: [- L' W6 i* j4 e, F
return result;
/ m) T" B+ E: X! v}
/ l3 W, ]1 V1 ?0 f5 {* b- l7 `: S
6 T! r4 a Y$ _& Nfunction getTime(str)2 i: N* T; x# G& Z3 O$ U- k
{
% y4 R, n0 p1 Z9 N9 N var time =0;# a7 ?5 x1 c* n* J* R9 x
var ta = str.split(":");
- j; r$ _, |) n$ f3 Q if(ta.length<2): L/ c! ~, ` z4 i- u
return time;( @) I. U& i9 s: Y! f2 B* E
* S) k- _: n5 [ if(ta[1].indexOf(".")>0){( a- k+ L+ p1 t' f8 _, ~
var tb = ta[1].split(".");
; o" k" a7 H% I! O: \ time = ta[0]*60*1000+tb[0]*1000+tb[1]*10;. W1 [! H; z- }* g6 l: U
}3 D K3 @3 S& ~3 \) B: @0 G: L4 \
else6 U* j! p* x) ?9 a- X) e8 {( @7 y
time =ta[0]*60*1000+ta[1]*1000;
% j/ J. ?3 n+ F" A* X3 x! ^" ]$ I return time;
. k$ f! J7 ] m! y: B( n, @}
& \; _0 e% R9 o8 T' e$ X5 [var preTime = 0;# _& G9 J& z( t
var nextTime = 0;
' ^& M3 Y" k" C& Tvar currIndex =0;
: I' n* i2 c% x' ^* {2 w* R& _4 sfunction lrcList(){
1 s- m: V! t! i0 x6 L( G var s = parent.document.getElementById("MediaPlayer").controls.currentPosition;- X- m0 ?# U% E1 ^9 w4 h, T. v$ C6 e
s = s*1000;
+ n6 A9 G2 a: ]1 S- K* g' C- t% O if(s==0){+ k' @4 l; O, Z( z5 `( z. u
currIndex =0;$ L, J+ {6 H1 Y) H% q+ T
$("#list").scrollTop = $("#lrc"+currIndex).offsetTop-30;
: ]- p$ B8 S. K. V8 t$ k for(var i=0;i<array.length;i++){
+ D$ G7 s- P8 O8 Y h$ w) r* C' a f document.getElementById("lrc"+i).style.color=colorNormal;
5 U0 V& s& E. K3 Z* h: r }$ Y9 o" U4 J! `; y
return;6 S* i) ?* e7 [" G
}' H1 G% R$ m* ?, j% }0 y$ E4 y+ n* _
if(s>0&&currIndex<array.length-1)
; d0 e+ G: t9 i. ` {
0 O8 s6 s! {0 [, f% d: c preTime = array[currIndex].time;
) o0 w& \% |" P4 }( [2 I7 }' L + B) w5 H! E7 T. C
nextTime = array[currIndex+1].time;
1 n0 H: G9 k) f+ l- W' G) H, f ) a5 R, `& O2 c; S$ [' j
if(s>=preTime&&s<nextTime){0 D y( _ ?+ j9 D7 W5 q
}( q2 [, i, y) \2 i! k# ~7 w
else if(s>=nextTime)# |* V+ S$ o6 q8 q' C
{* R6 Q( |& q( M& V }
document.getElementById("lrc"+currIndex).style.color=colorPasted;
7 l, L: I# f3 Z6 s currIndex++;
' _7 |) f3 p, f c$ ]/ l5 a $("#list").scrollTop = $("#lrc"+currIndex).offsetTop-30;
( }! {$ D% n& E/ u$ I document.getElementById("lrc"+currIndex).style.color=colorPlaying;
o3 D/ p3 ]) V lrcList();
6 }- L" c+ O0 |. ~3 X6 h4 L$ n }6 T! q4 }6 q1 N3 E2 N
else{
7 A( p% O, d m2 H* B* l document.getElementById("lrc"+currIndex).style.color=colorNormal;7 c( U! u: b: I! [5 |1 B6 r; Q
currIndex--;
/ m# f8 v% B8 X) [, k# b $("#list").scrollTop = $("#lrc"+currIndex).offsetTop-30;
; H, n/ E* \, H0 _# U. ] document.getElementById("lrc"+currIndex).style.color=colorPlaying;4 K& J9 T6 s; K2 o# _8 Z, v; L
lrcList(); M5 S. b G" I; X1 b3 v5 Q6 S
} 7 L( J" |, P9 D3 O8 m
} T" e9 l0 r) a5 L
else+ N4 z$ S- I( A
{
* D- a0 I+ H$ W( |" k# ^# a if(s<array[array.length-1].time){) J3 B5 _/ l+ b% _- \% @. w7 |
currIndex = 0;
$ v: d9 w [; ] $("#list").scrollTop = $("#lrc"+currIndex).offsetTop-30;
5 q- N; ~* I9 o* O* j- y2 f+ S" j3 ` for(var i=0;i<array.length;i++){
/ Y3 A/ U: J1 @ document.getElementById("lrc"+i).style.color=colorNormal;& E; s* ~' r) ~5 Z
}, X5 A4 L! U9 r( K" n" j
lrcList();
: w: L J5 r" I0 R; y }% ~% O* D; g0 d9 w {7 M6 U, n
}; ?% u" \" Q) n$ v* u
}6 ?5 Q8 T7 @& V$ i8 i
</SCRIPT>
. ~+ [, Q5 O0 ]) ]</DIV></DIV>4 a. a. n% s# e/ j3 b6 J% C
* @7 ]4 i) E+ L5 [0 t, O, O
[ 本帖最后由 幽谷兰 于 2008-9-18 17:36 编辑 ] |
|