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