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