|
|
<DIV id=list>
7 X5 i) ~/ J2 T; x2 }<DIV id=lrc1 style="COLOR: #666666">[wmv=0] http://lzbj.ncedu.net.cn/uploadfile/20083923248279.mp3[/wmv] </DIV>' P2 p% E! H' L4 Y
<DIV style="COLOR: #666666">|等一分钟|听到这首歌,觉得它很动听,旋律很优美,很是喜欢,传上来给大家听听。</DIV>
. u. M% j% W& x<DIV id=lrc2 style="COLOR: #666666">词曲唱:徐誉滕</DIV>
8 U" d" o; r5 Y' X( C<DIV id=lrc3 style="COLOR: #666666"></DIV>
2 a7 B$ Y7 w; ?5 I<DIV id=lrc5 style="COLOR: #666666">如果时间 </DIV>& f$ z! ~1 j% N/ x* O# o
<DIV id=lrc6 style="COLOR: #666666">忘记了转 </DIV>
8 L, c# w1 N# [* @4 ~& A<DIV id=lrc7 style="COLOR: #666666">忘了带走什么 </DIV>/ k! E- ~+ m( h
<DIV id=lrc8 style="COLOR: #666666">你会不会 </DIV>
- V8 N5 x2 t- H; |, T, R7 Z<DIV id=lrc9 style="COLOR: #666666">至今停在说爱我的那天 </DIV>+ W2 |/ \; U0 ]: k8 m2 K% F, T
<DIV id=lrc10 style="COLOR: #666666">然后在世界的一个角 </DIV>
/ q) C4 C5 A% {0 i8 b6 [. Q* q<DIV id=lrc11 style="COLOR: #666666">有了一个我们的家 </DIV>
, D1 R$ J9 ^9 L7 Z( ]. N$ o<DIV id=lrc12 style="COLOR: #666666">你说我的胸膛会让你感到暖 </DIV>/ z! n9 G1 M6 v( o; i- {/ O& j+ V
<DIV id=lrc13 style="COLOR: #666666">如果生命 </DIV>1 t# @3 u% K, l5 t
<DIV id=lrc14 style="COLOR: #666666">没有遗憾 </DIV>
B* W& J# p4 I! o' o9 D<DIV id=lrc15 style="COLOR: #666666">没有波澜 </DIV>* O( e0 t1 p# [/ `: ^+ {
<DIV id=lrc16 style="COLOR: #666666">你会不会 </DIV>. U7 a# s) H. \; c0 a( B# ~! @
<DIV id=lrc17 style="COLOR: #666666">永远没有说再见的一天 </DIV>
% g' g. F. a/ ?6 I2 z# `<DIV id=lrc18 style="COLOR: #666666">可能年少的心太柔软 </DIV>2 T( g) b: F" d4 F b4 O
<DIV id=lrc19 style="COLOR: #666666">经不起风经不起浪 </DIV>
- G7 u7 P& L6 m3 N/ |<DIV id=lrc20 style="COLOR: #666666">若今天的我能回到昨天 </DIV>+ \1 m: Q2 N" O2 R0 ~$ `: H
<DIV id=lrc21 style="COLOR: #666666">我会向自己妥协 </DIV>
- ^3 C! ~2 y1 \- N<DIV id=lrc22 style="COLOR: #666666">我在等一分钟 </DIV>1 D7 z' ~3 c. [6 z
<DIV id=lrc23 style="COLOR: #666666">或许下一分钟 </DIV>) x. A7 f8 w1 b% k& i& ^! n
<DIV id=lrc24 style="COLOR: #666666">看到你闪躲的眼 </DIV>9 l+ \7 K9 W* R/ C* B( ^) ^
<DIV id=lrc25 style="COLOR: #ff3300">我不会让伤心的泪挂满你的脸 </DIV>" B; G% {8 S/ i' o# a; a# w
<DIV id=lrc26 style="COLOR: #000000">我在等一分钟 </DIV>' o! ~3 N; |" \) i' s; U
<DIV id=lrc27 style="COLOR: #000000">或许下一分钟 </DIV>9 |4 K! ?- ~! m+ p
<DIV id=lrc28 style="COLOR: #000000">能够感觉你也心痛 </DIV>
5 n; h& A* u! V<DIV id=lrc29 style="COLOR: #000000">那一年我不会让离别成永远 </DIV>1 B* O% g5 N, z" p7 C* V
<DIV id=lrc30 style="COLOR: #000000">如果生命 </DIV>4 O# o6 m; A, o/ b
<DIV id=lrc31 style="COLOR: #000000">没有遗憾 </DIV>. F z/ y2 j9 U9 w3 J4 V
<DIV id=lrc32 style="COLOR: #000000">没有波澜 </DIV>
. Y. v- q: ?% {& ^2 m: d! R8 P0 x<DIV id=lrc33 style="COLOR: #000000">你会不会 </DIV>5 k# j+ U/ {5 [. e/ j
<DIV id=lrc34 style="COLOR: #000000">永远没有说再见的一天 </DIV>
: d4 {2 r* E0 F: t2 u0 e( a- \; A4 x! B( z<DIV id=lrc35 style="COLOR: #000000">可能年少的心太柔软 </DIV>
' m: G7 L, ]- I5 ~7 a<DIV id=lrc36 style="COLOR: #000000">经不起风经不起浪 </DIV>! b ]" L* S8 b
<DIV id=lrc37 style="COLOR: #000000">若今天的我能回到昨天 </DIV>
' t* ]. i( W0 ~5 P( [<DIV id=lrc38 style="COLOR: #000000">我会向自己妥协 </DIV>, `: ?1 E( `- U, F' x% p+ d
<DIV id=lrc39 style="COLOR: #000000">我在等一分钟 </DIV>
* x4 Z2 o3 a3 Z, ]# w$ p8 p- S<DIV id=lrc40 style="COLOR: #000000">或许下一分钟 </DIV>
* a& F" @) _7 T, |( x; x<DIV id=lrc41 style="COLOR: #000000">看到你闪躲的眼 </DIV>3 _9 D7 X) t2 E
<DIV id=lrc42 style="COLOR: #000000">我不会让伤心的泪挂满你的脸 </DIV>0 d1 J2 W. K# n- r& Y5 |
<DIV id=lrc43 style="COLOR: #000000">我在等一分钟 </DIV>
@& Z$ _+ B q/ D<DIV id=lrc44 style="COLOR: #000000">或许下一分钟 </DIV>
. v Z& z" J' Z9 l9 w Y4 ~<DIV id=lrc45 style="COLOR: #000000">能够感觉你也心痛 </DIV>6 u/ s2 |. p! o5 a
<DIV id=lrc46 style="COLOR: #000000">那一年我不会让离别成永远 </DIV>' {1 O& i# k1 n7 G
<DIV id=lrc47 style="COLOR: #000000">我在等一分钟 </DIV>
5 L5 U. Q" s7 F( X1 V<DIV id=lrc48 style="COLOR: #000000">或许下一分钟 </DIV>
/ i" B ?* h9 J& T% j, @<DIV id=lrc49 style="COLOR: #000000">看到你不舍的眼 </DIV>
* b$ Q4 X# w# u( b<DIV id=lrc50 style="COLOR: #000000">我会用一个拥抱换取你的转身 </DIV>
- R. ~# D) }# n2 g- o I<DIV id=lrc51 style="COLOR: #000000">我在等一分钟 </DIV>9 s. j* K% L$ v. ]
<DIV id=lrc52 style="COLOR: #000000">或许下一分钟 </DIV>
8 X' U. m1 V+ ]2 H; [<DIV id=lrc53 style="COLOR: #000000">如果你真的也心痛 </DIV>
% v( r2 G h6 m* r- |- ]<DIV id=lrc54 style="COLOR: #000000">我会告诉你我的胸膛依旧暖 ; d0 W0 q! S' R; U
<DIV id=lrc style="DISPLAY: none"></DIV>
# Q G) \) ^8 U" ~$ q<SCRIPT type=text/javascript>
; }4 ]: V/ C4 R8 v/ }5 hdocument.domain="1ting.com";
7 m. ^- N7 l& K& A& Y1 vvar colorPasted="#666666";
0 K7 C( O/ a: c) L! H" e0 Vvar colorPlaying="#ff3300";
9 ] Z5 j. H) o/ e) ]var colorNormal="#000000";
6 {3 q" ~; j/ @! R I$ = function (a,g){& u! L7 G K. G5 }# N2 j2 W5 M
var o = new Array();
. _! A% `& o- z8 F+ |3 m( N var c = new Array(); / }5 ` ]4 Z& ?* ^
var r; ( Y% N) n! m" }% Y# {
var u; ) E5 Q! {. m3 u$ h9 I8 A
var a = a.split(';'); # z0 j3 D4 l# a4 p! U6 w
, [ l' Z2 g' R- h2 b* p! E
var e = "keydowns,resize,load,dblclick,click,mouseout,mouseover,mousemove,mouseup,mousedown,inputchange,inputfocus,inputblur".split(",");
# P M( m8 ], n for(var i=0;i<e.length;i++){- i$ Q4 r* U2 [0 k `8 z# l
eval(e<i>+" = function (s){eval($event('on"+e<i>.replace("input","")+"'))}")" c* y$ c* }8 q, P, J
}1 G% ~. i$ x, ^6 v3 y
6 j; X. l l9 S3 `. S0 M
after = function (t,d,s){
( [# ?. k8 g% ] $after = function (){" N% s/ I. s$ U! {1 n
var $n=document.createElement(t);
) P* h& V6 l9 A7 M! U. \' M if(d!=null){
3 _* S- ?1 D" ^0 u* u $n.id=d; , v `% k- t0 A3 x5 ]
}
3 E1 m* X8 |3 l7 u1 e
5 m# Y& U0 I$ F, u$ l u.insertBefore($n,null)
8 n) Z; T: i1 h r = $n;
% {1 b4 T/ q3 p- h: K* c u = $n; . Q- I7 H" q+ ~
}8 H: @2 m- R# h
$for(s,"$after")
6 ~' A/ i6 y3 Z: ^$ P }3 R# f3 _/ t; X- t L
9 W3 h! }3 A4 J
show = function (s){
# e& X+ `3 C* C% l& T- m9 B $show = function (){3 N f1 c* @- B7 y) Y0 }
u.style.display!="none" ? style("display:none") : style("display:block") ;6 U* o& [0 H h) G% G; q9 n. v: F r
}
0 x9 ?9 {/ q7 X# F) H $for(s,"$show")
# E/ t# D) g' t0 G! L, w) i8 n/ q }* Y; z6 K6 D- J% s" C: s
2 J5 b& y; t3 F7 U- ?& G# \ check = function (t,s){2 C, r+ R! S( D0 g
$check = function (){
1 V; v) T, ], d! U- W: ]0 Z1 R/ U if(t=="2"){
; S9 m4 x" W# Z6 S" J; d! `& p if(u.checked){
4 [# n1 L& c9 n8 {& @ _1 j u.checked = false;) b# E) G0 A6 {8 f/ a0 k! H
}else{
/ Z3 `. W- }5 b9 v* ^ H' k0 e u.checked = true;" g* X7 Y0 d! T1 V5 w3 Y7 S" m
}
6 D! @/ o* ] u1 {5 C }else{( N% |0 ?/ c9 b" c. T5 u
u.checked = t*1 ;" r4 a1 b$ X. q. [% ~/ Z G
}
# O, _% q2 b9 _5 Z' ~" x, n }+ K% S8 D+ _, s. @8 @/ M
$for(s,"$check")
- G/ m# i0 }! G8 e, p }
$ K% T+ a. N$ }- _) h- l& J; e1 o6 f! S& l! d$ M( M; W, y
style = function (v,s){1 M6 j! R# a/ ]" D
$style = function (){8 T* Y1 c; I' ?. X. W: ]
var $n = v.split(",") # m! n) _+ e* Q6 k3 c, l
for (var i=0;i<$n.length;i++ ){
$ `2 _0 R1 |# ^! f4 m0 y3 r var $m = $n<i>.split(":")
+ ?1 X. Q# a, b" W# h& B8 h eval("u.style."+$m[0]+"='"+$m[1]+"'");
+ y0 m+ ^& ?9 k) y& f7 R }
2 M" {9 J" L6 m3 K' Q$ c, Q# m' K, R }
6 A: `& X8 V& d& P $for(s,"$style")6 H8 b1 T) _8 ?# F) H
}
1 y* _+ K9 _, J' }. `4 o, ]. Q; i
value = function (v,s){0 q+ X% g u2 X, L
var $n= $this (v);
4 J! V& D1 x; C/ }. v8 E4 L $value = function (){2 V- M; \( `% o3 z7 y" H6 C
u.value = $n2 z* {1 g* j( Y+ a
}% H5 K7 U1 g! J3 O3 |! d
$for(s,"$value") 1 \: g- Y% E) R
}7 g6 H% a4 U' ?! Z" z4 A
. U( K4 o9 u, s3 l* @8 C! H
text = function (v,s){
- j( ^1 p5 s+ ~ var $n= $this (v);) p5 ~# c; S2 \3 B
$text = function (){
# h; _ Y5 B7 _7 G3 n# |
7 U, T" i( e3 U9 I u.text = $n
0 W; G% @" r c: d: |& q }
& M- _' I7 g& w; R" u $for(s,"$text") # A! X3 u. `, u0 r, M) d
}
+ _8 k( |, @' A y
# f6 M v) [" _+ {0 Z n/ [: l innerhtml = function (v,s){4 h# V8 |0 B7 L% ]; x1 _2 @
var $n= $this (v);
! b& w& s# J3 h( n $innerhtml = function (){
7 p6 P8 G- @0 J u.innerHTML = $n
8 d7 O+ ^: H! k2 ` ~0 x- O }1 T p, G' ~& G
$for(s,"$innerhtml")+ p% k) _/ r6 v \
}1 q, S( [1 o6 b! y2 A7 E, @
+ v4 y* B, A+ n; a
removechild = function (s){
( G2 ~; i8 G8 Z" C $removechild = function (){9 ^: D9 V" K* j1 v7 J$ x+ r! C, r
u.parentNode.removeChild(u) S% g+ z/ W% e- l( C. M* W" S' I
}; g/ U B+ P0 @+ B M
$for(s,"$removechild")2 ?, s& r( R8 o& } k3 k
}5 g' N2 l/ P# Q1 a
( ^, E0 x2 I* N/ d $this =function(v){
' h# R6 ~% w4 H" u if(v.indexOf("this") == 0){! f3 p% L1 [1 |+ O% D
return eval(v.replace("this","u"))
+ k; F4 I/ s# m% F2 f }
# L h+ Q1 B1 I1 _, w return v;- x. _7 {! C' f' ]
}
; |4 ]9 t/ y) O3 S ]5 E3 t9 U: ]# F$ H! ?% b' T
$event = function (s){
7 K1 P% N8 Q% h# r var $n ="u."+s+" = function(){$work(this,s);}"
0 R: _. T) j# G& m- c/ z* ` return $n;7 o; k: ^4 {) {) }; g
}! m; o7 S4 [9 [' @
' G; w z, \4 S3 Y: m5 H $replace = function (s){
6 t: M, W/ O: ?0 N# A$ G' v% c
( T5 J8 l8 L. W! q; ?' G# f }' N$ q/ i& V& C6 G
+ V0 A4 |, i+ I( N/ P, z
$for = function (s,c){
6 S$ |6 _. k, y& Q: J& h var $n="this."+c+"()" ;
" |/ H+ |/ N8 ^2 Z6 w if(s!=null){! L$ ^9 p3 ^8 T7 o6 C
var $m =$test(s);
2 i! v! p& z4 y z% V" q for (var i=0;i<$m.length ;i++ ){
; t$ i! z3 [( E4 N u = $m<i>;, p6 H/ p: P! e' ^2 O0 ]8 K
eval($n);; t4 L6 ^5 s) F1 C3 ^- f/ J* p
}
8 ]% z- r+ g! R; O8 r6 N2 `( [ }: _' ?- q j& C" b5 [+ z4 @% L
else{
* \/ ] I5 {2 d% w eval($n);4 W" C2 a1 w; ^% [
}9 j/ J4 z0 d3 p
}" Y: ^1 f+ w. u7 \, g
- Y% w/ K, @, |0 K! p
$test = function (a){& C! y/ O9 e! u% @
var o = new Array();$o(a.split(';'),o);
3 `! h, ?- P3 s& k' z+ O5 J: I) J return o;
( _5 y( n3 h* Y- W) r4 V# | }3 ^3 f, y7 G% ^ i8 z i* U
% G: F2 J, T0 L- s $format = function(s){
9 F# w: s2 @) R; M$ F, U% F- D& W while (s.indexOf("'")>0){7 U0 ]6 K5 U) B
s=s.replace("'","\"");. o3 c4 K/ Y2 m
}% ?6 d$ ]3 z Z, s7 {- N( u$ b. [
while (s.indexOf("][")>0){
, l/ e" U: t5 I0 t3 }; f. C s=s.replace("][","','")1 W" `. u' z% }) Y4 K
}
- _6 T$ f5 h0 c5 \( U: X while (s.indexOf("[")>0){
5 t4 l6 T% Z& \. b# _ s=s.replace("[","'").replace("]","'")
9 f& r6 c5 m# J0 G- Y/ S" e( ` } 9 }* Z9 B! E' k3 m- o# ]
return s;
C+ M2 ~$ C4 X% f8 p" e }7 V$ `1 a2 c* D% s7 p
3 l. m6 [- y0 p1 D9 | $work = function(w,s){; |! u% I( q3 m ]% G* H
u=w;eval(s)
- O: L6 s- O4 R; `1 ^+ m0 d }
, D+ y* E2 d% ]; l2 F. `$ \9 H0 f8 A: N3 b$ g+ b
$id = function (s){, V( [, f9 |, z% ~. l. M
return document.getElementById(s);- g! w$ A" o# L- w
}
9 F, a: ?) l! O5 M, E1 V
( g2 U# K/ L9 _' ]4 d( I9 `8 r $name = function (s){, p4 S1 ~5 F+ y' B
return document.getElementsByName(s);6 o% X1 W! N9 f1 O: K; ]
}
. a e* z& X1 D% t5 U2 _+ y+ n0 a1 ?# X# T% B
$tagname = function (s){, g' W6 f: D$ o& {& u+ w
return document.getElementsByTagName(s);5 Y; M2 j; a1 L/ g' H& v$ q
}% M5 N4 P+ K, u# F: C& D+ E. F4 y% A
! T) p& b3 ?2 x8 I
$o = function (a,o,c){6 L6 L& ^# q1 g! t- _
$push = function (n) {2 U! g+ X; S4 a# m1 [8 m8 `
for (var i=0;i< n.length;i++ ){- m( x+ r) |: w+ m1 U5 m
o.push(n<i>);3 m. O3 b N* Q& B
}
" l- B* N6 `/ A5 S( D }
6 ~: G# o# X( C! r+ V+ h" n( f for(var i=0;i<a.length;i++){
/ U" |0 R; a5 J- h if(a<i>.indexOf("(") >= 0){* g$ j* y+ p! G& d' D- O
c.push(a<i>);0 F0 P( H$ _/ E! @9 w$ d
}/ o; O$ z6 v1 N( i, v
if(a<i>.indexOf("~") > 0){
3 q; h7 F8 W2 b! e6 t* o3 w try {5 @1 _0 {9 l- _1 a/ t% t" S; _7 t
$push(eval(a<i>.replace("#","document.getElementById('").replace(" ~ @","').getElementsByTagName('")+"')")); \: n( q! s6 A& J. f
}catch(e)0 v& [" D9 b4 `' V" M; }
{} 0 B0 i% W$ `/ \1 R5 _
}, I4 t& `/ O- Z, U* J6 u0 c
else{
# P. k& E7 h, T9 W if(a<i>.indexOf("#")==0){
* ^* I; K# H, q1 y+ H o.push($id(a<i>.replace("#","")));$ x3 }! C/ R# O) L' `$ b
}& A7 m8 z' s7 @' k" F
if(a<i>.indexOf(".")==0){: m& m9 K6 p. |" A" i4 H. G# O
$push($name(a<i>.replace(".","")));
/ ?9 q4 S Q2 m3 ? J/ T }
+ Z2 B, z8 s# `% Z" a% w/ e+ ] if(a<i>.indexOf("@")==0 ){
( x+ [3 I% O. s5 V: {) u# l $push($tagname(a<i>.replace("@","")));
: a# c; C' d8 T+ G* B }5 V I& Y7 ]( D) m& G7 o9 t; f
if(a<i>.indexOf("*")==0){4 T; b s1 n+ J
$p= a<i>;* y: ~) A# E0 t& i% F# y' `4 p* `
if($p.indexOf(".")< 0){
" J$ j; w2 |: |8 I1 d+ a, D $p = $p.replace("parent","parentNode")/ b$ {4 N- c" {7 R+ l
}9 @7 c3 `9 ~1 c" L( z
var $p ="u."+$p.replace("*","");3 ]1 w! w2 b) s* i0 w6 s8 N
while ($p.indexOf("parent.")> 0){- f7 ]. [6 ]* [0 ?; r& G: H
$p = $p.replace("parent.","parentNode.")
% `2 S, ]3 ?; Z) l7 t }- P% v+ r+ Z) g7 i. c" }
while ($p.indexOf("child{")> 0){+ g; ^/ v- `" H2 f! t# |" R
$p = $p.replace("child{","childNodes[").replace("}","]")% H- _$ L5 q# I) |( W( q
}
- v& J1 B0 b) W- q o.push(eval($p));
4 T y( O: w/ V- M. U }& |, d9 `2 F# X1 [1 M. j* J
if(a<i>.indexOf("document")==0 || a<i>.indexOf("window")==0){
: o; Q) _+ M8 m! n. r) Z o.push(eval(a<i>));. @" M! Y( q8 y1 m* N* ^6 E; g
}% c1 |( J6 ]& K7 @! A
}
0 m; W; k* t* f8 s if(g!=null){ : C& `* ?: o: B: z& V
o.push(g);g=null
: h c% p V2 e0 S2 Y) Z } 2 c* D/ j) R# s) M. a. }
}4 u0 p, b+ i u/ y6 T
}1 I: b* P+ }6 j4 a
6 p# t6 _2 p9 u* G! ~. ~ $o(a,o,c);
# E! U& u8 Y* Q( Q6 `3 y6 u
( z* y: |* a6 r* o' v for(var i = 0;i<o.length;i++){
. `% p2 b; s% F for(var j=0;j<c.length;j++){- s* O+ E @0 G }7 `9 ]
u = o<i>;eval($format(c[j]));
, D/ T' w# V6 h( { }
+ t# s5 d' F7 Q4 j- t% ~9 g9 h6 U% O }
+ \! ^; l! G2 L2 Y0 Z. m1 l% v/ h. r" N, e( i) ?2 z4 J
if(o.length == 0){
3 q. X+ W5 K' J+ C0 `1 j5 C for(var i=0;i<c.length;i++){5 V8 d/ B% m& f, r% @* r N8 n
eval($format(c<i>));5 `/ `5 U& u$ n; v
}( ]7 A6 N0 u2 S$ c8 g
}! l5 n; m3 }3 z: E$ {. t1 K
, }9 Q" U' p% L. Q/ t$ q if(r!=null){4 l+ F4 X' G/ ?2 q$ U: J, x6 E) M
return r;4 ^: y0 o9 }. U
}6 h/ |% r9 m8 T" L7 b
# ^& L" K6 M* ^# f
if(o.length==1){8 ~1 Z+ S1 l/ g1 n O
return o[0];
* I# p& \6 L; t n' y1 B; z }
0 N) `# _- t& u else{
! p2 y6 W2 o2 {' K$ r return o
8 I% m# G5 u! U$ c; @8 i5 J2 d }
' F6 X$ Y% s5 t* e% J' s+ R3 b 6 D( q1 K; Q0 M* g
}4 ]% ~5 a" I G# O& U, q, f3 d$ H; d
var lrc =$("#lrc;show()").innerHTML.split("[");
# I) G) y1 g" X" Nif(lrc.length>5){
5 p/ s6 k7 L5 R b9 M5 a4 A+ Z( \( Qvar array = new Array();
1 h. }9 P% x7 M+ g* ?# ^( vfor (var i=0;i<lrc.length ;i++ )
' U7 O9 e2 y9 y5 |4 ^{/ V! ]/ E# J) V: O+ B
var g = new Object();9 ~& M( Q9 A. L4 J* [
t= lrc<i>.split("]");3 k( U2 d6 M5 E- z9 [$ _; t
g.time = getTime(t[0]);: C( [0 ]! d& P) Y" {0 l# u
if(isNaN(g.time))/ `* D+ I! i+ E; I2 P
continue;
, Q5 V* m2 r" x7 o1 P& H8 Z g.c = t[1];
# b( H! [, U4 A( E$ _ if(g.c == ""). C8 C6 s5 P+ k. B) h) n! `$ X
g.c = getNext(i);- M+ ]6 J& K% t& ^
array.push(g);
5 ~# X y' m1 w6 G: t}
: ~' }" G, c: Xarray.sort(function(x, y) {: w& X' M( S1 H5 E
if (x.time>y.time)
# E9 D, J0 J. S return 1;
. |6 a! A B" C F. R$ d" } else if(x.time<y.time)
. D' j3 I. t2 q9 V0 t return -1;
9 y. f& H3 q/ M; [; g else* e5 d0 D7 d6 e: Q
return 0;$ {, l# v1 p( K( T
} . b4 _0 ~; o# Q' M( W
);
: G% C* D4 K8 jfor(var i = 0;i<array.length;i++)* v) k" S& N v* R H* j7 m# l
{
3 y1 W% f2 k* o4 Q4 V: A var g = array<i>;
9 f- u, T1 F. w/ O, b5 f7 ?5 ~0 t if(!g.c){2 v; S* I9 K* A
g.c="";9 E: V8 U) {* }
}+ D: L$ s) }" s' m5 X3 Q" ^4 v4 k2 ?
$("#list").innerHTML+="<div id=lrc"+i+">"+g.c+"</div>";
3 L+ y" Z4 {' }2 y2 o}2 j" q& |5 [9 Z
var time = setInterval("lrcList()",500);
' @1 F g1 T. l$ D: v6 w. C) C6 z}else{
" K# D9 o6 q2 l& B6 G; T $("#list").innerHTML=$("#lrc").innerHTML;: B% H& w% b) ?/ ]3 l) q7 i
}3 V5 `0 y7 i1 }% t
function getNext(i)
8 Z, |9 m# F/ l6 x- ?1 l. H, T{: F! y, m8 h* M% B' `! b: g
var result = "";
( f. C4 e$ G9 u var i = i+1;7 ]8 M7 Y- l, X; u& T U
t = lrc<i>.split("]");
* ~0 l) Q' n8 K( ?# {& X if(t[1]=="")
$ s4 m a4 l2 M% E result = getNext(i);
4 u7 _0 J( h1 d% J7 A; [ d else
* p# g8 w( \2 j% x+ L M0 z result = t[1]/ @( w, s9 f8 n3 h8 c; U& E
return result;
% d1 N4 y# x) M% C2 x j6 v}
* \5 w6 E: h7 X; c# A7 u2 R6 _* T- H: o. v6 X; e3 n
function getTime(str)
" ~) k4 Z% E2 H7 A: O{
9 E$ d0 C2 H, v9 E$ b8 f9 \ var time =0;
6 D; B+ [1 L# V) Q3 ? var ta = str.split(":");
2 B' P8 Z. G. T1 y if(ta.length<2)$ G" m" K$ F8 n- H' f% ], @! A7 k
return time;
% H4 U7 q; N- V* j" U
5 ~2 b( r$ \9 I if(ta[1].indexOf(".")>0){1 V8 O5 u% ^! C- h# Q
var tb = ta[1].split(".");: ^" J6 N) {; [. e/ a6 a0 `9 \" C
time = ta[0]*60*1000+tb[0]*1000+tb[1]*10;/ G1 Y F$ e+ Y9 v9 }! J! Z
}
8 @- R) i8 V; F. t+ ~' q# M! T else
" n o7 h0 P4 n1 x: B1 | time =ta[0]*60*1000+ta[1]*1000;$ N4 s+ D+ u, i6 g- t. t( h! x% Z
return time;5 |7 o* C# g# {0 O
}( N# ~* R1 |" H* U7 `: ^& [
var preTime = 0;
2 {$ j; y2 T# S9 pvar nextTime = 0;
: B; G# X: j8 [" V( J2 o) b# pvar currIndex =0;
3 T/ A9 c* m, [function lrcList(){# [. h' g0 ]- L0 A# r. G& S9 a- s
var s = parent.document.getElementById("MediaPlayer").controls.currentPosition;4 g* K: O G( r% C1 t( ^
s = s*1000;, b1 h9 a& l: ]1 J9 g& d( H$ d
if(s==0){
* [ A- L5 d. J( k# _7 Z currIndex =0;
9 o3 v% {) F$ b% Q/ w $("#list").scrollTop = $("#lrc"+currIndex).offsetTop-30;: V+ K! J5 m) i! K2 V
for(var i=0;i<array.length;i++){. w! f6 t) f* t5 `. L! k
document.getElementById("lrc"+i).style.color=colorNormal;
3 t* A- ?/ p0 E; \) p$ C }( U1 ]/ ]( Y& y( T: [4 L3 W4 \
return;: s1 K5 a# |, a2 C5 U' r1 u+ b
}
6 u( b5 C5 ^3 E# p" |9 q if(s>0&&currIndex<array.length-1)) }( ` w2 ?. n" ~6 |2 G
{ " R1 p( ~9 X8 l7 a4 l- a. w
preTime = array[currIndex].time;
3 j1 Y4 \7 ?# V2 j) }2 K/ x( k$ U
4 ^, h+ D, `! O nextTime = array[currIndex+1].time;
" k" a. b+ {( \; @7 m/ q. Q0 z3 k
. V' m2 h- l# [* O$ } if(s>=preTime&&s<nextTime){
7 l8 \- B+ Z ~6 f) \# w. N }
% w0 M! V3 X. z else if(s>=nextTime)7 ~, E5 Z, c- j4 u/ b @; F
{
' B8 s1 X0 C0 B; e document.getElementById("lrc"+currIndex).style.color=colorPasted;- y7 b3 t4 x+ g. s, F3 l
currIndex++;
6 v3 U$ c& X4 O% ?. D $("#list").scrollTop = $("#lrc"+currIndex).offsetTop-30;
% _# ^8 t' {" B- P document.getElementById("lrc"+currIndex).style.color=colorPlaying;
8 Z p. g8 ^: }6 p lrcList();" f: s& v% W3 m+ P
}
6 \4 B; ?. h8 O8 e9 T/ a else{
" J9 b6 D5 d/ f1 R document.getElementById("lrc"+currIndex).style.color=colorNormal;
. h- S) f M6 {. V) | currIndex--;! t$ `+ J& r0 e6 I
$("#list").scrollTop = $("#lrc"+currIndex).offsetTop-30;2 ?# j% ?& t( Q/ b0 g
document.getElementById("lrc"+currIndex).style.color=colorPlaying;
. P* K/ O! e4 Q) i1 V I lrcList();3 ]( j" z, j2 E6 n% R# a0 f
}
: |" y5 f- b" Q }5 Y, l+ y t6 \( k
else
S' e) h" u* w. V6 g: o6 L% [ {# G# J- {5 S) u% ^/ O& r- W E
if(s<array[array.length-1].time){# H0 Y: @& V6 e9 `! E
currIndex = 0;
& `4 ^# J" J- r; W9 j& k2 w $("#list").scrollTop = $("#lrc"+currIndex).offsetTop-30;
' ~5 q3 j- O+ K* D) G for(var i=0;i<array.length;i++){: }$ W( L5 I6 o# b; z
document.getElementById("lrc"+i).style.color=colorNormal;" S2 A* T) w5 j
}
/ s' g( y, }2 j( T# {' D8 l lrcList();
" n# _! k3 e) x }: ]" }$ c H% \' ^
}2 l) [) W$ @/ k! ~* U! h
}9 f. m: W' m9 J4 a
</SCRIPT>% D ^3 I N# W7 H, W2 B& _2 S# s
</DIV></DIV>% O. z, G) X U, y2 _, N! w
/ o( S2 s1 L2 ?& b5 Z% x" _
[ 本帖最后由 幽谷兰 于 2008-9-18 17:36 编辑 ] |
|