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