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