|
|
<DIV id=list>
% b( V3 v& f9 [, Z5 P<DIV id=lrc1 style="COLOR: #666666">[wmv=0] http://lzbj.ncedu.net.cn/uploadfile/20083923248279.mp3[/wmv] </DIV>
' y( ?7 A6 T6 J( t) w& a0 ?' c<DIV style="COLOR: #666666">|等一分钟|听到这首歌,觉得它很动听,旋律很优美,很是喜欢,传上来给大家听听。</DIV>1 J, K& o$ F' c) Z
<DIV id=lrc2 style="COLOR: #666666">词曲唱:徐誉滕</DIV>
; m& c( u0 i. P% ^6 ]) [" ^+ k<DIV id=lrc3 style="COLOR: #666666"></DIV>
2 C6 M3 @8 x8 G i- G5 Q<DIV id=lrc5 style="COLOR: #666666">如果时间 </DIV>* {2 f r+ P# q$ _4 s$ s
<DIV id=lrc6 style="COLOR: #666666">忘记了转 </DIV>, _1 c3 n* i8 h9 q. N7 d( o& @
<DIV id=lrc7 style="COLOR: #666666">忘了带走什么 </DIV>
+ D6 A, K* F3 y# T7 M. c9 D& A<DIV id=lrc8 style="COLOR: #666666">你会不会 </DIV>; h6 ^1 N5 ?) x+ ]
<DIV id=lrc9 style="COLOR: #666666">至今停在说爱我的那天 </DIV>
# R# g! ^0 h* f+ Y5 {1 D4 {' \<DIV id=lrc10 style="COLOR: #666666">然后在世界的一个角 </DIV>
* X/ ?) p* H9 J1 m9 t/ A/ a<DIV id=lrc11 style="COLOR: #666666">有了一个我们的家 </DIV>
& J, G" e6 t* }<DIV id=lrc12 style="COLOR: #666666">你说我的胸膛会让你感到暖 </DIV>
: ?! e# r0 t& {+ {) h<DIV id=lrc13 style="COLOR: #666666">如果生命 </DIV>7 c" x0 G1 B; {: q
<DIV id=lrc14 style="COLOR: #666666">没有遗憾 </DIV>6 R: D2 o& k( r
<DIV id=lrc15 style="COLOR: #666666">没有波澜 </DIV>4 Q& f( v! A* ~# v7 @# R0 D
<DIV id=lrc16 style="COLOR: #666666">你会不会 </DIV>
* u" g( W u3 v<DIV id=lrc17 style="COLOR: #666666">永远没有说再见的一天 </DIV>( P( F9 j; t7 R
<DIV id=lrc18 style="COLOR: #666666">可能年少的心太柔软 </DIV>, L& [( v" T" `
<DIV id=lrc19 style="COLOR: #666666">经不起风经不起浪 </DIV>' {6 }% M0 U, y/ Q+ y
<DIV id=lrc20 style="COLOR: #666666">若今天的我能回到昨天 </DIV>
* K: x- Z- i! W, n0 E' o<DIV id=lrc21 style="COLOR: #666666">我会向自己妥协 </DIV>9 t3 A: d+ w' z+ i" `
<DIV id=lrc22 style="COLOR: #666666">我在等一分钟 </DIV>
: \7 W3 v3 C# b3 s1 O1 T<DIV id=lrc23 style="COLOR: #666666">或许下一分钟 </DIV>/ i' W+ e/ p! G6 ~
<DIV id=lrc24 style="COLOR: #666666">看到你闪躲的眼 </DIV>! P: P, R c9 K+ a8 Z: j; Q* e
<DIV id=lrc25 style="COLOR: #ff3300">我不会让伤心的泪挂满你的脸 </DIV>& {9 n1 Y# v- R" x; k
<DIV id=lrc26 style="COLOR: #000000">我在等一分钟 </DIV>% B6 R1 ^* M) h: h6 X$ A
<DIV id=lrc27 style="COLOR: #000000">或许下一分钟 </DIV>
# F2 ~# ^0 i$ @4 W: g/ l<DIV id=lrc28 style="COLOR: #000000">能够感觉你也心痛 </DIV>
5 c" c9 f. j# O" m$ R" ]<DIV id=lrc29 style="COLOR: #000000">那一年我不会让离别成永远 </DIV>
$ H' e$ k' g2 p9 z* O' s9 X3 U<DIV id=lrc30 style="COLOR: #000000">如果生命 </DIV>
! h: u( Q4 E4 K. q<DIV id=lrc31 style="COLOR: #000000">没有遗憾 </DIV>( v( t8 P. |* N* n; Y# @. R+ ^
<DIV id=lrc32 style="COLOR: #000000">没有波澜 </DIV>
: j" X" P) h+ x* T+ E<DIV id=lrc33 style="COLOR: #000000">你会不会 </DIV>/ P* i, R. V A6 c; I% l5 @
<DIV id=lrc34 style="COLOR: #000000">永远没有说再见的一天 </DIV>
5 Z M3 [6 y) s<DIV id=lrc35 style="COLOR: #000000">可能年少的心太柔软 </DIV>
! F# Y* F" y0 c- l; K<DIV id=lrc36 style="COLOR: #000000">经不起风经不起浪 </DIV>5 o0 W* ]/ c' V Y c. x- N
<DIV id=lrc37 style="COLOR: #000000">若今天的我能回到昨天 </DIV>4 o @# B8 t3 w+ u; v7 u# T
<DIV id=lrc38 style="COLOR: #000000">我会向自己妥协 </DIV>$ e \, G9 R! z- ?2 q$ ~- R2 b
<DIV id=lrc39 style="COLOR: #000000">我在等一分钟 </DIV>
& j6 l8 o8 u+ h# U3 _9 M5 E8 V. i<DIV id=lrc40 style="COLOR: #000000">或许下一分钟 </DIV>$ G9 P$ H i/ Q5 x6 o! ?; l% L
<DIV id=lrc41 style="COLOR: #000000">看到你闪躲的眼 </DIV>! B, A. m1 a" y1 Q8 U7 Z' ~
<DIV id=lrc42 style="COLOR: #000000">我不会让伤心的泪挂满你的脸 </DIV>, ?% [) L, t2 B+ `3 T7 Q
<DIV id=lrc43 style="COLOR: #000000">我在等一分钟 </DIV>6 R( P: p) G* e5 S& R: H% {
<DIV id=lrc44 style="COLOR: #000000">或许下一分钟 </DIV>6 c/ G/ }- W% P$ F1 O
<DIV id=lrc45 style="COLOR: #000000">能够感觉你也心痛 </DIV>
1 f4 Y1 J1 m/ A<DIV id=lrc46 style="COLOR: #000000">那一年我不会让离别成永远 </DIV># F R7 w/ u* p/ b6 y" V$ F( \2 k
<DIV id=lrc47 style="COLOR: #000000">我在等一分钟 </DIV>( ]% d" ], j8 b4 m# d
<DIV id=lrc48 style="COLOR: #000000">或许下一分钟 </DIV>
h1 U# l) P6 \7 l<DIV id=lrc49 style="COLOR: #000000">看到你不舍的眼 </DIV>3 e1 A6 K- Q. |/ Q
<DIV id=lrc50 style="COLOR: #000000">我会用一个拥抱换取你的转身 </DIV>
, R* A0 z3 P1 |1 T<DIV id=lrc51 style="COLOR: #000000">我在等一分钟 </DIV>( f# P @$ Z# \2 Z
<DIV id=lrc52 style="COLOR: #000000">或许下一分钟 </DIV>
2 z! E% N8 x) z" Z: }" P& B<DIV id=lrc53 style="COLOR: #000000">如果你真的也心痛 </DIV>/ V/ P: E4 L h3 Z/ I9 \2 K, F' n
<DIV id=lrc54 style="COLOR: #000000">我会告诉你我的胸膛依旧暖
2 E/ K/ o$ N0 m% N) |<DIV id=lrc style="DISPLAY: none"></DIV>! R* `. }/ |1 p1 w5 t
<SCRIPT type=text/javascript>
( D* a9 j! {; f) c/ Udocument.domain="1ting.com";
1 D& q5 S2 I& ^! W5 d+ U; a6 {2 Svar colorPasted="#666666";6 L$ `; t; O+ B
var colorPlaying="#ff3300";3 w! K1 }0 Q7 g2 B( z$ i0 x" q
var colorNormal="#000000";3 f5 q3 g7 @% U2 _ }
$ = function (a,g){/ o, m+ @. n6 m, R
var o = new Array();
' n) m% o* w. h" n$ a; L var c = new Array(); , L- W; F9 G3 [" v
var r;
& j. b! M9 h4 l7 s var u; , N( T! y1 A% r: n# J3 t7 p
var a = a.split(';'); ! f% W8 T6 A2 h: g: D/ i! h
: Q8 X/ M, E6 Q+ Q var e = "keydowns,resize,load,dblclick,click,mouseout,mouseover,mousemove,mouseup,mousedown,inputchange,inputfocus,inputblur".split(",");
( K7 C- w- P8 x8 S7 ] for(var i=0;i<e.length;i++){
- C; M2 W; E. O; t) E eval(e<i>+" = function (s){eval($event('on"+e<i>.replace("input","")+"'))}")
5 y+ D' ?- b% L3 A% W: l }
, C! f; b% u- `9 O2 U
* A/ y, k( }7 y$ d after = function (t,d,s){
( j1 w% w& W \1 l% l) G $after = function (){, I2 ^5 y: F5 p
var $n=document.createElement(t);
. L3 Y& F" H; ]) Y. p& A, t" P+ f if(d!=null){
- k& n1 _# S4 z0 x1 u $n.id=d; - t G5 g3 X v2 I
}; n( ~: z6 ` ]. q& @1 j+ y! S
3 x3 |9 ^$ F7 B: x9 Z! u3 U! M
u.insertBefore($n,null) " e- ^& D9 U) e2 @! Q
r = $n; ( W" J7 W3 H0 i& e) z
u = $n; 3 y) s& i- S0 K
}
* D, L$ ^8 [% Y3 q7 r2 [/ r $for(s,"$after")
' @; D+ V5 S; @+ g# ~% g2 w3 P }8 S, i& K5 ]5 L& F* m7 T3 d& L1 w
7 e3 Z4 L$ j; H# m. s" q- P! D9 Y; c
show = function (s){
. e4 N, m; W: q4 o $show = function (){
3 M0 {; A0 Z! p0 k2 m5 ?' ~ u.style.display!="none" ? style("display:none") : style("display:block") ; b3 P# ]: T$ p
}- A& }, E; n! s4 ^7 c0 G
$for(s,"$show")
1 ]& f/ L8 _2 O [ }2 U+ X" H- f& z5 l
4 E! q9 x2 R* U9 {8 m& J check = function (t,s){
, U: V0 f* q5 Y; P' j" g m+ c4 N $check = function (){
" J3 @5 X9 e6 e4 [2 t if(t=="2"){, F% v0 A' T2 q( J K+ R
if(u.checked){
" {2 I, n* O4 ]7 U( s+ z u.checked = false;+ b) W# Z% {5 p! Q
}else{. v- {# N2 f, D' X
u.checked = true;
3 k1 ^7 \$ c0 J# ^0 B/ i8 R8 O6 C }
6 s" `" ?$ q5 z }else{
5 ]" a5 t, `2 L% c u.checked = t*1 ;
' j) E# r8 w( K y% o }
) D$ C5 w: C/ W- |" U$ U }
/ _$ H/ `6 M/ G $for(s,"$check")8 a6 T+ y; O6 k8 J# Q M
}/ ?# B: i; o6 V" U: W
. x g R+ w# G/ L5 Z$ y' ~% z& E
style = function (v,s){
% I5 n- j5 d# Z1 H7 ?- C5 V $style = function (){
- `. w/ b, z/ c* o; {4 L( E var $n = v.split(",")
+ c% p$ m0 d( E7 v for (var i=0;i<$n.length;i++ ){) ~6 c5 F0 e0 f3 ]) E2 x
var $m = $n<i>.split(":") % g& H! W3 Z9 t" z( V5 g
eval("u.style."+$m[0]+"='"+$m[1]+"'");
$ h5 ?8 _' W' n) A% R, E }
. f+ U. e! d; c/ e5 ]* T8 Q3 j' M }
4 ^, G- D! m: _1 e# K+ D4 S $for(s,"$style")& h7 Z6 e h9 G- ~2 B9 i1 o
}% _; x- A6 }+ a
# u9 J5 s. B0 P* R
value = function (v,s){
+ S! B; ]: w+ i" Y var $n= $this (v); v2 {: m i5 h3 q) v p; P
$value = function (){
* M+ i; W0 Z1 Y( h- \( @ u.value = $n
. ?+ I7 |& y. H }
; p( J. P: s( b- q7 k) X $for(s,"$value")
/ Z( t' ?9 _& [8 y o5 e. i }8 u; Q. Z) M& E
+ n, {6 x8 f a$ [ J' r
text = function (v,s){$ U. J% P% i' C1 {& U8 o# l
var $n= $this (v);3 a7 X% m- w# _
$text = function (){, p* C2 h" T9 k* y
0 ] \6 S$ c: o9 q1 } u.text = $n
6 v& p* j+ P1 r0 T0 L8 p# F' M }1 v! P; J( Y5 s) D! y
$for(s,"$text") + c. p# t! X1 r; L ^7 ]7 Y
}
4 d2 ?5 Z# j0 m, N5 f1 K
! k% }6 _) T' _/ j" I2 J innerhtml = function (v,s){; ]' p- V( J2 `0 m2 I1 T; T
var $n= $this (v);
+ E2 }' I+ C0 i4 N1 e7 O' R% k& _ $innerhtml = function (){
6 q$ u: P& @: q! O: B u.innerHTML = $n
2 L$ ], P3 N0 L' Z# v+ @ }
4 z1 _9 ^8 l+ B. M $for(s,"$innerhtml")% u+ Y1 ]1 A3 x. u
}
F: s, h# b, V" O
6 M' L/ N3 V0 s( w9 \$ r removechild = function (s){
* y: ~7 L8 a# G3 L+ f4 h' }$ Q( o $removechild = function (){5 H9 J/ c0 ]! D( [
u.parentNode.removeChild(u)+ ?, u. l: _& I- m: x: w
}
% L; v: r6 M! N( [" v. u $for(s,"$removechild"), D1 S" |" T4 |0 T5 {0 w7 l J
}
9 d+ u7 K: j. c1 `- G
) X7 z8 O& a: ?8 g8 v0 h) w $this =function(v){1 o: g( o, \$ S' T- a- V1 K
if(v.indexOf("this") == 0){: ^: U6 H8 j0 f
return eval(v.replace("this","u"))+ {; E7 e/ N6 R) W9 l& f* X, D- p
}
- h- g2 Z0 [- T! Q% _5 P return v;
$ C# V5 B3 o: S( I4 L6 n: B }
' M/ |$ {( `. r$ E: ~, T _2 y7 T5 M7 I( o
$event = function (s){1 t" Y3 w0 Y3 Y5 S W' I) ?% J
var $n ="u."+s+" = function(){$work(this,s);}"
2 W- I% F; J" J: }8 _" T3 ^ return $n;
, f2 C. G: m3 w3 `; r& Q" | }9 w- `, J) v# C' ]* S
# M/ s \, i6 m. R $replace = function (s){6 C9 M# Q+ @; v( n
5 H8 a0 F7 o* v# ]- S }
' Z5 _* l) u7 c* L! D% `. o$ i, N q; B' X7 F3 }/ P
$for = function (s,c){
: Y( K0 ? s/ Y) c var $n="this."+c+"()" ;. [9 |- V3 |2 V( [* ]( i
if(s!=null){
! C0 L' t) W+ B6 `/ T3 V/ v1 ? var $m =$test(s);: ~* o1 A' {" r3 Y6 N9 z) L* j
for (var i=0;i<$m.length ;i++ ){8 t1 l$ W5 |( E( v/ A% q5 v, K
u = $m<i>;& X) S2 c1 `) d+ q3 G4 g0 M
eval($n);
& V, g& q) p: W, I$ r }+ Y8 {' z/ ?, S- ]' M$ C G
}
3 G3 y2 r6 R0 F- @) Q; T0 i' T else{
: a8 h3 ?- U5 J8 K( B- c+ P eval($n);5 m* R M( R) G( b" \( C
}
- x3 {) t2 @4 Y" T }
% { S) \3 w0 `7 ?$ f! a; Z3 L 1 h1 S% k9 z1 @" J/ p
$test = function (a){
/ N# ~: j/ l/ E8 x& H0 L+ { var o = new Array();$o(a.split(';'),o);- |( S7 s' E( Z$ H
return o;" K9 E% z; o3 T9 }
}6 [& E, ~* r7 S9 e% G7 O f% d5 J
$ [( e2 i# @1 }4 Q$ C+ f $format = function(s){8 |$ \" L" l& y2 [/ b% ] I" P- n
while (s.indexOf("'")>0){* L, z8 |1 _+ w/ ^ ]
s=s.replace("'","\"");# X2 X- F: m2 f# a! s, y( V
}) ]9 n+ ?( [3 x/ j) o, m% G; @
while (s.indexOf("][")>0){) U" Z: j$ |4 J0 I7 X' w
s=s.replace("][","','")8 a) [" j5 ~5 h7 K: v
}3 }) _7 S9 W6 ?2 X! |" t, d4 i
while (s.indexOf("[")>0){: ?. S+ H& A' ^
s=s.replace("[","'").replace("]","'")
- m$ D# ?" u) L# |# E }
+ [4 p1 |1 a: u8 } return s;0 C) s1 O( m4 D
}& L8 D% a2 Q& |& f2 C4 y c% n. N
# B. l3 O) b; ]9 V$ J: H; ~( @+ l $work = function(w,s){
- K9 X! d2 m9 u7 f O: h/ q u=w;eval(s)
: ]) C5 c. b3 x0 z D }4 f1 j E2 R, p
. o: e3 z- ^! K $id = function (s){9 i; O: M' ~% y
return document.getElementById(s);
. f) R" J- a) p }
& {( o) s$ l' O$ y' U2 Y. O! w9 a" @
$name = function (s){
2 s( T9 a4 s4 Q: F D5 L return document.getElementsByName(s);
9 O4 E' h! o( S4 ~: T6 ^& V6 w }& O9 }2 S- {8 W3 a5 T0 i$ i8 B
: @. {! m% c* z0 M $tagname = function (s){
: k A7 \: d( u1 {; h% l return document.getElementsByTagName(s);0 A2 [' S* I& |- l
}+ L* R/ z' B6 K5 Q4 y o
. c4 N; G8 N' p( c5 c* k% L5 ` s7 ~$ p8 E5 I $o = function (a,o,c){+ j* Z( }) C3 Y+ D/ g1 O
$push = function (n) {4 t5 ]# h6 ?* M. R9 D! T
for (var i=0;i< n.length;i++ ){
, w: P7 @! } |' n! R o.push(n<i>);: _4 u) d' p" u' C
}
O9 e C$ p! Y }
* P; Q/ n3 {0 d6 u for(var i=0;i<a.length;i++){8 v" Z$ B) l8 u4 g
if(a<i>.indexOf("(") >= 0){
, ^; k) ?2 P- @ c.push(a<i>);- H( z7 E( F* l. A
}
; _& U( M5 P) f5 C if(a<i>.indexOf("~") > 0){
2 h: `' A. c/ K5 ^2 k: }7 C try {2 ~) S, l9 G& C( M5 X& I
$push(eval(a<i>.replace("#","document.getElementById('").replace(" ~ @","').getElementsByTagName('")+"')"));; b; T- l$ H. V2 ]3 ?3 z1 y% o) A
}catch(e)" {: n/ O! M) t, M% I1 {
{}
/ }! U3 o" {( \8 i }2 @( e0 Y% d _7 l3 K2 {: I
else{# N2 ~! \% F2 D5 {1 H
if(a<i>.indexOf("#")==0){/ W+ b9 \" l7 x9 M- U' N
o.push($id(a<i>.replace("#","")));. W) @5 ]: s5 d8 R+ |+ Y
}
- M; d7 H% S5 w if(a<i>.indexOf(".")==0){
( j+ M7 ?8 l1 C $push($name(a<i>.replace(".","")));
, a# F5 s* Y7 U9 ~. I3 S } @1 k+ d3 v h8 L0 j8 E$ w1 ]3 Z
if(a<i>.indexOf("@")==0 ){
1 _( g7 ~. v2 A- c4 W! ^5 r $push($tagname(a<i>.replace("@","")));; C3 I; t- V. l% v+ R) {4 K
}
+ k, U! q* O. W if(a<i>.indexOf("*")==0){
+ \1 H3 [8 [( W $p= a<i>;
. m0 Y4 G6 w- I6 y if($p.indexOf(".")< 0){
. R% x! L3 f( y- c" J) v $p = $p.replace("parent","parentNode")& K2 H: a F0 O1 _* A; n* ?. T
}
, ]# A6 e! t6 E5 B9 F7 S9 t% } var $p ="u."+$p.replace("*","");8 D4 E0 P Q) G- {" A
while ($p.indexOf("parent.")> 0){2 X/ M5 v) U6 t1 T
$p = $p.replace("parent.","parentNode.")' ?5 m& P- }6 t' L( V" B& \- m
}5 A/ ~" s/ ?6 G
while ($p.indexOf("child{")> 0){
& o; u3 t$ J0 H4 S" W; t $p = $p.replace("child{","childNodes[").replace("}","]")
1 ?3 ?& @7 R/ Z# {# N! a }0 _9 Q7 v5 ] \- H" f
o.push(eval($p));4 r E: \# Y3 H( l' D0 n
}
9 g2 t% c6 t, [ if(a<i>.indexOf("document")==0 || a<i>.indexOf("window")==0){; V6 ]8 U" {; V; F( a J
o.push(eval(a<i>));
. n% q6 g# x6 i- R }
( ^! X( c" j. ?$ U' _ }8 {5 f9 V( K/ d2 s# K; y; s
if(g!=null){ 5 V1 q% |3 _% e0 N l# H
o.push(g);g=null
: e0 ]9 ?5 q. H, E4 I }
9 g$ l4 y. }) C0 E. F3 }# c6 |: Q }/ N" ~" _; G) H- a
}1 ^2 t0 }$ g. _5 c: z
4 b7 ~' d F4 c, x& ?
$o(a,o,c);
; |' K, c' X1 t7 z, T
# M: T" J- x- x9 j0 o7 [2 d for(var i = 0;i<o.length;i++){
. h/ j7 W" w: v# l& [; ^ for(var j=0;j<c.length;j++){8 a- d% F5 G) |2 i) c# [- \
u = o<i>;eval($format(c[j]));
9 `+ i; y5 q& w3 G! a }/ X2 u# `9 K- q
}1 M: y0 v( _" Z& ~
3 h9 j; W' E) v: u1 h
if(o.length == 0){. N. B( U2 J* K$ @- n
for(var i=0;i<c.length;i++){& |( {; B0 @) J# ^
eval($format(c<i>));
" b$ k1 m+ Q- @5 V. W* P1 } }
% w$ H+ U; q J8 I/ s+ e, r3 E }4 ?' S4 Q% u6 h+ u: C9 A& U- H
) l. K9 V; D! m2 I$ X# e if(r!=null){$ i3 x* D8 k: ]. M8 j& ^/ P8 B" t) [
return r;# c2 A) t: c: S
}1 w2 h) O! v0 [& S, i1 ]' q
6 O4 O8 z x4 L" b9 R5 a, P if(o.length==1){2 [0 X |+ c8 O- Y/ R, {( |0 H$ m
return o[0];0 T8 ?* H3 |4 Y$ ]! l3 t9 a% ^
}( z+ N5 }' T' a7 i) d" O v; Y
else{# ^+ _$ D1 z: A% s; ]' R/ d3 [! o
return o' t, Z0 y, z5 @3 K
}
3 o6 t/ _% {/ Y$ k$ ?( `7 C" L; q ' u7 Z+ q4 |% D. e- p; A. b8 @
}: a9 T! |% N: L' J6 P2 p) L; ^) ?3 w; e
var lrc =$("#lrc;show()").innerHTML.split("[");
- O( u) C2 a! J, [if(lrc.length>5){
8 j* H) H n! t3 P, a* Ovar array = new Array();5 D5 J* | U7 E' N0 u
for (var i=0;i<lrc.length ;i++ )
6 B5 t' u0 P" p6 L{+ A4 Z' X! p; h! b1 Q
var g = new Object();
9 @. C, R2 x, W, @ t= lrc<i>.split("]");9 V8 i( N- a. S( `7 m
g.time = getTime(t[0]);
, K8 Z/ N, h/ }( h4 Q: ? if(isNaN(g.time))0 |+ g+ W1 ~ L1 c1 ^. I( ^ b$ f
continue;
1 }5 g0 p3 y- i g.c = t[1];( b" f. c) u* ]# Z$ U5 m
if(g.c == "")
$ O- Y; b$ `2 P1 I( f g.c = getNext(i);
$ w# z& p0 @1 m& d( ^. R" m array.push(g);
. m0 _4 A' w$ E: `}- u5 l J( H+ U8 G4 m; C) k/ l
array.sort(function(x, y) {
4 p2 {& f6 a& P+ P% i5 [ if (x.time>y.time)
7 j2 `! E! B/ x$ e2 Q# M' q return 1;9 u: t0 ?! } w) w
else if(x.time<y.time)
& a' |/ I; O; w: N return -1;' f/ k* X: X1 \# W4 i! f
else
+ [/ g0 L! g6 g2 E7 F( |6 h return 0;
: ?' ^" f8 K: Q, f4 O" ^# d }
2 S: H* y& m2 _5 \* G3 p);4 Q! L- X7 E% b
for(var i = 0;i<array.length;i++)( |. ]: t( ~. w* ~1 [- X
{! B& V4 v4 c; U1 H0 W; w+ I
var g = array<i>;# z6 r/ s, x8 Y3 m/ I
if(!g.c){
, @5 X0 k" I3 H: ]4 ?1 m3 c g.c="";
9 C6 E, h. o& Q- u8 D$ F }; C y4 r! l2 B7 P
$("#list").innerHTML+="<div id=lrc"+i+">"+g.c+"</div>";5 o% g3 W" Z9 J1 \8 R6 w3 ]5 R; W
}0 r4 K }1 K* V: U+ r
var time = setInterval("lrcList()",500);
; h2 u3 Z6 _' a, K) ]& T}else{% N# V4 G0 N8 c1 A* P) p
$("#list").innerHTML=$("#lrc").innerHTML;) p9 k7 {1 S' _: Q& y
}
' C( I* H& l% C: E1 s/ Hfunction getNext(i)
# U# Z- M* d! a+ W; w{5 A1 Y8 ]" B4 _( O) g
var result = "";
4 k8 X2 r4 C: | q var i = i+1;/ R& r; c$ J0 A/ `+ O8 W- {
t = lrc<i>.split("]");6 \9 j5 O4 Y6 Z/ X
if(t[1]=="")4 [1 C9 ^# z1 t8 r! B7 G7 t" D% m
result = getNext(i);
( z3 N. `- a) D* D* g6 u else
' x- p6 p' q* J1 d3 _ result = t[1]
% ?4 k* C" h+ r6 y7 W' [2 R return result;) y: V) o' ` {$ _& i5 H
}
5 R; c% T: p+ o2 d4 A$ N& w/ U$ W% _9 J
function getTime(str)
: @) p' i* Y8 t# D4 j{
& f# G- E! M6 }, z6 Z; c var time =0;
9 z. l9 A0 H/ Y L5 D, i var ta = str.split(":");
' l! a$ S J/ t6 p( t if(ta.length<2)
?: E* P* v/ h( h5 Z, } return time;, B# X8 Z- P: I* s
+ k0 f. q: t4 N
if(ta[1].indexOf(".")>0){
" S- c; c8 {! l' ]8 C var tb = ta[1].split(".");/ g# M) J4 j5 j# m$ {
time = ta[0]*60*1000+tb[0]*1000+tb[1]*10;
; u2 Z/ a$ _* {2 ~ }: @6 ]% L0 z2 X; Z* t
else; p& Q! L, Z7 Q/ c% O& Q. `' r4 G
time =ta[0]*60*1000+ta[1]*1000;
8 I( ~, @) P8 w5 `' j' [9 I return time;( K F$ E, a- o
}0 d. C6 t* b0 l6 S% y
var preTime = 0;2 A; b6 a, f( [1 k
var nextTime = 0;- q% R2 W* i2 Q2 d, s; @5 \* k% e" F
var currIndex =0;3 a+ c, H4 N' J/ `$ }1 g3 A
function lrcList(){! c; L# L6 G4 [+ d+ l7 I" C( B
var s = parent.document.getElementById("MediaPlayer").controls.currentPosition;
, \' R8 K* U# E- f( p* l7 k s = s*1000;
# G {9 U! y% T! l# m/ G if(s==0){6 @8 h2 U% g c) n9 m, b
currIndex =0;2 `# R+ W' N1 K: E3 w1 a: L
$("#list").scrollTop = $("#lrc"+currIndex).offsetTop-30;
; Q7 _+ j& @. I) g7 C+ P- m for(var i=0;i<array.length;i++){) z+ ~ v0 G( B" b! Z
document.getElementById("lrc"+i).style.color=colorNormal;
0 h6 I: c' v& ? }
8 V0 u$ B& [0 H* y8 g" ] return;
( d, R2 C2 q9 p- L: O }) i3 _2 s% l/ Q' w7 K
if(s>0&&currIndex<array.length-1)6 ?& l9 S1 w5 R
{
- Z; [6 M0 _; F7 j: U! |, `3 s3 M preTime = array[currIndex].time;
2 p' w, [& C! F
8 B0 [- L# d+ [1 R0 A nextTime = array[currIndex+1].time;" |! c) P& V+ \% j9 v5 y& A& n" X9 A
/ k! y7 B/ p4 W2 F if(s>=preTime&&s<nextTime){
! n( \& R3 X) U% y$ N* D. j* L }
/ m* d% k! ^: U* a8 J5 P$ ~. U2 @ else if(s>=nextTime)
6 i6 I2 H. S" y) B% `! b {
+ U7 B4 A) L% D5 g2 R1 ^4 H document.getElementById("lrc"+currIndex).style.color=colorPasted;
# _, K7 B+ q8 ]5 z. a) H; k currIndex++;
4 N6 t9 x. v( W+ @$ C2 e4 A/ l $("#list").scrollTop = $("#lrc"+currIndex).offsetTop-30;- G# T6 c! a# Z3 x
document.getElementById("lrc"+currIndex).style.color=colorPlaying;
9 g+ i3 [4 F" C- C7 p( j lrcList();
4 E1 p/ n: m0 B' I' } }
& ]9 j! T6 e- w1 W8 U else{6 d5 E, \3 d3 z5 Z. Z+ s' E
document.getElementById("lrc"+currIndex).style.color=colorNormal;
8 ^0 k9 ]/ p( P6 y" o currIndex--;* x4 x: T0 q- ~8 D
$("#list").scrollTop = $("#lrc"+currIndex).offsetTop-30;
+ K7 w% o# p( Q; l document.getElementById("lrc"+currIndex).style.color=colorPlaying;2 L8 D) H% c- G, l7 y
lrcList();( }4 @7 X4 g8 U1 P; o. s) t: S
}
- w9 v( K% z" z! n }% w, t% I/ Z7 Q* t3 r
else
" `2 H# {8 u( ? y0 u- _7 @# D {7 ?) J2 c. [. i) |
if(s<array[array.length-1].time){
( U5 ?- N+ t+ h& _ currIndex = 0;! P0 H$ C9 l0 y- t; D8 I9 I
$("#list").scrollTop = $("#lrc"+currIndex).offsetTop-30;4 b) }1 V5 ^6 J8 e2 ^
for(var i=0;i<array.length;i++){" ^: n! @% q7 Z o
document.getElementById("lrc"+i).style.color=colorNormal;% g) W: v1 W) ^, `3 s
}0 Y \0 l$ z8 Y i6 `. F/ `' o4 Y. a V) u
lrcList();) Y k7 x* c4 T8 M1 M, G
}/ _' j5 g- K4 h& |9 f+ o
}
- P) R% a8 K: _}
r3 P8 {# `6 c9 s# ~( E) c7 n</SCRIPT>
5 H! L; L1 ~9 s% n: I1 F' r</DIV></DIV>
* C, | K0 a$ M- n* w- a6 k( T- m; m3 e, U( o S; H; n
[ 本帖最后由 幽谷兰 于 2008-9-18 17:36 编辑 ] |
|