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