|
|
<DIV id=list>3 J& C, L+ w2 Z3 ?+ S* x
<DIV id=lrc1 style="COLOR: #666666">[wmv=0] http://lzbj.ncedu.net.cn/uploadfile/20083923248279.mp3[/wmv] </DIV>" q* b8 Q7 I- [1 c0 ~$ b8 l6 p7 V
<DIV style="COLOR: #666666">|等一分钟|听到这首歌,觉得它很动听,旋律很优美,很是喜欢,传上来给大家听听。</DIV>
* z- ^5 c, D" L5 i4 V9 w8 f<DIV id=lrc2 style="COLOR: #666666">词曲唱:徐誉滕</DIV>
- h, f' b/ r/ E- z( G7 |2 O<DIV id=lrc3 style="COLOR: #666666"></DIV>
; e2 `% `( f5 o, ^3 v8 m, `& ~! ]7 H3 X<DIV id=lrc5 style="COLOR: #666666">如果时间 </DIV>
3 q J: J1 m! G# G- f% q0 @" t* Z<DIV id=lrc6 style="COLOR: #666666">忘记了转 </DIV>
0 y. G$ j0 F6 o<DIV id=lrc7 style="COLOR: #666666">忘了带走什么 </DIV>5 i+ }) s6 A: x" [6 q/ L, G* {* z
<DIV id=lrc8 style="COLOR: #666666">你会不会 </DIV>
], G3 [# W) @0 ?5 u& D* J1 y<DIV id=lrc9 style="COLOR: #666666">至今停在说爱我的那天 </DIV>
9 N5 r7 D' ~2 @7 f; n<DIV id=lrc10 style="COLOR: #666666">然后在世界的一个角 </DIV>
; X. F2 N$ J2 O, U<DIV id=lrc11 style="COLOR: #666666">有了一个我们的家 </DIV>! y+ v( _2 i Y" Y
<DIV id=lrc12 style="COLOR: #666666">你说我的胸膛会让你感到暖 </DIV>! r- b9 z# r& x1 c# r
<DIV id=lrc13 style="COLOR: #666666">如果生命 </DIV>) V! Y% L1 m* G
<DIV id=lrc14 style="COLOR: #666666">没有遗憾 </DIV>
: q4 c8 _* o5 m$ j, _( H7 f<DIV id=lrc15 style="COLOR: #666666">没有波澜 </DIV>6 ]" Z, k3 Z9 l2 D
<DIV id=lrc16 style="COLOR: #666666">你会不会 </DIV>
7 z# [& U. W, @( M5 }+ c<DIV id=lrc17 style="COLOR: #666666">永远没有说再见的一天 </DIV>
# i+ E2 w8 G7 b4 \! V<DIV id=lrc18 style="COLOR: #666666">可能年少的心太柔软 </DIV>3 F& S ^. v. y) z
<DIV id=lrc19 style="COLOR: #666666">经不起风经不起浪 </DIV>
& m! l, E: @/ m. o2 y7 I<DIV id=lrc20 style="COLOR: #666666">若今天的我能回到昨天 </DIV>
! y4 ~& Y. i) b5 o* @ U! B<DIV id=lrc21 style="COLOR: #666666">我会向自己妥协 </DIV>; Q3 [: q( k. C5 O8 ~( X8 |
<DIV id=lrc22 style="COLOR: #666666">我在等一分钟 </DIV>; i" i0 l% s/ K% P
<DIV id=lrc23 style="COLOR: #666666">或许下一分钟 </DIV>
2 w% ~" S" o4 \" r: k<DIV id=lrc24 style="COLOR: #666666">看到你闪躲的眼 </DIV>
9 }, B) V# o: Z7 M' [% m<DIV id=lrc25 style="COLOR: #ff3300">我不会让伤心的泪挂满你的脸 </DIV>
' S$ R }& ^4 i! [- c<DIV id=lrc26 style="COLOR: #000000">我在等一分钟 </DIV>; U" g) i. ~. w Z
<DIV id=lrc27 style="COLOR: #000000">或许下一分钟 </DIV>
7 o' Y: F0 [, Z7 S) L8 Y: ?<DIV id=lrc28 style="COLOR: #000000">能够感觉你也心痛 </DIV>% e7 d' e9 T7 H @& X$ T+ w
<DIV id=lrc29 style="COLOR: #000000">那一年我不会让离别成永远 </DIV>
" t# N& t4 T2 U<DIV id=lrc30 style="COLOR: #000000">如果生命 </DIV>
, L, I& ~4 b/ A0 i4 R' F5 \% V: D<DIV id=lrc31 style="COLOR: #000000">没有遗憾 </DIV># X9 P7 ?) f3 v& W2 p
<DIV id=lrc32 style="COLOR: #000000">没有波澜 </DIV>
2 z) H1 o+ u. i& _5 i; D<DIV id=lrc33 style="COLOR: #000000">你会不会 </DIV>
2 ?4 W- _! f& i8 R5 x( |2 E1 h<DIV id=lrc34 style="COLOR: #000000">永远没有说再见的一天 </DIV>( c; n& y& J0 A6 P/ P* n. r
<DIV id=lrc35 style="COLOR: #000000">可能年少的心太柔软 </DIV>" D; u5 U* K1 z! P8 \
<DIV id=lrc36 style="COLOR: #000000">经不起风经不起浪 </DIV>
; X& m0 S/ {' G* y& @" p/ t<DIV id=lrc37 style="COLOR: #000000">若今天的我能回到昨天 </DIV>
' I: {3 N# p/ ?5 E<DIV id=lrc38 style="COLOR: #000000">我会向自己妥协 </DIV>8 f( _) {' z w& D1 n3 n
<DIV id=lrc39 style="COLOR: #000000">我在等一分钟 </DIV>( ?) o m- b5 O5 q* T2 j
<DIV id=lrc40 style="COLOR: #000000">或许下一分钟 </DIV>
5 d4 l- J% u4 h* T<DIV id=lrc41 style="COLOR: #000000">看到你闪躲的眼 </DIV>
" h0 G8 u) A! G2 e8 o! ?' v3 i<DIV id=lrc42 style="COLOR: #000000">我不会让伤心的泪挂满你的脸 </DIV>
( I* W5 R* _% [0 R; P2 C<DIV id=lrc43 style="COLOR: #000000">我在等一分钟 </DIV>
) R4 Z0 G J2 ]% D<DIV id=lrc44 style="COLOR: #000000">或许下一分钟 </DIV>
0 k0 c; C: A% x# ?4 a- Z' _<DIV id=lrc45 style="COLOR: #000000">能够感觉你也心痛 </DIV>% u1 Z: U& p# Z" x! D# z
<DIV id=lrc46 style="COLOR: #000000">那一年我不会让离别成永远 </DIV>0 @ z1 s9 E8 c$ U% P# F
<DIV id=lrc47 style="COLOR: #000000">我在等一分钟 </DIV>8 q; H# e" Z0 ?" f9 L# A5 a
<DIV id=lrc48 style="COLOR: #000000">或许下一分钟 </DIV>
" z1 R7 e v4 a* H- n( @1 B3 S<DIV id=lrc49 style="COLOR: #000000">看到你不舍的眼 </DIV>
! g" R* o: V$ x7 M<DIV id=lrc50 style="COLOR: #000000">我会用一个拥抱换取你的转身 </DIV>
9 D" Q9 A, `: t. e3 k7 r<DIV id=lrc51 style="COLOR: #000000">我在等一分钟 </DIV>
& G3 u9 L2 @) F# j! _/ a<DIV id=lrc52 style="COLOR: #000000">或许下一分钟 </DIV>
' u7 J4 u/ O( B, A<DIV id=lrc53 style="COLOR: #000000">如果你真的也心痛 </DIV>; G8 {" Y$ p0 B7 E3 y- K
<DIV id=lrc54 style="COLOR: #000000">我会告诉你我的胸膛依旧暖
6 @4 l' z+ D* q7 h( _, A<DIV id=lrc style="DISPLAY: none"></DIV>5 N, s |( { x; b: b* k6 u3 z+ y; F
<SCRIPT type=text/javascript>
! A: d; Q& |% `3 E! i6 Jdocument.domain="1ting.com";
) D3 J8 @- b1 i1 _5 Rvar colorPasted="#666666";
$ H! u6 C( {) Q* svar colorPlaying="#ff3300";: d- Q1 Z+ ?' O% I6 q0 Y
var colorNormal="#000000";' q8 y2 E! X: O8 }# U! l3 u
$ = function (a,g){
" x3 E* g! |/ v0 d2 k/ L1 y5 y var o = new Array(); 6 w1 H. L3 C. a4 O
var c = new Array();
* d9 d9 e b/ ` var r; 8 H; K/ \: `& s* L- f/ v
var u; 7 j( V/ [6 c' G( f$ V* c
var a = a.split(';');
! [! \ R$ N/ X1 @! g2 r1 d) U, x* p. f9 B! n, o8 p5 y
var e = "keydowns,resize,load,dblclick,click,mouseout,mouseover,mousemove,mouseup,mousedown,inputchange,inputfocus,inputblur".split(",");# f; m5 @# H0 M* z+ R% u5 {
for(var i=0;i<e.length;i++){
/ `7 d: H/ o+ ~4 h5 p9 S eval(e<i>+" = function (s){eval($event('on"+e<i>.replace("input","")+"'))}")
+ |+ l7 `7 A. V. V8 n }
# i0 f; p4 l2 s0 K( `! l
, g8 v2 V* L4 t6 b" J6 Z8 M after = function (t,d,s){1 U4 D( m, I- F
$after = function (){
2 G+ H( i& E2 C6 B1 R: W var $n=document.createElement(t);: v* p, M: l8 G. y
if(d!=null){6 y4 k8 |+ M H3 v2 S2 q" D
$n.id=d;
/ \/ m5 M/ J( X. m4 s }0 Y. E, D) ~; W1 ?, X s
2 J& q& w6 ]: p
u.insertBefore($n,null) $ P, V4 R* E8 n% v/ Q
r = $n;
$ U# O: ?. ^0 M! Z3 i u = $n;
/ J, c- F! ^1 X8 B! `- } }" d$ ?1 d. B% l% j! u4 B
$for(s,"$after")
8 B) @ i$ Q& u2 t }
: i% M' Z- d7 E+ q x
c% R9 Z7 Q6 a, v" a. k! u show = function (s){. V' C2 Y3 e' E5 c& q5 C: f
$show = function (){
$ m* p: \9 A. h" H6 G# f- g% } u.style.display!="none" ? style("display:none") : style("display:block") ;% T4 ?1 _. { l! F( y% f4 I* I
}/ o' F" U1 O2 H5 \) Q
$for(s,"$show"): e8 ^7 |* O0 T% z( Q6 J9 {; K
}
" L( z2 n' h" t% P
+ c/ x# a+ h+ T/ `7 x! U* Z check = function (t,s){, H. w0 f$ a! t( k
$check = function (){
% W/ i. V5 r( V3 s0 c) X if(t=="2"){
3 r% x5 x' n; E$ e/ L6 [8 u! q. m- ^ if(u.checked){) H+ @' B; n0 O; l. s4 ]4 C& i
u.checked = false;- j1 F6 a1 G: b1 P1 c9 G" B! {
}else{: Y( H' ]8 S" _$ Z. z
u.checked = true;
' i0 u2 T: Y* I7 j1 i }
5 v5 T) A& F! S4 H }else{
% y4 f. b1 Q% S* | j u.checked = t*1 ;: x& h: Z/ {; d8 ]8 i
}
$ y4 f) W* U& |7 K& y3 z' i y6 A }
) B8 W- H1 Z ^3 j% } $for(s,"$check") [# o* n3 P4 G/ |/ [* L4 w
}& |1 Z! t b+ v& f; G/ t" o" e7 j/ H
' x2 N8 B0 Y4 U& [$ C4 Q
style = function (v,s){
" s+ H' d$ C, n7 C/ G# X $style = function (){
7 g) g3 f/ k* O1 L8 ` var $n = v.split(",") & u G9 o3 O! N1 |1 d
for (var i=0;i<$n.length;i++ ){
0 |9 p1 W; x- S3 h0 W7 [ var $m = $n<i>.split(":")
0 G- L# @+ C) f0 b eval("u.style."+$m[0]+"='"+$m[1]+"'");1 y+ ?9 w b1 e5 i5 C( {& A' F
}
# i3 R. f9 y& q* c; G }* R# m8 D, V! E$ D& e$ D
$for(s,"$style")
* P& G! ]9 l7 Z4 R8 ~- d }# \6 x8 p8 S4 ?" |7 A
7 h8 l l( ]: R' { r; u, b S$ l
value = function (v,s){
* g% q# S: s. N) c var $n= $this (v);
5 \, g1 d' m* u1 A $value = function (){
2 g& L& A* W+ p3 z; J$ T u.value = $n
& ^0 G; t9 g7 J' H }
$ E/ _- Z# U! r& V9 \4 s $for(s,"$value")
/ X6 s8 A( c' ] }3 G8 A; j/ q# L
9 V8 o8 H+ w! ?- V( ^/ x
text = function (v,s){
. Q' [" N8 P# k9 f* f var $n= $this (v);
' H0 @- R1 V$ B6 W- v' w8 c8 R' s1 i $text = function (){
, m" Q2 j! I6 z, O' Y" r , B9 I- A3 M) x) J! O2 W
u.text = $n# g; l2 N; o% Q. O$ [+ \
}
! v1 m% f U; j $for(s,"$text") / x, s1 e2 Z) p0 `; T2 \
}* i5 u8 ~7 l" \; b6 W
! z* T6 ~1 \+ s+ F
innerhtml = function (v,s){$ x! t, n8 B$ o2 w1 B ?
var $n= $this (v);
' ]0 l8 @3 x- d/ t2 `- k5 U $innerhtml = function (){
* @- ?( ^5 K& W6 }4 K u.innerHTML = $n
8 o2 ~7 b; P- ~4 _- b }, L5 T. y1 g' t% U. [, @
$for(s,"$innerhtml"). f( ^: x9 N& ~7 r. U* \3 j0 M) H6 j
}. j% ]3 u8 R$ \; D% m: N
7 j5 E2 R7 d, J8 I
removechild = function (s){) V% K# C: P+ f& n1 d. ]9 l% w
$removechild = function (){
2 q' {( T1 ^5 o! @( K, z2 q u.parentNode.removeChild(u)
1 [# A$ B3 k# ]. n }/ k4 \& e; [, d
$for(s,"$removechild"); q1 z- o) T- [8 O% w
}
' v; q1 f c. |0 O& x J# h
& s8 q c( `6 f( I- D/ ?3 P $this =function(v){/ [: [2 c$ F; G+ ?7 _# Q/ t) Q, Z% e
if(v.indexOf("this") == 0){
% e6 c+ N* i' w' U: M. C# j return eval(v.replace("this","u"))4 k: q" X- Q) a
}
2 g, `0 V" |7 o" b& S4 W' X return v;, o5 g/ |. @0 _% t# K- w1 w
}
+ @" w. r/ |! j" p) V! v* H/ H, [4 o
$event = function (s){5 q" q# a6 |8 C; Y
var $n ="u."+s+" = function(){$work(this,s);}"5 u6 \, N$ _$ s! V+ y
return $n;
3 p: s; X& J6 C4 \/ { }
5 m* i( Q( j3 f& `' ^8 D, |+ ?6 K. {" O
$replace = function (s){# ~; A9 f5 }) o. _. h4 p% G9 t, t. e9 B
( [2 l/ ` U7 M5 [8 r. J
}$ r0 B+ R7 X h& c( r1 k2 R
8 A7 \& S! v; b$ k0 M
$for = function (s,c){0 ?5 m# h4 `2 Y" H {
var $n="this."+c+"()" ;
6 x( b+ F( i& {5 J3 L if(s!=null){+ x6 {6 `, @% s2 w8 Z; x
var $m =$test(s);' ~9 P3 B2 T9 U
for (var i=0;i<$m.length ;i++ ){) h% j9 |: V; h) m( e- `
u = $m<i>;9 r0 G: F# Q: S; k- q Z/ W5 a$ |
eval($n);8 A' O ?$ D7 x! p& }8 v( T- A. t
}( n. ^' E `% Y- J1 _( D C
}
5 ^0 w4 ]% K$ C4 V else{
( g9 \! G9 ]3 l, ~7 z. x4 B eval($n);
+ }7 G w7 {1 [ }
! _& I% Y( @. J3 _$ l. v }
+ n# A: O+ Z& v0 M0 W G; W! r t! R4 j, _+ w; Y% Q; z
$test = function (a){
; y3 w" W/ ?4 |6 f' }$ Z3 ~ var o = new Array();$o(a.split(';'),o);: F; p7 n+ R0 h) U$ J5 P! T
return o;
8 U. Y1 x2 ?3 E% @ }
; O( `6 Y/ r9 u7 |: ~; d! }/ I% ^% t b3 O) w( R! C3 A
$format = function(s){
2 d4 G; l& Z$ V/ I8 Q q4 L1 | while (s.indexOf("'")>0){
/ F! K/ N! t W& d* P) C4 E, S+ q6 M s=s.replace("'","\"");, c' E' a) a- ]
}; C, [& `3 q% ?; [% c/ y& y6 _
while (s.indexOf("][")>0){* o1 X) ?5 n% k
s=s.replace("][","','")
; _8 C" p- w8 X3 p }* D& H. H( e1 f& G8 x& E7 S
while (s.indexOf("[")>0){
" y7 U% s D0 ]0 W s=s.replace("[","'").replace("]","'")
$ x7 _* T( |4 Z1 P, Z: A- H e } ' [& _! R" L7 w) Z% e' x8 y0 u
return s;% S; M( W& B1 Q6 q
}
5 H: C$ @; K, D8 v7 L6 R) `4 `% M3 z4 n
$work = function(w,s){* U2 Z4 u) i) q
u=w;eval(s)) q& I8 w2 C9 n) a4 d: `
}# t! M I6 j; C3 U
2 z) b( \2 |: `6 Z1 [" n $id = function (s){
! B- C9 s$ h P f9 O6 D+ g" g$ _ return document.getElementById(s);! V6 h4 K9 l$ n! n* k' R
}
+ ~8 @! K/ }7 d/ G8 r
/ t& Y, d1 p7 o+ H+ ^ $name = function (s){
0 T- b/ s9 X1 R- h) Q3 E return document.getElementsByName(s);* x. i& v2 Q' c
}8 |) O7 Z6 ~" @7 Q' q7 d! d
. X* W( c( s+ C$ E% O; d% F: p $tagname = function (s){
# c( w* I1 ^1 s- E, Q% S8 \* R return document.getElementsByTagName(s);% t; s: W2 r8 `5 M# K4 Q
}
9 ~6 \" T: u# i( R) y1 o2 a+ A5 W4 V# | n- u
$o = function (a,o,c){3 U. G) f: S, Y9 }
$push = function (n) {0 H5 _7 J- u4 X5 }
for (var i=0;i< n.length;i++ ){
: ]% ^' ?+ N0 e o.push(n<i>);) q+ S, v' _! K+ J, c/ g8 \
} % Z6 ]3 a# ~6 M: m
}
; a4 \) I! m$ s; ~- t" p) x" [. p. F for(var i=0;i<a.length;i++){" [0 J; R: r9 G$ M c& z% {+ P
if(a<i>.indexOf("(") >= 0){
9 ^" g H, U1 C H; a1 q c.push(a<i>);
2 M V4 Z c7 a+ h% Z }
/ h0 X; H6 F, \8 n7 \2 S if(a<i>.indexOf("~") > 0){
7 o0 G9 L, b! A+ O try {
8 Z4 c1 [! q" a& h! ~; B: i% W w $push(eval(a<i>.replace("#","document.getElementById('").replace(" ~ @","').getElementsByTagName('")+"')"));
9 T6 C5 Q- U: J3 S }catch(e)
2 E5 Z3 ]# `$ C3 o% s( f {} % [/ J; ?/ d) X8 T3 I' @, Z
}
9 }" ~" A8 c R" q( e, x2 X else{/ p! W P! h6 u2 `/ Y( [, t: K
if(a<i>.indexOf("#")==0){3 ^# A1 L; b7 h1 m/ B# F K+ T
o.push($id(a<i>.replace("#","")));9 `* ]: B+ z- u
}
9 ~5 B9 A; n: n { if(a<i>.indexOf(".")==0){
$ w3 |- Q" H. e" w) `, v $push($name(a<i>.replace(".","")));
8 t; Y0 s) w9 C, U7 F }' {' d8 H" z8 w
if(a<i>.indexOf("@")==0 ){& `" x6 w9 T& m7 e
$push($tagname(a<i>.replace("@","")));# K, A; c* n2 F" d4 T
}8 u7 ^, E5 V8 w( s1 i; |0 s
if(a<i>.indexOf("*")==0){" d, q. e4 Q. C+ N
$p= a<i>;6 j! v" @, C4 t& M t( b
if($p.indexOf(".")< 0){
$ D5 I% ?; a6 ? $p = $p.replace("parent","parentNode")+ A: h: [' Y1 C& g* A" V
}. n: ~% [) e2 g# J. p7 _
var $p ="u."+$p.replace("*","");
; a5 H* ?$ f( B. f( O. [+ H" D while ($p.indexOf("parent.")> 0){, Y3 K! z; @7 Q; P& O8 x9 d
$p = $p.replace("parent.","parentNode.")/ s' m- S) }2 Q: l; r
}$ D: `! H# B/ P9 `" p! D0 U( o' ~* N6 Z4 U
while ($p.indexOf("child{")> 0){# O) X1 m) B8 n/ J1 Y7 O3 ?
$p = $p.replace("child{","childNodes[").replace("}","]")
6 j& O3 o q& E' v+ _+ o+ q }
* p' c6 a* A) s o.push(eval($p));: a9 v1 i0 d& ^9 |) Q. B
}, X- S$ y- o5 e8 @' `. q
if(a<i>.indexOf("document")==0 || a<i>.indexOf("window")==0){$ v- f& V- v8 w D: }
o.push(eval(a<i>));! H6 Y( U/ i/ |4 x, g% Q
}: G1 j- z) O) n
}: h8 u4 F- n1 m# ?" @' f2 |' X
if(g!=null){ ; u) [ s* \# U# ^- a
o.push(g);g=null
, e! G" b* l; |0 ^! p, t } 3 L! w+ s0 i. X
}7 G: Z/ d) T/ }8 X6 y$ B8 B. ]6 v9 r
}4 o4 ?% x2 ]8 f" ~, K- U i* Y5 B: g
* K5 ]; ?, g2 g2 Y5 M& n" M
$o(a,o,c);/ e3 J! {, Y8 g7 e- \! `
- e) [! `# |# j, a% K) n
for(var i = 0;i<o.length;i++){
F) ]4 Y0 p' h0 C% W+ w& b5 i) x for(var j=0;j<c.length;j++){/ c5 Y9 X) Q9 d m
u = o<i>;eval($format(c[j]));
1 E9 X) B8 G# U' S- |/ k }2 \( a3 N/ |- `
}
- N ?% b0 z1 s+ t, \5 ]2 X( J: ?5 f. A- B$ n9 Y' I* U- {
if(o.length == 0){% x+ x4 j0 l1 a6 \% S5 _& v
for(var i=0;i<c.length;i++){
* v1 F( a3 a, |) e; S: M0 z eval($format(c<i>));
+ V0 o) @' y1 I }7 l' L; F2 _( S1 O9 q; ^* ?2 [
}6 C3 {' F3 P8 `6 N. r/ _% w, L
2 L$ K ~' V3 }( @9 C/ b if(r!=null){
5 i1 R$ _# [/ d$ A return r;
" ?6 K1 x. c. Z }( j; w( [0 m. T" ^8 o! ?4 j
" _" m) {* i' n) r- Y8 p- E
if(o.length==1){
g: z1 M% g2 b9 x# h$ P return o[0];5 _+ C/ G+ t) F& p
}
7 Z# G+ P. d) I( E else{+ w+ r6 t: u6 Y# i6 c1 v1 m
return o3 W1 S* v7 w/ V, n
}
9 _* V2 O* N$ v" E # _5 ]0 f: e Y' l
}
" Q' h+ d5 D/ r# j0 avar lrc =$("#lrc;show()").innerHTML.split("[");, J, _/ K9 k' Y" z. O3 C% D
if(lrc.length>5){
1 s# ^5 {5 I+ Evar array = new Array();
# z) A4 U! I8 U z: t& u- N3 cfor (var i=0;i<lrc.length ;i++ )3 l4 E& ~2 n3 F% d' v* r! m2 i2 P9 e
{3 N9 v# w% u9 x ~( X
var g = new Object();
2 B# G! n- a7 ?) r" P/ ^ t= lrc<i>.split("]");
* l# @- r! g, O" q* K0 } g.time = getTime(t[0]);# j2 U V4 |& Q" A& E E5 C# ] m9 c
if(isNaN(g.time))
4 h) n( Y. o+ c" S8 W g' V continue;
! m* b3 R" J* d" o- c- { g.c = t[1];
# G v5 L" L3 L! S if(g.c == "")7 e+ i4 o! E" Y6 ~4 F! `
g.c = getNext(i);
! r2 k2 Z3 R' |# d" J" w# g array.push(g);
" i5 b& ^! s$ ^5 Z9 s( y1 |( x}
1 Q& X# v! {. o$ J7 T4 aarray.sort(function(x, y) {+ Q5 Q# S4 j N9 @
if (x.time>y.time)
% f# }1 c% t: t4 x. x return 1;
6 X8 Q# J% k8 c3 j: T* m% O else if(x.time<y.time)
9 c% {8 @$ Z Y B: x0 t `# u; x, H return -1;
0 U) g x2 S& G% b9 e3 \. F6 n else( Q- n& Y9 P& L, `5 E
return 0;& f* ]: G: {0 u
}
* x8 X1 Z8 t, j* c);
+ c& g; ?$ r) c& W, tfor(var i = 0;i<array.length;i++)
$ Y/ r. M* K7 z" Q/ H4 z{1 z5 q2 {7 a! q: ~! E) G
var g = array<i>;
+ F" c$ K! R# U- h% ^ if(!g.c){" ~, Z* X/ b( R2 u. f
g.c="";6 K4 L2 {( k9 T0 [6 `) N
}
1 \* B9 z0 W7 i# S' D $("#list").innerHTML+="<div id=lrc"+i+">"+g.c+"</div>";
4 d# z: u* ~1 C* ?- S}
% Q2 D( M! @$ u8 C3 t9 s# T# Uvar time = setInterval("lrcList()",500);
5 Y. @, K3 n& C7 G! {0 e3 b& ]}else{( a3 h! R2 b2 u; |+ W
$("#list").innerHTML=$("#lrc").innerHTML;
1 K! a$ I$ @0 a}1 x" T0 o' J" F/ s
function getNext(i)
! x9 t) t" J) V- J2 ^) E{" z0 E" T0 b1 x2 D$ `
var result = "";: R2 w2 Y2 E: f, ~* \5 `7 x4 ?; Z9 I
var i = i+1;
! y% B+ s3 P/ l6 L+ Q t = lrc<i>.split("]");
$ O& S3 @! E- g2 u2 A0 T if(t[1]=="")
) R6 p+ C4 E0 }6 b+ B result = getNext(i);
# q$ l; `0 m0 B else
6 M `5 L0 x/ {/ C4 c& M" ~ result = t[1]
7 M( t: v8 S& t9 P& [2 z0 V; f" G return result;
; W; { T0 c/ H/ u) k2 y1 v4 ?}
5 L6 w0 M) b0 l) A
4 X( D" ?2 G9 P' e6 b" x9 vfunction getTime(str)2 B; I) Z$ i9 x) f! J
{1 Q: |) C! L/ D1 R$ s3 |
var time =0;4 N8 A" b0 E& z3 U2 N' C
var ta = str.split(":");1 W6 e, ?+ z; n- Z8 O, e7 e3 s: d+ K
if(ta.length<2)7 H4 R8 p/ y7 ~: r
return time;5 e) n# t4 I* B6 j* W/ M& }) F+ K
6 o: i; E2 r9 T5 M7 n' e A
if(ta[1].indexOf(".")>0){/ M9 ~/ w! V! Y h! {/ Q: G; u& c
var tb = ta[1].split(".");8 ^6 Q: c$ ^" K8 m8 B) ~4 R$ v
time = ta[0]*60*1000+tb[0]*1000+tb[1]*10;% c0 W5 s! Y3 _ t- H+ p( z: }
}7 b( F" D, S/ a- s5 h" T4 y
else
" a. T9 K$ b5 p4 C7 b, G8 Y: i time =ta[0]*60*1000+ta[1]*1000;
: S4 ?/ V' G( E" N6 U; b return time;0 h3 {; r9 q) R6 J
}3 J* ]' K, K; i: v' y# r- @8 W
var preTime = 0;
; W0 {& l/ M- A% Zvar nextTime = 0;6 m( I2 V+ r, Z2 t
var currIndex =0;
: Z$ y3 \0 g) Dfunction lrcList(){4 T7 S; o5 K: J6 S' F B
var s = parent.document.getElementById("MediaPlayer").controls.currentPosition;8 ?, u9 C' \% y
s = s*1000;
! u; @9 H. N; u if(s==0){/ } @/ H/ }5 I& J6 E
currIndex =0;' K, F( L( R1 q! @; R d. s
$("#list").scrollTop = $("#lrc"+currIndex).offsetTop-30;. d9 x( d; Z v5 Q% D+ {
for(var i=0;i<array.length;i++){
/ e$ Y# ^! M* {' [* _, L5 G document.getElementById("lrc"+i).style.color=colorNormal;1 O ~0 x) ^3 X, S7 z/ d
}
7 S, r2 B- ]9 M- L6 C% a% P% ~ return;
2 p0 o" K7 {3 ~5 P. v, r7 F2 l( d }7 P( C0 Y1 e1 i. t
if(s>0&&currIndex<array.length-1)+ R- |5 Y' W U5 m( C3 o- ~- Z
{
r% t8 {4 Q3 ^, P4 Y, d4 _ preTime = array[currIndex].time;
( f3 h. o9 {+ I
* d+ X2 t! T5 T. O( y+ D nextTime = array[currIndex+1].time;$ i S: X0 F2 A5 Y N1 A: c2 ^2 M6 `
' T, M+ G1 n+ i3 ^: `2 j8 Y5 C# Z
if(s>=preTime&&s<nextTime){
* H6 @" p" b5 B/ v/ v9 Q }
) g8 \# v/ E1 J! O else if(s>=nextTime)7 f1 W. H ^1 M- H
{9 S* P. J0 W5 ]$ k; {
document.getElementById("lrc"+currIndex).style.color=colorPasted;
! { b; ? r4 f. B/ \/ p currIndex++;, a, ^6 A$ s c- O0 w0 V
$("#list").scrollTop = $("#lrc"+currIndex).offsetTop-30;
# [7 y8 r2 j" Q, z document.getElementById("lrc"+currIndex).style.color=colorPlaying;
% f9 L7 @/ Z, O5 s lrcList();
0 d' |, t/ {3 h9 \1 [6 s }# P* `* D4 E+ ?. H0 j( b2 M
else{
) ?3 K# |7 E5 H Q3 {: e6 t+ }& B b document.getElementById("lrc"+currIndex).style.color=colorNormal;. d M) l+ `/ u5 D' |) i2 y4 ]9 I- t3 g
currIndex--;* W! g7 m2 B: J
$("#list").scrollTop = $("#lrc"+currIndex).offsetTop-30;4 l' v9 W( k- S+ L5 R! T$ C
document.getElementById("lrc"+currIndex).style.color=colorPlaying;
" r/ R# k. R3 X; n# T lrcList();2 t. V( R4 _+ v% l, y
} 9 u9 l6 d) t* W& I- a8 T
}) j4 N# E% g5 X+ s1 d
else
+ E) ~- I" Q% Y {1 ?8 @( p% C. p4 K; Y
if(s<array[array.length-1].time){6 e" t6 O V( n$ o
currIndex = 0;
* y: ^: X* f' v! N; ^% K $("#list").scrollTop = $("#lrc"+currIndex).offsetTop-30;8 \+ W8 }7 e1 j
for(var i=0;i<array.length;i++){) ]: Z0 C, T5 \# v' ^- s
document.getElementById("lrc"+i).style.color=colorNormal;
5 W( ?: c* i l6 v/ J" x S4 y }1 [/ n, A6 P1 E; b
lrcList();7 g. C" `8 J3 }, g6 b4 L
}2 S- W5 W! T! O% R1 |% c
}
% g! c8 k# f" R' }}
4 ^6 M" L' @4 a% m O% U' ^' F</SCRIPT>8 R% [ l* `* U1 g: ^7 C+ h
</DIV></DIV>
# k, y6 u6 ~ o3 {
* D" W6 x) m, T" g[ 本帖最后由 幽谷兰 于 2008-9-18 17:36 编辑 ] |
|