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