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