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