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