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