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