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