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