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