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