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