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