|
<DIV id=list>7 k h3 L3 s$ k' R. h
<DIV id=lrc1 style="COLOR: #666666">[wmv=0] http://lzbj.ncedu.net.cn/uploadfile/20083923248279.mp3[/wmv] </DIV>
5 ~* }+ ~( w! q2 N5 d<DIV style="COLOR: #666666">|等一分钟|听到这首歌,觉得它很动听,旋律很优美,很是喜欢,传上来给大家听听。</DIV>
9 w8 Q. S9 ^, b; H' _) W- N<DIV id=lrc2 style="COLOR: #666666">词曲唱:徐誉滕</DIV>
' S( n. Q. h3 ~/ ?. f" j( P E<DIV id=lrc3 style="COLOR: #666666"></DIV> L& B' g+ e, ]5 E' N) U/ M& G* b
<DIV id=lrc5 style="COLOR: #666666">如果时间 </DIV>; H- f2 y1 \$ G. m$ j
<DIV id=lrc6 style="COLOR: #666666">忘记了转 </DIV>
h1 Q8 R6 n5 r1 H, J<DIV id=lrc7 style="COLOR: #666666">忘了带走什么 </DIV>4 ?) x0 p! K8 a, s k" U2 [: x
<DIV id=lrc8 style="COLOR: #666666">你会不会 </DIV>
$ y7 v0 m; V+ \, N: n<DIV id=lrc9 style="COLOR: #666666">至今停在说爱我的那天 </DIV>2 U2 @0 c" U: ~2 O
<DIV id=lrc10 style="COLOR: #666666">然后在世界的一个角 </DIV>
; }/ {- c+ n/ y8 A0 C0 p( i<DIV id=lrc11 style="COLOR: #666666">有了一个我们的家 </DIV>
% V' ?# n% P0 [% o, Q; D c<DIV id=lrc12 style="COLOR: #666666">你说我的胸膛会让你感到暖 </DIV>$ M6 }5 a! K8 M+ o
<DIV id=lrc13 style="COLOR: #666666">如果生命 </DIV>' v, e$ Z* a3 a& c$ F8 i
<DIV id=lrc14 style="COLOR: #666666">没有遗憾 </DIV>" T9 d4 I8 w& u/ J
<DIV id=lrc15 style="COLOR: #666666">没有波澜 </DIV>& }! x4 v% A, p9 a7 j
<DIV id=lrc16 style="COLOR: #666666">你会不会 </DIV>
+ d j; S q1 V$ u& K<DIV id=lrc17 style="COLOR: #666666">永远没有说再见的一天 </DIV>+ E- |! \9 \1 Z; i
<DIV id=lrc18 style="COLOR: #666666">可能年少的心太柔软 </DIV>
) k9 J/ O4 s- u# q<DIV id=lrc19 style="COLOR: #666666">经不起风经不起浪 </DIV>; R. q1 G6 {+ |6 \1 u
<DIV id=lrc20 style="COLOR: #666666">若今天的我能回到昨天 </DIV>0 e8 J2 `! q; V, x* p" G2 m8 C. e
<DIV id=lrc21 style="COLOR: #666666">我会向自己妥协 </DIV>
' U3 y( P0 F1 O<DIV id=lrc22 style="COLOR: #666666">我在等一分钟 </DIV>' R6 q9 d4 B# ]- [/ u/ s* o
<DIV id=lrc23 style="COLOR: #666666">或许下一分钟 </DIV>
& n: J+ b$ |; U+ w& z<DIV id=lrc24 style="COLOR: #666666">看到你闪躲的眼 </DIV>) ~" E4 p# C, W c
<DIV id=lrc25 style="COLOR: #ff3300">我不会让伤心的泪挂满你的脸 </DIV>
. t$ y1 m( w4 D) Z<DIV id=lrc26 style="COLOR: #000000">我在等一分钟 </DIV>
5 I: M3 @: p) T1 S, u, @" k$ }( G* p<DIV id=lrc27 style="COLOR: #000000">或许下一分钟 </DIV>
' l* G# V5 h" g( T* L1 P a<DIV id=lrc28 style="COLOR: #000000">能够感觉你也心痛 </DIV>2 A0 Q4 V/ P0 O1 Z% }3 P
<DIV id=lrc29 style="COLOR: #000000">那一年我不会让离别成永远 </DIV>
, `4 r# K5 f) G& Y6 u( S<DIV id=lrc30 style="COLOR: #000000">如果生命 </DIV>. D: j+ z. Q* w; L
<DIV id=lrc31 style="COLOR: #000000">没有遗憾 </DIV>
$ M. A! g+ y) }% M8 f<DIV id=lrc32 style="COLOR: #000000">没有波澜 </DIV>
4 `! e: h2 p. o8 ^) o) Z% \<DIV id=lrc33 style="COLOR: #000000">你会不会 </DIV>
0 f8 H/ w5 U; L f<DIV id=lrc34 style="COLOR: #000000">永远没有说再见的一天 </DIV>
% ^ g: F# ^% u' a& E5 c<DIV id=lrc35 style="COLOR: #000000">可能年少的心太柔软 </DIV> ]- k# [! Y3 R- j! b1 e
<DIV id=lrc36 style="COLOR: #000000">经不起风经不起浪 </DIV>
: u' N) J+ [, c! n6 o) E& O3 Y+ k<DIV id=lrc37 style="COLOR: #000000">若今天的我能回到昨天 </DIV>0 p; H8 x! y. \6 Q
<DIV id=lrc38 style="COLOR: #000000">我会向自己妥协 </DIV>
0 t8 m4 T" A: f3 b2 ~$ l% u<DIV id=lrc39 style="COLOR: #000000">我在等一分钟 </DIV>: E3 z4 G+ y' m0 t- p/ x
<DIV id=lrc40 style="COLOR: #000000">或许下一分钟 </DIV>, M3 i' g4 x' z. H" v$ m
<DIV id=lrc41 style="COLOR: #000000">看到你闪躲的眼 </DIV>8 {& b1 K5 m' h: k
<DIV id=lrc42 style="COLOR: #000000">我不会让伤心的泪挂满你的脸 </DIV>1 T M& Z# [$ K
<DIV id=lrc43 style="COLOR: #000000">我在等一分钟 </DIV>
% M, Q& I X* k4 ?/ p<DIV id=lrc44 style="COLOR: #000000">或许下一分钟 </DIV>
1 K* Z$ ~, l+ _& J2 ?) a! {<DIV id=lrc45 style="COLOR: #000000">能够感觉你也心痛 </DIV>( D' k; [. w) `, t5 M
<DIV id=lrc46 style="COLOR: #000000">那一年我不会让离别成永远 </DIV>8 r, S8 q9 s# B
<DIV id=lrc47 style="COLOR: #000000">我在等一分钟 </DIV>
2 [" e, ]8 D) J( y' D# G<DIV id=lrc48 style="COLOR: #000000">或许下一分钟 </DIV>
* E' m! D( s9 N5 @% W5 t1 a<DIV id=lrc49 style="COLOR: #000000">看到你不舍的眼 </DIV>
5 ~( a3 R3 i2 d% t0 P<DIV id=lrc50 style="COLOR: #000000">我会用一个拥抱换取你的转身 </DIV>
: K2 t- B: V7 x/ U3 A7 z( y<DIV id=lrc51 style="COLOR: #000000">我在等一分钟 </DIV>8 k" n- `1 k& B$ H1 v; c+ Z5 J
<DIV id=lrc52 style="COLOR: #000000">或许下一分钟 </DIV>
9 {1 X/ G" V9 n( b: J) B6 E M<DIV id=lrc53 style="COLOR: #000000">如果你真的也心痛 </DIV>7 \" g( }2 z/ H
<DIV id=lrc54 style="COLOR: #000000">我会告诉你我的胸膛依旧暖
9 `8 K4 L2 j0 W( s. I# S<DIV id=lrc style="DISPLAY: none"></DIV>
|& B" x- F; p- z1 K2 ?1 N<SCRIPT type=text/javascript>- i7 p" F# R+ X. X7 @8 O, V! e
document.domain="1ting.com";" |4 C. P2 f1 }, C. p
var colorPasted="#666666";9 [. @# N3 w7 R
var colorPlaying="#ff3300";
& i; S/ p W3 R* {$ K2 ovar colorNormal="#000000";
8 n% Y# {9 N2 N$ = function (a,g){+ b% S( N1 o0 _, \6 d
var o = new Array(); 0 H0 H. I, x, `( O
var c = new Array(); 9 n V3 b, O% B8 P! x, u
var r; ( r% V& m2 ]9 ]* K4 d( \7 T, [! g
var u;
N; y" ^% ]3 H var a = a.split(';'); 6 u# m2 v4 [" l+ K; D) t, n3 g2 @
, B8 S2 x4 r/ p var e = "keydowns,resize,load,dblclick,click,mouseout,mouseover,mousemove,mouseup,mousedown,inputchange,inputfocus,inputblur".split(",");
% ]+ M- k. ~3 t! C/ w- W) H for(var i=0;i<e.length;i++){
8 `* a1 N2 W- f eval(e<i>+" = function (s){eval($event('on"+e<i>.replace("input","")+"'))}"): t0 y4 n! @) t6 @ n
}
* Y% U$ I; P: r8 i
! T( e/ H% w9 Q" f" `7 A after = function (t,d,s){
K7 s8 v9 d8 @' g7 { $after = function (){" c7 W( R+ D! a4 G4 j* v
var $n=document.createElement(t);
X& _- ]& x4 ?4 I5 e if(d!=null){ z! c2 V# U8 L$ x
$n.id=d;
/ |* |/ F" g% s+ ^- a/ M }, L, z- C. `. P8 }9 H: p$ |0 v( T
# M( N% k3 G+ r/ V7 e$ Z6 R& T6 P* Z/ t& U u.insertBefore($n,null)
+ F4 M9 [ H5 c( K+ o: N! E r = $n; 9 p# O/ F, [, ^+ }4 o
u = $n; % c) |$ U( [% k1 C" I0 I& n3 s" [
}% p' V$ Y3 ~1 H( w
$for(s,"$after")' f" o" t/ X9 A5 O, A) b0 R
}
$ v: z$ x% l% j' L- A
8 H T/ C3 X( | show = function (s){
+ I7 l! T1 {% R $show = function (){
" y2 N" t/ B: ]3 m ^, ~4 }- S u.style.display!="none" ? style("display:none") : style("display:block") ;
4 |. s3 d9 a/ G4 u. X( c }
: \1 c$ t: Z$ B$ b; K6 F $for(s,"$show")1 h- C9 N1 r- d, k1 Z' C
}- j. c4 n+ O Y
' P7 d' t7 x/ U' Z+ j check = function (t,s){4 ?$ ?, }) a8 e) f' I& S; n4 v
$check = function (){
) X3 ^0 ^, U6 K0 k U( ?' n8 D if(t=="2"){, Y2 o2 |' p* _: h4 F3 l! T8 l& j; s
if(u.checked){: {' x* z; E8 ^5 D9 I0 Q
u.checked = false;( n5 M5 r; v7 y& W+ k3 W; m7 s$ p
}else{
2 C1 U8 |# ~3 X* Q3 X5 w u.checked = true;
i! x+ t# m1 y V( V! x }) N" n* a6 V/ i W8 {$ w9 g/ s
}else{! _: f% [/ V/ d! x, I Y
u.checked = t*1 ;& Y t; F. K7 R+ x3 G: f
}
. E! Y% m b; p3 W }" x) b2 Z9 p% D/ ?
$for(s,"$check")
3 H/ E5 p4 a& s# F7 S }
' y% g: V" J/ x5 k |
- N2 f$ b) s) _) `' u style = function (v,s){% U: L+ J1 r8 c& S% z0 F
$style = function (){
# A- Y- i% t) `) f var $n = v.split(",") 9 J' M# G, @4 q" F/ M
for (var i=0;i<$n.length;i++ ){
% p* O2 q) b$ x. {6 u var $m = $n<i>.split(":")
. I I3 C' `+ Z6 K/ P: J) N eval("u.style."+$m[0]+"='"+$m[1]+"'");& F7 c) t, S7 A# T5 N
}
1 _/ t V B% `; c, T- [: \, W }4 g7 B: s1 }( C( b" @, G' r
$for(s,"$style")
" f) w1 N a4 [ }% D' q4 t( q; o6 ~7 E6 u
8 y! V% C$ o4 N! ^
value = function (v,s){9 y7 @: O" J7 J+ g5 G, k
var $n= $this (v);- E* ~1 Q$ P; D# \
$value = function (){+ z& J) U' v: r* z* \# g4 Y
u.value = $n. d- f; i |0 c4 v, `
}
5 ~2 l6 `; k' F0 F: a$ Y, z $for(s,"$value")
% A1 H- W1 _" `9 S# P }
& ]) ]- k5 y4 m" O7 e1 w4 b7 F m4 U! [0 i, s* X) l5 C
text = function (v,s){- v" @+ D& l, q* A" A5 R! g
var $n= $this (v);5 @! z# }; J( t. a3 L4 R& L
$text = function (){5 @" S& x' ]% O
4 _" D3 ?! J) o' R O2 s+ q
u.text = $n( E. x7 P/ [8 v* k/ R2 l8 x8 |0 E
}
' u8 Y$ K% e: l( r $for(s,"$text")
/ b8 n U7 r% g0 } H0 h1 b }
/ i& B+ X9 J9 E; R2 ~% W
! x9 E6 E2 ~9 m" {- r; d innerhtml = function (v,s){
: I$ r8 \* @2 r8 g var $n= $this (v);
* ]2 w: T+ e8 N9 p" C $innerhtml = function (){
. X8 F S7 P( H+ d5 U, k; ^ u.innerHTML = $n
; K1 ^# M6 a" V. p% H+ z }
/ b& z& i8 H3 ]2 W! E: ^, t% r3 J$ w $for(s,"$innerhtml")+ `3 f/ n4 M9 }
}
! S; W! F5 T- U3 u0 p9 ]
5 u$ l: U9 @' y$ N removechild = function (s){; T8 w9 d# Y# g
$removechild = function (){
! H/ T6 \/ k- X: y& a+ R3 _1 z u.parentNode.removeChild(u)
4 N. m+ Y. j( k) ~! P S+ V }
$ ^; n$ F) S( ~7 @ $for(s,"$removechild")
3 U, c( R) A5 T" P% d: s }
4 D2 d! N1 D* k: Y3 {! u& E
& J2 \/ o5 l z' o: u& I, f $this =function(v){
0 ]2 N! k. V0 p1 v if(v.indexOf("this") == 0){9 g. a7 C- Z3 T
return eval(v.replace("this","u"))' m. A! U: K( r( p9 A" W
}3 n, K$ V8 a! _) L
return v;
8 Y& G* c" H# s& s! Q, }, P, C3 X }
- h- h$ P9 T! ^" S: N/ c0 L
2 M e1 n+ s& i6 q $event = function (s){
% G+ t1 M1 N; }) D! a) T0 A9 C var $n ="u."+s+" = function(){$work(this,s);}"
+ r+ W# \, x. V; G5 ~$ } return $n;, p: w- }7 p* f! z" W1 I8 e* D
}% C' q- h$ S7 [; H7 [
. E( j, p' w. C
$replace = function (s){
% p i6 J+ p! j/ U* x. z0 Z: X
2 j; Z X( z6 w }, ]5 S' K9 c5 A
( `$ x) ^# e: E4 e
$for = function (s,c){; L) g0 P( V: K
var $n="this."+c+"()" ;
+ h! T# q1 V- S: G9 l( e4 I4 M7 ` if(s!=null){
: K0 Z2 Q( J' X& `, T7 Y! I var $m =$test(s);
$ d5 K- w/ x: P( Y- U for (var i=0;i<$m.length ;i++ ){8 m6 Y; F4 j9 q' L
u = $m<i>;
" g" f4 E: L9 C& [ eval($n);
. i# C& s- O% I1 D: \% o) L }) R9 x5 ?+ z+ w( E% A ~
}# {. ^; C! w9 Q, o" K: x
else{
! M) K4 Q& a( d0 a eval($n);- l0 e6 `6 N+ X- V3 B( {+ G
}& @% I4 g8 [/ C3 {; t% o
}
' h- d2 ?! g& C, x6 g, o; | 8 T4 z& |4 p& B" s
$test = function (a){7 e/ {% q% s! l' Y
var o = new Array();$o(a.split(';'),o);
; A ]* N$ X3 w: _ d return o;
( w6 c, I2 ]( A2 g3 o C }
- S& e! C: j1 ]
4 {+ S" O. V, k5 l4 N# M $format = function(s){
2 b* Z) E5 X+ Y/ R* r while (s.indexOf("'")>0){
" _8 ^4 E# h5 ?/ L2 L s=s.replace("'","\"");; l7 ?: y6 z3 s: k
}* \$ T! V. d4 M" A# r/ g! r3 ]
while (s.indexOf("][")>0){" v; \, C& ?5 o1 H! V3 q
s=s.replace("][","','")0 s/ a( @6 I2 ^, X, z3 O5 Q
}) `% d, Z: Y0 t) W: N: `
while (s.indexOf("[")>0){: g/ Q4 @/ k d# x& H3 F( T$ }6 |
s=s.replace("[","'").replace("]","'"), T& J4 B' ^/ e' _1 S
} 1 ]# m9 G( m. y6 ]$ _
return s;. P O V3 h* r) y
}2 Z: g# x0 s# K- h& b& ~, v
, P7 O; V$ y- m$ l3 m8 H& @
$work = function(w,s){2 X% l0 ]' b9 j
u=w;eval(s)
, u. j6 u, K. T8 C9 ?4 j+ v* M }
2 t$ X' O/ \" ]( m/ _' M8 k) c2 h) U# d# |+ x& _
$id = function (s){
6 W$ f3 g# Z9 b7 o8 f0 l5 M return document.getElementById(s);
# I1 b0 J u& ` }8 O3 `* R) e) V4 z
: K7 A/ |/ v) w3 X $name = function (s){8 f. \. `' Z- y* S8 }5 }
return document.getElementsByName(s);7 z' H* N' i0 V8 i2 A/ Y, Q2 E
}
* U2 s8 h) T6 x) q
7 n8 m5 w! t- U H $tagname = function (s){; T! {/ ^! ^, z8 L
return document.getElementsByTagName(s);
! |. Q# }, u9 _5 o$ r }
# L9 @0 x: W+ o! y4 a' s7 w# k' w- O
2 [9 `0 M& X; \1 C2 W8 K $o = function (a,o,c){) }8 H0 i. L: t8 M2 }& b& H3 V
$push = function (n) {
/ P& l- q) x h) Y; V7 @ for (var i=0;i< n.length;i++ ){
% m* t. U0 a# t) {5 q0 X' E o.push(n<i>);! l( S1 `: |+ c* ]8 e! J
} W) g5 a% f9 q }& z
}) i8 ]' |/ G% |7 E! ?; B$ m8 }
for(var i=0;i<a.length;i++){1 ~+ ]* i1 ~( J# `6 f- @1 a: L5 j
if(a<i>.indexOf("(") >= 0){
) E7 m2 I* ?# ^# t$ ] c.push(a<i>);% K8 `/ j) |* F5 n5 d
}3 a7 v: s* i# E" J; m7 v& h
if(a<i>.indexOf("~") > 0){$ f7 k) U. b2 \4 b V: T6 e1 B
try {
) f" J6 e5 G2 |: O& b2 Z9 k) j $push(eval(a<i>.replace("#","document.getElementById('").replace(" ~ @","').getElementsByTagName('")+"')"));
* d2 b# C# `/ L0 g B# b }catch(e)
y) n" c) ?$ ]) I {} 7 H& }% Q- W, J0 L3 i0 o; P
}% Z: Y. h/ z+ E* l4 l
else{
) p) v. G! k2 P/ C0 V if(a<i>.indexOf("#")==0){
$ U' ~3 u& o+ `% ^ ~ o.push($id(a<i>.replace("#","")));
7 W2 I2 D8 V, n* q. R4 t) p }1 u' L5 A4 p( g6 m# j
if(a<i>.indexOf(".")==0){0 k9 C% ?# T5 m: @) b; w+ g
$push($name(a<i>.replace(".","")));
! d. h6 _7 U* y* m7 C5 f }
j6 o" O& I; ^. B" v \6 p5 T if(a<i>.indexOf("@")==0 ){
6 U% f+ r9 ]0 F6 O& ~* V/ y0 R $push($tagname(a<i>.replace("@","")));7 c& B; n5 M- \+ t
}3 N i3 \2 g" }0 S. H& W
if(a<i>.indexOf("*")==0){
' c4 e" f9 m% t4 Q) n- x2 w $p= a<i>; ]7 _* c: P9 E& z8 N/ o
if($p.indexOf(".")< 0){
% J0 O7 Q; _$ V8 D0 Q* N $p = $p.replace("parent","parentNode")
* w' W. @% N7 \8 W: C% q+ T }
1 t% B; P* A! F! B var $p ="u."+$p.replace("*","");0 h g/ I+ i: _- `( X6 s. L
while ($p.indexOf("parent.")> 0){
- K3 Q8 g0 A! L8 [1 _: _ $p = $p.replace("parent.","parentNode.")
* s/ ~2 V5 J, g! C8 Z; A }) d# {* }+ S: s% G
while ($p.indexOf("child{")> 0){# j$ D6 ]0 P$ O
$p = $p.replace("child{","childNodes[").replace("}","]"): E! c; D/ l4 D% Y+ p
}
- E- ~2 Y7 k% G) P2 } o.push(eval($p));
: Q0 Y: y4 ~1 d3 B }
! _) }1 ?3 u' p4 f. {. ` if(a<i>.indexOf("document")==0 || a<i>.indexOf("window")==0){2 x7 s' V$ m( o
o.push(eval(a<i>));) U$ u* N! ~& m3 Q- B$ ?
}
0 [, n c6 O- K8 Q }0 ?' ~( u" `, ]+ V
if(g!=null){ " ~6 r9 }2 m$ O2 b$ f9 c: r- Q
o.push(g);g=null5 l$ n- G! p# L/ f! {
}
% t% v+ B- e, w7 B0 ? }
% |- m" e* S- z$ Y }; O2 ?3 b* G! c$ {% J( c1 p
" Z2 Q7 l# O1 @
$o(a,o,c);
( L2 z- F3 L$ W9 `8 x
' O3 J% `: \3 O3 ~% t! w1 M r for(var i = 0;i<o.length;i++){
# Q! U! D0 F4 l, j0 c& M# C( L% { for(var j=0;j<c.length;j++){
D* N! j: v9 i% B u = o<i>;eval($format(c[j]));
9 V2 p) R8 v1 b1 T* J }
2 B6 @ _9 l* h$ p5 P) k* b } X) E1 W% d2 v6 ?* I
% \' Z/ w% k; e K: F0 }6 _$ j
if(o.length == 0){
6 K1 N/ p' i7 F. \2 g for(var i=0;i<c.length;i++){
; C$ [$ x/ S1 L( Z eval($format(c<i>));
( h) f) v6 M* ?! R2 ]! c7 l# P }) ?7 y' r; p H* a
}& K9 p0 n. i! q2 R% g: _, A
/ D! [ @# F9 d l X" Z+ Y if(r!=null){
* {7 y2 \6 n1 p( X0 e return r;. e: L- v/ M t2 W' A
}
a* z9 ^7 x& V% m( |+ V |; n3 A # t) J) [3 `- a* Q5 N
if(o.length==1){' ~3 }; ^3 y1 B1 r* r
return o[0];
& p% |3 K* v/ L, z# X# X }5 F5 A( I. F, R4 M$ \
else{3 B3 ^3 _' a6 u# X
return o4 t3 u2 ?6 u) u
} 9 \# `0 X+ q; O$ t! @" Z
- [% s1 d& f) I3 c4 B/ X5 I% z
}' u7 s5 K4 V3 A. v* @5 E5 J
var lrc =$("#lrc;show()").innerHTML.split("[");
+ M* I ]1 Z; M7 x' v2 z( Cif(lrc.length>5){
0 y. `3 J, A4 r& o: {6 V& Ivar array = new Array();5 _7 x. U1 {, h8 {- N, K1 a
for (var i=0;i<lrc.length ;i++ )
+ Z8 ?6 q1 A. z, e( J+ K+ m/ W9 }{
$ a0 [$ J# N: c W+ O var g = new Object();$ o4 k5 L+ U8 J; Y& L6 ~
t= lrc<i>.split("]");
* R. m; g( n: F2 Z2 Z; U g.time = getTime(t[0]);
& T2 }; N+ \* |$ C; }5 U" J; _ if(isNaN(g.time))+ i' {* j2 n$ O; f( e
continue;
% E- ^: ^9 S$ K0 ~% g0 l g.c = t[1];
* S6 I$ Z5 @, f# w; R if(g.c == "")
) ^: w; S1 \1 k H% c g.c = getNext(i);
$ J T/ N. e! v+ ]& U* L1 T" t+ v array.push(g);
7 W5 e {. N: J2 u- F3 H}8 w- K) J0 D# s! a! ~' t
array.sort(function(x, y) {' b' W2 i% X; M7 V+ S/ x/ Q8 {
if (x.time>y.time)
N% G: t3 p8 z5 i' ~& ^8 R return 1;. b" s# J+ y$ C A# X u0 D
else if(x.time<y.time)
, _- ^' c; N8 O, t* r# J9 H return -1;5 J" ]. ~+ _! I; X( o( m1 @' w
else
3 I ~& R* k w F# o6 n7 m, `4 V0 i return 0;6 g! ]' H3 W- i
}
6 j: T, c4 `( \4 m8 p);
( H$ o% }+ E% S( M& f" rfor(var i = 0;i<array.length;i++)
l# Z$ V( @3 Q! e. s7 { m# ]{
( A9 ?; d; ~4 v2 ~8 Z7 R var g = array<i>;
4 P: H3 O. a" s6 W if(!g.c){$ b. k p1 j% v- B. T
g.c="";
& u) z M( T5 h& H9 _* g' h }
2 f# G' ~6 U: v/ ^& z2 {) r0 p3 J $("#list").innerHTML+="<div id=lrc"+i+">"+g.c+"</div>";
- i" E# U( V- ]$ Z% k}
2 v' k# {1 E5 R: V( o) yvar time = setInterval("lrcList()",500);
3 c& D9 |* f( }, L# \7 Q}else{
* U" N: x: l3 q8 m' ?% T) c $("#list").innerHTML=$("#lrc").innerHTML;
C" S* A" [$ f7 c; @- @" K$ q}0 W" J- J- E, Z! p
function getNext(i), b9 H$ @+ U% h7 S
{
- ~* ^4 ^# \ w5 H9 n' [$ x var result = "";
( e B6 M! O2 _/ {0 [% k" \/ K var i = i+1;+ t9 P. Q/ x2 f: l8 u
t = lrc<i>.split("]"); u2 n9 B+ Z9 a" a* w2 C
if(t[1]=="")
& w' \6 n8 t7 N result = getNext(i);& v1 S7 Q3 [' u
else
# e7 a0 ]4 U/ j% L4 n2 w result = t[1]# v( T. N" E/ Y! p* ~& y5 z
return result;
% f7 ?% s6 I6 f Y}
/ x. s' i& Q- e) H9 @% [/ e) P+ a, [+ w9 w
function getTime(str)
7 O: m9 b% @/ R{
' j$ K- K( [" J5 R+ T var time =0;
' v; `: n* V2 o3 c- ^8 C" f var ta = str.split(":");
' `3 M( [5 n0 ^. h if(ta.length<2)7 `- D$ W K+ |: W' t
return time;/ M, \4 k! s( @0 y- J, ~
9 s$ w- b" M9 k( i& W- U
if(ta[1].indexOf(".")>0){; X% s$ d* V; B& d( H! L' e1 ]
var tb = ta[1].split(".");+ A4 Q. a7 l- Y2 x1 i" X0 M/ B" @8 B
time = ta[0]*60*1000+tb[0]*1000+tb[1]*10;1 t1 R: M" v! j+ G z7 p
}/ @8 Q) X; g5 j8 n
else/ a1 L' x: j" k2 i
time =ta[0]*60*1000+ta[1]*1000;
. g" ]' @' v$ \0 I" c$ ^, K return time;
# s' N! h$ n/ z}
4 { }5 L2 f5 [4 @% pvar preTime = 0;3 s# S7 c+ D h& b, a: t
var nextTime = 0;
2 ~' S) }( e2 Y# Zvar currIndex =0;/ g' b* ~1 x3 P8 |8 |% L$ p# q
function lrcList(){4 C6 P$ K4 X- p0 W+ i
var s = parent.document.getElementById("MediaPlayer").controls.currentPosition;; a$ n7 v1 a6 r c* z" Q! P" p' N' m
s = s*1000;
7 O% v! g% ]/ y e if(s==0){
$ ~1 F# e7 v" C" ^3 n( _0 w currIndex =0;
8 V- @+ k( y+ D $("#list").scrollTop = $("#lrc"+currIndex).offsetTop-30;
+ ~% f% n1 V# M7 @/ s3 K for(var i=0;i<array.length;i++){
; g( X3 B: E# y4 @2 Q. s8 h document.getElementById("lrc"+i).style.color=colorNormal;
8 V$ C/ B" q) M) Q+ k5 C0 f }
7 i2 w, Y5 k; `# P, ]% _ return;
" Y j1 a. {4 Z! G V, ^) |7 K }
) F( x. ?0 N! l2 z$ e w if(s>0&&currIndex<array.length-1)$ t7 F: z: [" Z- u y
{
$ c9 w- B8 T# k% T preTime = array[currIndex].time;
U* f0 o( G8 F0 [8 k6 A
; J0 {0 x( @9 t) e0 O+ G% v nextTime = array[currIndex+1].time;
! {7 R' ^- I$ A7 w4 Z
6 X4 |$ L9 R% ~: ?' \% b6 V0 e if(s>=preTime&&s<nextTime){
! o) D. P# r! A7 x+ b }
( B- v1 C" t1 A1 Q else if(s>=nextTime); k" ]# u K/ H# ]/ D. u
{
, W1 P" s$ I9 |; e! d ~ document.getElementById("lrc"+currIndex).style.color=colorPasted;
! H3 R5 W& c0 ~: g/ D- P- h3 R currIndex++;; t. q) p" w0 a% b
$("#list").scrollTop = $("#lrc"+currIndex).offsetTop-30;( R) @6 N/ T; C, l
document.getElementById("lrc"+currIndex).style.color=colorPlaying;
, E! b" K" Z" X9 E, P7 C lrcList();$ S d/ b1 v$ ] ~3 N3 g* d6 u
}) g% ~& U5 M; w6 q6 o2 V
else{
- }. t6 E" i5 R$ u) A$ D' A% c document.getElementById("lrc"+currIndex).style.color=colorNormal;/ f; `4 h$ l! `" T8 E, U3 H1 O7 c7 C
currIndex--;
2 j4 m! I, m' x% i# Z4 B $("#list").scrollTop = $("#lrc"+currIndex).offsetTop-30;8 p, R4 D8 Q9 {+ z! D* U
document.getElementById("lrc"+currIndex).style.color=colorPlaying;" L6 H u8 ?2 g2 }0 A
lrcList();
6 h, _" d' {' p1 v) \- F }
r; u- U, L6 F% ?% X/ o. _ }
2 c7 U- v3 x* _: N6 [ else( e: k r+ t+ w( O, A" }0 I) K
{7 {0 f. a4 x' a& P
if(s<array[array.length-1].time){
1 B; z U# r; s currIndex = 0;
V2 S2 U& m: M $("#list").scrollTop = $("#lrc"+currIndex).offsetTop-30;2 {, n: |# v7 z% W
for(var i=0;i<array.length;i++){
4 T4 g7 @$ w8 o2 {8 }' a document.getElementById("lrc"+i).style.color=colorNormal;0 k$ [( J( L- c1 x/ c" ~5 T
}
6 [6 A' v) X3 q% J lrcList();
% H9 s! F. |9 F- q }
5 `9 [2 U, `" G R2 i }. w2 Q; w+ g+ B) w% h% v
}* B `1 Y2 F: |8 z/ v$ O& ?
</SCRIPT>+ v$ D) T: b( D
</DIV></DIV>: v' U8 T7 G- p8 m: U6 T
: z9 K% b( |! m; e8 q% |3 k
[ 本帖最后由 幽谷兰 于 2008-9-18 17:36 编辑 ] |
|