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