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