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