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