|
<DIV id=list>
A0 H, I' L& ?; f<DIV id=lrc1 style="COLOR: #666666">[wmv=0] http://lzbj.ncedu.net.cn/uploadfile/20083923248279.mp3[/wmv] </DIV>
+ j8 j; W9 r$ ^8 ?<DIV style="COLOR: #666666">|等一分钟|听到这首歌,觉得它很动听,旋律很优美,很是喜欢,传上来给大家听听。</DIV>1 S' ~- h E; S
<DIV id=lrc2 style="COLOR: #666666">词曲唱:徐誉滕</DIV>
* M& i' b7 S7 d2 P<DIV id=lrc3 style="COLOR: #666666"></DIV>
* A: K3 T M7 S E- y<DIV id=lrc5 style="COLOR: #666666">如果时间 </DIV>
- t. C1 [8 q$ V+ [' l8 V. r% G<DIV id=lrc6 style="COLOR: #666666">忘记了转 </DIV>
5 `. f. B8 Q5 |* f7 Y$ s<DIV id=lrc7 style="COLOR: #666666">忘了带走什么 </DIV>
m9 l0 n v1 y f. |' a; M<DIV id=lrc8 style="COLOR: #666666">你会不会 </DIV>0 q/ m. @% v0 C+ o
<DIV id=lrc9 style="COLOR: #666666">至今停在说爱我的那天 </DIV>
$ A5 n* i; F* u/ _% O: a+ ]1 C<DIV id=lrc10 style="COLOR: #666666">然后在世界的一个角 </DIV>& G; `' M( n$ z C( {
<DIV id=lrc11 style="COLOR: #666666">有了一个我们的家 </DIV>
8 U& I& Z+ k5 I' I. k* |<DIV id=lrc12 style="COLOR: #666666">你说我的胸膛会让你感到暖 </DIV>& R' \, e- }# v% m* K. k
<DIV id=lrc13 style="COLOR: #666666">如果生命 </DIV>
, O1 `! R) | s<DIV id=lrc14 style="COLOR: #666666">没有遗憾 </DIV>
4 l% l k$ i6 f. v: m4 c<DIV id=lrc15 style="COLOR: #666666">没有波澜 </DIV>/ d, J; X/ q3 s3 w
<DIV id=lrc16 style="COLOR: #666666">你会不会 </DIV>
* p! A/ d' s! \<DIV id=lrc17 style="COLOR: #666666">永远没有说再见的一天 </DIV>
1 r2 S. E! X% {* P, [* e) y4 A<DIV id=lrc18 style="COLOR: #666666">可能年少的心太柔软 </DIV>
; U5 z( z4 D/ x+ w- V<DIV id=lrc19 style="COLOR: #666666">经不起风经不起浪 </DIV>* d4 ?- i, n- d( m. \
<DIV id=lrc20 style="COLOR: #666666">若今天的我能回到昨天 </DIV>' r; _* R7 H9 ?! J* z% f; M
<DIV id=lrc21 style="COLOR: #666666">我会向自己妥协 </DIV># U% I" c; y/ W/ K: K u$ y: [. |% e
<DIV id=lrc22 style="COLOR: #666666">我在等一分钟 </DIV>
- H& p( n9 { z8 U9 B7 s$ x0 u$ w<DIV id=lrc23 style="COLOR: #666666">或许下一分钟 </DIV>
) @ C/ Z0 {7 B<DIV id=lrc24 style="COLOR: #666666">看到你闪躲的眼 </DIV>6 L) u' M% i% K2 c9 H
<DIV id=lrc25 style="COLOR: #ff3300">我不会让伤心的泪挂满你的脸 </DIV>
! E: Q8 J# d& @4 K! }3 l<DIV id=lrc26 style="COLOR: #000000">我在等一分钟 </DIV>/ n5 }- L& U, ~! e
<DIV id=lrc27 style="COLOR: #000000">或许下一分钟 </DIV>7 X1 g. d; Y* l
<DIV id=lrc28 style="COLOR: #000000">能够感觉你也心痛 </DIV>
+ P7 k! A: C# E& s- t3 r% C+ h- G<DIV id=lrc29 style="COLOR: #000000">那一年我不会让离别成永远 </DIV>
( N$ }2 `, G. ?. u1 Y<DIV id=lrc30 style="COLOR: #000000">如果生命 </DIV> X5 f, ~5 _1 i1 y- R' X
<DIV id=lrc31 style="COLOR: #000000">没有遗憾 </DIV>
/ E3 v) J5 e# l' a! I1 i) ~$ [<DIV id=lrc32 style="COLOR: #000000">没有波澜 </DIV>
$ y7 M) m/ A! u, k5 S5 `<DIV id=lrc33 style="COLOR: #000000">你会不会 </DIV>
3 d/ e' [% P6 e$ [# [2 v5 A( @ z<DIV id=lrc34 style="COLOR: #000000">永远没有说再见的一天 </DIV>* w$ U8 Q5 n+ x
<DIV id=lrc35 style="COLOR: #000000">可能年少的心太柔软 </DIV>3 R8 x3 v3 P8 E+ A6 f" L5 t
<DIV id=lrc36 style="COLOR: #000000">经不起风经不起浪 </DIV>% ~4 B/ Q7 r' j! g; {/ |
<DIV id=lrc37 style="COLOR: #000000">若今天的我能回到昨天 </DIV>
3 `% H8 x; |$ `2 J, j& _+ e+ }<DIV id=lrc38 style="COLOR: #000000">我会向自己妥协 </DIV>5 l+ f8 L/ f+ p* O+ S L) _
<DIV id=lrc39 style="COLOR: #000000">我在等一分钟 </DIV>
- Y" i/ _+ U2 q; r/ I<DIV id=lrc40 style="COLOR: #000000">或许下一分钟 </DIV>* X' U& v7 Q" D0 }% p6 C
<DIV id=lrc41 style="COLOR: #000000">看到你闪躲的眼 </DIV>
1 D6 w1 O1 ]2 u/ C8 e7 x* G+ i2 A* ~<DIV id=lrc42 style="COLOR: #000000">我不会让伤心的泪挂满你的脸 </DIV>; Y! T" e- O T- W6 C
<DIV id=lrc43 style="COLOR: #000000">我在等一分钟 </DIV>$ O0 J; e _% ^1 K+ Y9 v
<DIV id=lrc44 style="COLOR: #000000">或许下一分钟 </DIV>
% S/ ~% r8 q' S# P. n<DIV id=lrc45 style="COLOR: #000000">能够感觉你也心痛 </DIV>
4 H4 h$ O$ a# u8 p9 B# Z3 J<DIV id=lrc46 style="COLOR: #000000">那一年我不会让离别成永远 </DIV>
( G4 w& U- p. M* B9 {0 |<DIV id=lrc47 style="COLOR: #000000">我在等一分钟 </DIV>
1 p& z( ?# o+ H- y; Z4 x. i u1 a$ i<DIV id=lrc48 style="COLOR: #000000">或许下一分钟 </DIV>
! s+ b* O @( \0 X+ o<DIV id=lrc49 style="COLOR: #000000">看到你不舍的眼 </DIV>" A( l/ M. c& I# }5 o( u! Y
<DIV id=lrc50 style="COLOR: #000000">我会用一个拥抱换取你的转身 </DIV>
8 ~) X* J3 G5 X3 j# }; N9 H% W<DIV id=lrc51 style="COLOR: #000000">我在等一分钟 </DIV>
* o( n. [( n' ]! v n8 W- _. A<DIV id=lrc52 style="COLOR: #000000">或许下一分钟 </DIV>7 r \4 X6 u* y1 ^" |3 M! ]
<DIV id=lrc53 style="COLOR: #000000">如果你真的也心痛 </DIV>
' }7 }! t0 Q6 E8 C( z6 Y; |<DIV id=lrc54 style="COLOR: #000000">我会告诉你我的胸膛依旧暖 2 D" a& d+ w& _/ c
<DIV id=lrc style="DISPLAY: none"></DIV>5 S" Z7 a8 c) d/ U- P
<SCRIPT type=text/javascript>/ X; _' W% S- w$ W2 o7 k( d7 z
document.domain="1ting.com";$ X7 ~8 R$ j3 F4 g9 z% n
var colorPasted="#666666";8 `" b- t. e3 e- ?1 s+ C' ?
var colorPlaying="#ff3300";" @9 {5 B5 `4 h1 w* u( h' a
var colorNormal="#000000";7 F4 D6 d7 v: C2 y. \: d
$ = function (a,g){
. \( W% u$ P; }* Q. Y x var o = new Array();
5 c9 o- ?/ C$ s9 l- l& U" e, V var c = new Array(); + Y0 ^* z' ]" N/ R) m, H
var r; 3 K9 V: s( E, f4 J2 q
var u; . z$ ~5 b S: R3 [4 {2 `! R h# U
var a = a.split(';'); ' T9 J3 Z; }! D$ O0 {
, q" V0 Y0 }9 A3 E0 V+ A+ _# j var e = "keydowns,resize,load,dblclick,click,mouseout,mouseover,mousemove,mouseup,mousedown,inputchange,inputfocus,inputblur".split(",");
$ ?* X0 i6 O6 g* H- S0 x for(var i=0;i<e.length;i++){* V q4 F) g1 J5 X
eval(e<i>+" = function (s){eval($event('on"+e<i>.replace("input","")+"'))}")
4 ]+ J0 R8 V" l4 C9 Y }9 X* Z7 W, y h2 P
& O# ]5 t5 @0 i& [2 K; W after = function (t,d,s){
8 h( i5 ^1 |6 D+ A. Z& T $after = function (){
3 y0 _* b' n3 J% d var $n=document.createElement(t);, _* m7 ?2 a. X8 e8 v
if(d!=null){8 f% A. H1 ^" i7 p2 v* T& W* O
$n.id=d;
. [4 U8 _/ a2 \9 h }
- O$ l4 D1 _% l ^, b; J ! R2 a; @0 \$ s1 Y ?; @
u.insertBefore($n,null)
1 n7 o" R2 f& ~3 p. T r = $n; $ J/ ]# f3 o8 Q3 j. S' I
u = $n; 6 B2 R0 d9 V" M' B
}% L0 S( K5 b* |2 i3 l$ x
$for(s,"$after")
# G9 x$ h8 i; K5 P X0 y- S: c } c8 Q: \" C7 ^) Z, H$ T* _
0 `8 ]: y6 q& I* Y Q
show = function (s){1 s0 O9 U9 X0 ?9 j& d. I0 _# A
$show = function (){
4 \$ b( j! M% l2 j; n/ j u.style.display!="none" ? style("display:none") : style("display:block") ;
% @( S8 g3 C7 G, r" Q6 ]2 e a2 C }
2 ]7 X8 Z1 T2 }% p3 D' x $for(s,"$show")
6 \: z8 u+ p' P/ B }4 A- r. I2 u( L! u0 j
; X0 s) m i/ O$ w: g* j% ? check = function (t,s){) Z4 A& m4 q% v$ X0 t6 x
$check = function (){
. b! P/ P5 H( q2 r) Q6 ~4 I0 x. R- x if(t=="2"){
$ j6 Q% [* c! M5 _+ t: K& i2 t( V if(u.checked){5 j1 o, _7 h r. ], l: l
u.checked = false;
, I* m& }1 b; A- l- i( E& E! b" y }else{5 V3 d+ V6 n3 ?# b: v
u.checked = true;
1 D6 `3 X" _1 M }
7 T/ S4 R! S: z6 j( R( y8 N: \( a, f }else{
4 O) V( l+ U9 o; E0 @ u.checked = t*1 ;' s, M! `2 {, w4 Z+ t
}
& b$ q" {3 O0 k E# f }
6 B4 K: W6 n3 S- W; H$ D $for(s,"$check")
7 h# s6 G+ N4 o: D; g( x# | }4 J* _) D1 u7 ~! @ n# |+ g
Y4 K6 w; c+ Y. x# K% M style = function (v,s){: ]7 S# q5 D; j; p. s4 E" i1 a
$style = function (){, y- x% \1 |5 v" s# g3 A6 O
var $n = v.split(",")
2 L6 z! ^; i( |: m4 N' |, b" v( | for (var i=0;i<$n.length;i++ ){
" K' \1 V+ G! |. B: F1 |1 D var $m = $n<i>.split(":") : ^. ]8 S0 N( n: i- e' c- P$ U! y
eval("u.style."+$m[0]+"='"+$m[1]+"'");. V! F+ v2 q) S" Z& D3 x: P& R
}
1 ^, v) P/ h6 f4 ^0 N1 ?- g1 {/ h4 D }
$ i: M8 Z" w8 X3 ^* Y. C $for(s,"$style"); K! d( z$ M* ?4 b) q
}
* j, ?. X# C& H% t
3 h; |6 ~8 m0 e, | value = function (v,s){
7 }( Y5 c. ]& w' e var $n= $this (v);/ |. V0 P" `2 ^% V4 `( l- n
$value = function (){) [, r. T4 ~2 p+ i; Y
u.value = $n- c' W, w) D* b! m6 T4 g/ z
}1 ?6 k u# U. [5 }2 K
$for(s,"$value") 3 E& \4 v- [6 T5 s
}
* V, L4 T& L$ o* @# T
* H) a9 u, m0 j) S$ e) D2 d text = function (v,s){
+ _# U+ j# S3 F/ o$ E var $n= $this (v);. W6 l+ L$ T/ k* l: n, r
$text = function (){9 f, a6 m) ?& Y6 E" U( V
( d0 X+ l( a: v( Y/ ~0 U$ [" p u.text = $n4 [, m6 f ?9 D/ h% A* E/ e( K3 g0 K9 v
}/ K0 x: C) M( Y% `: H% j$ ?
$for(s,"$text") ) M" M: l: O5 i, @2 {, f+ ]+ C
}" R: X% }; I( y( A- G* V1 D
1 y% q& y* o: X' l0 z
innerhtml = function (v,s){! `, G$ X! Z0 c9 [) g. n
var $n= $this (v);
6 y+ i8 e+ A# z- B $innerhtml = function (){
: r: u0 s6 d+ i+ X' U) e* { u.innerHTML = $n; d8 D V% p$ a7 ?+ c; g
}8 f( [3 w+ l) V
$for(s,"$innerhtml")6 h# O; x* h$ M! p
}
) p w+ x& W a 1 A! v" V6 x5 C2 L
removechild = function (s){; N9 k& [- }# _ U2 z B
$removechild = function (){( I. H2 D6 \8 \9 {5 W3 A7 m
u.parentNode.removeChild(u)
9 H; o6 H8 ~3 \2 V }
; @1 S- t/ o3 D8 N $for(s,"$removechild")1 @) S$ w" F+ [) a+ C8 m
}; w D3 N& I/ E( B
& \2 X% ~( z/ x
$this =function(v){8 Z+ Q: G/ U: A3 q3 t' U l; b
if(v.indexOf("this") == 0){+ I! U" }$ I& S& s1 Y
return eval(v.replace("this","u"))! C1 k; Z5 c, J
}) C. u8 ~8 U! R
return v;
/ ^# O4 {; a) p. }! P. B7 S }
3 Q6 R$ Q! c) N* Q3 C' V x& _5 G7 q8 r1 ^/ r
$event = function (s){7 E# [1 T, n' y& A% R& ~+ ~
var $n ="u."+s+" = function(){$work(this,s);}"
. W$ x9 e) e1 m1 Z return $n;. }1 I5 j p% f9 Z2 { {
}
A6 p8 D& n8 o+ }( { s W1 Y8 i* j$ A9 b8 b8 ^' N: q `
$replace = function (s){0 {6 x/ {, K+ j# r3 d* f, G2 V$ u
) l; C! Q; {' Q0 a3 {
}' S/ k; V' {6 J: r5 E, p* u4 v
: _8 P5 L7 R5 C: L( o- M5 N( N! |
$for = function (s,c){' K/ ]" N/ Z6 ~3 [
var $n="this."+c+"()" ;- |5 ?6 d+ x# P7 n3 z
if(s!=null){# |: Q1 m5 h: C8 e: q. x7 e3 e& H2 p
var $m =$test(s);
* ^7 x- O) m [: f( S7 N for (var i=0;i<$m.length ;i++ ){
) f/ t, M! I3 n+ _/ o& j$ { u = $m<i>;
8 r# a6 a2 m9 v eval($n);* T; W3 w' C) p6 j
}
0 g' B) X4 A6 L, _7 ^1 ? }
4 ]" F% j+ K4 e else{7 u" q, x( X6 @
eval($n);/ r$ j7 w5 H- |- _. l3 ~
}" r) I/ U5 A+ r
}+ [" Q" Y1 |, e
5 i6 n5 a e& o
$test = function (a){
0 E# z; }2 d& c, P; w1 Z; ?5 D0 J# a var o = new Array();$o(a.split(';'),o);4 ~: \% p% Q9 V v! S! E
return o;
1 b. ^/ T- f5 Z1 F2 K) r5 \2 w }
) e) Z) l2 q4 B1 F$ G& P/ X
& B0 {7 p- O4 {; w/ a" n- c $format = function(s){2 t- E3 `' }7 j, Y
while (s.indexOf("'")>0){
% O, F: r5 `3 H2 m2 a8 Q9 s s=s.replace("'","\"");) s& a x5 s% d, x% P% y4 f9 |
}0 i0 m" L! |) l. W; Y
while (s.indexOf("][")>0){- J% ]. S. M0 H( D A9 o
s=s.replace("][","','")
0 d) D# w! e6 X5 s* T }, H2 |9 d4 ]# l3 P) h
while (s.indexOf("[")>0){
( I% \! |" u! z$ l s=s.replace("[","'").replace("]","'")/ u ~6 n/ e/ [9 S6 c$ n( N7 D$ C0 |
}
& d7 D( s. i" B" F L" ~% z return s;; S9 q3 b. P( x/ V0 ^
}
/ X" X, j; @" h" v5 J. b6 v' Z' D8 H$ C- T) n0 j- b, C! n
$work = function(w,s){' n$ l- ?3 c, T" c" \5 |
u=w;eval(s)
2 \' i" O4 I& {8 l' U }
' ]2 X4 o- o4 D& w7 d0 X1 T; \: d# b
$id = function (s){
' K0 _+ G9 v0 H9 r return document.getElementById(s);
( \0 U& {$ K$ R+ |7 m }: s' {" ?: j1 G* E1 K3 M% x0 U
5 A# y: I% f) e u3 J $name = function (s){
: j" r7 ?1 j% [; A+ o return document.getElementsByName(s);
; P4 Q q- E+ K: \; {& P8 Y: m: J }+ j( y- w5 M# V8 w" N2 s4 _7 Y
0 T* F- [4 _! [/ d# d- g7 w; g
$tagname = function (s){- ^/ A7 R$ u: W" I9 m1 A
return document.getElementsByTagName(s);
- i, [1 r9 ]( S }
+ F, Z( O0 _1 c% Q' x4 o2 [* q0 |2 l$ _) z# k' q8 }0 \+ I* |
$o = function (a,o,c){
2 r+ ~8 M& V2 T6 S; b# @ $push = function (n) {8 y& r# ~! e2 @: y; _7 f- p& m
for (var i=0;i< n.length;i++ ){- M( Z1 _3 p: h" d/ \6 ^; n" A
o.push(n<i>);% j- |, n, l8 ?9 ^$ G( V6 {4 I
}
% D; T4 n7 ]8 |" {& B' U# Y' D }
/ S$ h5 C& `' c& h1 j& b* c! L for(var i=0;i<a.length;i++){$ R- [$ Q9 E3 P, l$ Z, s0 R9 [
if(a<i>.indexOf("(") >= 0){
$ T2 m( Q5 [% [% p; | c.push(a<i>);5 p( ] L) u" e2 C
}. b. ?) }. ]; e# l6 S
if(a<i>.indexOf("~") > 0){
3 t0 X- ~6 z$ d4 T* P. L# | try {
/ e3 W: O/ r4 W $push(eval(a<i>.replace("#","document.getElementById('").replace(" ~ @","').getElementsByTagName('")+"')"));
% G+ h3 y5 N9 q3 s4 ?8 K }catch(e)
1 _. k) I; `* J l {}
* h; v' O( g3 K. ^ }
0 d/ Z$ h; v3 }6 W1 E% O else{; ]3 v2 {. T2 q( t/ W5 f8 {4 H
if(a<i>.indexOf("#")==0){: r7 w9 G- E }2 t! O
o.push($id(a<i>.replace("#","")));4 ~: s8 @6 s/ }
}: ]! _6 c' U, T! j
if(a<i>.indexOf(".")==0){
2 L; R+ C* U! ~# |( E $push($name(a<i>.replace(".","")));" R9 _# F2 w* K: w5 a
}0 M% ]: E" W* w( j& p
if(a<i>.indexOf("@")==0 ){
( R' n% ]# G8 J6 s4 S $push($tagname(a<i>.replace("@","")));
/ ]4 G1 \# k* H* g% N9 E( ~3 |, I }% }* O# U7 J$ X8 l: m! `+ Z
if(a<i>.indexOf("*")==0){1 @' s: D" ]. O/ C
$p= a<i>;
9 L% e# b2 {' D# e9 Z: K if($p.indexOf(".")< 0){6 b! m# I+ \( z1 x7 T1 x! R
$p = $p.replace("parent","parentNode")+ k# ~3 v* f" k p- t
}
: c+ U; i3 z7 q9 i. k. y var $p ="u."+$p.replace("*","");
# h( N7 j# F# G! k while ($p.indexOf("parent.")> 0){
9 `& Y, w( |2 p$ B $p = $p.replace("parent.","parentNode."). x% Q: H ^7 l ]
}
# D+ i1 I) K- K while ($p.indexOf("child{")> 0){: j8 ~6 T3 @" P+ q5 o& x
$p = $p.replace("child{","childNodes[").replace("}","]")2 `( ] f5 a* x4 S4 S
}8 p/ _1 {! q1 P( d" J5 @8 {
o.push(eval($p));+ R; a6 m* P0 v8 ]+ g: d
}
' b1 b6 k$ D$ F5 x' r if(a<i>.indexOf("document")==0 || a<i>.indexOf("window")==0){
5 e: {/ B! g7 h, S+ W$ K! D# b o.push(eval(a<i>));) T9 h/ X" K7 \% B6 j) K: U" P
}
" r Z* z" A. @" P/ N- k2 B4 G }
6 f: h1 L! @! T if(g!=null){
2 I( W. |* g/ j2 y3 ~ o.push(g);g=null
( F; `$ Q, L6 c/ ^; x* t. S }
7 C1 l% I/ q) c& H( S: ~ }1 W# b1 a+ ^* e4 {0 s1 E
}. s& U6 n+ n* U7 l& Q
. b- }6 K4 K8 d3 s
$o(a,o,c);
1 _7 }2 q& Y. E. |3 H' l* i
) w; V$ C1 n; M for(var i = 0;i<o.length;i++){
% x& ?% A5 ~3 }' @7 R for(var j=0;j<c.length;j++){
2 ?) f. k6 S* z4 i3 X" S u = o<i>;eval($format(c[j]));& Y: G) Q9 d" i; U
}/ o) K0 P2 v G5 G8 y4 }
}
/ p. ^: f- v7 w& X# q
0 i! Z3 i: |4 }1 [% ^- J( D if(o.length == 0){
0 |5 z7 M* S( `3 L7 {% }7 B. \ for(var i=0;i<c.length;i++){
# @' @( i6 d6 y1 R$ ?: m' m eval($format(c<i>));
* t& r$ T9 Q1 A) \9 S9 {2 A }
; Z3 f: ~! T5 }9 t }% ~6 D+ N: d/ u, {, l) s5 V
5 y- O0 S1 V9 A if(r!=null){
( ?5 r+ ]# N7 h. D: a7 t return r;
6 n* o$ q7 p z/ d. ~ }
" C5 ^- G/ a/ V5 L. H- j 8 A) |0 c* A8 _8 L4 ~$ b
if(o.length==1){2 U& ^0 A" R. ] u6 k; n( g8 F
return o[0];( z$ o1 X/ w" X$ I) i7 b' Y
}
( o. J1 \* |- w g' V' u( G else{7 o8 Q/ p1 A2 W3 w# a! G- J3 K
return o
- Q. D: T0 n# s* ` }
, a {: k& u: _: |
) p' e+ f, m) L" ] }2 O4 H5 C) {* M( D# X0 N
var lrc =$("#lrc;show()").innerHTML.split("[");
* _2 k, u( @! C5 K" Y4 W4 aif(lrc.length>5){
, M3 ?" O. s R; kvar array = new Array();
1 ~) e' q0 ^3 ?, M5 X: gfor (var i=0;i<lrc.length ;i++ )
. k0 S {2 N& u6 ^! O/ }+ f# o7 G{# v. O T/ i! G: l$ _( x4 D
var g = new Object();
, J+ r8 {5 R, v2 P2 N' J4 [# H t= lrc<i>.split("]");
/ g" F: j+ i+ Q g.time = getTime(t[0]);) N" h: t# u5 U: `' c" j6 f8 v3 ~* |
if(isNaN(g.time))
$ n0 |9 ^- ~2 `0 g8 S7 Q- \( n; y continue;
' x( ?2 a4 r3 } g.c = t[1];' Z# j2 b6 p3 [; Y, I- b
if(g.c == "")
6 [% N( S/ ]' s! n. ?2 I- C ~6 ~9 _( \ g.c = getNext(i); e/ I" s, F3 V }! N
array.push(g);/ ~7 h0 y' Q. Y2 j. f6 h( H4 K
}4 Y, u( j+ v) N4 S
array.sort(function(x, y) {. {2 @9 U) W0 {0 B( t5 i9 I7 }, h
if (x.time>y.time)
7 E9 |! o2 c O- z return 1;
2 @& l& S; ?8 k else if(x.time<y.time)
8 I: W( |* T _" b! f return -1;1 k% D+ l, w0 H7 O) R% y; N/ S
else$ |; f) a0 q/ `
return 0;+ Z( ^ v! B' `- l
}
/ x6 x) X' |1 S5 j1 M2 O);
% }3 _) u& R4 m" L9 E- f lfor(var i = 0;i<array.length;i++)
' A7 l' o5 a. O{+ U$ v: C7 B3 V {) u) b
var g = array<i>;
6 D' z, N6 z. y ^, D if(!g.c){$ D7 H4 V+ s! |) J& h; q4 t
g.c="";) j+ z- a* Y- ~! D3 o
}4 h5 p* P0 o5 \% g! p
$("#list").innerHTML+="<div id=lrc"+i+">"+g.c+"</div>";
: U- S( M, D2 j8 t}6 y) W- B$ W* C7 n" |
var time = setInterval("lrcList()",500);
- b1 J, `0 S/ C& b+ U& X}else{( U, ?* \/ z8 V+ r, e
$("#list").innerHTML=$("#lrc").innerHTML;5 A5 I9 Z: G8 h2 u( U. O
}
0 [; X4 I7 g" V) A! g- E7 N& {, @6 Cfunction getNext(i)& h1 E. N1 T9 j: I
{
# n$ j+ ]- a) U5 E6 T var result = "";4 H% R, j D* l8 ^
var i = i+1;' [: l) k" V1 q4 G$ a
t = lrc<i>.split("]");
2 ]4 o' V, ?' ?2 o if(t[1]==""). T5 G( z$ v$ {4 x0 K( i
result = getNext(i);
8 b$ g. H. ]& E4 B3 x6 I9 B- v else" I5 j n) a3 F4 r; |- A Y- |
result = t[1]6 I! |5 f) o+ W" S; g2 C+ N
return result;
+ @" I* B7 |# ^; e# `3 T, Q3 T}3 O' C$ ]! Z- X/ s+ A# U
/ ]# g u* j8 k+ ] A% V5 Sfunction getTime(str) k; I7 P( Z5 b& @4 }; Y5 d
{( |6 N* ^* ^5 A8 p
var time =0;
* C* X7 e/ {+ k: g6 j5 |% a) }0 [ var ta = str.split(":");
& z3 i# B4 U' G% n: W) `" o4 i1 t if(ta.length<2)
% D3 e7 s$ P9 d( _9 T: Z ~' \5 i return time;
- `1 X7 U' B7 |3 m: L: D' x2 w
- o; ?. j' \% P1 o# M$ m# t if(ta[1].indexOf(".")>0){% \; [ d$ `8 y6 q
var tb = ta[1].split(".");- p1 m) z/ ] ^
time = ta[0]*60*1000+tb[0]*1000+tb[1]*10;3 m; R2 p4 |9 ~0 e
}
5 k+ {0 i0 X3 G4 p$ U3 S6 S* ^ else
- c; S; s2 N3 v/ {& i( A time =ta[0]*60*1000+ta[1]*1000;
6 J0 O0 V1 ] [3 m return time;
7 C# a) v4 ^* Z/ o V7 T5 i+ A}7 V. |. G( z3 t6 l8 A" I% N. U5 P' b
var preTime = 0;4 t; V% k! `8 @: }! S7 ?' u/ G
var nextTime = 0;
6 T6 T3 F! s' e+ n( k0 _var currIndex =0;
4 t1 y" Y7 e& y3 w7 Q! m+ Q+ @2 Rfunction lrcList(){* I! C% [3 H" v' s9 H4 F9 o
var s = parent.document.getElementById("MediaPlayer").controls.currentPosition;
# m% t+ D4 j4 c# g s = s*1000;
4 v* P o: S: [4 c" M7 P' {( ~ if(s==0){
& T1 p: j# P; Z0 O( y% U0 n currIndex =0;
, S/ |! q8 K' `, n/ |7 l1 e $("#list").scrollTop = $("#lrc"+currIndex).offsetTop-30;
% G' O& N! `0 ?- h- k0 C8 L for(var i=0;i<array.length;i++){9 f, z2 u" C3 N* y. ^
document.getElementById("lrc"+i).style.color=colorNormal;
5 z' N5 Z" g. L+ ?/ Z. \2 A5 v }
% H% q [7 E7 f return;4 y: [" D0 T6 c& l; X; w5 b
}( \" N$ B6 m# c5 A8 [) L( y* Y
if(s>0&&currIndex<array.length-1)! k9 x6 d* X8 ?( u& W
{ 0 e# ]- t, o* L0 {
preTime = array[currIndex].time;
% p' _, w- G i1 B( s+ G$ K 7 r$ K# K- P! R# s
nextTime = array[currIndex+1].time;
3 J# d7 n7 a) g" z
/ t! L3 Z7 L* w0 z) [) c7 I( {# n if(s>=preTime&&s<nextTime){
q0 x1 H+ s8 M% q" F) O- {. \ }
" x* Y8 n' n- k# P else if(s>=nextTime)+ O, T7 x: f- q; Z+ W$ m
{
& ]! u( g+ H5 d! w D+ r. h document.getElementById("lrc"+currIndex).style.color=colorPasted; J% }# K1 G9 p1 R+ W/ i
currIndex++;
, P8 @% j6 R( S( F- {7 o $("#list").scrollTop = $("#lrc"+currIndex).offsetTop-30;2 V! w) B- ^6 V8 N
document.getElementById("lrc"+currIndex).style.color=colorPlaying;
9 o2 o* \) U0 Q8 j9 h. H# I5 Y lrcList();% X' g E9 `8 m: R& [( x2 }
}1 p8 n# Z: ~, n( d' }' w( o" q
else{
C8 s, _$ o; r9 e document.getElementById("lrc"+currIndex).style.color=colorNormal;
0 C9 }. T! o7 C5 U; `, W' u7 M$ Y, h currIndex--;
' @" n0 w4 X6 t5 S3 U $("#list").scrollTop = $("#lrc"+currIndex).offsetTop-30;, n1 b) B1 z' \& i# U6 O3 I! a
document.getElementById("lrc"+currIndex).style.color=colorPlaying;
/ n) a" O$ ]/ R2 o lrcList();
/ S" \: l4 J1 \4 @$ E7 ` } & n* v% U# l; T0 c; r
}( O: ^2 h( Y: B
else( N( N" p/ M3 j7 `% _; k
{; N5 ^3 I- }$ T/ h' }. z* G
if(s<array[array.length-1].time){7 x+ q) I' h2 O3 H; I
currIndex = 0;
, O6 [+ @8 S) {8 v1 Z5 u0 A $("#list").scrollTop = $("#lrc"+currIndex).offsetTop-30;
! A- g. B& G& @ ~0 v for(var i=0;i<array.length;i++){
* u5 a1 e: n3 Z1 ~$ K& m document.getElementById("lrc"+i).style.color=colorNormal;; m3 P) v5 W1 z' ?( ]: [& V. |
}
! {+ j1 U- K6 N) V+ G) _& b5 X6 X lrcList();
5 v$ v+ G$ t( ~7 B }$ K- [3 l# ^* ^9 M
}! s/ L9 W/ A( `/ I
}
) N# P/ g1 u/ S3 Z</SCRIPT>% d* V0 e. Y2 D
</DIV></DIV>
R) M; B& d& j! E7 i& O1 V% c# U0 i7 }+ g8 j) z0 z
[ 本帖最后由 幽谷兰 于 2008-9-18 17:36 编辑 ] |
|