|
|
<DIV id=list>
; }4 t- ^% |2 s! c<DIV id=lrc1 style="COLOR: #666666">[wmv=0] http://lzbj.ncedu.net.cn/uploadfile/20083923248279.mp3[/wmv] </DIV>
, o) Z) `: D3 ]7 d<DIV style="COLOR: #666666">|等一分钟|听到这首歌,觉得它很动听,旋律很优美,很是喜欢,传上来给大家听听。</DIV>2 S1 H6 f8 Y. w% r; A# `
<DIV id=lrc2 style="COLOR: #666666">词曲唱:徐誉滕</DIV>
( p) U: _, x1 F9 a# T* J<DIV id=lrc3 style="COLOR: #666666"></DIV>5 D/ d4 H% n# k8 S; p
<DIV id=lrc5 style="COLOR: #666666">如果时间 </DIV>
* K/ j; w$ f- \6 {<DIV id=lrc6 style="COLOR: #666666">忘记了转 </DIV>
4 B7 n' @2 s. x7 G G/ c6 f<DIV id=lrc7 style="COLOR: #666666">忘了带走什么 </DIV>; U' s2 j' w% f
<DIV id=lrc8 style="COLOR: #666666">你会不会 </DIV>
5 I: K _/ r. N* a6 r% u<DIV id=lrc9 style="COLOR: #666666">至今停在说爱我的那天 </DIV>9 O' i! o' g# L
<DIV id=lrc10 style="COLOR: #666666">然后在世界的一个角 </DIV>
" t( n8 {* t# P: r9 ^4 Y<DIV id=lrc11 style="COLOR: #666666">有了一个我们的家 </DIV>
9 m& v! c, g1 [) E! g<DIV id=lrc12 style="COLOR: #666666">你说我的胸膛会让你感到暖 </DIV>
+ y5 ?7 ^& {* P& ^<DIV id=lrc13 style="COLOR: #666666">如果生命 </DIV>2 f2 h7 i7 [2 s Y
<DIV id=lrc14 style="COLOR: #666666">没有遗憾 </DIV>
$ r* |' }3 ]7 u9 i# Y<DIV id=lrc15 style="COLOR: #666666">没有波澜 </DIV># {8 z4 M8 ~& N; a' f, ~: |
<DIV id=lrc16 style="COLOR: #666666">你会不会 </DIV>( p3 L1 Y3 H7 V7 a; o
<DIV id=lrc17 style="COLOR: #666666">永远没有说再见的一天 </DIV>3 @; V( R! H. r9 V; S( F$ N3 }
<DIV id=lrc18 style="COLOR: #666666">可能年少的心太柔软 </DIV>
( c n) Y& U K<DIV id=lrc19 style="COLOR: #666666">经不起风经不起浪 </DIV>
9 w" P" K/ i- Z; r<DIV id=lrc20 style="COLOR: #666666">若今天的我能回到昨天 </DIV>
3 n' X+ e; Q$ w: N/ S' S$ `<DIV id=lrc21 style="COLOR: #666666">我会向自己妥协 </DIV>
+ e c! i% w2 w" F$ k. D6 U: O<DIV id=lrc22 style="COLOR: #666666">我在等一分钟 </DIV>1 s B) P) q2 C: |% s4 `$ d
<DIV id=lrc23 style="COLOR: #666666">或许下一分钟 </DIV>
1 [) z& n8 ^5 f& K<DIV id=lrc24 style="COLOR: #666666">看到你闪躲的眼 </DIV>: N, n# z2 G; u6 J8 |, q
<DIV id=lrc25 style="COLOR: #ff3300">我不会让伤心的泪挂满你的脸 </DIV>
" h/ L! K2 Q4 J x<DIV id=lrc26 style="COLOR: #000000">我在等一分钟 </DIV>
- c# N3 n/ y; S- \- h2 W<DIV id=lrc27 style="COLOR: #000000">或许下一分钟 </DIV>
0 H- x* q# C' v5 l' N& k {* Z<DIV id=lrc28 style="COLOR: #000000">能够感觉你也心痛 </DIV>0 P. R2 b- h' m: \' w
<DIV id=lrc29 style="COLOR: #000000">那一年我不会让离别成永远 </DIV>
" [# B3 {5 P8 _& A- g& V7 ^<DIV id=lrc30 style="COLOR: #000000">如果生命 </DIV>
: k2 l8 f, B4 O* l6 J5 j<DIV id=lrc31 style="COLOR: #000000">没有遗憾 </DIV>
+ v/ t8 M6 n% Z0 X7 p<DIV id=lrc32 style="COLOR: #000000">没有波澜 </DIV>( T( f5 b: A& A6 F& g o4 G
<DIV id=lrc33 style="COLOR: #000000">你会不会 </DIV># X3 d0 K1 c% b8 r! m$ s8 F9 o/ Z
<DIV id=lrc34 style="COLOR: #000000">永远没有说再见的一天 </DIV>9 c: M6 _1 z7 ]+ f: m
<DIV id=lrc35 style="COLOR: #000000">可能年少的心太柔软 </DIV>
$ [4 @8 r4 D% v! s/ e! y<DIV id=lrc36 style="COLOR: #000000">经不起风经不起浪 </DIV># l0 U d5 S( O2 o# a8 s/ \- b
<DIV id=lrc37 style="COLOR: #000000">若今天的我能回到昨天 </DIV>! n3 [) S; r" r2 {( d/ [
<DIV id=lrc38 style="COLOR: #000000">我会向自己妥协 </DIV>3 v! Z6 m4 i% F
<DIV id=lrc39 style="COLOR: #000000">我在等一分钟 </DIV>
( e7 Y+ a2 Z- E2 n* j<DIV id=lrc40 style="COLOR: #000000">或许下一分钟 </DIV>
' B9 W9 H6 h0 i<DIV id=lrc41 style="COLOR: #000000">看到你闪躲的眼 </DIV>+ e4 L/ |8 L7 x" W
<DIV id=lrc42 style="COLOR: #000000">我不会让伤心的泪挂满你的脸 </DIV>, Y+ D# X: k9 i- O! b, D& s1 Y) B
<DIV id=lrc43 style="COLOR: #000000">我在等一分钟 </DIV>2 o/ a- y! o! f5 t; S
<DIV id=lrc44 style="COLOR: #000000">或许下一分钟 </DIV>
5 i# k% o/ p6 l. i<DIV id=lrc45 style="COLOR: #000000">能够感觉你也心痛 </DIV>7 x8 q/ J. C2 M4 A! h* c
<DIV id=lrc46 style="COLOR: #000000">那一年我不会让离别成永远 </DIV>7 \- n4 _" J8 P- n) z. }
<DIV id=lrc47 style="COLOR: #000000">我在等一分钟 </DIV>
/ N0 F% g& N% h: [; w/ s" x<DIV id=lrc48 style="COLOR: #000000">或许下一分钟 </DIV>1 E: r7 ^9 V, I/ n2 s+ H
<DIV id=lrc49 style="COLOR: #000000">看到你不舍的眼 </DIV>. K* U4 P# \, e d5 U: ?
<DIV id=lrc50 style="COLOR: #000000">我会用一个拥抱换取你的转身 </DIV>" D5 i* s6 v; }$ d r( Z8 y
<DIV id=lrc51 style="COLOR: #000000">我在等一分钟 </DIV>- G' Y+ W2 B; m2 Q6 o |0 i
<DIV id=lrc52 style="COLOR: #000000">或许下一分钟 </DIV># a; r- M2 Y3 F" [- H5 C- j' B
<DIV id=lrc53 style="COLOR: #000000">如果你真的也心痛 </DIV>
5 C5 k- H! F3 k<DIV id=lrc54 style="COLOR: #000000">我会告诉你我的胸膛依旧暖 ! b6 Q) `5 j. }
<DIV id=lrc style="DISPLAY: none"></DIV>& u# n* I% M6 f1 @9 }+ q/ g8 m
<SCRIPT type=text/javascript>
" G8 _( B* i0 \' x3 l! s" D! Gdocument.domain="1ting.com";
4 T, @% b, v+ Tvar colorPasted="#666666";
! w+ X4 d$ s( L3 Mvar colorPlaying="#ff3300";, b7 e f' |# F6 y) t
var colorNormal="#000000";9 } R/ {9 C: R# X
$ = function (a,g){
8 o( v9 O* M0 h- a; m var o = new Array();
, Y( t- t8 E- D& q9 |) H var c = new Array(); , c2 t' N' N6 a3 o# Z
var r; # l* l G4 r* X2 z5 o
var u;
/ P% w8 A& o3 k. X, E+ h" _ var a = a.split(';');
, a3 A" w1 s( A6 E; c! j3 W: J$ L' S9 Q
var e = "keydowns,resize,load,dblclick,click,mouseout,mouseover,mousemove,mouseup,mousedown,inputchange,inputfocus,inputblur".split(",");
% T A/ `$ @% q4 Z5 z& o for(var i=0;i<e.length;i++){) D0 ^3 O' ]# d+ W1 S* y
eval(e<i>+" = function (s){eval($event('on"+e<i>.replace("input","")+"'))}")- G. b; x' O8 w4 x7 ]8 f
}
& l) ?/ Y& x1 ?4 @( j6 B7 c7 t, n0 q+ L4 ]5 I6 x! S
after = function (t,d,s){
; \+ n/ U% C, f $after = function (){1 `7 M) U6 R. s6 s- j
var $n=document.createElement(t);
0 h- p B1 ~+ w; a1 i if(d!=null){$ G, x7 G% t9 z+ W
$n.id=d; 0 Y+ W5 z- I) k: X p+ p
}' Z1 J9 n7 j! W' i1 H
3 i I! V- p6 q1 Z0 x; g u.insertBefore($n,null) . `0 ?* {: I6 ~: f( w
r = $n;
4 h9 E1 U: C3 {! o4 A6 K u = $n; 7 R w0 \. `: K: D
}! a0 x% w1 { Y7 V: m: Q9 a
$for(s,"$after"): t) Y7 G) F- [0 Q, x
}
3 O4 \1 g; Z* q6 @, K3 G# G2 e E7 t3 @. G6 [0 y3 K/ u
show = function (s){
& X! U; R6 e" C B1 w$ Q9 F) _ $show = function (){
) Q7 N4 L; U% [1 Z5 b5 Q u.style.display!="none" ? style("display:none") : style("display:block") ;
4 i! e* R+ R8 B! }" B) H/ W }5 S7 c" Q& L, R: v- K; h( I& j
$for(s,"$show")' A0 p6 Y c0 y0 Y( ~! Y0 D2 ^
}
* k( y+ P9 N9 b. M# t
4 F: t& [. P% C( W check = function (t,s){
; Y9 U; K4 S' x. j# t5 L6 Z $check = function (){- s; L9 g% w# H. _/ `( q5 i
if(t=="2"){% F8 M, L$ L* O2 d; z7 c k* R ~
if(u.checked){
3 @6 f5 E" R, I) H0 B& ?$ X' e" ~ u.checked = false;; @0 n# Y. b9 D# z9 ~ c& ~* l; m
}else{
( |6 {- R; f O! m+ O u.checked = true;/ |$ l$ }; ]- N
}* T9 Y1 F! d/ |" [
}else{5 K# X# F6 {. ^- T# Q! n5 o* e' x
u.checked = t*1 ;" _7 L7 z. e# u0 ~+ D
}/ f- r$ n( f$ J e6 ?$ v; U* R
}
+ z3 O: Q4 b# S# Y $for(s,"$check")
+ M9 H! e# k" N7 W. Y: y8 P: v }$ I, r9 R: e" I3 r2 u9 j! N3 S
# F4 ]( A. Y6 R5 O3 ^3 Z3 n
style = function (v,s){
! g7 ]2 Y0 B: H) `' L $style = function (){
/ j2 i6 ^% Q3 d6 G var $n = v.split(",")
5 [3 d1 z7 I( t$ M% d- U- t for (var i=0;i<$n.length;i++ ){' V u6 |. m7 s: M3 z4 [
var $m = $n<i>.split(":") + \; G$ p( J4 }8 N
eval("u.style."+$m[0]+"='"+$m[1]+"'");! b. \' v4 r7 @; l/ d& l* p
}
2 v8 o: l4 W4 ?' H) x0 i) [ }9 q& p2 [' p5 M# n
$for(s,"$style")1 Z/ A8 v% D+ L5 B" ?6 V
}
' a: a0 ~4 I" G3 q& ^* h
: P* l& G( e/ T value = function (v,s){
- a* D4 L; i# s3 X" }) W; s% Z var $n= $this (v);/ c% v# @/ }' i
$value = function (){
: K& N: d0 A) B8 q u.value = $n3 W6 T4 @$ r6 N0 R! U
}3 W+ R- B* {0 [
$for(s,"$value")
& u/ D3 P; {. o4 z" M5 M }
1 p' E3 v, x( ~' s. B5 H+ z! V1 j+ I9 j8 r. W% b4 f0 X
text = function (v,s){
8 c) B. U- j1 x8 k6 j7 G7 \- u var $n= $this (v);
3 j4 j' { v9 K. D" e* A* m $text = function (){; e0 {, o' Y# T- ^5 V, |6 b( y, L
/ A3 P, T( D# V6 c& K% B u.text = $n
p1 \* R1 T8 f, w" p# ` }/ X) d: k1 V6 w1 P8 |, f [6 W
$for(s,"$text")
# l1 `$ |2 N' k }
( D8 u. J& r( Q6 |2 ?# |( W* h- `
0 [$ M5 a9 t0 `3 g0 o; U innerhtml = function (v,s){
+ f$ L. L k- Z& U: L var $n= $this (v);
& D" l8 i6 W0 F5 W $innerhtml = function (){
/ F: @ i" D/ S. C/ s% l u.innerHTML = $n
, x1 Z# g/ ]( G }
3 E |/ p/ {7 y8 V% G $for(s,"$innerhtml") B' m8 w- y( I/ @" ]
}/ U' u( Z. X# p; g$ F. _2 M
1 d+ K1 ~ `% L# D+ _$ j
removechild = function (s){
4 Z! d. W; J& X' E# n2 A $removechild = function (){
' d+ [- L! y, N( x/ l u.parentNode.removeChild(u)5 w# e! y% m3 l7 v, B
}
+ u# D* b8 V, g: L5 ]5 \) K0 B+ n $for(s,"$removechild"); m$ s( L! P5 l. A, F0 t+ V, J( C1 |
}
' C* [- f% m; f7 a0 X. g
6 J% {, o; x" c" R* e7 T $this =function(v){
1 X9 _3 J2 G0 F$ S if(v.indexOf("this") == 0){
) u) X0 p& _: D4 m* Y/ c return eval(v.replace("this","u"))
6 P& n+ C4 L+ ]$ U) ? }
: B9 {0 J/ O/ t0 ?: l9 v return v;( L; q; l0 m& e' Z" s, s+ u+ w! O c
}2 R( P$ T( w; ?6 l% u
7 b1 a7 ~' M' T# \8 E $event = function (s){
. q5 x! S9 H6 g& ?3 j. N7 V. w! o2 \ var $n ="u."+s+" = function(){$work(this,s);}"
1 z. \ t% f2 v return $n;4 U6 _5 {# E6 r" a% D/ m
}
. d) e" m4 f+ k1 e9 B: j( _# u) t. Y8 X b4 v" m
$replace = function (s){8 `8 P9 J* ]% |
N: p; f& r: n0 l
}
- G$ h5 D" q9 W/ E
$ G0 {7 N7 E# m9 ~) x $for = function (s,c){
# G3 k/ L: ?- \& D7 b) y6 p var $n="this."+c+"()" ;
/ X# x- X j% [* ~% v0 @1 J if(s!=null){
3 v5 T( Y+ l' q6 i var $m =$test(s);
" M) o3 R/ T, a1 ^, ? for (var i=0;i<$m.length ;i++ ){
9 K) H5 n" _' g; ^" u+ P7 B$ T u = $m<i>;; S' J; E- d7 O0 ]
eval($n);0 ]; D; B# w: q, q: w) F
}6 q/ l9 o7 l- p5 k& E
}
# |1 H- t1 s/ N) t2 L else{& {/ l E- {4 y/ t3 F0 P
eval($n); Z Y2 I( Q: @* L3 D- ~, x. ?3 |
}
% K3 D& d4 ~/ ~. G' J }0 A3 x& n% x% O' P
) `$ R; j& O' R. R4 v! S z3 L7 P
$test = function (a){
- ^& Q$ S* j; W% ^5 o @8 D9 V var o = new Array();$o(a.split(';'),o);
" d5 `, [9 u' o# i3 R' P return o;+ Z* o; T( K N. C+ {0 A
}/ l5 {/ N2 z# ]* u
( \$ }. ^ w7 t- O
$format = function(s){- X- Q X7 ~( x+ t
while (s.indexOf("'")>0){
# |' V I" ]! r9 c' G8 K s=s.replace("'","\"");/ F; A w& k8 Y1 R8 @! w
}
( r# h( }. L" N3 T, z' q% R- t while (s.indexOf("][")>0){" x0 z% [" M; b
s=s.replace("][","','")9 f7 ]( L- c* x+ b9 d
}. B& Y& v5 ~( ^( J
while (s.indexOf("[")>0){
# f( C2 O" n5 N. V s=s.replace("[","'").replace("]","'")
2 j8 x6 `5 Q1 j! ~7 {" b }
. h+ _# P& F# ~: F' z return s;
( Q- A0 l3 U, ~8 K }
' I; d6 [8 H' \# D4 V4 t; M0 i8 {6 z) X9 g! a
$work = function(w,s){
) p0 r" q/ c6 ?. X! \: y$ B u=w;eval(s)
4 v. t7 _# Q7 J# H9 l1 Z }% v' @& w: A- F
% Z5 C: y5 j3 r+ V- ?/ _
$id = function (s){- \! m! e: g5 x- P
return document.getElementById(s);
: z+ n `2 y5 J/ \. f( g$ X( t }
6 f9 L6 C6 R' ?+ k
+ p! L' W% S5 N, H# w $name = function (s){
7 V; D: ?9 I0 e% z5 ~: D return document.getElementsByName(s);$ d* K: o% Q) k6 s
}
, Z: P4 x& u1 T: D6 U
; [4 c. {$ X* `, @ $tagname = function (s){8 l; e& k! D/ l
return document.getElementsByTagName(s);2 g! H8 b7 }! X
}1 E& y" b9 L$ S
, z2 b- U0 @# \6 h( T, \7 J
$o = function (a,o,c){- D7 r# }' r2 y. n* h
$push = function (n) {
8 Q8 f3 a E+ T for (var i=0;i< n.length;i++ ){4 N/ g; `( w: o; B7 L! B4 T- P0 g% K
o.push(n<i>);- I* l+ c7 g8 Q& R8 K2 S' P7 F4 P
} 3 p. l# V, \) g @8 q5 `
}
b3 k' \ l; h1 F9 [ for(var i=0;i<a.length;i++){
+ _2 {$ _* ]: x. \! b( q# U5 C if(a<i>.indexOf("(") >= 0){: s, R; A. r1 }( u
c.push(a<i>);
$ r- J& [! w) ^, o# O ^( A }
3 H* E0 y% ?! m) H2 t( o9 b0 v% V if(a<i>.indexOf("~") > 0){' N" I$ G5 I# U- T! W+ B
try {/ N9 A- _& A1 x v
$push(eval(a<i>.replace("#","document.getElementById('").replace(" ~ @","').getElementsByTagName('")+"')"));
/ l! s4 e* A6 }3 A }catch(e)
3 d& o( K" z. J {} ' {: z4 ]! ?( D9 p3 R9 C0 y ^
}
, G( L2 [: Y( q9 g3 P3 m9 G3 k else{3 L: ~$ Q& D; ~8 c, e$ M1 {
if(a<i>.indexOf("#")==0){2 t; I- d- F3 C! w+ u. h6 c
o.push($id(a<i>.replace("#","")));
D7 V2 W5 s$ Q7 y* ?3 D s! b. ] }
* U! s0 V+ s. K5 r/ q2 V( K4 q9 D if(a<i>.indexOf(".")==0){7 v) a: `' { o7 s( d
$push($name(a<i>.replace(".","")));
" o$ N# T% i, Q' a% ?0 y }
" |* e8 l( d; [8 S, f- y, Z if(a<i>.indexOf("@")==0 ){
! w) _3 V) i1 K* b $push($tagname(a<i>.replace("@","")));
; E8 W1 i7 j2 O# v r0 m! W }
0 K: y9 i4 L! w# j& r) D if(a<i>.indexOf("*")==0){6 ?, j+ S; `+ [6 n6 Q, i3 I
$p= a<i>;1 W$ b) [; q& j. z
if($p.indexOf(".")< 0){& l1 x& n9 L" z! y7 ]! G; q
$p = $p.replace("parent","parentNode"), M- O4 @) l& ~6 M6 N* e
}
, p) ~' f" [9 T. B, Z, l& m% e: c var $p ="u."+$p.replace("*","");
: c* ~+ D1 z& ?7 j9 o& _ while ($p.indexOf("parent.")> 0){2 J N8 x* S; n9 Q
$p = $p.replace("parent.","parentNode.")
; [4 h8 [6 s* m, d- q! X }
% S( G0 f5 Z3 l while ($p.indexOf("child{")> 0){- n8 Q, Y* e. s
$p = $p.replace("child{","childNodes[").replace("}","]")+ {9 Y' k) x# n- O0 N4 D+ _- R' t
}
7 u+ ^% ?# H. a0 \$ i o.push(eval($p));
) |8 W4 q6 ]7 w }0 G% c1 z' [" h, {# f- B
if(a<i>.indexOf("document")==0 || a<i>.indexOf("window")==0){1 |1 B+ s$ v* v$ T# O/ s# ^
o.push(eval(a<i>));9 o* n7 V; }- q: h/ n
}
' B. a/ p, N6 ]( q }
4 @* j5 K3 w+ e5 l if(g!=null){ , s/ `- [7 o6 e+ I. p3 V4 X! R
o.push(g);g=null* c. ^/ t b- s M
}
8 q" W3 d1 o4 f! ?1 [ }
# y3 b. `4 x# f {- u }
E8 F" H( t* C4 i9 V- n: D- s! Y* _- P, K
$o(a,o,c);
1 ~# N8 a' W; F* M- x# O
* l9 I: Y Y: M- x" T for(var i = 0;i<o.length;i++){
( P" w+ w! L# A& f% x; e for(var j=0;j<c.length;j++){
1 T; z% q' f/ l- f u = o<i>;eval($format(c[j]));
2 ?3 H( f7 a1 [! o! K$ N }
: @$ E7 K) Q5 r }& R/ o2 O) ]- ?1 D6 Z
4 F0 R/ n* r7 c+ |+ z1 t% `
if(o.length == 0){
+ V! P% v, R$ z for(var i=0;i<c.length;i++){
4 A- g0 Z* x/ B eval($format(c<i>));
# W9 ~; [+ l. K1 H& f/ c# e* [* ]# U }
; o% {8 [7 Y% e4 L6 }/ n5 h( X2 r }3 ]& P4 L/ s7 K& L1 e* Y. r0 @
4 b! e ]8 S, N8 y, E6 A if(r!=null){* g0 L: M! u2 [/ |" H. M
return r;. o1 @: c! x2 b7 G! ?
}
; b K/ [1 E) z4 }& |+ `
@- U) A( G+ O0 ^, W; H if(o.length==1){, L# Q; C4 R/ _& c/ }) m
return o[0];
/ S+ ^9 q* i6 m& ~( ]6 e X }
3 i+ p7 B* H4 U b+ x3 e else{
5 Q0 j) V6 D9 W1 Q return o
; \5 {5 M2 s# q9 x( D; d9 H& n2 N }
0 N( W# M% [, R5 F0 I 8 A- `; j+ ^7 |: P: F2 ]
}' y' H% Y* x( P
var lrc =$("#lrc;show()").innerHTML.split("[");( }5 ?# m/ C6 @8 x: g" F
if(lrc.length>5){1 v R+ s( L2 f
var array = new Array();
% T7 ~, d+ ~! Jfor (var i=0;i<lrc.length ;i++ )9 `4 N& @& _* D X
{
; z4 Y5 V* x+ Q4 W var g = new Object();
! M$ c. u% u Q5 ]% P t= lrc<i>.split("]");( c, V1 i+ j) J% \, w
g.time = getTime(t[0]);; j2 l! U. j7 @
if(isNaN(g.time))
9 m4 a7 ]- D1 Y6 f. A continue;) x4 o" S, d" h- w5 w
g.c = t[1];
! ^" |4 }* P4 w; w9 {: D$ F7 o if(g.c == "")$ y; C* m' p4 M$ P
g.c = getNext(i);
* l" L8 D; `7 |8 h array.push(g);
2 C" j5 l5 d# f1 y. |: X}, u* K8 Z# |9 u+ T! z1 L2 U& `
array.sort(function(x, y) {1 F' u. ^3 m K* _ {& O0 K
if (x.time>y.time)
5 a* L: f. X6 m+ N return 1;- Q, T. I) D/ w, E. d0 ?' X
else if(x.time<y.time)
D9 o+ x1 z4 \4 } return -1;. _: S( x( j# \% p2 d
else$ ^3 ~( E* Y8 B* k& p: D! ~
return 0;
. v3 J5 r, o p( n. i; F } 5 N% d$ w5 @& ^: r$ M
);4 D' \. C; `- A5 x3 `2 N U; [
for(var i = 0;i<array.length;i++)* |' x6 a4 Z: }- Q; o& n
{
2 O) f8 z/ }1 F @+ y+ n; g: I# E var g = array<i>;/ F+ G8 R1 y" G- ]( O
if(!g.c){% V, M6 v1 g; P: ]; o
g.c="";: ~# C7 @; V- n3 b: m4 Y. j
}+ ~; t: r1 c* Y# ^, L5 A! U
$("#list").innerHTML+="<div id=lrc"+i+">"+g.c+"</div>";
4 j) y5 I! J/ W4 G* {2 W. b4 M}: M/ Y- m, O$ X1 Q' G7 S% d1 b
var time = setInterval("lrcList()",500); * B! w9 k" `$ W4 s6 R( R
}else{- ]" g5 d" T# _, L2 Z$ Y
$("#list").innerHTML=$("#lrc").innerHTML;, Z$ C2 P* A. n5 _
}
" ~6 y% \) \( G% u5 Cfunction getNext(i)
! {( p) a( ?' l/ d( r% R7 k{( p5 R# \1 \, K; A9 _
var result = "";
2 D$ M; p% p3 D z$ j var i = i+1;1 |! }$ C$ h2 @2 V1 j$ b
t = lrc<i>.split("]");
0 G6 p# ]0 t+ A% m0 _2 v# U% M if(t[1]=="")0 K# L4 u. q9 F1 [" k
result = getNext(i);/ C' j! z3 z9 j4 N
else
; e U- _7 T7 g3 e* L' K result = t[1]+ L2 j5 b* D. K, I4 F+ ^
return result;' p) d2 D& S# B! h4 x
}
, |! s( M7 H9 C
' U: M5 s/ ~+ F7 rfunction getTime(str)
- o3 `$ f$ h; `) @7 C& D{
: u, B1 l+ ?0 Y$ Q- v- [ var time =0;
, }" ?) T. }, t" E6 o var ta = str.split(":");( v. O- M2 \. o$ l4 y
if(ta.length<2)
' L, w# [9 n; o# i8 {2 g return time;2 @! C- b4 Y( M. T& j
; B4 k: p% f ~" c* ^
if(ta[1].indexOf(".")>0){
5 D( c. y7 d" P& c, |9 A" ^ var tb = ta[1].split(".");9 U+ m0 C% `! M: `/ u
time = ta[0]*60*1000+tb[0]*1000+tb[1]*10;
! f5 B6 \4 B0 D }
+ c, Z5 k. K8 U3 n else- z! d6 Y5 ` w8 Z* U8 o+ a- `
time =ta[0]*60*1000+ta[1]*1000;- i0 v$ ]) _9 D. H" k$ Z8 R
return time;' ]. Y7 D7 U5 y6 K8 E
}
. u( g; j' i+ T- _ ~var preTime = 0;
6 c+ z$ P5 H; X6 Q- Wvar nextTime = 0;1 k4 A0 [- b0 J# g8 Z: N2 D
var currIndex =0;
) Z; c7 w/ P# Q- n: ]1 U$ L% _0 Vfunction lrcList(){* Y' s) U( ]% Y, `* K2 W
var s = parent.document.getElementById("MediaPlayer").controls.currentPosition;' u- O6 g2 l9 d# S2 r! i3 M7 Y
s = s*1000;" Q8 L" O! r. q; P8 W
if(s==0){$ V1 }. W0 J; ]: V' C1 ^
currIndex =0;& R- Q- T/ j: M) P
$("#list").scrollTop = $("#lrc"+currIndex).offsetTop-30;8 Q9 D$ h. R5 g+ {9 g
for(var i=0;i<array.length;i++){. H' o* d. M7 r7 k8 _' w
document.getElementById("lrc"+i).style.color=colorNormal;
( a( q# |- V9 b% s( a9 N* b }
8 E# |* B8 _) K [: v return;
/ L$ L/ [6 ^: p* N3 G. V$ h }2 n3 a4 v. a$ j. c6 A; I
if(s>0&&currIndex<array.length-1)
1 ~2 V$ r; U6 `( |4 Z$ C {
7 P) z# ]- `4 z8 A preTime = array[currIndex].time;
: P3 E7 F& Q# J0 {8 v7 i8 o2 G8 P
5 l y% t* G/ n! {& V+ Y- x nextTime = array[currIndex+1].time;- T( c7 P8 `; H ?1 M6 E
& \0 h" O, j. T if(s>=preTime&&s<nextTime){! {) k; s& k; m& T$ }# E
}1 ^9 ~$ o8 I# `( Y. ?6 k C
else if(s>=nextTime)
0 i& S& f0 K( h2 L" \3 T$ ~( | {) O! l, u# U, E) @
document.getElementById("lrc"+currIndex).style.color=colorPasted;
1 v4 t( q4 h, f8 Q# r8 n+ |9 |% @ currIndex++;( h& O3 v9 b2 S, p9 P: R
$("#list").scrollTop = $("#lrc"+currIndex).offsetTop-30;
. {+ |4 C. k% m; z# J document.getElementById("lrc"+currIndex).style.color=colorPlaying;7 C( Z0 C2 O0 }: y* a) i5 c, p4 O
lrcList();0 X& n( F% G9 ?( `" U U
}7 [9 ^+ ^# Y! _1 c. O* c0 M! H
else{) _2 m) U2 p5 J0 x/ t: p
document.getElementById("lrc"+currIndex).style.color=colorNormal;
# |% Y6 r( v9 L5 {0 k U- h4 I currIndex--;
2 a8 P; b9 ?; J& e( u $("#list").scrollTop = $("#lrc"+currIndex).offsetTop-30;& \1 s" K( ]7 k0 U4 k4 y) a& z
document.getElementById("lrc"+currIndex).style.color=colorPlaying;* ^ `% ?6 v- O% D, c8 s
lrcList(); H3 u, [0 O* G+ w
}
3 [# q$ X* j; B, o0 ^1 Z6 s- [ }( i2 `0 m) B$ g2 l& t- N; L% h7 c0 n
else+ ?/ k: O, t* v; j6 G/ g0 x s
{
$ f$ Y$ @- j: p7 A2 [ if(s<array[array.length-1].time){9 j9 |, U |1 F- g
currIndex = 0;
* L6 K6 d) ~7 _( m $("#list").scrollTop = $("#lrc"+currIndex).offsetTop-30;: h7 O3 J) `) B/ ^1 ^& B
for(var i=0;i<array.length;i++){) @1 W8 q2 v L
document.getElementById("lrc"+i).style.color=colorNormal;. O" o9 `0 v4 T% Y$ z
}1 s4 X: n& M2 P$ I: N$ |+ Y
lrcList();
: v0 }( I, g# L+ U }
5 W. H7 t; _: A! I" f; } }
; M$ z7 X' K: P+ l}, W6 G) U* ^5 Z" ~
</SCRIPT>( T4 j+ g8 ^# i4 A" ^2 J9 T
</DIV></DIV>
( G& f% R+ n2 i. R Q S5 }: ^9 g' A7 L
[ 本帖最后由 幽谷兰 于 2008-9-18 17:36 编辑 ] |
|