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