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