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