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