|
<DIV id=list>
7 q1 [) L% ?# g6 Q0 J/ X+ [<DIV id=lrc1 style="COLOR: #666666">[wmv=0] http://lzbj.ncedu.net.cn/uploadfile/20083923248279.mp3[/wmv] </DIV>
9 `# q; a5 V* M8 Y0 K<DIV style="COLOR: #666666">|等一分钟|听到这首歌,觉得它很动听,旋律很优美,很是喜欢,传上来给大家听听。</DIV>
( p2 x+ F/ `5 L F, c<DIV id=lrc2 style="COLOR: #666666">词曲唱:徐誉滕</DIV>( v: M) b4 L! u- J$ G$ W- @7 ^
<DIV id=lrc3 style="COLOR: #666666"></DIV>
- O! i# E9 L H( K" g& ^<DIV id=lrc5 style="COLOR: #666666">如果时间 </DIV>3 R$ n) U' w/ H3 X' B
<DIV id=lrc6 style="COLOR: #666666">忘记了转 </DIV>* Q, ?* @" v6 X0 ?* V
<DIV id=lrc7 style="COLOR: #666666">忘了带走什么 </DIV>& t5 [: `5 m* G1 b) [
<DIV id=lrc8 style="COLOR: #666666">你会不会 </DIV>
# q5 f$ [( N" b S# |+ S3 [<DIV id=lrc9 style="COLOR: #666666">至今停在说爱我的那天 </DIV>& X1 w0 Y Y6 D# X
<DIV id=lrc10 style="COLOR: #666666">然后在世界的一个角 </DIV>
* i+ j8 B9 \% w1 }8 ^& v# }5 L4 n+ d<DIV id=lrc11 style="COLOR: #666666">有了一个我们的家 </DIV>8 i6 F6 l: s: s
<DIV id=lrc12 style="COLOR: #666666">你说我的胸膛会让你感到暖 </DIV>* f' e# ?: Y0 i+ e0 F7 R) t
<DIV id=lrc13 style="COLOR: #666666">如果生命 </DIV>/ F% W' G% M, K6 y c" S
<DIV id=lrc14 style="COLOR: #666666">没有遗憾 </DIV>
. ?' ^& L5 k- @; \8 R<DIV id=lrc15 style="COLOR: #666666">没有波澜 </DIV>
k6 p( X5 `8 N9 b$ ?<DIV id=lrc16 style="COLOR: #666666">你会不会 </DIV>
) d3 ?/ _/ M$ h E6 w; s& L<DIV id=lrc17 style="COLOR: #666666">永远没有说再见的一天 </DIV>
8 U$ C7 l3 ~3 ^/ J<DIV id=lrc18 style="COLOR: #666666">可能年少的心太柔软 </DIV>
3 q& Z2 d' v6 d$ J& I& ?. \ l( V<DIV id=lrc19 style="COLOR: #666666">经不起风经不起浪 </DIV>
' |; @" [3 ^; M# l<DIV id=lrc20 style="COLOR: #666666">若今天的我能回到昨天 </DIV>8 C) Y- F7 |* |/ R7 Z' g
<DIV id=lrc21 style="COLOR: #666666">我会向自己妥协 </DIV>$ i+ I- e( e6 g( |
<DIV id=lrc22 style="COLOR: #666666">我在等一分钟 </DIV>6 k2 w) N2 W$ P" l+ Z
<DIV id=lrc23 style="COLOR: #666666">或许下一分钟 </DIV>
, _5 ?% j2 e5 ?' \" c0 Q3 s<DIV id=lrc24 style="COLOR: #666666">看到你闪躲的眼 </DIV>
. Q; ^3 S. a! g1 P<DIV id=lrc25 style="COLOR: #ff3300">我不会让伤心的泪挂满你的脸 </DIV>& x' i8 j' y( B! k" U
<DIV id=lrc26 style="COLOR: #000000">我在等一分钟 </DIV>7 p# r; l: D2 L2 n5 @
<DIV id=lrc27 style="COLOR: #000000">或许下一分钟 </DIV>) J( x9 O7 E0 D" d q, G
<DIV id=lrc28 style="COLOR: #000000">能够感觉你也心痛 </DIV>
4 c$ \6 z9 \" E( F) |1 A- x<DIV id=lrc29 style="COLOR: #000000">那一年我不会让离别成永远 </DIV>6 C* E4 b- E9 ]1 I2 @
<DIV id=lrc30 style="COLOR: #000000">如果生命 </DIV>/ I- {- S3 f- y z- G4 [
<DIV id=lrc31 style="COLOR: #000000">没有遗憾 </DIV>, A0 _# J0 F+ K. R- i
<DIV id=lrc32 style="COLOR: #000000">没有波澜 </DIV>- ^! Z6 A% ]- N7 i$ e$ U$ O. E
<DIV id=lrc33 style="COLOR: #000000">你会不会 </DIV>8 S3 [( Y1 f- z) ]0 t! U6 {+ U3 b: R
<DIV id=lrc34 style="COLOR: #000000">永远没有说再见的一天 </DIV>
6 K1 T& t0 s4 O! v5 t9 g- l1 N! w4 E<DIV id=lrc35 style="COLOR: #000000">可能年少的心太柔软 </DIV>
8 e5 \7 I; u& `; h<DIV id=lrc36 style="COLOR: #000000">经不起风经不起浪 </DIV>+ a' F3 X( E4 R# f
<DIV id=lrc37 style="COLOR: #000000">若今天的我能回到昨天 </DIV> B( \+ P$ u6 i* K& l
<DIV id=lrc38 style="COLOR: #000000">我会向自己妥协 </DIV>
( a- u6 o* _1 @ e: a% Z* r( C1 w<DIV id=lrc39 style="COLOR: #000000">我在等一分钟 </DIV>
* J$ @; J" c5 u" O) E<DIV id=lrc40 style="COLOR: #000000">或许下一分钟 </DIV>$ Z1 h! N# I+ I% o
<DIV id=lrc41 style="COLOR: #000000">看到你闪躲的眼 </DIV>! V/ c E+ ?3 _
<DIV id=lrc42 style="COLOR: #000000">我不会让伤心的泪挂满你的脸 </DIV>7 i$ m+ [# t8 k0 ~7 w/ P
<DIV id=lrc43 style="COLOR: #000000">我在等一分钟 </DIV>6 d# }; a2 T! ], Z/ j0 F
<DIV id=lrc44 style="COLOR: #000000">或许下一分钟 </DIV>
* H# M( S$ ^" o: S<DIV id=lrc45 style="COLOR: #000000">能够感觉你也心痛 </DIV>
7 m& v: G3 B( J8 v3 X% m- l<DIV id=lrc46 style="COLOR: #000000">那一年我不会让离别成永远 </DIV>
( n( Y$ w S# S- Z4 F9 E, N! |<DIV id=lrc47 style="COLOR: #000000">我在等一分钟 </DIV>
; Q& n7 U" C; w& U<DIV id=lrc48 style="COLOR: #000000">或许下一分钟 </DIV> ?) B& H+ H' X9 k
<DIV id=lrc49 style="COLOR: #000000">看到你不舍的眼 </DIV>1 d3 G6 g& F# Y+ i" N# |7 j) _" o
<DIV id=lrc50 style="COLOR: #000000">我会用一个拥抱换取你的转身 </DIV>
6 U+ u; D+ B- Y% {<DIV id=lrc51 style="COLOR: #000000">我在等一分钟 </DIV>- w, e$ w; H( D
<DIV id=lrc52 style="COLOR: #000000">或许下一分钟 </DIV>2 ]+ G# X* s8 s
<DIV id=lrc53 style="COLOR: #000000">如果你真的也心痛 </DIV>' S' m7 G8 b- `/ {+ S: S6 ]8 }! y
<DIV id=lrc54 style="COLOR: #000000">我会告诉你我的胸膛依旧暖 2 {5 s! s$ {" z `
<DIV id=lrc style="DISPLAY: none"></DIV>
% o1 c7 C! F0 l, I3 v<SCRIPT type=text/javascript>( `9 a9 r' L, @3 q
document.domain="1ting.com";
; f% Q- T0 f( f! Rvar colorPasted="#666666";
4 A; y8 A" i6 q& g7 u: `var colorPlaying="#ff3300";
( ]0 s( Z" Q+ ^6 L, w* L/ ]9 pvar colorNormal="#000000";
3 @9 k( v. c% d4 m$ = function (a,g){
2 Q4 ^. ?# E% ~- Q i* q) q var o = new Array(); ! H$ [8 i! s5 x) {) g
var c = new Array(); 2 E6 Y4 n; n( j- W/ j' V7 ?8 J* R
var r;
( V p, H/ o+ e2 {$ Y# l' T var u; # K; Y1 Z9 o/ f% _
var a = a.split(';'); 2 g2 C( `9 H" ? Z
) Y* m) U# K$ u' {. S3 c# R. M/ N
var e = "keydowns,resize,load,dblclick,click,mouseout,mouseover,mousemove,mouseup,mousedown,inputchange,inputfocus,inputblur".split(",");8 W# @5 T {: z7 e9 `/ r. ^
for(var i=0;i<e.length;i++){# J3 C3 y5 n8 g# D
eval(e<i>+" = function (s){eval($event('on"+e<i>.replace("input","")+"'))}")
* A" T2 @- |* Q7 D; q# b }0 D+ O2 i( a0 P: x
" Y, G& ? }+ w3 X; R [ after = function (t,d,s){+ f. K+ w/ ?" Q. u2 @
$after = function (){4 J2 C" s5 g% e; d9 C
var $n=document.createElement(t);: l e2 z1 d7 x& d, s( D
if(d!=null){
6 V: {1 W8 Y) z5 R! k $n.id=d;
) N4 j0 ^. A) Q1 g# ^" p }2 F, d' s3 w% O3 c; n
4 s# ~! J, p; L
u.insertBefore($n,null)
" J) o& A: { N' l# @2 E r = $n;
- o T. n7 R7 l: X$ L5 e3 N u = $n;
$ H3 L; \& Z7 o }
8 ~1 l9 h9 V5 o' N4 {# Q $for(s,"$after")/ t$ n! h; g; L5 s8 c% ^
}, S0 a; [* i b+ n1 K
$ ~. k5 u- R/ V$ o6 T+ I
show = function (s){
' R& F! t+ r1 ` i8 ~; b $show = function (){' { ?: m% K6 v& V
u.style.display!="none" ? style("display:none") : style("display:block") ;/ L. s) E( `4 E. e5 X
}# c+ Y: O$ ]8 Z
$for(s,"$show")
X. W6 U" C" | }& R- Q" A) l3 C
; @$ p, X9 B! `/ r3 q
check = function (t,s){
9 u2 {6 b1 p5 f0 ^ $check = function (){
/ E: X; v/ c' A) e if(t=="2"){
/ Y6 B2 [0 g6 o( r4 Z! c3 T- [ if(u.checked){
9 U9 W" R* @* l u.checked = false; m* O6 ]1 C3 @ }0 v
}else{
; [# q. J% I" J3 l% `4 z( a3 | u.checked = true;; S6 t; i, }7 t. ?6 o& \8 A9 M
}
$ y% S/ c! b! C: a0 L5 ` }else{: o5 J: Z1 N3 L; R* n F
u.checked = t*1 ;" f1 ~! m6 N4 j" n6 t0 U0 E; b- b
}
- D1 T5 \7 K/ N }' G% r+ e7 Y# B6 u# b6 {4 [; N, f8 n
$for(s,"$check")' g, z5 g8 a$ B
}+ ~) H3 ^* i9 W
6 ?. c$ ~+ c$ R style = function (v,s){
8 Y( ]% y( H# ]( v& ~ G7 G7 ^# Y $style = function (){- l9 y$ l, z/ u+ }& ]
var $n = v.split(",") 5 R7 j' v6 n- J6 I2 \6 P% I
for (var i=0;i<$n.length;i++ ){8 C' @4 a! U) p4 D
var $m = $n<i>.split(":") 5 X6 R2 y: O3 w: q2 f
eval("u.style."+$m[0]+"='"+$m[1]+"'");
: q. y# k% [5 x; t2 b) Z' N6 n }
9 V0 U. R' p. T }
" q0 t' ^8 X3 t! T9 N# U $for(s,"$style")
) I+ O) a" A- x9 \+ e6 ? }8 C f' E& O& ~$ ^
* o2 @8 ~5 W k+ Q
value = function (v,s){/ H6 C2 u1 }5 D/ }2 L1 x
var $n= $this (v);
& [$ r ?/ v( a. O$ J, ] $value = function (){
) {1 O/ e4 I6 s3 Z u.value = $n
7 |4 O4 }- R2 q% W5 I }9 K7 n" K( f' M
$for(s,"$value")
7 q9 b; s( X- e& z' a# q1 ` }& b1 B( `: C7 N6 v3 ~
) y6 D' P0 L7 l$ `
text = function (v,s){
) J# T7 I( @" D var $n= $this (v);1 Z( }( R3 j4 y4 @) t5 T4 }$ g1 @
$text = function (){
6 H6 j9 [1 U: Q2 Q# ` & ^1 x( c: Q$ R# ~* A
u.text = $n% Z7 u8 T4 W d/ z8 g
}
6 I- Q" p7 A" c* e7 _ $for(s,"$text")
' c& F7 q8 B. [& A }
0 H7 y- t9 O2 S5 O/ F. y+ M9 ~% N' N3 e
innerhtml = function (v,s){/ L' T3 v% u9 A$ Y3 z
var $n= $this (v);. i' m+ K8 k6 c$ V! B0 f
$innerhtml = function (){7 o4 @6 |6 m; T0 p: R. \: ]* U: [
u.innerHTML = $n
6 \% I( y1 m0 }) j0 t: r }& b6 R: y/ j( I
$for(s,"$innerhtml")
; d- ]5 U3 r1 q/ c }
' U3 C' C& ~* j6 z
+ D/ F" y( D3 h' m3 U& B removechild = function (s){; S( Q' Y, f. B K/ }9 s3 ^
$removechild = function (){' m( e' O: D0 |4 i; ?) G
u.parentNode.removeChild(u)
' ?8 z' Y0 }# b }
0 @( r" K. L, Z" {9 e" \" | $for(s,"$removechild")
0 J' r2 n; n- E' T" M+ n# t* R! G }# f) m9 G7 q( O3 \$ x5 d9 C& L
0 D9 D- p* M! A; ?+ o, v- R4 c( C+ t $this =function(v){& Z! [, J. }# N; B' _8 v; o
if(v.indexOf("this") == 0){
3 s& }. L% Y- ^3 F7 ~2 Z7 X! P return eval(v.replace("this","u"))( F( o! P) n% b9 U. ]2 m V
}
, K" y, z: t4 `" N d; J return v;
F3 Q2 l: B7 I8 S }% W( Z: u! Q: _& W
6 u5 t: M+ Q1 }, O* B $event = function (s){! Y% m% L+ E) X5 N2 w) D
var $n ="u."+s+" = function(){$work(this,s);}"
* e) I- n3 w; {& M' `- a return $n;% J+ K; G! y5 a* O a2 f
}
$ }% f" F' x F+ K( \
7 A. V( f t1 R' J $replace = function (s){
: m4 _- T: ]5 N4 Q6 i7 L& x% i8 t# c8 p# P; J4 r) s+ h
}8 |1 q: T5 w7 r9 `
7 L- u7 l- U$ r2 H) v- ~* L9 B
$for = function (s,c){6 v* T! D( M1 d9 n( N
var $n="this."+c+"()" ;! d$ s# c' X) S% E7 k
if(s!=null){" v' @; w8 V9 z: z$ S$ R, ?: b
var $m =$test(s);) v. h, X! h% U- L8 `2 |' }; @: c
for (var i=0;i<$m.length ;i++ ){
7 f/ t; j4 D- O( A u = $m<i>;
% Q }7 g+ t2 N9 r1 [. l6 B eval($n);
/ ~ Z7 }, U# f) Q }! S/ s: y: Z3 e$ i% [
}
( j- x& p ^5 Q- x P) ` else{ O" y$ @- j4 l. r" _
eval($n);
$ c) [( V6 v" J5 n7 q }: c/ K) z/ t6 ^' d
}
9 P' ]4 a+ }- [# X9 d' \1 I: ~
" G9 w5 P6 G* E/ Q5 N $test = function (a){: t3 m6 s# M! b
var o = new Array();$o(a.split(';'),o);+ a6 V( {4 Y: N; m* k8 V# ]& ?' |
return o;$ N3 w' h2 f8 F+ w, q; s% A$ l
}+ j/ b9 ]7 x) J0 x, P6 d
; \. q. b! Q2 i! S% E$ U: @ $format = function(s){
* n6 K0 w3 L0 q7 B while (s.indexOf("'")>0){
5 J1 a4 p1 {- Y. g' m& l s=s.replace("'","\"");
7 x9 @+ J& J: r6 E; y3 z X$ w1 _ }9 k p& R0 \( u7 l
while (s.indexOf("][")>0){
$ x$ l1 ]% Q# f s=s.replace("][","','")
]& u& n4 J3 s4 |) v: T }
, t9 i* f. \" {& ~" S- L' W while (s.indexOf("[")>0){
m; }) E' c% c6 j7 h& q s=s.replace("[","'").replace("]","'")
! i( A$ t0 \& k/ J7 u } 4 Y# m# O: ^$ ]; c) F; D
return s;2 ]3 \$ ]# a9 T$ O0 D3 @
}
$ T& y/ l2 q h" F! o# @: W; B# x: [
- q8 U; e* Y4 W1 l x $work = function(w,s){
4 |- l9 _1 N9 L/ }1 e, V, _6 s- c$ C u=w;eval(s)
7 o$ `- b6 Q1 r6 M }# o4 H$ @* A4 N2 i
7 z! {/ ?1 n% G+ | $id = function (s){
. ?' ~. g6 ?- _7 d! q2 }* s) { return document.getElementById(s);! u+ _' }' M+ {
}' z/ g5 y* f' a' k2 w& w, \. r4 L
" U( z6 R* O! p f6 w+ F8 W1 r $name = function (s){
" G6 A9 S/ E- ?2 W return document.getElementsByName(s);
6 H; y& T. Z. N* v }
5 e- G! A$ B: F, d1 G4 L! e
4 A3 Z5 \* z. F: l) s $tagname = function (s){3 e( Y; w. x! e. k/ f
return document.getElementsByTagName(s);: q. X- p$ ? r/ ~4 @/ q- m0 q
}
9 P( ~% _ T/ D' o
. r# A# \- U7 ?3 l/ ]3 n $o = function (a,o,c){6 r$ ]2 g$ d. t2 e. q" ~- U# m
$push = function (n) {
% J0 d9 |/ h6 Y+ p h5 t' W; N# C$ m for (var i=0;i< n.length;i++ ){
4 W# j! y1 l: @- m, i. k o.push(n<i>);0 f/ j }/ g K9 {$ K' X' B
}
' Z% m; q1 U; [1 T# W" R- H* | }
2 O5 N3 o9 m! p# @$ ~( r for(var i=0;i<a.length;i++){; W( b: L1 O/ a
if(a<i>.indexOf("(") >= 0){
; _: e7 E) h( S# H. W) x0 i( ]3 z" t c.push(a<i>);) d- t$ i3 \- C$ V* S% q% L* R
}( |5 k# E/ G/ `
if(a<i>.indexOf("~") > 0){) g W1 O S* e% Y
try {
6 {$ y' m6 [5 Y( U1 G $push(eval(a<i>.replace("#","document.getElementById('").replace(" ~ @","').getElementsByTagName('")+"')"));
5 J' Y, _; F$ C, E0 Q$ T; N8 \ }catch(e)
2 |$ d, _! r7 u) B% Y& u* H4 n {} ( F3 q S4 W) {6 f( }- _
}' x# }! M P( X: k ~
else{
0 O1 |- m+ x) w- Y& b( V2 F if(a<i>.indexOf("#")==0){
. H' a# _9 A9 r, k ]' I o.push($id(a<i>.replace("#","")));- }' c4 S9 \% y! r* i) d
}
4 _ Y0 {- Q! h2 R, N7 a$ E, s& A if(a<i>.indexOf(".")==0){4 z" T6 \2 ?, `! D: ~( {
$push($name(a<i>.replace(".","")));
9 _5 D6 U ?8 s$ G& k# [ }7 g; C# i: ?: p7 `; A( A) j; v
if(a<i>.indexOf("@")==0 ){4 m, L, K5 c8 Y( O! U
$push($tagname(a<i>.replace("@","")));
* A* j5 Y! S2 s( w }; Q' a7 d" I2 K5 }2 i1 _
if(a<i>.indexOf("*")==0){/ E' V7 w' b' f, ~/ }
$p= a<i>;
# p. w- @/ ?; Q if($p.indexOf(".")< 0){" [: ]9 r3 ?7 Z1 y2 Q* U" U
$p = $p.replace("parent","parentNode")
- j! G6 L- q: c { }) r# {9 y5 N9 U/ \
var $p ="u."+$p.replace("*","");: h, ~2 l* }5 n3 u4 H: J+ }
while ($p.indexOf("parent.")> 0){
6 A; x" s1 z0 I, C% _* n $p = $p.replace("parent.","parentNode.")
: L, {% {* @' P' a }! ~# X# _7 L$ w$ h: ^
while ($p.indexOf("child{")> 0){8 f0 [5 b% C$ a2 x
$p = $p.replace("child{","childNodes[").replace("}","]") v l! Z* \( Z2 X6 N) B4 P
}# o! e+ }+ d) B
o.push(eval($p));
5 u- J# a' R2 N, k9 a4 W }, X& G; E$ F" b- G
if(a<i>.indexOf("document")==0 || a<i>.indexOf("window")==0){" W) t* u' N1 W& R5 W
o.push(eval(a<i>));$ c! O+ v+ P( u6 {
}7 Y+ y/ J/ g1 r9 m& d
}
" m u. |; r/ v, r if(g!=null){
9 @, z- I8 j! F! \% p4 E o.push(g);g=null
1 L; y4 \( E4 @% S, \& E }
8 b! }& c+ O1 x* @; m }; f# H- v$ f n
}# |5 u* S/ {+ E& `5 b6 ~
% x" X2 ^4 V$ @6 }
$o(a,o,c);7 n* Z3 y: G, U* }7 Y
) ^ C: y# \8 ^5 m
for(var i = 0;i<o.length;i++){# e6 ~3 b2 m4 d4 ^0 K+ k, C
for(var j=0;j<c.length;j++){# a7 d, I0 }" J
u = o<i>;eval($format(c[j]));! S! V+ [- i9 L/ U6 }" q" j/ t
}8 x* ? V5 ]* ^" t' l* c+ z1 D
}) x! |% I+ ]/ X' ?4 z- X
' u% a& F6 l2 F, X \* z if(o.length == 0){
) u/ {, f( P- f8 z$ A2 O for(var i=0;i<c.length;i++){
9 p' u2 V* H5 h eval($format(c<i>));: W7 C. ]5 n' h
}* p9 w) ?8 x# V4 V6 t$ P
}3 e- L# h- h( }7 I9 L( O. ~7 m
0 a- e3 ^' ^: H6 n# U8 `- R- W6 H/ v
if(r!=null){
0 e! ?& e' J8 Q, C( G) _ return r;( S/ H5 S$ M {( _
}
2 f. A3 a- N2 ~7 m7 ]
& M! S" ^8 K% o( I) _) V; P if(o.length==1){
7 D/ N; [1 n5 R return o[0];
! l) n& D2 G p7 }1 W }
; @& q6 W9 t9 b" f else{
r: X9 X: q6 R) z; C return o
* [5 y8 B: j+ S } , c$ g C+ z3 X$ V
; g' @+ D) u7 F' z- }) f }
" W3 _1 ?2 h9 X. n$ c9 K) lvar lrc =$("#lrc;show()").innerHTML.split("[");
/ {8 J: I: H' ]if(lrc.length>5){1 _0 H4 m( e" Y
var array = new Array();
/ Q4 ]8 N. t- O5 R ]/ d$ @+ \( |for (var i=0;i<lrc.length ;i++ )
1 j" M. o4 f* Z$ [{+ u; A* M* z2 A
var g = new Object();
2 b& M* d5 }$ c5 ^' J; k' P- g t= lrc<i>.split("]");+ V. B8 Z# p: V
g.time = getTime(t[0]);
1 g1 P3 {0 C! w. b' ~) O1 F if(isNaN(g.time))
: ^3 L/ c s8 L continue;% l( _% l( \- n2 k5 N
g.c = t[1];* i) G+ N9 \8 ?, g) ?, t4 P$ ^! y0 T
if(g.c == "")$ b. H0 @* T' ]: [/ p7 Z' y
g.c = getNext(i);
7 v H3 \6 G4 i: B8 o array.push(g);
3 q" M8 n4 D9 s6 \0 s3 G}
) _; l; q1 o/ r _8 x, harray.sort(function(x, y) {
& O* p( K# |. z6 ], u- r7 | if (x.time>y.time) ; i" L& X7 f* x' O
return 1;
% b+ m b6 L5 O$ `& C else if(x.time<y.time)
6 H. @3 \% X# l3 j4 E" S% T [ return -1;
2 x( m( _( z) c! O) P else
( T: B+ |$ h K" M5 J( u return 0;% l N' g+ P% f ^
} : C- M, P, Z' `/ h5 z. q
);
6 I9 c$ l- L' y, Rfor(var i = 0;i<array.length;i++)
8 k. f/ }9 U1 D{ D; Q/ @' S+ t! A2 ]
var g = array<i>;
6 T: I. j! i* g8 U, { if(!g.c){' I6 ]# _5 K( U! T- p( Q% V' p8 d
g.c="";
. `7 U% C- o3 T. n* _: c0 R2 n }; E! F/ `7 y4 ^# K3 v1 H
$("#list").innerHTML+="<div id=lrc"+i+">"+g.c+"</div>";
# { t! q! }/ r; y* [ B}8 e9 @ G: M5 C7 @ C
var time = setInterval("lrcList()",500); E6 e0 z3 x& c' D6 X9 o/ [
}else{
$ G x3 B# ]2 W $("#list").innerHTML=$("#lrc").innerHTML;- V w, \+ j! c
}: ^, \: a+ P N1 ]2 i
function getNext(i)/ b' C' w" x' ~
{4 ~5 a( n. ~" j8 ?% {5 ?+ ]
var result = "";2 ~" o& O+ j7 ] I
var i = i+1;
+ }) d$ x m c) ^( |4 _ t = lrc<i>.split("]");5 O/ b4 D% s" \) Y* D$ g
if(t[1]=="")
?! h) S" j# j- u result = getNext(i);) ] v6 g i+ @
else
% ?4 h2 q, q- m% d9 [6 i result = t[1]
( U% z4 \* [- }! C- q return result;
' ?+ t3 B3 C3 F}
1 e$ n0 j0 C+ b5 P% l: P
2 n' J' x" p9 ^function getTime(str)
1 I9 Y8 o9 ?5 r# d9 K( [4 `{8 r- @# ]) h! N3 s0 i; j
var time =0;8 n5 c0 {$ S( {$ M- O' s9 E
var ta = str.split(":");& `0 \0 n" g4 E! E
if(ta.length<2)
3 a8 \9 p0 ]* T, { v% l9 C return time;! r3 A) a) K- }4 W7 j: h9 F' d4 W7 R* J
8 |+ ~: \5 t& R2 U$ L' D: I! ^7 T if(ta[1].indexOf(".")>0){
' H( y/ i% q; j' v: Q a( } var tb = ta[1].split(".");
& z w0 ^( B: H5 j0 c time = ta[0]*60*1000+tb[0]*1000+tb[1]*10;( [# ?% b U& v$ G
}2 d7 I0 G& Z$ T
else
0 V2 `* Q. k/ _ time =ta[0]*60*1000+ta[1]*1000;
' a; ? ~' ~# R+ Q% b. O1 k return time;
/ s2 G) M! e3 ]/ k6 c}! t) I Q( P, S
var preTime = 0;
2 M( e8 \8 O; w. |- N& }var nextTime = 0;
- \ y* O: o# Pvar currIndex =0;
, _+ j- {- c4 S9 bfunction lrcList(){7 u+ t. I2 w9 ?+ T# F5 O) N: ? m
var s = parent.document.getElementById("MediaPlayer").controls.currentPosition;
) n$ w# A9 z! G( K0 _/ w. t# T s = s*1000;
) S9 U) p/ v0 s8 z( m2 M2 f if(s==0){1 |% v- I1 h* F! F
currIndex =0;6 |6 p. ^3 N4 r/ {) D3 n+ `5 X+ n
$("#list").scrollTop = $("#lrc"+currIndex).offsetTop-30;
' Z9 P% r5 l* ?4 D* e5 h; ?6 e for(var i=0;i<array.length;i++){
% @3 d3 d: k% z- n( |% K) { document.getElementById("lrc"+i).style.color=colorNormal;
% o3 p- n0 E2 P. i' e" d }
3 L4 C; a6 g2 w8 s0 { return;) K9 V" s8 D/ L8 S* G+ A
}
- R" Z* D% u" |; z+ z9 ~ if(s>0&&currIndex<array.length-1)# m9 U3 p$ T- [5 h3 Y1 ~
{
1 _. d) ]! C- B( i# m preTime = array[currIndex].time;
: D2 v3 r0 n, T7 B& I6 a( c
: T+ s0 }- I. r0 w6 W2 L nextTime = array[currIndex+1].time;7 T) z9 O! G/ M2 W( n* I
i8 Y, D0 x+ ^% I* z0 ] if(s>=preTime&&s<nextTime){" p) D3 g) O$ D+ r# ^& @
}
' F; j$ k$ \* b X) u* _- y else if(s>=nextTime)3 Q* C: Z3 i; g0 t9 M+ f. ]' H
{
* B( ~. s5 f. z9 d document.getElementById("lrc"+currIndex).style.color=colorPasted;8 e/ g+ L) G9 @4 V0 A( x3 s
currIndex++;6 q# P3 N2 Y9 P# }. }% a
$("#list").scrollTop = $("#lrc"+currIndex).offsetTop-30;
! M) P! P! B* | document.getElementById("lrc"+currIndex).style.color=colorPlaying;
9 J9 K" l4 U1 X lrcList();" }/ F( O9 X+ h8 K4 x! ^
}
% b% Y; x- ]5 ^9 n7 U else{
* T0 i0 J5 y ?) M/ c document.getElementById("lrc"+currIndex).style.color=colorNormal;7 k" X Z6 e- y% X Q- `
currIndex--;
1 e5 q+ D, `8 [. ` $("#list").scrollTop = $("#lrc"+currIndex).offsetTop-30;
$ |2 }; X/ r [ document.getElementById("lrc"+currIndex).style.color=colorPlaying;
. ^: X. L9 {0 [; c, k& u& {# u lrcList();0 n+ D, o# \& F
} . W0 c2 ^) p$ r% Z# ^8 m1 b3 R8 U
}2 a* U r# Z. W/ F
else) |9 e) E; ]4 E) q( L1 a0 t% c
{
1 l5 d3 x& }* w, w" ~' C if(s<array[array.length-1].time){
# F8 K' W! z5 E7 W* G- g( b: Y currIndex = 0;
! v- k/ C5 T# g# y $("#list").scrollTop = $("#lrc"+currIndex).offsetTop-30;* w9 z! W, q Z; x/ s* L
for(var i=0;i<array.length;i++){
; z" v5 z2 L! {1 ~5 Z1 D( h8 V+ B document.getElementById("lrc"+i).style.color=colorNormal;& c8 o* H# Q; q# e$ M8 ^( r9 j
}* Y1 W" _. a- S# z* x
lrcList();
7 o7 `8 M2 Q- P' c6 H! ? }* G/ h) z8 k( u* D
}
; X+ k4 z6 i$ T! h* I4 h j8 R+ ^}
( t# D. [9 d$ O; P! ~2 u! Y</SCRIPT>
; g2 h7 w- o$ s; h. d2 o& K</DIV></DIV>9 H1 _% v1 H" r- w+ Z/ I
v- B' B9 n: N+ W# L
[ 本帖最后由 幽谷兰 于 2008-9-18 17:36 编辑 ] |
|