|
|
<DIV id=list>
5 P9 U7 X+ o v/ H" _7 ?1 z9 H u& P<DIV id=lrc1 style="COLOR: #666666">[wmv=0] http://lzbj.ncedu.net.cn/uploadfile/20083923248279.mp3[/wmv] </DIV>
( k* f7 ]; i) z, `: p& F; Z) F<DIV style="COLOR: #666666">|等一分钟|听到这首歌,觉得它很动听,旋律很优美,很是喜欢,传上来给大家听听。</DIV>- ~# M2 i/ T5 _6 N
<DIV id=lrc2 style="COLOR: #666666">词曲唱:徐誉滕</DIV>
" k! g4 ]0 S' G4 r) k8 j+ j<DIV id=lrc3 style="COLOR: #666666"></DIV>
% p, ^. h j) D I8 ]( p5 K<DIV id=lrc5 style="COLOR: #666666">如果时间 </DIV>1 R% ~9 C6 Y2 B, I* g) S+ L+ }
<DIV id=lrc6 style="COLOR: #666666">忘记了转 </DIV>
! v; D* _$ k; }( @" r, g& J<DIV id=lrc7 style="COLOR: #666666">忘了带走什么 </DIV>
( i6 E9 e( X6 n, O: a<DIV id=lrc8 style="COLOR: #666666">你会不会 </DIV>& _( g" q" [. j5 t0 ]
<DIV id=lrc9 style="COLOR: #666666">至今停在说爱我的那天 </DIV>$ ]; x7 }, ]& ?: C `
<DIV id=lrc10 style="COLOR: #666666">然后在世界的一个角 </DIV>6 k' Q$ O0 h V+ n: K
<DIV id=lrc11 style="COLOR: #666666">有了一个我们的家 </DIV>
) A# d8 L6 }% x4 W<DIV id=lrc12 style="COLOR: #666666">你说我的胸膛会让你感到暖 </DIV>
& L9 A( U$ [& u J9 R( k h<DIV id=lrc13 style="COLOR: #666666">如果生命 </DIV>
T/ `: h6 L- D: N" |8 N+ R<DIV id=lrc14 style="COLOR: #666666">没有遗憾 </DIV>/ O: B/ Y l. _$ w8 D$ u
<DIV id=lrc15 style="COLOR: #666666">没有波澜 </DIV>( G- P+ z' {4 l8 ?- k
<DIV id=lrc16 style="COLOR: #666666">你会不会 </DIV>. _9 J$ h1 l8 y \! ~' }
<DIV id=lrc17 style="COLOR: #666666">永远没有说再见的一天 </DIV>
6 M" [" J# c% t4 ?" u+ e4 Z, Y; K<DIV id=lrc18 style="COLOR: #666666">可能年少的心太柔软 </DIV>* H0 H" n' q5 F4 [$ s
<DIV id=lrc19 style="COLOR: #666666">经不起风经不起浪 </DIV># M9 F) r7 B! h2 \- v
<DIV id=lrc20 style="COLOR: #666666">若今天的我能回到昨天 </DIV>
0 q& S- _$ J' y, J<DIV id=lrc21 style="COLOR: #666666">我会向自己妥协 </DIV>+ |( Y5 G8 V6 P b% @+ e
<DIV id=lrc22 style="COLOR: #666666">我在等一分钟 </DIV>
1 r+ `5 \/ o" w<DIV id=lrc23 style="COLOR: #666666">或许下一分钟 </DIV>5 {, Q$ | W6 p; E/ o
<DIV id=lrc24 style="COLOR: #666666">看到你闪躲的眼 </DIV>
8 Q9 M4 j$ B% b4 z. E- \<DIV id=lrc25 style="COLOR: #ff3300">我不会让伤心的泪挂满你的脸 </DIV>5 j: F3 c7 t. {5 ?6 X% Z, B
<DIV id=lrc26 style="COLOR: #000000">我在等一分钟 </DIV> `/ u/ d) d0 Y2 o' `+ W7 T2 g% C H. V
<DIV id=lrc27 style="COLOR: #000000">或许下一分钟 </DIV>- G4 ]: a9 a6 Z# N/ D8 x& `! L
<DIV id=lrc28 style="COLOR: #000000">能够感觉你也心痛 </DIV>
& h8 C$ r( r, ~4 f% {0 Q<DIV id=lrc29 style="COLOR: #000000">那一年我不会让离别成永远 </DIV>* a3 s# k- J9 H8 S+ ^/ w( F* I e
<DIV id=lrc30 style="COLOR: #000000">如果生命 </DIV>/ R8 N' Q. [( C" P! e8 k
<DIV id=lrc31 style="COLOR: #000000">没有遗憾 </DIV>8 E7 c1 Y5 u, R U ?) m8 N
<DIV id=lrc32 style="COLOR: #000000">没有波澜 </DIV># u1 S) i/ ^5 S5 _7 ^* Q0 q$ a
<DIV id=lrc33 style="COLOR: #000000">你会不会 </DIV>
) C& p) u6 e1 R1 c' z2 Y- A$ z% o, Y<DIV id=lrc34 style="COLOR: #000000">永远没有说再见的一天 </DIV>* K7 m! K: [- a* v, ~- w
<DIV id=lrc35 style="COLOR: #000000">可能年少的心太柔软 </DIV>4 t: @3 S A- ?" i9 v7 O
<DIV id=lrc36 style="COLOR: #000000">经不起风经不起浪 </DIV>
; u: U& B, d- U M9 J* ]: @9 E<DIV id=lrc37 style="COLOR: #000000">若今天的我能回到昨天 </DIV># R% p. i/ |3 W9 `9 A- G
<DIV id=lrc38 style="COLOR: #000000">我会向自己妥协 </DIV>) r* I, P$ ?2 o( v5 K+ O- P
<DIV id=lrc39 style="COLOR: #000000">我在等一分钟 </DIV> ]3 u' U2 @; P! M$ J$ p
<DIV id=lrc40 style="COLOR: #000000">或许下一分钟 </DIV>! v; N: j% ^' T
<DIV id=lrc41 style="COLOR: #000000">看到你闪躲的眼 </DIV>
& _" A+ M& q) h9 X4 F) G<DIV id=lrc42 style="COLOR: #000000">我不会让伤心的泪挂满你的脸 </DIV>
/ j* y: _/ C! o* l<DIV id=lrc43 style="COLOR: #000000">我在等一分钟 </DIV>
0 t: g x' [3 }4 S9 j/ T( D<DIV id=lrc44 style="COLOR: #000000">或许下一分钟 </DIV>) }8 M1 Q/ r9 j9 j' T9 D
<DIV id=lrc45 style="COLOR: #000000">能够感觉你也心痛 </DIV>
) d* J7 {- X$ D7 i4 o<DIV id=lrc46 style="COLOR: #000000">那一年我不会让离别成永远 </DIV>" l3 l9 V6 ]. r. u
<DIV id=lrc47 style="COLOR: #000000">我在等一分钟 </DIV>" H" n/ w, n e0 z2 V4 ?& Z! K
<DIV id=lrc48 style="COLOR: #000000">或许下一分钟 </DIV>
, O9 ]- j7 s. N8 q; g, X" F4 }<DIV id=lrc49 style="COLOR: #000000">看到你不舍的眼 </DIV>( b a. m5 F. b4 M
<DIV id=lrc50 style="COLOR: #000000">我会用一个拥抱换取你的转身 </DIV>
6 v) K3 @+ c* S& U1 w( n+ f<DIV id=lrc51 style="COLOR: #000000">我在等一分钟 </DIV>5 p+ \' O2 L2 j( w* C
<DIV id=lrc52 style="COLOR: #000000">或许下一分钟 </DIV>5 ?- g5 j! [' B# V: s
<DIV id=lrc53 style="COLOR: #000000">如果你真的也心痛 </DIV>
- i, L/ G- i$ E# S: ]& z<DIV id=lrc54 style="COLOR: #000000">我会告诉你我的胸膛依旧暖 7 K( F) a* P7 \2 j$ t
<DIV id=lrc style="DISPLAY: none"></DIV>2 e- I& u. q3 h( m: N) `, p" F
<SCRIPT type=text/javascript>
' I3 S% H) K0 U8 l9 T9 d0 j) w4 ~document.domain="1ting.com";
! Q- |! T. V1 X2 Evar colorPasted="#666666";
l) V4 A2 f* J9 n! O! c% s& Jvar colorPlaying="#ff3300";
, P2 D. H, A! ^var colorNormal="#000000";
) E8 b- P+ d3 n' h0 H* V; [$ = function (a,g){" }, [; |: _4 w* Z# _1 X
var o = new Array();
0 V! A: U" M/ O var c = new Array();
0 a' C8 R/ {# N. b- s1 p" v9 h var r; 7 \" W# }9 F/ ]! ]7 ~$ ^: a
var u; % v' h( ^. z' s+ T) `8 Q' ?
var a = a.split(';'); ( l1 e/ T: G) [0 n# K8 K5 r
2 c3 d/ n! |% H9 H) o( k/ p0 F: R var e = "keydowns,resize,load,dblclick,click,mouseout,mouseover,mousemove,mouseup,mousedown,inputchange,inputfocus,inputblur".split(",");
F$ w0 p5 c7 Y1 f1 T# B for(var i=0;i<e.length;i++){+ v- d8 q8 ^- s8 s( p
eval(e<i>+" = function (s){eval($event('on"+e<i>.replace("input","")+"'))}")8 R& }: d0 d( P& m
}5 S3 c& p! c; A# }& y! J
; A& D! x! Y. K9 J
after = function (t,d,s){
: d2 o; t0 G4 i9 T* w4 _7 P6 F $after = function (){8 Q B! d% ]4 G1 R
var $n=document.createElement(t);/ M/ [+ p5 a a; e
if(d!=null){' p7 a5 ^7 s3 h
$n.id=d; - i( C8 t& D0 d6 N
}2 H( e B# C6 h+ M" u5 C, N- p+ q
- D- @* o) F6 w0 F% y% @ u.insertBefore($n,null)
* v. r; g# H& N3 Y+ a- j& Q( A r = $n;
2 q/ R, x; @4 P1 U/ s9 S& L u = $n;
4 c* ^) U# ?1 j5 F( H }% g, @" z3 S# o. s
$for(s,"$after")
1 Q! g0 J! E! l$ h [0 `' L }2 f& b1 L. L' j! Z
$ b3 W8 E+ a1 s9 T# c# s
show = function (s){
0 L0 W f6 d6 Q/ Z: x $show = function (){2 |* q, ]8 |* O! P& i0 ? w% X
u.style.display!="none" ? style("display:none") : style("display:block") ;. l" X# ~# l: o
}- @' U8 m. X2 j
$for(s,"$show")
" s; M/ O+ M/ W6 w9 A }, B# e' g! x p- {) t
/ i. c: J1 g; m% m check = function (t,s){
9 K" [% h8 P& V/ E ^ $check = function (){
- d0 ^+ f+ U( T1 F$ E' {# k if(t=="2"){
7 o0 S7 E7 y# b5 S; A2 h0 ~' j if(u.checked){
% _# B- i+ Q7 c( U1 v* i u.checked = false;) m7 n) o0 z% w1 T d
}else{
# m' M; l& f# F9 T u.checked = true;
0 t) a- Y' B' u7 L5 P }
+ j" G8 P$ y8 Y, y3 b1 \1 B }else{
2 G+ L- U9 s7 M% o u.checked = t*1 ;( P: ~0 D% |: G" ^# j) O3 d9 u9 S
}
. V2 ~7 K' Z P6 j7 r4 C8 W }
0 {+ d* ~2 u+ g5 S6 d4 P$ c $for(s,"$check"). L8 L+ ]6 w- r8 U- W9 r) g
} g$ K* H' Y: ]" _, e x
: |& |' B5 k0 f1 v0 z5 Q
style = function (v,s){% l, C1 R: T# {
$style = function (){. k$ L" F) T' }
var $n = v.split(",")
8 w- c; E1 q ?4 _" R( e5 k for (var i=0;i<$n.length;i++ ){
4 x5 e- U7 i/ c+ _7 H i4 r var $m = $n<i>.split(":")
6 A: _: o9 C6 r: @/ [ eval("u.style."+$m[0]+"='"+$m[1]+"'");
9 T: [ T% P3 J, y$ O. y, {) J0 w }! Q4 y, P( C) ~
}
' K& \) M: {3 s; ]! m5 N6 @) } $for(s,"$style")
& Y& C% l( {1 _ H& l }! d$ W% v( ~: o4 X& W3 T# r
/ [: P# I0 q* S$ c' { value = function (v,s){ |) }0 r# ~2 @8 f* g) n# S! q7 ?
var $n= $this (v);* L+ n. U5 b' b" x
$value = function (){& D6 `; S4 }6 m/ C Q) `7 e
u.value = $n
8 |6 ?4 K' I7 E+ s% m7 Y. r+ N. u }
# f& F# a" X' n+ T $for(s,"$value")
5 C; I, V2 a$ E$ M0 U }
: O" N7 J: g& `( T# \
/ ?8 }6 K/ P0 N/ x! M* C; f text = function (v,s){
! D3 ]1 f! n6 Y9 a0 s4 S var $n= $this (v);
4 ?" ]: N; E0 l1 Q( ~+ ~/ e# f. V $text = function (){
4 F, F! w9 L1 n: k1 e9 d
3 q2 u% {3 Q+ H ]! A u.text = $n
' c$ N1 W; V6 [ `& _. ]+ P1 ^ } u- b, t" B! D
$for(s,"$text")
# q7 m( q1 S/ E1 q1 m }1 a; |2 d1 f; D# _' S
6 w3 U; a1 v# K/ b. y* C innerhtml = function (v,s){: p6 ~' z" G( e" |7 g
var $n= $this (v);
# ^8 }% U/ a; L $innerhtml = function (){
7 Q& z9 m o _0 g4 T( X4 ~ o" D u.innerHTML = $n0 P; P4 K: t2 X
}
% Q: }6 z8 Y% f $for(s,"$innerhtml")
/ A" @/ ~! v' N7 q& \7 a1 M }
( F/ ~" k5 x- x% K . R% O6 w) E5 K& c! R& D
removechild = function (s){
4 _$ t4 B3 W4 N$ m7 [ $removechild = function (){
+ ]: T3 O, J4 p3 d& o u.parentNode.removeChild(u)
. ?, Z2 y2 \9 j1 v j }, I5 g# n3 p" X% e* x
$for(s,"$removechild")3 q" I. W- b0 N; p/ u5 h1 ]
}
0 \( ]* X: ~# `+ O# i, Y' m# \; g, d8 r
6 |/ B4 z; b4 y9 E9 B $this =function(v){
( {$ w$ X8 C/ E if(v.indexOf("this") == 0){( _9 v! `) n: G) }6 N3 Z; ^
return eval(v.replace("this","u"))( g. h' C- N* W: A6 u
}
' L: b* ?, g% L+ D) E. Q5 U: K return v;8 z1 O: ~ {9 L3 G. n( i8 y, P" S
}/ F9 ^/ R6 c" w
2 V6 ]0 \/ t1 \% u5 c! e( n$ D
$event = function (s){" p# a, v K" O b7 v
var $n ="u."+s+" = function(){$work(this,s);}"" m, y! G6 {7 d" b
return $n;- u5 E( o# [' Z) X
}
- Z/ l* c: |8 S& m5 b( d" L- g
3 `$ l! V- X6 p( T7 F $replace = function (s){
& c( @. R* x! _, G$ j
8 r7 }0 J+ o- X, q }; T1 h @' S4 w9 G
$ ^, c8 H g, d! z
$for = function (s,c){
, Y5 M/ ]2 i$ `" l var $n="this."+c+"()" ;' s( Z( q# ]5 B2 w& D9 M
if(s!=null){
$ T* a1 `3 f* J$ L( y) m& s var $m =$test(s);
- O3 x2 w- U) o ^7 J for (var i=0;i<$m.length ;i++ ){
0 Z( N; I3 r' r7 J u = $m<i>;+ P! t" V! r( r" i. |% h8 _. ~- _
eval($n);' i% Y8 _. n6 k
}! a" s7 q, r X2 o' X
}( ~# Q( S% \% f4 y( n2 B& m
else{
9 {$ @; J8 C! h) \. v- j# X eval($n);( C% j" ^! c( E. x& n
}
2 ?- }5 ]5 y0 R$ ~! N }
# U$ o/ E- }) ^' u5 R' S! @- _
% Z& }; g8 N1 J8 I $test = function (a){% z/ |4 n4 Y- y9 E; p
var o = new Array();$o(a.split(';'),o);& |' N* k0 n: C5 I
return o;2 J4 } ^* ^# K$ ~( C V
}
3 i! B, J2 B5 \/ o! g5 ]
4 {! Z# I& J% d& V# i3 \2 u $format = function(s){
+ T V3 _6 Y# W while (s.indexOf("'")>0){
+ a ~9 {4 M5 A/ |) W s=s.replace("'","\"");
# A6 r- a% e9 N, A }8 ^9 L0 C! X% k7 Y, R8 ~3 t
while (s.indexOf("][")>0){* K8 B3 ^ \3 K( z
s=s.replace("][","','"), h$ E0 o, G7 f$ J ^7 H
}) j( X, P) ?5 O3 g4 O
while (s.indexOf("[")>0){" i) h# U r' Q- @, {
s=s.replace("[","'").replace("]","'")
. R1 B: {: g2 ]3 _ } 2 \4 a0 y) b/ E8 j) X- a% Q
return s;/ J( K0 ~8 l% m& B
}
) o; z6 c6 n T5 i
+ @9 k, r. D/ T" E) D j $work = function(w,s){6 j9 F# o/ j2 }: u Q
u=w;eval(s); ~! W5 J' Y1 {" K' W3 |
}; s9 Y' t1 E' h3 g/ W
+ {6 y. |$ g$ {4 q6 {" U $id = function (s){1 O( C6 d9 W: [! ?% i; S
return document.getElementById(s);
: S. y3 o2 s' C4 j& M8 p | }# _( y# [% j6 @7 X) `
8 C$ a0 ?6 ?: [ $name = function (s){
# s# R: r4 N8 K k! n. D+ K* B return document.getElementsByName(s);
" m$ m* P1 C2 s' G) K }# S; T+ E$ M& u: ^8 D
0 K) e% `; U" v/ s $tagname = function (s){
1 h m; q+ s/ F$ P return document.getElementsByTagName(s);, e- ]9 p8 V" d: z R4 m
}
" C0 d+ C# W" I: ?+ ^. n# F4 T/ z1 S* J* A. k' o! e0 n
$o = function (a,o,c){7 \- b* N8 ]4 p% ^; {& U. b+ Z6 k$ f: |
$push = function (n) {
* ] r- c3 f7 P9 u | for (var i=0;i< n.length;i++ ){
3 P; G+ m. k) R( s o.push(n<i>);; y4 w( x0 M8 f8 m
}
8 `9 Y( U' q+ X" S1 V }
( [/ X* x$ M b1 h/ T for(var i=0;i<a.length;i++){
, f( b* T0 }/ `* \2 v if(a<i>.indexOf("(") >= 0){
3 K$ N% E ?& m% c3 T c.push(a<i>);
2 g4 v8 Z$ H; d8 `4 r }
* T% u; T4 e) J0 Y/ J if(a<i>.indexOf("~") > 0){
( W( B4 p. D# T( X \1 w try {
; h V8 Y% Q; h c4 f7 b6 _8 b6 ` $push(eval(a<i>.replace("#","document.getElementById('").replace(" ~ @","').getElementsByTagName('")+"')"));
/ K7 [' i6 _/ @& p- C* I2 y }catch(e): l+ |! A% }$ w# I* T
{}
6 E# l7 s8 f: {! f# n }
. O; b0 h& R: d [3 g- R else{& v; T7 U% U7 e# U. E/ H
if(a<i>.indexOf("#")==0){% e& K' }9 D: |9 K
o.push($id(a<i>.replace("#","")));
+ N% H2 e: g/ t2 q }
8 p" i W) h9 V if(a<i>.indexOf(".")==0){
, _" `! D6 ~4 m9 U" d $push($name(a<i>.replace(".","")));3 t* z6 r: a' o8 W7 w
}
4 ?& d. C5 c. D4 C- Y if(a<i>.indexOf("@")==0 ){
+ c" V" }- n& x4 @ $push($tagname(a<i>.replace("@","")));
* o+ Y- r, ]! g) r/ F% J9 ]( E* F }4 `- f( X, D# t x1 X) L! ]
if(a<i>.indexOf("*")==0){: `; F0 ~2 g3 B; {+ Q
$p= a<i>;
) ?1 ]0 A9 I7 f0 d% ?/ p Y3 M if($p.indexOf(".")< 0){
! l9 K/ ~+ S! M' E L z+ L $p = $p.replace("parent","parentNode")
+ E+ h9 r! h+ F+ n2 w' I. j* I }: \0 C M9 h2 m0 x
var $p ="u."+$p.replace("*","");
/ E3 I+ J6 n; ?8 K while ($p.indexOf("parent.")> 0){
2 l' X6 H' O! F# e' p1 h: r6 R $p = $p.replace("parent.","parentNode.")9 S" a* M! y1 E; n; _( O6 _
}2 U0 h' t! d6 H) g
while ($p.indexOf("child{")> 0){. W( {; ~& p# R* I/ Y5 L/ t( @4 ?
$p = $p.replace("child{","childNodes[").replace("}","]"). b" p$ y A; r; ^+ V5 \
}
2 O+ p+ s$ |! ]8 d* o, E o.push(eval($p));4 X! {6 |- p3 |
}
1 _0 z3 ~8 K+ U1 P; j4 h if(a<i>.indexOf("document")==0 || a<i>.indexOf("window")==0){, ^9 E4 q5 W& A- a9 u/ R5 Q. i
o.push(eval(a<i>));
' N; h& L4 C- w1 Z }
% Z- j( U1 D) a; S% f }" a; G$ Y# V) F, K& ^8 E
if(g!=null){ : v# y0 t! C2 k8 ]6 d
o.push(g);g=null
/ k. D6 L" x6 o4 e c0 Y$ b }
5 `; Y" K! @4 ~" w$ a. I# z( F& |3 S( n }
# U/ B% e/ C1 F: u6 E* x/ C) m }
+ a/ @4 f( g4 R/ H1 p `; k
0 _) h4 L! w9 U% n7 `; R; T1 ]# }, d; ^ $o(a,o,c);: l/ g/ q# Z9 N3 j% i0 W
$ `" ]$ O! F8 j2 O% \9 C
for(var i = 0;i<o.length;i++){- t& [0 X3 @. _/ b1 g
for(var j=0;j<c.length;j++){7 w1 H& ` A" P2 {8 b; b
u = o<i>;eval($format(c[j]));
: F! \" n: b) U/ [ v% I# ]. ~5 p" i }
+ _, c6 |5 [) U: j }
" O. f- W, n- Y3 U5 r9 Z% i5 u7 I. M! t+ V2 C6 Z
if(o.length == 0){& E: d/ U: I$ J! T/ t M& @
for(var i=0;i<c.length;i++){
8 I# o& }$ ]3 q1 @1 W& I. h eval($format(c<i>));
5 b! ^/ x% Q ]$ Q( F7 \$ | }( t! m7 S! A3 c0 i
}
, Z) C% g ?+ Y6 G% X+ K: w0 B, A
5 k! \+ J& P( ~# ? if(r!=null){
9 A7 Y, I* E5 v# O return r;; D0 p5 E- o n' V" ]: h2 E3 ?
}
2 x% `' h0 c/ z# D# q4 B 4 F1 w! c0 w+ g+ u/ F% ~6 @8 j
if(o.length==1){
9 n, w% k* K$ F/ I Z return o[0];0 t& c. w' H+ t7 ?
}
; h3 g4 Y/ z- w" O/ ]1 J M2 t7 L else{( L$ ^: u$ z% I" e6 ~( V! h
return o. E( a5 j! A* x/ `# H
}
, P/ L( ^- @3 P $ T# m( y. Z2 b
}
4 Q4 j& m4 Q/ Tvar lrc =$("#lrc;show()").innerHTML.split("[");
& A& w: e, g# ~+ V1 x; E2 B2 nif(lrc.length>5){
, I9 v6 t: c. m& W) V% l- Dvar array = new Array();
6 `! Q5 ^ O: m$ yfor (var i=0;i<lrc.length ;i++ )2 H' {+ z+ f1 c3 N) i
{
+ i# \- ^% R4 J/ h& M- ^ var g = new Object();
% ?' H5 P( p1 A" u3 Q7 \ t= lrc<i>.split("]");
8 z2 H4 b5 @. y. Z! B g.time = getTime(t[0]);! s, @0 d+ m4 U1 V, [, O7 x
if(isNaN(g.time))3 `- I' _4 k1 V+ W* O) v
continue;# s: O8 L1 h6 J' e" |
g.c = t[1];
/ F! A$ y1 ?2 { if(g.c == "")
, ^4 x; _; O9 O, e( R g.c = getNext(i);& F! q; C2 H3 c8 Z/ n4 j
array.push(g);
% m: }; j: }1 o}
% K& a& {8 d: E# y7 b) Jarray.sort(function(x, y) {" k3 y! @7 m# W8 |
if (x.time>y.time)
1 a, z8 q; t' E return 1;- C% s' l7 x0 s q% p" N
else if(x.time<y.time) D* k; d' S( M
return -1;# c; A2 j+ ~* [1 g- {% m
else
2 V& e, N( z/ `( g$ b9 p return 0;: \/ h$ Q- [( l: ~
}
* ^ W4 O4 b* y5 w0 p% D& M);3 N+ E5 N/ ?2 e% T1 \9 T! T
for(var i = 0;i<array.length;i++) q' O. j, X: S1 ] e, d% }: ^
{
8 v4 q4 \2 @* T% ` var g = array<i>;
) P1 ?' t% y( ^4 E( r9 r6 f! s if(!g.c){9 e- Y: q, |% T1 m
g.c="";
9 W* N% l2 d$ v( J }
* J/ o+ V+ p: A1 } $("#list").innerHTML+="<div id=lrc"+i+">"+g.c+"</div>";4 Y: L! Y1 m- e
}
4 H3 |# W% P8 ^: Rvar time = setInterval("lrcList()",500);
; e- }9 ^+ ~6 B1 k, u}else{7 x1 S" u" _& U! J5 P/ V x9 s6 V
$("#list").innerHTML=$("#lrc").innerHTML;: u! c9 v% \% }& `
} ~/ e, N3 \( o4 \. v8 |
function getNext(i)
$ Z' H* @1 N' O2 @; T- C' N{$ @$ J' W: e: L0 y; A
var result = "";
/ h O; S; _5 A& Z0 n var i = i+1;
5 \1 H8 J! r! p! \# t% g. w5 S$ {3 p t = lrc<i>.split("]");: n3 y1 T `" ]( A1 q
if(t[1]==""): m, C5 [9 Z# o G$ @* t4 U
result = getNext(i);( C5 N9 O# | Y7 N4 k& |8 U
else# F: o9 ^, y. K# A: ?1 f$ m' o8 r
result = t[1]9 Z# F. B# N% g& w) y9 D; H
return result;) x. H8 C: W( O; k
}
$ ^9 v. k |$ A5 B$ Y8 Z7 H- o' Y2 q# I2 c) G
function getTime(str)
9 | k/ I1 w" t$ _8 y: v M5 J{
; d/ x: }: B: j% X k var time =0;
* {2 Y% @1 b$ b# u) X: o var ta = str.split(":");0 q6 h y$ ?1 E% m) w
if(ta.length<2)% G/ j0 V* A% H% |) J
return time;
7 l: p+ v1 C& L6 m( T$ i6 G& w
3 R3 P/ w/ X! K' o% B if(ta[1].indexOf(".")>0){/ t; w9 S( n" a& Q
var tb = ta[1].split(".");9 W) {: @( I. L6 [, B8 u- r
time = ta[0]*60*1000+tb[0]*1000+tb[1]*10;, r/ p o& Q I4 d) g' W
}+ W, [% \( O1 C: P' K# {
else
" b, `( u9 q1 D7 A- v* @1 Y time =ta[0]*60*1000+ta[1]*1000;
' O# {8 _) u0 Q/ }8 j/ { return time;1 o% Z3 J0 S2 {& u+ q
}
6 L$ i. I" e6 ^. i4 b8 P' L- X4 Fvar preTime = 0;
6 s. Y! f& w9 \! b1 Mvar nextTime = 0;% e7 M a" y: d. e7 I) V
var currIndex =0;$ d- l( Y5 n* a9 ~! q* W2 |8 m
function lrcList(){
: H: Z3 S- i7 q* Q var s = parent.document.getElementById("MediaPlayer").controls.currentPosition;
/ g! k" }; H8 f7 r+ t' c7 ? s = s*1000;
7 G: X7 y( M" U! Z& S& ~ if(s==0){
$ v4 F- I0 N+ S7 @; t2 ^ currIndex =0;; c% T6 H0 v. I: _
$("#list").scrollTop = $("#lrc"+currIndex).offsetTop-30;
; a$ L% O% R( }% | for(var i=0;i<array.length;i++){
9 A" c% H/ W3 T c( |2 B E' Y document.getElementById("lrc"+i).style.color=colorNormal;( n! g; a0 ?5 _; s1 J/ M9 z+ k
}
* z% V3 `4 Y7 r5 h return;
8 }8 W9 x2 ?7 _ }( s# H8 j1 B2 r$ R+ C1 ~
if(s>0&&currIndex<array.length-1)
! B8 m/ h9 U6 R* l) m2 U { 1 C3 a# Y- B! Q6 r2 b( n
preTime = array[currIndex].time;
1 f. c+ S8 d/ h7 s4 [* y
/ m, o" q4 t2 _/ z nextTime = array[currIndex+1].time;
% S9 Q! z6 f4 I8 [9 i) r8 g : v6 Z6 |, s# q" o0 D0 m/ e$ p
if(s>=preTime&&s<nextTime){ I$ m& l8 s0 f$ F6 j, [% w' }( }
}! D# l; Z; L( z. [/ i- }1 t
else if(s>=nextTime)
, P* E6 ?6 f$ x {
6 A' h8 P6 L. v" y3 x% h! }+ ` document.getElementById("lrc"+currIndex).style.color=colorPasted;$ y5 d1 ]6 `% m3 ]: `
currIndex++;
0 J6 X6 |. m2 `8 T4 D" @' f $("#list").scrollTop = $("#lrc"+currIndex).offsetTop-30;
- N+ w& Z9 `! ]1 X9 t document.getElementById("lrc"+currIndex).style.color=colorPlaying;/ _9 |- `; i/ O5 K# k+ k' D) Q+ j$ C
lrcList();
) D7 O7 s0 x& {+ ?! D B P) ^3 q }- V3 q3 }4 R+ n1 _: ?
else{) Q9 T# |) k8 C2 y) O# \# ~
document.getElementById("lrc"+currIndex).style.color=colorNormal;
8 w! W* @9 b r currIndex--;
. J" {, }$ ~& \ $("#list").scrollTop = $("#lrc"+currIndex).offsetTop-30;
% @; O, y3 |' u" g' Z; z$ }& T9 B document.getElementById("lrc"+currIndex).style.color=colorPlaying;
, A) J0 b5 E( j% ?* |& a lrcList();
( A; p" b) P) ]8 }- Q9 o8 g/ Y }
8 @! _/ \! a( F4 J8 U; Z* Q. c }
1 A5 G2 _7 w" U8 q5 q else
4 a2 |) l% X2 x {2 t. D$ W5 |% m
if(s<array[array.length-1].time){
0 ^8 s. v! r' Q currIndex = 0;
" a( w: ^' o; u3 L, [! d $("#list").scrollTop = $("#lrc"+currIndex).offsetTop-30;( S0 b- J. F5 Y0 Z& J7 |: J; r1 m
for(var i=0;i<array.length;i++){
, D- V' C" E1 l7 i+ K document.getElementById("lrc"+i).style.color=colorNormal;2 j& x+ F- ]' p! i3 O
}1 F+ |0 z7 i2 A& i0 `, K+ E8 ^$ v
lrcList();+ `6 d3 @; @4 e, j: z% \( N
}! H: Q5 h/ W# E+ C% U u0 G
}
1 Z& P* u! L: \9 |3 C+ R}
5 N6 @" Y) P! f) T2 a</SCRIPT>% k1 w3 L) |1 {( ]
</DIV></DIV>/ J+ ^2 E9 j6 M) D5 A
- L+ u5 F* @* l4 ]. l) x0 s6 W
[ 本帖最后由 幽谷兰 于 2008-9-18 17:36 编辑 ] |
|