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