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