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