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