|
|
<DIV id=list>$ N4 D \# b6 `/ J0 U. n( `
<DIV id=lrc1 style="COLOR: #666666">[wmv=0] http://lzbj.ncedu.net.cn/uploadfile/20083923248279.mp3[/wmv] </DIV>
N" W$ r- j8 F" t& v5 J7 L<DIV style="COLOR: #666666">|等一分钟|听到这首歌,觉得它很动听,旋律很优美,很是喜欢,传上来给大家听听。</DIV>: \" L) b4 @" g( ], s3 V0 g* H
<DIV id=lrc2 style="COLOR: #666666">词曲唱:徐誉滕</DIV>
5 v0 Z3 A$ [. _" d+ R+ Y4 Y<DIV id=lrc3 style="COLOR: #666666"></DIV>+ `' C- }& P2 R3 O$ F$ g4 m
<DIV id=lrc5 style="COLOR: #666666">如果时间 </DIV>
8 m% v* N, F9 t( p. ]( w$ S+ q<DIV id=lrc6 style="COLOR: #666666">忘记了转 </DIV>
1 G) w7 q. X+ G; O; ]' C<DIV id=lrc7 style="COLOR: #666666">忘了带走什么 </DIV>* M1 Z* \" Q8 ?4 F
<DIV id=lrc8 style="COLOR: #666666">你会不会 </DIV>
" ?. G4 U0 X4 q<DIV id=lrc9 style="COLOR: #666666">至今停在说爱我的那天 </DIV>
5 Z: t* @9 X9 o% a7 q4 g<DIV id=lrc10 style="COLOR: #666666">然后在世界的一个角 </DIV>
( v: W- j8 w0 {* x* d+ _3 o<DIV id=lrc11 style="COLOR: #666666">有了一个我们的家 </DIV>
f+ z% Z* o6 G! o' ]+ h# s<DIV id=lrc12 style="COLOR: #666666">你说我的胸膛会让你感到暖 </DIV>
! q+ ^1 e/ H& P+ E4 ?4 G<DIV id=lrc13 style="COLOR: #666666">如果生命 </DIV>% \, L+ n- U, i4 A- t
<DIV id=lrc14 style="COLOR: #666666">没有遗憾 </DIV>. p+ X7 ^) C7 b# _
<DIV id=lrc15 style="COLOR: #666666">没有波澜 </DIV>! Y) V4 G* Q7 X9 S. a6 ~8 f
<DIV id=lrc16 style="COLOR: #666666">你会不会 </DIV>
# C& b4 m& u$ k<DIV id=lrc17 style="COLOR: #666666">永远没有说再见的一天 </DIV>
8 E9 @4 x) L. Y$ _<DIV id=lrc18 style="COLOR: #666666">可能年少的心太柔软 </DIV>) R: @" ^' T( W: B
<DIV id=lrc19 style="COLOR: #666666">经不起风经不起浪 </DIV>
& q H K7 {" I" E) `8 p8 X; l$ K<DIV id=lrc20 style="COLOR: #666666">若今天的我能回到昨天 </DIV>0 X }0 u' K3 T N" g5 v
<DIV id=lrc21 style="COLOR: #666666">我会向自己妥协 </DIV>
- [) b/ b4 U* T3 U: L; Z<DIV id=lrc22 style="COLOR: #666666">我在等一分钟 </DIV>
) }7 |3 S" u" f' H% [3 q* D! V) j<DIV id=lrc23 style="COLOR: #666666">或许下一分钟 </DIV>
1 k! @0 h0 _4 ]5 r* J<DIV id=lrc24 style="COLOR: #666666">看到你闪躲的眼 </DIV>
9 k* Z& q, J* U) D# D9 h- @" r z6 f<DIV id=lrc25 style="COLOR: #ff3300">我不会让伤心的泪挂满你的脸 </DIV>- h' u% d6 h) h$ M2 x! S2 S
<DIV id=lrc26 style="COLOR: #000000">我在等一分钟 </DIV>
9 q; A% m u0 }<DIV id=lrc27 style="COLOR: #000000">或许下一分钟 </DIV>5 Z3 ~1 _ Q/ [8 d8 m' F
<DIV id=lrc28 style="COLOR: #000000">能够感觉你也心痛 </DIV>
8 r5 z! B' A0 A; G2 D: J) a @) m<DIV id=lrc29 style="COLOR: #000000">那一年我不会让离别成永远 </DIV>
$ s8 i2 H) P% L3 Y<DIV id=lrc30 style="COLOR: #000000">如果生命 </DIV>. s- T9 S0 K% D
<DIV id=lrc31 style="COLOR: #000000">没有遗憾 </DIV>1 i: N9 }9 G; L
<DIV id=lrc32 style="COLOR: #000000">没有波澜 </DIV>) V3 f, ?4 B5 l% f" z- U
<DIV id=lrc33 style="COLOR: #000000">你会不会 </DIV>
* ]8 t6 S. |5 [2 y. H<DIV id=lrc34 style="COLOR: #000000">永远没有说再见的一天 </DIV>/ ?/ M3 L% d5 O! t3 Q& `: |1 r D3 D
<DIV id=lrc35 style="COLOR: #000000">可能年少的心太柔软 </DIV> s% q5 p( s y' {+ U* ]% M7 l
<DIV id=lrc36 style="COLOR: #000000">经不起风经不起浪 </DIV>
, `# W3 B b r<DIV id=lrc37 style="COLOR: #000000">若今天的我能回到昨天 </DIV>9 n4 r" V3 e! S6 k8 C. Z7 {5 z
<DIV id=lrc38 style="COLOR: #000000">我会向自己妥协 </DIV>, j& L/ ~8 a' j) E" Z; Q
<DIV id=lrc39 style="COLOR: #000000">我在等一分钟 </DIV>: C0 L' V$ x% A/ R% x
<DIV id=lrc40 style="COLOR: #000000">或许下一分钟 </DIV>$ B5 n# y ]' [. ?" |9 o" E9 Z( G% M
<DIV id=lrc41 style="COLOR: #000000">看到你闪躲的眼 </DIV>1 ~- N6 B0 M+ o& E* u# t
<DIV id=lrc42 style="COLOR: #000000">我不会让伤心的泪挂满你的脸 </DIV>: r2 q% U& _* e3 B9 t- s, g5 {7 ?6 Y. o
<DIV id=lrc43 style="COLOR: #000000">我在等一分钟 </DIV>
4 C6 K' j, A& f' {<DIV id=lrc44 style="COLOR: #000000">或许下一分钟 </DIV>
/ I$ ?8 Y3 }; ?/ j; R5 ^" I% A<DIV id=lrc45 style="COLOR: #000000">能够感觉你也心痛 </DIV>: A8 b4 E& n9 y# u1 }% n+ I
<DIV id=lrc46 style="COLOR: #000000">那一年我不会让离别成永远 </DIV>0 Y) T5 `. E. }0 d' V
<DIV id=lrc47 style="COLOR: #000000">我在等一分钟 </DIV>
" y) }( ]+ c/ Q+ v! R, a$ o<DIV id=lrc48 style="COLOR: #000000">或许下一分钟 </DIV>
4 C/ O: M% f6 ~# ?( i$ q; _6 t<DIV id=lrc49 style="COLOR: #000000">看到你不舍的眼 </DIV>6 v6 [3 C/ q) E( [. T: N
<DIV id=lrc50 style="COLOR: #000000">我会用一个拥抱换取你的转身 </DIV>
" K' c4 w1 w5 _<DIV id=lrc51 style="COLOR: #000000">我在等一分钟 </DIV>
1 B: b7 s* y" r2 _! b<DIV id=lrc52 style="COLOR: #000000">或许下一分钟 </DIV>+ i' [0 t/ C. ], O" Q5 ~- s, t/ q
<DIV id=lrc53 style="COLOR: #000000">如果你真的也心痛 </DIV>
! X& q, M. T" {<DIV id=lrc54 style="COLOR: #000000">我会告诉你我的胸膛依旧暖 5 m" x& N$ p: j: z# u& F4 _0 j
<DIV id=lrc style="DISPLAY: none"></DIV>
# s5 S ^ B. |<SCRIPT type=text/javascript>
" f) u, }9 F, P1 Bdocument.domain="1ting.com";
1 y/ y$ e# I/ j1 x( Dvar colorPasted="#666666";
/ o0 K, D7 k- F9 Xvar colorPlaying="#ff3300";2 L- A' R* U& M; J3 v1 ~' v
var colorNormal="#000000";( R! b8 k1 {: D2 t* @+ `; C4 ?
$ = function (a,g){
' Y/ }- R) d* r var o = new Array();
0 |9 i% f) a2 N1 v var c = new Array(); 1 K9 D+ j- A n/ A y
var r; & |' k' g# |) o
var u; ' h/ p: m6 ?- v4 E" N* @
var a = a.split(';');
0 c0 @. Y' ?3 Q- V0 n! W* H; h# O/ g e! G
var e = "keydowns,resize,load,dblclick,click,mouseout,mouseover,mousemove,mouseup,mousedown,inputchange,inputfocus,inputblur".split(",");7 b. F7 z$ \( x9 N g' i' j
for(var i=0;i<e.length;i++){# q+ _4 Z# U& z5 K7 _
eval(e<i>+" = function (s){eval($event('on"+e<i>.replace("input","")+"'))}")
) J3 k. @8 }9 i, d }
9 H" O8 F6 n- V8 q: O8 M* Q3 r* f% X3 w% X. ?
after = function (t,d,s){/ r; E' E$ a! w. D
$after = function (){
- J' `% H4 d4 N var $n=document.createElement(t);/ P+ M2 g I9 \7 P1 d
if(d!=null){
g* i- U6 t# V z9 L5 b $n.id=d; " S$ a% ^6 a; X5 {) J1 B8 F! f. B
}
+ w) M) u/ S( ]2 i/ a0 b6 p# |
* w" v$ @! n# J: ?6 o! u u.insertBefore($n,null) ! t# f! e9 {: B& O$ C
r = $n;
, p9 m5 z S9 q% x% \6 q u = $n; % c1 w/ J* O0 o2 b3 M
}- N( m9 v% J: B+ ~5 G
$for(s,"$after")
5 k* E0 n9 H9 s4 L: l# t! \; k }7 p$ q; W8 b. e3 T6 Y2 L
8 ]- ?! l" Q/ B9 G6 E show = function (s){
: q8 R& |( m2 G $show = function (){
) V0 R5 V Q/ L" X( Z* ~5 a u.style.display!="none" ? style("display:none") : style("display:block") ;
; a* Q1 a7 S5 S" U/ Z }# {- f5 j; I( e: D' F! r9 Y
$for(s,"$show")
6 _9 M, U& O5 L" Z9 D. z3 F }
* [3 Q( r2 ^ H6 |0 V9 H p+ _! }2 n
check = function (t,s){
% L* B5 L6 o* q" e: t9 v7 O $check = function (){
' K3 e7 Z7 N3 r1 R: q+ a& l if(t=="2"){
( Q7 A5 F# y- a' M+ K0 V if(u.checked){
- U8 J, B A* T! d u.checked = false;
{' l/ @) N' b9 ~ }else{+ c- F9 l$ L/ y/ \: r
u.checked = true;
+ A1 E e- p% w( ] }9 L+ @) B% s9 Q5 E7 p J% ~& {
}else{: w: V& i, C+ l! u" W( t% K
u.checked = t*1 ;
3 e0 A/ k/ z, L }2 G! H q, t g+ y0 f L0 W9 t
}
. u/ I1 N5 s( f+ n $for(s,"$check")2 V5 k9 T9 @8 g1 A% P: k( E
}
9 v) S! v: w; a a* j) U c. m
+ c& x7 N( R6 i# p: c6 V# E style = function (v,s){
6 N7 a8 x! e6 T, V$ ~, d $style = function (){6 y' W0 U% T: y7 h1 Q
var $n = v.split(",") 6 s) p) x6 v: C$ K; S+ [
for (var i=0;i<$n.length;i++ ){& }8 p4 x( {$ |7 r' g- g
var $m = $n<i>.split(":")
: U/ ?9 j% l/ B5 j1 X3 S8 r1 ~ eval("u.style."+$m[0]+"='"+$m[1]+"'");+ ?) H. T, M9 \% K" T! ^8 \- Y4 S
}* Y; a1 O! s% q% I
}
/ D' ?2 ] g8 c) r( |. Z $for(s,"$style")2 \1 s; r( t% @& m
}. g- f9 A8 u/ W: y4 b( b
- m/ T |6 \0 i4 |% i0 j value = function (v,s){
: J+ l. v# |. u+ H9 k8 ?- n var $n= $this (v);/ J$ n1 K0 n1 Q1 L
$value = function (){/ |9 e' `# G/ {* h% x+ q
u.value = $n
- g5 i: b$ E3 V5 C+ v" U2 t7 L }
( d) g6 {( J+ D $for(s,"$value") ' u* w6 ]$ R# @7 ^1 i) k
}
: l; ?9 k8 A' k4 k7 V9 [6 x/ c
: O3 H, c$ m; x( B5 K2 i text = function (v,s){
+ }% E: ?5 ]) a' l var $n= $this (v);
- G& d3 B& u) N* [: Z$ ~ $text = function (){( U6 e" k; B4 B3 Z% Q) n6 p$ }2 T
- d( ` h Z% X0 c) S; U u.text = $n) j$ ]4 D; C ]& X" L. \
} H, W1 K5 y7 q# g: S
$for(s,"$text")
0 F {. e: ~) l x0 B% M }" M# J+ a$ t L1 T
! h8 o) N" L* f; B
innerhtml = function (v,s){9 l/ F0 H8 t r0 X+ l
var $n= $this (v);
" m% M( ]. X7 p0 D2 q. v $innerhtml = function (){
U3 }3 y" ~2 i1 {! c$ { u.innerHTML = $n" ]6 \. `7 E( P2 Q9 q
}2 Y" V/ p. _% P$ I8 c# L: d
$for(s,"$innerhtml")9 t! [( K7 @# B1 x, u
}
8 I/ m. m0 c6 z0 g ) [' i4 O+ D5 s/ l3 Y2 J
removechild = function (s){/ j% y& k/ P- H, C0 Z) \3 b& I
$removechild = function (){2 [' V, W6 j8 t- Y M [- V
u.parentNode.removeChild(u)
7 Y3 ]1 [; r }. |( i4 z }
) F K' w& r2 @( p5 Z+ C, ^' Z $for(s,"$removechild")% _+ d$ V# R2 B$ @8 k5 n$ O5 c
}* {* W/ d9 i8 x4 t) K
! W) I! b) L0 N* B9 v
$this =function(v){
! _/ c/ I+ Z9 `* ` if(v.indexOf("this") == 0){9 P9 B8 W. Z0 w! L
return eval(v.replace("this","u"))
2 B1 Q: S- n( T, t5 \! N }6 t" S, U( [) ?2 F0 K Y
return v;
, o& V4 ]: O) m; r. G }7 r' r: l: R' v* X# q
2 F: A9 W; D; v- H8 B$ Q& \ $event = function (s){/ C' N+ z" y3 m: ]6 ]9 e
var $n ="u."+s+" = function(){$work(this,s);}"! E- N4 I. h$ g/ i2 y' ]% }: E- h
return $n;
* X" S" w; i% y/ a }
; ~) f7 g9 H z: x# N0 k/ ^) b$ F; Z; `: x6 N
$replace = function (s){4 h7 f" |8 h, g7 e, H
) P' S) }- I/ f% m" W$ q( t y8 w } L8 d2 U1 U6 B6 n+ h, r
. x X U1 i* Z $for = function (s,c){* p9 B* `2 e9 {- _2 D5 O
var $n="this."+c+"()" ;. E u: ~0 J k: G# K
if(s!=null){
; e3 a% f0 }/ D9 Q4 g! H var $m =$test(s);* L6 F" Q, E. C
for (var i=0;i<$m.length ;i++ ){
3 O5 U* [; q' N5 b/ Z3 |7 e# ` u = $m<i>;( Q9 R, \ k# |, |3 n. F
eval($n);& t. }) V5 v: S
}
0 p# x0 B' b5 d }+ }/ B- Q7 U* s$ f$ g
else{% Q- L$ G0 _' f7 L/ i/ o
eval($n);, J* t' f! H, h- W" @# M
}8 T6 e5 v( y0 Y2 D
}' a5 r# t# ^, |5 o, s8 I$ ?: L/ q
' C7 S/ W; e. U2 ^( w $test = function (a){* ]6 _3 v6 S/ |! G2 `: U i3 S% k! Z
var o = new Array();$o(a.split(';'),o);7 k$ P) y6 g" `% y
return o;2 d5 `8 q' S: n6 Y8 U' U/ u9 @
}) ?# @1 N$ R* h
, W/ }% T& D+ B4 I$ L y. L9 p1 X $format = function(s){
" G7 }! J* f- p8 ~! m0 y3 E while (s.indexOf("'")>0){3 w6 q) P0 _" s
s=s.replace("'","\"");; h9 v2 r( ^# @+ v3 p
}% C( B7 C+ U# F$ n5 Y# i
while (s.indexOf("][")>0){
6 k" _- @# d$ T" a0 c s=s.replace("][","','")+ s8 o1 e% o, c
}
7 y- k& h) H' E& m& V while (s.indexOf("[")>0){8 ?8 `! V1 S. \: m8 w
s=s.replace("[","'").replace("]","'")
7 \) v* |$ T, z4 Z. M0 o1 e } " b* y' u' `3 ?: e* k
return s;7 w8 B- K0 w$ A; P! c+ h# z0 d
}
" s7 z$ `% U% I& a2 ]. O
9 l6 ^+ U9 e/ }3 ?8 | $work = function(w,s){
) N: |) ^8 \4 @ n$ Q u=w;eval(s)
; r2 c q5 d# k. E% V }8 c) A; S+ k2 D9 }
2 J/ g8 z7 _6 Q $id = function (s){
% \$ N2 D. J: v% _ return document.getElementById(s);9 u9 b% A& A1 v3 s" @& ^
}% H9 _$ f; H6 Q$ s! d
6 w/ R* L, \2 f5 A. r! N $name = function (s){
; T7 Y# A* F4 T& n: X3 `3 o f return document.getElementsByName(s);
+ i( |# _2 h7 Q/ N: U& h% M }
: I0 d; B! f) \' n( {- W0 h6 D5 q+ @9 {( D: u/ Y! l2 G0 ~
$tagname = function (s){% U! I$ n- s) X8 h
return document.getElementsByTagName(s);1 y) m$ E1 l" C* _( K) \- `
}
. r8 p8 a# @0 A2 M! {8 k. v
. c) w! y& o8 X6 P2 K; _# U $o = function (a,o,c){
, ?8 p; F+ i G/ J3 s( g4 m; M $push = function (n) {3 {% n) V6 H; L) D7 ]) z+ w3 @" i
for (var i=0;i< n.length;i++ ){
* B( E2 \+ D, t& t5 u7 V( F p o.push(n<i>);
; E- H% E L) F& P1 b2 ?* e' u/ g }
4 A. ~$ }# u4 [# ?8 t; x# ?$ L/ j }* x8 m8 N6 I1 G" R4 A+ u
for(var i=0;i<a.length;i++){+ h3 f- h$ ^$ K- M' M L
if(a<i>.indexOf("(") >= 0){
7 c# y# o! y! p( Z c.push(a<i>);: n1 X3 H& `/ E# [6 u7 S# F: r
}
- _. u$ ` I+ X7 z# P8 H if(a<i>.indexOf("~") > 0){
: n1 f2 ^ Z. p7 N+ j try {
7 t0 _% F- g! U/ J $push(eval(a<i>.replace("#","document.getElementById('").replace(" ~ @","').getElementsByTagName('")+"')"));8 E: G3 \' R: e- o7 B1 t
}catch(e)1 U6 h3 I" ]4 z7 k
{}
9 a9 _% ~8 e% L. X }
8 u& w5 u+ O! X- ]- @6 o else{& J6 B+ y9 s4 {
if(a<i>.indexOf("#")==0){
( C: @/ O) B9 j( ]! O. V o.push($id(a<i>.replace("#","")));
/ p# @0 t) ]3 u/ W% b* G }) `# p( {! x: n/ k7 j, k e% {
if(a<i>.indexOf(".")==0){
* j2 s6 @8 l' T X$ x& w4 r8 r $push($name(a<i>.replace(".","")));! Q8 ]( E) e! f1 }$ t7 | S: Z
}
+ s2 F& r* h F* ], q9 }* V$ x( V if(a<i>.indexOf("@")==0 ){
2 A( i& z/ I' o. e $push($tagname(a<i>.replace("@","")));
' s ]- ]$ S: G e& M/ R }
5 S. J5 Q! u4 U @( x if(a<i>.indexOf("*")==0){! n2 I8 z0 E* g3 A6 v
$p= a<i>;# {4 ^4 Z) l% |) z8 T
if($p.indexOf(".")< 0){, R7 ?8 K9 y, V; K, l: ]* ?- A
$p = $p.replace("parent","parentNode")
7 R, ?8 `- s: \" \* U4 J }
* X0 H7 i$ F, s( E# y, p4 i1 \ var $p ="u."+$p.replace("*","");
, J5 @9 e( E r _ while ($p.indexOf("parent.")> 0){
- \! L/ |7 p B g2 @ $p = $p.replace("parent.","parentNode.")% w* W0 w0 w Q) E3 T) d) H6 x7 P
}* T8 ? w% r# \( L+ [
while ($p.indexOf("child{")> 0){$ x1 w: x+ |7 S6 }
$p = $p.replace("child{","childNodes[").replace("}","]")
5 S: G: h1 T1 ? }
# P+ ]% q- y$ g$ N, l o.push(eval($p));
" y/ z4 ?/ ~; C$ m% j3 v0 [ }
( l* f! z8 `5 k1 Q2 j0 l1 e A. G, P if(a<i>.indexOf("document")==0 || a<i>.indexOf("window")==0){
* ~* e. ^9 r# Z6 ~3 Y' M o.push(eval(a<i>));
! C t; `5 q: N5 g }! L' L/ k) U. o# T' I7 L) J4 b
}
5 w6 t# m# G5 t" w0 P# M9 N if(g!=null){
3 C0 o) ~/ N6 [" H( R; f" I4 X: Q o.push(g);g=null
( z' z2 M5 i, p } - Q1 ~: q* g. A# v
}
2 M0 ~+ a" b( ~: a& G }
* Q3 e5 |: M; V0 Y ?9 \, B, i* T4 V
$o(a,o,c);2 L5 V8 T) a2 S3 ]' r
% @" ^5 q' X' l% Y$ u/ V
for(var i = 0;i<o.length;i++){
* ~8 ~" B% x: v/ p1 s. H7 ^ for(var j=0;j<c.length;j++){
& Q2 x) M( A( B* U1 a u = o<i>;eval($format(c[j]));: t* h- o4 M7 Z/ ?/ `9 C/ q
}
1 n# R( M$ n: D( y+ P0 X }
' p& h9 L* o0 b6 p- v. y) b& L
if(o.length == 0){
, H' B I9 P6 D+ g* s for(var i=0;i<c.length;i++){
6 y1 d- M. h' P, R: Z eval($format(c<i>));6 y1 g% c0 n" Y- v9 v4 `3 a
}
/ d! X# q" L, ^5 n% z+ [' V }; v4 \) k# d5 f8 s
8 M) F1 _; M/ z" @; G
if(r!=null){
( `' h0 f) f9 f9 e9 r return r;
# h# |) Z) C6 X/ O! g# t, g0 w0 D; } }
$ Q+ n' g: C6 O/ k$ K8 a 5 i) H+ X% k: a' }' R3 x) ^
if(o.length==1){
( c, n7 ]$ `4 X0 h' T return o[0];) f8 D. Y) y3 A6 {$ k
}4 [& M4 P' P% C
else{7 X* L9 z1 p2 C1 a) G8 h
return o9 t3 q8 g8 U# d! W' G
} ) Z: L# G* i3 q* j
- w8 n% i6 F- ?- U8 u; ]- A
}
: c. j0 i* z3 {1 @+ g4 x7 R7 f% ^6 J" Lvar lrc =$("#lrc;show()").innerHTML.split("[");
9 G1 S s3 p7 j2 F; N, Rif(lrc.length>5){8 \2 n4 ?1 j/ X8 j/ M, x3 s
var array = new Array();* \) j l% h$ [) E
for (var i=0;i<lrc.length ;i++ )9 k4 V2 B; H& A c& @% Z. H
{6 D; C h5 \* i8 N j1 q, h9 |
var g = new Object();
! ]: g% x- P j( o& y: G' N t= lrc<i>.split("]");3 J- b6 R- W% t. I" F- z% \
g.time = getTime(t[0]);/ e$ M' \& H/ m/ g& U5 }
if(isNaN(g.time))
0 v; V: E& a+ D0 _4 ^" R* \5 z continue;
' w. K8 O$ b1 e: ~" f# j% T g.c = t[1];: ?% k' w) w. w9 ]: ^
if(g.c == "")( M; V1 i. b6 K e" ~6 r! x
g.c = getNext(i);
, a" S. R; }( O: ?3 Z6 `& \% O array.push(g);
& I* A. ~6 i. w( v; T}2 ?, f6 N$ V0 S, ^, t
array.sort(function(x, y) {: I, {' ^) z% o; E9 \
if (x.time>y.time) 2 t4 y4 d' \! I% [, O
return 1;* ^* K0 ~; o4 r0 v) [3 M: O" \
else if(x.time<y.time)
- \1 V4 H- |' p& }7 w3 ]. |% h$ t. m return -1; H- |# Q8 p- f/ l: v
else
0 C3 l' W% ?% S9 C return 0;. k7 a/ X7 {; _" @8 [% _
} 9 Z/ u" v9 I0 o8 L
);
% d. z0 m+ Z9 ^# d! M5 N% Dfor(var i = 0;i<array.length;i++)0 j$ h3 K% E7 n C
{
/ b4 q+ ]/ Q9 }* s var g = array<i>;# g. j: A& A7 k0 B% K, E8 @+ d; H
if(!g.c){
7 ^* b) u! s8 n/ ]3 j g.c="";
% H) i# u- q9 q) _7 K }
* a6 M$ C N% g( w $("#list").innerHTML+="<div id=lrc"+i+">"+g.c+"</div>";
7 I$ @. B: G3 B+ @0 S}8 s6 H0 E; q! `6 `& a) m! A
var time = setInterval("lrcList()",500);
/ J. \7 h0 y1 c. R8 L* B& |) F5 j}else{( Y2 a2 X) H8 }
$("#list").innerHTML=$("#lrc").innerHTML;+ i! {& ?' C s1 @+ Y3 Y
}+ q4 W7 ^: \) ~( y, G7 ^/ V
function getNext(i)2 | G/ t" w) l. y1 I+ s7 i
{
+ j0 u4 i3 o4 H var result = "";
: q. I2 X9 F- Y' V$ ]0 Q; k; ?; O var i = i+1;: \ L2 b( t1 W0 {
t = lrc<i>.split("]");
* u* }1 C! F# ? if(t[1]=="")0 V( }; X$ X! ~+ K' \
result = getNext(i);
8 i2 l t4 @% L3 F else) Q, S: W+ Z9 f. w. J# P
result = t[1]
' C" N2 x" O+ S4 u ?, F+ @ return result;
$ S c0 ?3 q0 L6 Y; b/ R% ?" g}! {; [0 S3 _) z0 j; e
. @- {: J2 ^/ H, d. x+ u( R7 i/ Efunction getTime(str)
( L6 n) F. {# Y2 P{0 @( O3 U; m: q! t0 F. m% o
var time =0;
: K+ t0 J6 U0 |& @0 L var ta = str.split(":");
0 m0 P" C/ Y$ G, a) S if(ta.length<2)
i: @8 G7 l+ K% R1 a return time;2 O3 F$ V- w; b7 p9 a+ ^5 r
2 u( u$ v+ `- j& p9 E" S if(ta[1].indexOf(".")>0){
2 | g( Y' L& i" \$ n( L: R var tb = ta[1].split(".");
1 Y! ?) N4 @5 H9 ^# ~$ i: X time = ta[0]*60*1000+tb[0]*1000+tb[1]*10;
" Q I- c, v, s: L. U# ~, R }. ^/ h) M8 X' s) o$ b2 g
else
6 x& V2 A. d; u# P time =ta[0]*60*1000+ta[1]*1000;& O& g& p5 o4 m7 C/ l3 O
return time;
5 l$ Z; ]5 A7 W7 q9 I}6 F; H x% a: H0 s; S6 {+ [" |
var preTime = 0;
1 h' T9 D& n5 Z j) Z7 Pvar nextTime = 0;
. k( C) Z, k$ k: l3 Yvar currIndex =0;
; [+ d) ~1 C2 q& p* s- n4 jfunction lrcList(){3 J" @' [9 W# V6 |/ d, p: Y. o( h% F
var s = parent.document.getElementById("MediaPlayer").controls.currentPosition;) b) V! ~1 u' ?0 X p6 d- z: _
s = s*1000;- N, e; J+ P' n7 H( @9 l
if(s==0){
# n# h3 n( f) _% A- x1 H. c; n currIndex =0;
- f2 O5 F+ N4 a( `- Y" v' d" h( y $("#list").scrollTop = $("#lrc"+currIndex).offsetTop-30;$ R9 o7 j$ _/ u. Z- M
for(var i=0;i<array.length;i++){
4 e: ~0 i" b3 p9 G" P, P document.getElementById("lrc"+i).style.color=colorNormal;
8 E* J+ o% O+ R& F- g) k3 g6 t1 Q }5 u" j6 t" f( D" ^
return;* r+ z+ H }' t- q% h! S# P
}
6 _. y7 U1 N. Z2 T7 W# I if(s>0&&currIndex<array.length-1)5 f6 n+ H/ k: i8 Y9 V3 f8 o: ?2 x
{ * ?8 d! G* K' _! H6 a; J# G
preTime = array[currIndex].time;' u9 N; l8 d5 H, V
4 Y5 }; x4 d: m+ c/ z& U
nextTime = array[currIndex+1].time;
6 Z2 O% x: u* d; ^
6 a; X* g: q7 {7 ? if(s>=preTime&&s<nextTime){, v( [7 \) Q/ ^7 l
}
* M7 r" S4 N$ q- {8 [; I else if(s>=nextTime)
6 N2 p; q$ e* v Z- e% i3 q* O {
n7 R7 l G/ s0 y, C% Y& U& C' J document.getElementById("lrc"+currIndex).style.color=colorPasted;1 P% K, E% H- i6 t
currIndex++;
' `3 k: {2 ]2 X; u $("#list").scrollTop = $("#lrc"+currIndex).offsetTop-30;6 b! V- D4 O( ^ x2 V: V
document.getElementById("lrc"+currIndex).style.color=colorPlaying;, i: W' A2 J) H" K. S$ a4 y
lrcList();
, `4 {' P: |, [3 G3 n3 ?# L }
3 D4 {! h4 D0 x0 _ else{7 m! g4 W, e8 A0 J
document.getElementById("lrc"+currIndex).style.color=colorNormal;
}6 ? v% K: r8 I! g currIndex--;
; `4 e7 t. ^; a7 G2 e- f- _ h# R $("#list").scrollTop = $("#lrc"+currIndex).offsetTop-30;" Q4 J6 x$ F! Y- m4 j
document.getElementById("lrc"+currIndex).style.color=colorPlaying;
& }: O5 n& u O( r, C lrcList();/ g! i9 X" ~) Z) ?0 ?
}
) F! J! r8 Q& `& N* M }
( p$ m( k' N0 ^- [ else; w6 ^2 ~( v2 }, ~
{
5 E" _) n: o- f: P' r$ P4 P) O& @ if(s<array[array.length-1].time){
/ ?8 ?! q! }5 b5 @% ^ ` currIndex = 0;
* Z7 e! P5 [& m$ A6 `7 X& C9 l $("#list").scrollTop = $("#lrc"+currIndex).offsetTop-30;
3 _% N* b. f9 I' d) Q for(var i=0;i<array.length;i++){( }' s5 d: W4 a1 ^- B9 o! C
document.getElementById("lrc"+i).style.color=colorNormal;
+ Q: U- r8 n* e) i9 Y }; ~4 S: _" ^' z* i# j8 G- p" t
lrcList();5 o5 n( z2 r8 e* Z, \$ s" F' C! S+ ~+ V
}
" d+ \: B9 c% D: ]$ Y" u }
1 _1 C( Z2 n1 {* ?}
+ i* e" }4 g2 f8 |9 D; A+ _$ d' W. n2 C</SCRIPT>- u) n' P- V4 c9 M2 y8 p
</DIV></DIV>
( O/ G* o( ~' I# b9 v: Y3 ^3 r
, f$ U: \8 {+ ? O% @8 j4 k4 P[ 本帖最后由 幽谷兰 于 2008-9-18 17:36 编辑 ] |
|