|
<DIV id=list>
# I* u2 ^, ]* f4 \<DIV id=lrc1 style="COLOR: #666666">[wmv=0] http://lzbj.ncedu.net.cn/uploadfile/20083923248279.mp3[/wmv] </DIV>
: T7 F9 n4 f7 n' C2 B+ z% x4 X6 q<DIV style="COLOR: #666666">|等一分钟|听到这首歌,觉得它很动听,旋律很优美,很是喜欢,传上来给大家听听。</DIV>
; n, U' g4 g1 [) w1 e9 N<DIV id=lrc2 style="COLOR: #666666">词曲唱:徐誉滕</DIV>( M* k; e% P, b* [$ ]/ T; E1 |! H
<DIV id=lrc3 style="COLOR: #666666"></DIV>) B( W& n5 q+ M# g/ @
<DIV id=lrc5 style="COLOR: #666666">如果时间 </DIV>
' Y5 }& g' Q3 G# i4 a! T! A<DIV id=lrc6 style="COLOR: #666666">忘记了转 </DIV>
: B( Y9 v# N8 _0 [7 @9 a+ I<DIV id=lrc7 style="COLOR: #666666">忘了带走什么 </DIV>
0 _3 p+ U1 P) m4 ^+ ]; m<DIV id=lrc8 style="COLOR: #666666">你会不会 </DIV>
- Y! Y7 B- l+ r% `<DIV id=lrc9 style="COLOR: #666666">至今停在说爱我的那天 </DIV>: i6 |" \7 x @2 W1 W" i$ D
<DIV id=lrc10 style="COLOR: #666666">然后在世界的一个角 </DIV>0 K. F; Z2 P8 C
<DIV id=lrc11 style="COLOR: #666666">有了一个我们的家 </DIV>
+ `" c) p) R* D2 k4 d5 b( K& J<DIV id=lrc12 style="COLOR: #666666">你说我的胸膛会让你感到暖 </DIV>
0 [! h$ V& i, ~! ^; j( t( {7 d<DIV id=lrc13 style="COLOR: #666666">如果生命 </DIV>% x- C: N; N. @0 T, j' @7 G
<DIV id=lrc14 style="COLOR: #666666">没有遗憾 </DIV> G$ b1 r) H$ i, i. S( I
<DIV id=lrc15 style="COLOR: #666666">没有波澜 </DIV>! L; T) u2 r/ G7 d; n6 z
<DIV id=lrc16 style="COLOR: #666666">你会不会 </DIV>
& |2 Z! ]% G. n3 g<DIV id=lrc17 style="COLOR: #666666">永远没有说再见的一天 </DIV>& Q0 h; h. _; z. X& J( h% m
<DIV id=lrc18 style="COLOR: #666666">可能年少的心太柔软 </DIV>
m5 c6 V- r' L<DIV id=lrc19 style="COLOR: #666666">经不起风经不起浪 </DIV>
0 ^9 e+ o. \8 s- [7 H: t2 L<DIV id=lrc20 style="COLOR: #666666">若今天的我能回到昨天 </DIV>
M- K. ~- W# T: y; O) k0 a<DIV id=lrc21 style="COLOR: #666666">我会向自己妥协 </DIV>
r# H% u* P# h" m6 A<DIV id=lrc22 style="COLOR: #666666">我在等一分钟 </DIV>; s' s7 U/ R5 y y
<DIV id=lrc23 style="COLOR: #666666">或许下一分钟 </DIV>
/ | i0 y2 I, F9 u4 t8 K1 i# o<DIV id=lrc24 style="COLOR: #666666">看到你闪躲的眼 </DIV>
' k3 U) {1 m& D4 A<DIV id=lrc25 style="COLOR: #ff3300">我不会让伤心的泪挂满你的脸 </DIV>1 D/ |9 S* \- {# E+ S f- P
<DIV id=lrc26 style="COLOR: #000000">我在等一分钟 </DIV>
3 a1 J! k2 H3 X# \% {<DIV id=lrc27 style="COLOR: #000000">或许下一分钟 </DIV>+ G4 y" P5 p- H( W9 m. a! h
<DIV id=lrc28 style="COLOR: #000000">能够感觉你也心痛 </DIV>
* |, F- H6 z, o<DIV id=lrc29 style="COLOR: #000000">那一年我不会让离别成永远 </DIV>4 C# O3 U( |' x' c; a1 C
<DIV id=lrc30 style="COLOR: #000000">如果生命 </DIV>
' Q# k( h. g/ f6 e: X5 P<DIV id=lrc31 style="COLOR: #000000">没有遗憾 </DIV>) p( E1 P9 _( b' L4 Q( y
<DIV id=lrc32 style="COLOR: #000000">没有波澜 </DIV>
0 X F" a7 @2 K* a8 W<DIV id=lrc33 style="COLOR: #000000">你会不会 </DIV>
" L5 o; n( k" T7 n+ y; K' G2 S<DIV id=lrc34 style="COLOR: #000000">永远没有说再见的一天 </DIV>- Y' c$ h) |. d. u: h0 N
<DIV id=lrc35 style="COLOR: #000000">可能年少的心太柔软 </DIV>
7 U0 J2 k6 }& Y$ Z. c<DIV id=lrc36 style="COLOR: #000000">经不起风经不起浪 </DIV>
9 }) f, f/ T: T o. }: B. {, }<DIV id=lrc37 style="COLOR: #000000">若今天的我能回到昨天 </DIV>
0 A: D8 W) L6 j3 ?7 e<DIV id=lrc38 style="COLOR: #000000">我会向自己妥协 </DIV>
, v6 t' ^+ H* x) K- v8 w w<DIV id=lrc39 style="COLOR: #000000">我在等一分钟 </DIV>) O! w5 D% V/ o, B- M1 e8 [" o
<DIV id=lrc40 style="COLOR: #000000">或许下一分钟 </DIV>- P: b3 \& t! V- {% N; U9 d7 Z
<DIV id=lrc41 style="COLOR: #000000">看到你闪躲的眼 </DIV>
) y. z$ S0 ~2 f<DIV id=lrc42 style="COLOR: #000000">我不会让伤心的泪挂满你的脸 </DIV>
+ i- d/ G/ x/ T% W& N- |& w<DIV id=lrc43 style="COLOR: #000000">我在等一分钟 </DIV>
A. {8 |4 p% o2 n# [! m7 L# s# e6 j<DIV id=lrc44 style="COLOR: #000000">或许下一分钟 </DIV>
0 ^; P9 ]; _6 C7 Y<DIV id=lrc45 style="COLOR: #000000">能够感觉你也心痛 </DIV>
* O/ e0 v9 {; \<DIV id=lrc46 style="COLOR: #000000">那一年我不会让离别成永远 </DIV>
9 U0 c( o% }' {1 D" c) B1 p, I1 g<DIV id=lrc47 style="COLOR: #000000">我在等一分钟 </DIV>/ S: C2 u4 y* r5 _# {
<DIV id=lrc48 style="COLOR: #000000">或许下一分钟 </DIV>
; z0 c- g3 {5 ]5 H3 P6 ~% v<DIV id=lrc49 style="COLOR: #000000">看到你不舍的眼 </DIV>
; W, V8 U2 I* q. Y7 c4 A<DIV id=lrc50 style="COLOR: #000000">我会用一个拥抱换取你的转身 </DIV>0 S7 O( D3 f$ \9 Q, ~$ c I1 O" S# T
<DIV id=lrc51 style="COLOR: #000000">我在等一分钟 </DIV>
( M9 d. h" Z$ }0 [ _: ?& v<DIV id=lrc52 style="COLOR: #000000">或许下一分钟 </DIV>4 C" [5 a$ x2 W9 C$ b: b9 C* U
<DIV id=lrc53 style="COLOR: #000000">如果你真的也心痛 </DIV>4 \, G1 B8 X9 _. Q* a
<DIV id=lrc54 style="COLOR: #000000">我会告诉你我的胸膛依旧暖 5 B$ e7 f6 p( C4 Z' w6 V
<DIV id=lrc style="DISPLAY: none"></DIV>
. m- L6 u J* L: ?9 z<SCRIPT type=text/javascript>) ?8 g+ y9 {& @+ P' C/ i; J
document.domain="1ting.com";
& p& E! D6 M. t. P4 V8 bvar colorPasted="#666666";
+ [6 ~, n1 n% T0 bvar colorPlaying="#ff3300";5 [/ w+ q6 J$ X
var colorNormal="#000000";
{2 T: Q, v L# \$ = function (a,g){
3 p* g Y7 w% X6 l var o = new Array(); + D( @+ Z6 t0 \2 u7 e
var c = new Array(); / z9 f9 o% t I# O% C# X$ J7 w
var r; - O$ J! m: P- @ }3 l4 a% x% |
var u;
0 _8 O3 `$ @6 Y: T var a = a.split(';'); * U( i3 w5 r7 W4 ?1 ?$ Y
( d5 j) a6 `( o: G9 O& D
var e = "keydowns,resize,load,dblclick,click,mouseout,mouseover,mousemove,mouseup,mousedown,inputchange,inputfocus,inputblur".split(",");- s5 w, C. z6 O5 B/ {: L
for(var i=0;i<e.length;i++){, ~ M! ?& Q5 H @
eval(e<i>+" = function (s){eval($event('on"+e<i>.replace("input","")+"'))}")9 E- r9 f+ F# p$ V& F; x
}
! ~8 @/ E1 t' y1 ^3 ~
0 T- B; v0 _6 |9 ~. l after = function (t,d,s){
$ |1 R% T' r6 x' H/ P4 k% x $after = function (){3 s2 {& i, S+ J+ A- l. q
var $n=document.createElement(t);
+ v9 f( b! B2 ?' ` if(d!=null){" l. b6 z8 m8 ]+ m6 S/ C: {" _
$n.id=d;
3 f$ M5 |4 D, F M2 Y6 L+ z }
. t# x- v( p' U5 s" X/ O5 N
0 p6 Z, d2 m$ E2 | u.insertBefore($n,null)
! t- [ ?9 Q! j$ M* F0 |: M r = $n;
6 O5 H4 H; F% W5 P* w' K0 ]( E u = $n; $ g, M# I6 l4 {! t/ K
}) n- W, Z/ g/ ~6 ^
$for(s,"$after")
" b/ N' r. ~2 ~- Z% v# e }2 ]' ?# q4 H0 ^7 D9 B
! }9 O; j' C% m$ P: E7 i8 ^ show = function (s){
3 j2 B: Z1 C( S- f6 h4 s5 t0 n; L $show = function (){
2 K3 H6 T/ i( M" Y u.style.display!="none" ? style("display:none") : style("display:block") ;% Q7 t' B# n# y7 l1 B
}
' x& Y6 w: H( K% r1 P9 f( V* q( `, \ $for(s,"$show") _! q4 [. {3 [) R, L
}3 E* ?- c9 p, S9 |
$ g2 w5 F5 {' T( R- @ check = function (t,s){
9 Q/ I4 \% e0 z& n* z $check = function (){/ ^. G9 ? Q" R l" u+ c" D. C- T5 T
if(t=="2"){
% w$ R$ f" [7 ? if(u.checked){
% `3 k. {; t1 a9 s. ^ u.checked = false;( D" d4 I S+ J2 v( L7 \
}else{
, _" `" k- {& O u.checked = true;
* \7 W6 k- ?. R }
+ R ? V. {, H* M9 I. o- j }else{
3 [- K6 |4 K) [) F7 N O u.checked = t*1 ;# y6 l* d+ o8 D! [
}
1 A1 o0 @. E0 ] }/ E8 u* s9 Z4 J# r+ U7 ]
$for(s,"$check")6 ?/ w/ s4 l% \
}
: | R4 M: K7 [ D3 m& g# N; l) j2 E; {' T/ K m. r
style = function (v,s){
, @( }# U- @8 Y; R; S $style = function (){
. D; `& V Q# L var $n = v.split(",")
1 {1 _5 k6 _: H9 j7 \7 G for (var i=0;i<$n.length;i++ ){
' S5 G; A3 R4 c& b j var $m = $n<i>.split(":") * V0 {* E" r4 ~+ [& }+ D5 v
eval("u.style."+$m[0]+"='"+$m[1]+"'");& T& h" e1 K7 w
}
# b/ O+ X& |0 D1 ^, b" |7 e0 l }; V( X: [4 S$ M
$for(s,"$style")7 [' H. |- Z5 v0 d7 q3 p# ?$ n
}
7 l' c" s7 ^/ e, A" f" d9 I+ ]. b" Q; o( u' `5 F; W
value = function (v,s){
( O. ]' @. @, |( m var $n= $this (v);7 g: a% d0 v$ j, U7 m: |
$value = function (){) [: d0 L, M; }, v
u.value = $n- b7 E$ a. K/ u4 z* |& D5 Y
}/ I) R: ?) j: K; ]
$for(s,"$value") ! { S7 e3 Z/ T" ^( [' |4 z `
}
. L* ?, P% G2 ^4 o. H/ O" N8 t) I. m( i$ F
text = function (v,s){4 {5 E- g9 b/ U$ Q! f1 o I4 T
var $n= $this (v);
' Z# c* n- |* Q3 G' ^ $text = function (){
6 r/ K4 v. Y4 U( K& h8 C( b7 J 8 L# M+ u6 d7 `( W" ?1 x( K
u.text = $n
4 Q1 k0 `: p, k8 H5 r }
# E$ L1 l* X5 i! d $for(s,"$text")
# o K( |) s* J; {4 j }
$ t+ N9 r( N, A) B+ w" z$ X* s9 @, T v+ t2 h1 }
innerhtml = function (v,s){7 Y* u! |: n, V4 q* L2 x
var $n= $this (v);
3 S) d' _% |4 X) n# p Q; i $innerhtml = function (){
?# ?, D, T& g, Z% T2 N; W u.innerHTML = $n' u# M0 n y' A2 @
}
) s% a3 p3 k* k. M5 Z5 H $for(s,"$innerhtml")& W+ _9 a2 {: I& y' s I
}
1 i/ X! B0 n, O& S5 i
5 @* ^- R T& V removechild = function (s){
0 ]8 j1 e) Q5 |) ` $removechild = function (){6 W* N& w- \; L6 t3 m+ j' d
u.parentNode.removeChild(u)
: {) l7 d% g, M5 V }9 i( f7 b8 {7 a6 A
$for(s,"$removechild")/ y2 b+ C7 L/ n# t* C" v3 ^0 `
}' r1 c( G" N: S# @& H; v
" L! ~$ ^9 _: {# ]5 `! M& @
$this =function(v){
; A3 U1 [/ I/ W4 E! } if(v.indexOf("this") == 0){
+ g6 w9 u" ]5 S* l! j4 l1 s return eval(v.replace("this","u"))- }4 ?& i6 S) i+ c) T
}
# H3 ^' N' C% [) x* g/ n return v;3 F3 L, C. c+ p, }+ \
}
; R H0 v5 ~' B. p+ X* L' Q
; ~! |) i c3 c$ g& f( |9 `! C/ J $event = function (s){
4 K$ b! [) {+ ], }- k var $n ="u."+s+" = function(){$work(this,s);}"* o# M. `2 }/ l9 b7 @/ s; _9 y
return $n;; j6 d& b1 L1 e. o! X' v
}
" q9 E5 q/ d# `) l5 }: w1 ?: w+ }- Z/ b# {9 J& T
$replace = function (s){5 M v5 ?7 S' X! Q$ _1 x( s1 d. r
; I% `6 Y) E1 o3 h" t& q }
& O0 X; {' h4 e( v2 H6 j
6 w: H9 ^# `+ n( q# b* `: ? $for = function (s,c){. p+ e6 |2 \; f
var $n="this."+c+"()" ;6 M3 v8 M( n/ j
if(s!=null){. `2 c) @, u& [) n! w
var $m =$test(s);
+ |! \1 G: O" G, N. ^ for (var i=0;i<$m.length ;i++ ){" J* D W% z( I
u = $m<i>;8 T1 [8 D0 r" K' @* K- f
eval($n);" F# P M/ Z' ^2 T
}
' e4 c! [& o* ^; G% Y }
, O7 ]; w' P- G3 F8 o: |1 o else{8 s Y9 D3 F1 \8 p7 D
eval($n);. z5 Z* {/ Y. L0 D3 o6 z
}
" k0 I3 u) f1 b. H1 V; _2 k }+ i+ d( r% i3 ~" O6 m' R. }3 \
6 X* p1 t: r* |
$test = function (a){- \% y5 M: n& [# ~
var o = new Array();$o(a.split(';'),o);% r- T+ z, u+ P) {5 K
return o;
/ u5 O6 J3 [/ j$ ~; c }) u1 h8 Q! h* ^: X; \2 Q
8 N, p4 R" w4 c. f9 F4 \; v
$format = function(s){
5 M1 y& X" n1 |& ^8 e. b while (s.indexOf("'")>0){( r6 J$ a9 s, u8 k
s=s.replace("'","\"");+ h7 S2 T7 |, O; h- n1 H" v% t: ]
}8 a7 d- X6 x. Y& ?* H2 W
while (s.indexOf("][")>0){) z& Z7 L) S" |0 Q; z- R* Q- u- D: N" y
s=s.replace("][","','")7 a+ M& }7 O; _ s. N& K
}
, Q0 D3 A3 M9 |% y: ?% |8 N while (s.indexOf("[")>0){: N) k/ R% _$ n1 m9 |; v( a
s=s.replace("[","'").replace("]","'") a3 r6 t; J8 X" X! ] Y7 R
} + A1 L9 q: K9 ~7 ?7 s
return s;# \( S9 [; w. K
}
/ S7 w: n3 s( j4 h3 t! i8 I( z% `& e
$work = function(w,s){
\- y7 |0 V5 ?$ b( [ u=w;eval(s)
0 v9 z7 _4 W8 N! \ }' y( V: k$ M% v4 S! z) W2 Z
0 s2 [2 V) o$ `2 Y
$id = function (s){
4 H# X% g8 n1 L8 G9 o+ f return document.getElementById(s);
; G h9 e0 p( {1 J. ], u }
: P+ X6 V- [ i t& A) o$ ^1 l$ I3 |& G$ S7 I' u
$name = function (s){
4 S0 c! B7 G& X: H! s5 G; z% e! x return document.getElementsByName(s);- U* K; x4 h0 m, c
}" H" y, G U. l$ }- E7 C" b
+ W# `, q+ |' G/ B# b
$tagname = function (s){
) U4 H4 B2 q) m2 Y# L2 V% M return document.getElementsByTagName(s);
/ S" j+ a( t1 d. k* v9 z6 ` }1 V- P, X, v* M: C* Y- D" m8 |
% V- g1 ]2 k, j& r4 b8 Z: D $o = function (a,o,c){
' g1 |% u9 P/ I" S $push = function (n) { m8 T( E4 m# {- }
for (var i=0;i< n.length;i++ ){
5 E" J3 {- S' J o.push(n<i>);
9 R1 A. j+ q, _& v% r" f; R } , o1 W9 U1 e$ g6 O
} Y$ u: m5 O' M8 L3 b" Q+ h/ [
for(var i=0;i<a.length;i++){; S+ T8 Y: X) |8 j3 C8 ]
if(a<i>.indexOf("(") >= 0){
7 @" j5 \3 f7 C% `7 v5 h( e c.push(a<i>);) W* _9 f" u4 E' Y+ `7 U& ~
}3 x. ~+ {! r t7 b& O
if(a<i>.indexOf("~") > 0){
6 X9 x& M @3 T6 \& ^* y try {
+ ^" H$ s) R0 \. }1 { V $push(eval(a<i>.replace("#","document.getElementById('").replace(" ~ @","').getElementsByTagName('")+"')"));
( q1 z* ^2 E! o( w5 a }catch(e); |4 ~2 u/ h* E
{} E' ^5 G2 A; M, e/ l8 T
}3 i: M- g, K s! y
else{0 f% d$ P: R4 u, o6 M/ t- N
if(a<i>.indexOf("#")==0){
0 z, p% [7 G( D/ i' Z6 U9 K o.push($id(a<i>.replace("#","")));
! E4 \3 G( j5 G/ w' Z, Y6 M! g6 u; ]- q$ M }. @0 B1 T& D) u; U- c" X% d. S
if(a<i>.indexOf(".")==0){
/ |: ]$ _/ }" B7 [, g8 A' C $push($name(a<i>.replace(".","")));" T0 N, @! O4 r% A
}- ?7 j4 b# \* [
if(a<i>.indexOf("@")==0 ){
' L7 `4 S1 x! t) ~* B7 G$ s$ _5 W' G $push($tagname(a<i>.replace("@","")));# F- P$ m1 J; u- N
}& Z4 c2 m3 C* y, b
if(a<i>.indexOf("*")==0){7 ~* z6 y! c# y( ]$ ]4 D2 ]# |$ x
$p= a<i>;3 {6 ` W2 \# S1 P' u
if($p.indexOf(".")< 0){' A5 V. r' {+ J. G9 h! Q! x5 t
$p = $p.replace("parent","parentNode")
0 X1 l0 |" @+ i4 Z }
; Y, j* k3 {, y. h) _" E var $p ="u."+$p.replace("*","");
, l" A3 ]7 K# o8 p& p while ($p.indexOf("parent.")> 0){6 o+ @1 ? `& v% i3 u
$p = $p.replace("parent.","parentNode.")
& A6 T& o4 b N } M6 A& u/ b* i
while ($p.indexOf("child{")> 0){
2 J8 z+ z9 e+ K2 L $p = $p.replace("child{","childNodes[").replace("}","]")9 o# O5 M5 U2 w: Z1 n
}& u% Q: Z" d" J# S+ V% f
o.push(eval($p));
6 h; e. J% s9 I& I }
+ d$ S3 |! u5 p- y9 j8 D! H if(a<i>.indexOf("document")==0 || a<i>.indexOf("window")==0){
& K5 b9 d' S, v; `5 d7 g o.push(eval(a<i>));
9 O+ \, l+ B' I6 q$ B0 [ }* T: l7 o- `: E6 ~+ x$ v
}
. W; F3 q+ ^. R0 } if(g!=null){
1 \% T. C! u6 u4 V: X' t( K$ p9 J S o.push(g);g=null) G# s9 L7 R( b
} * \% e, ^5 [9 _' S$ D) a
}& u& g `; a# Y. w, w0 @
}
s; H6 f9 \- x- u/ C2 T( W2 g$ p& V6 m6 F% m3 i
$o(a,o,c);1 b9 `+ V- ^; m; F
, m2 m! D# Z3 [+ k8 E
for(var i = 0;i<o.length;i++){, w. f K. P4 |# C0 j3 m
for(var j=0;j<c.length;j++){! W. Q' L* n0 O. j6 Y7 } d; Y' D
u = o<i>;eval($format(c[j]));
P1 ]' ~) ]* s$ B5 J" E, N* Y }
: y& o2 L; Z4 Q& U, d: } }- U- _; T& S2 V e
0 W8 _$ V1 [1 \( a' C' o5 z
if(o.length == 0){
% b& k4 X2 b" y3 K6 L for(var i=0;i<c.length;i++){
- V1 v9 D/ E& h: M5 { eval($format(c<i>));
v6 ~ c0 _$ B$ l+ v }- x7 j, m* |0 ?5 H" J% [# K+ `" t
}
" s' H) N; A/ a# o, p4 ~
( S5 |& `' S/ F if(r!=null){
4 j# z# l% a+ e. c3 r2 O t return r;7 b8 g# I( c# j+ d" s* e
}- g8 `( K# |+ O6 ]1 P0 a7 s
0 K$ E2 s5 Y! M! {
if(o.length==1){
; f2 b* P0 ~5 j6 f return o[0];
: X ]- R* \" C( j" ` }7 c$ m; K8 @" @7 D) N( M$ d& l: w5 b
else{$ d( C! F2 ~2 A0 \
return o# v% [, \3 `0 o) F5 l
}
; k D7 R- I2 Q f2 {, f7 d6 Q
# u. _* Q$ R' z+ E: Y2 M- { }
% c" [- i# O" G4 f7 rvar lrc =$("#lrc;show()").innerHTML.split("[");5 ~: T. S5 M9 H# w& c" Y
if(lrc.length>5){
' l5 y8 }) I2 R: d% T0 X/ i$ W6 V' e6 _, nvar array = new Array();8 F$ _( q* v6 T; z/ j
for (var i=0;i<lrc.length ;i++ )
. ]; i: { @" s! L5 e' h{3 S$ G8 w+ v. R) l+ [9 p
var g = new Object();# p8 @) w) s8 `5 J/ d6 R% R
t= lrc<i>.split("]");- N# B+ g m2 t3 ^
g.time = getTime(t[0]);
$ j$ q% K( h' o0 U& ]( [! Q if(isNaN(g.time))$ K8 I1 w, }: M/ t# n/ K C3 e5 T) D
continue;9 p1 _6 I7 z0 F" Y& y6 Q$ n- x
g.c = t[1];
. C; Z/ Y0 M& J# j$ N. ^; T( ? if(g.c == "")# V2 B- D% y) a1 r6 Y! G7 j& k, I! S
g.c = getNext(i);
T0 B+ G r" [2 _ array.push(g);( G$ P! v1 ?% y9 i$ n/ g4 Z% k
}# W/ c, H4 u+ \1 n7 \; S
array.sort(function(x, y) {) L3 r2 y2 @3 V) d
if (x.time>y.time) , [9 K, X- U0 u7 q2 v
return 1;5 r( ~& [3 ]3 h4 S
else if(x.time<y.time)6 K3 D& ^3 x6 ?* m9 S
return -1;! f3 @$ N; W/ C/ j! t
else
3 B, i& Y" v. H8 K" ]8 L; r return 0;. L. P6 d: I5 x
}
9 H- k( v3 `( \& ?! G);0 `0 R, J: |) _! t+ t# p$ o
for(var i = 0;i<array.length;i++)
0 i3 S4 n, F* `8 B. t{8 n7 r9 z" a/ h1 ?3 z: ]
var g = array<i>;
: @$ k2 Z. N+ [& \/ M if(!g.c){
9 v3 m9 u6 y6 Z: Z g.c="";
; M6 e, c4 C0 h5 U% `& C }) ^5 T0 T3 p, P0 j
$("#list").innerHTML+="<div id=lrc"+i+">"+g.c+"</div>";
2 @& U" i) _$ T+ h( j& W}0 f& P- S9 e J6 N" N5 C4 A
var time = setInterval("lrcList()",500); 2 a: f/ P$ s1 ]8 N
}else{3 b- M! x/ k& C! ]& [
$("#list").innerHTML=$("#lrc").innerHTML;0 a0 E0 V% R: J; l4 c
}! j# D' X# v* a# j W8 X
function getNext(i)- F2 T8 W J8 K$ C
{) @) G0 B+ ?- j2 \1 Q5 G
var result = "";9 \/ q; u- E# B& `! [% F
var i = i+1;* D+ N8 l1 F+ ?9 S$ ^8 t- Q3 o
t = lrc<i>.split("]");8 x/ R( k, ^5 E8 C8 X X( Z7 E. |
if(t[1]=="")
) a* c* k M/ U result = getNext(i);
: \. W, l6 y. \ else
5 R, b5 l- N1 o/ G; Y: d5 J result = t[1]! f& _" y, W) n3 J0 T6 f7 F l
return result;5 U0 S! `* R( n1 b; A- A$ @- {9 Z
}
1 l" Y9 V, w6 ~! W! J/ L
0 @( c/ b% V6 k! P" f' O! Ffunction getTime(str)
. A% ^( v$ x# Y+ D% u/ V0 f/ \* b{
3 q" w8 I/ q1 G: v @ var time =0;
( Q" J+ O- S& o; a' A var ta = str.split(":");
) c; K& \2 H. ^# G if(ta.length<2)
/ o: N6 m8 r2 `9 v8 I4 S: T/ M return time;. l( g" ^3 D) e3 B* X$ Z- Z
/ [* |1 x+ |5 F; }" J% O4 G/ ~% b if(ta[1].indexOf(".")>0){& h: s! y. l+ }/ E$ s8 j) h" e, w- Z
var tb = ta[1].split(".");5 p6 W; N' I# ?+ R. X( i
time = ta[0]*60*1000+tb[0]*1000+tb[1]*10;
6 g( \; R1 {7 Z }
8 X; o6 m: m* ]' ]! u else8 h, f9 }& j7 a; }- k3 L5 R
time =ta[0]*60*1000+ta[1]*1000;
( q; B# O0 B2 p! y return time;
! X9 T, |1 U& ?. f, t, N}, d2 C& B* \5 F- u, M% J! o3 E
var preTime = 0;
( n* `+ R1 E* m! d; Ovar nextTime = 0;
, k% b' v4 v _" nvar currIndex =0;
! N3 V! J. x% Z' `* W4 @/ afunction lrcList(){$ P- F7 t$ @$ F! v! P- J. x$ h
var s = parent.document.getElementById("MediaPlayer").controls.currentPosition;
2 g5 j/ t* q/ y" D s = s*1000;1 p# a$ l9 d+ F' R. C2 R. D
if(s==0){
( ?2 O; ~3 S5 Z currIndex =0;5 Q6 ~7 q2 ^; k* h/ Q T, ?7 E
$("#list").scrollTop = $("#lrc"+currIndex).offsetTop-30;; b& B; {& H7 o9 A, j0 D
for(var i=0;i<array.length;i++){
, X- P; W- Q* c7 W" ]9 n document.getElementById("lrc"+i).style.color=colorNormal;' m/ K. v; [: p& ]& @
}
# |( x# P2 h- E+ M; C( F return;2 c; f' H; W. Q, f% R
}& r$ q+ l4 T6 h" [
if(s>0&&currIndex<array.length-1). j6 e* t j d) B! {- Q9 C" [
{ # g( e1 {& P0 D4 m
preTime = array[currIndex].time;
( P' y# d) H- A) C% A+ T
* w3 n. P- g x nextTime = array[currIndex+1].time;
/ E, p n7 U. E! F) l 6 w- z% d& |. O8 h4 r" V( X" g
if(s>=preTime&&s<nextTime){; Y, E0 H& W3 w- D$ W6 ?
}
) _4 @& y7 _# h( W `8 Q# T2 F else if(s>=nextTime)
! a/ @' c2 _0 Z$ s$ \) _ {
{- m# @. W9 N& F. i: P document.getElementById("lrc"+currIndex).style.color=colorPasted;
; C8 ~) _% y! u" j. A currIndex++;
: k4 G7 ^3 b0 N) o; R $("#list").scrollTop = $("#lrc"+currIndex).offsetTop-30;; p0 K v- ], E
document.getElementById("lrc"+currIndex).style.color=colorPlaying;
1 m. K6 S4 C. H1 i. H6 B lrcList();
) g! N( D/ E. L1 c9 v1 S R0 C8 |! s8 {0 { }
1 C# i) H1 F8 t5 y. o5 m. s else{
* B p; j+ O8 W9 D: E4 x document.getElementById("lrc"+currIndex).style.color=colorNormal;
" ]7 f0 X4 l4 U; c. R7 V) k8 E currIndex--;
& U. S4 X1 \) q$ k; P& h+ x $("#list").scrollTop = $("#lrc"+currIndex).offsetTop-30;+ {' \) J( N! ]6 B: B5 J: M
document.getElementById("lrc"+currIndex).style.color=colorPlaying;. c* _6 D. S H5 h5 S9 F4 \2 b0 ~4 J8 `
lrcList();( V/ X5 K# E: K; j4 E
}
# d/ V/ { K5 d4 m! V( v3 _ } a: P+ D4 }3 n: u7 g/ I
else; U8 _3 a1 {4 s# _
{
( v2 J8 R6 o$ q6 ^) Q" C if(s<array[array.length-1].time){
5 K, q+ Y, N+ w }* D# ~$ e currIndex = 0;
N( j" g5 |% n3 N/ E: @8 } $("#list").scrollTop = $("#lrc"+currIndex).offsetTop-30;( J7 O1 }$ } E0 d6 r. ^, m7 Q
for(var i=0;i<array.length;i++){
U& n& n K, } document.getElementById("lrc"+i).style.color=colorNormal;
. _1 l: r8 L7 L) \ }
5 b- K1 ~3 X6 n2 B0 e lrcList();
4 j1 U+ |4 x3 W; b- Q# c }" {0 h4 l1 S5 c0 K7 u% i
}
R& ~5 I# f F) Y A/ i- c7 J}
) c+ E6 `6 O1 k2 G</SCRIPT> M) f0 z% F( T+ _% Y
</DIV></DIV>% ?7 ~1 j8 R, L4 N
& I1 p5 S/ X( U8 b6 ~( ?[ 本帖最后由 幽谷兰 于 2008-9-18 17:36 编辑 ] |
|