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