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