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