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