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