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