|
<DIV id=list>3 ~! t) O- d1 z, U2 H
<DIV id=lrc1 style="COLOR: #666666">[wmv=0] http://lzbj.ncedu.net.cn/uploadfile/20083923248279.mp3[/wmv] </DIV>
6 I; ?7 I( p4 i) m2 T+ ?<DIV style="COLOR: #666666">|等一分钟|听到这首歌,觉得它很动听,旋律很优美,很是喜欢,传上来给大家听听。</DIV>, J* j! b3 P& s- I' {, R+ j
<DIV id=lrc2 style="COLOR: #666666">词曲唱:徐誉滕</DIV>) i, _* }2 w. m. A, D6 ?( _2 ~
<DIV id=lrc3 style="COLOR: #666666"></DIV>& ^5 l! r. t6 j+ d* }% W4 h" h
<DIV id=lrc5 style="COLOR: #666666">如果时间 </DIV>, v1 p* [9 ^4 b ^. h) Q- T
<DIV id=lrc6 style="COLOR: #666666">忘记了转 </DIV>
# `7 Q, w. O2 c% Q; d' d6 i# e9 |<DIV id=lrc7 style="COLOR: #666666">忘了带走什么 </DIV>
" R) ~; k1 t/ }7 y* o6 D! I8 W<DIV id=lrc8 style="COLOR: #666666">你会不会 </DIV>8 E: t- s' a# g% n( {
<DIV id=lrc9 style="COLOR: #666666">至今停在说爱我的那天 </DIV>
* P, S) V6 o* c<DIV id=lrc10 style="COLOR: #666666">然后在世界的一个角 </DIV>; N; z+ j/ W3 b% l. [0 @% Q3 U
<DIV id=lrc11 style="COLOR: #666666">有了一个我们的家 </DIV>
8 F+ q& N, z& S u) @' {<DIV id=lrc12 style="COLOR: #666666">你说我的胸膛会让你感到暖 </DIV>2 H) Q- s. P/ e7 n
<DIV id=lrc13 style="COLOR: #666666">如果生命 </DIV>
- M2 M/ N Y' v9 I: g$ B; B<DIV id=lrc14 style="COLOR: #666666">没有遗憾 </DIV>9 U/ q2 J; @; X, n: o5 n6 }! ]
<DIV id=lrc15 style="COLOR: #666666">没有波澜 </DIV>
/ ?% Z; j M8 `$ s* F9 G<DIV id=lrc16 style="COLOR: #666666">你会不会 </DIV>& o, q) {% u2 T" g5 ]6 {5 f; o
<DIV id=lrc17 style="COLOR: #666666">永远没有说再见的一天 </DIV>" @# j9 w* z6 B0 }9 K2 H
<DIV id=lrc18 style="COLOR: #666666">可能年少的心太柔软 </DIV>
. y1 A9 F& } @; B) c& y<DIV id=lrc19 style="COLOR: #666666">经不起风经不起浪 </DIV>4 ^8 e7 i1 b) C. ]
<DIV id=lrc20 style="COLOR: #666666">若今天的我能回到昨天 </DIV>
- [6 s% X5 \* H, y0 U<DIV id=lrc21 style="COLOR: #666666">我会向自己妥协 </DIV>9 e2 ] a. `) F5 x: f+ {' t
<DIV id=lrc22 style="COLOR: #666666">我在等一分钟 </DIV>
6 y9 s5 o4 c/ B1 `, J d" v<DIV id=lrc23 style="COLOR: #666666">或许下一分钟 </DIV>
" X2 k8 T( {. e0 R; e1 C4 y<DIV id=lrc24 style="COLOR: #666666">看到你闪躲的眼 </DIV>
8 F! V+ v" W4 o, G<DIV id=lrc25 style="COLOR: #ff3300">我不会让伤心的泪挂满你的脸 </DIV># c0 J2 Z( m* T, h* m' I! v
<DIV id=lrc26 style="COLOR: #000000">我在等一分钟 </DIV>
7 N/ G7 r5 G4 B S<DIV id=lrc27 style="COLOR: #000000">或许下一分钟 </DIV>. [% }! C; \* j
<DIV id=lrc28 style="COLOR: #000000">能够感觉你也心痛 </DIV>6 J1 I4 s6 N. n+ J
<DIV id=lrc29 style="COLOR: #000000">那一年我不会让离别成永远 </DIV>3 T5 @. Q- A7 {7 E! g
<DIV id=lrc30 style="COLOR: #000000">如果生命 </DIV>
. f) H2 M. M3 ]1 q8 \6 n$ A. I<DIV id=lrc31 style="COLOR: #000000">没有遗憾 </DIV>
+ \7 _" h; K$ {% a/ r" }+ `; D* D<DIV id=lrc32 style="COLOR: #000000">没有波澜 </DIV>
$ [. C% l1 f1 h- ~<DIV id=lrc33 style="COLOR: #000000">你会不会 </DIV># w- F. v' w1 D/ v3 D
<DIV id=lrc34 style="COLOR: #000000">永远没有说再见的一天 </DIV>% O0 i, a' i) h/ _2 s
<DIV id=lrc35 style="COLOR: #000000">可能年少的心太柔软 </DIV>: B7 _4 w+ I3 n' K; T) v
<DIV id=lrc36 style="COLOR: #000000">经不起风经不起浪 </DIV>- h( T1 B& R* t0 m) R
<DIV id=lrc37 style="COLOR: #000000">若今天的我能回到昨天 </DIV>
0 |+ y8 ^; t0 Q O; s [<DIV id=lrc38 style="COLOR: #000000">我会向自己妥协 </DIV>
k+ D+ \" P& h* g {3 x<DIV id=lrc39 style="COLOR: #000000">我在等一分钟 </DIV>
2 ]6 ^& J" L% C! i1 c( W2 n$ Q<DIV id=lrc40 style="COLOR: #000000">或许下一分钟 </DIV>: Z7 o7 N& m0 {$ F
<DIV id=lrc41 style="COLOR: #000000">看到你闪躲的眼 </DIV>$ |, B, X9 E" G; ?* F2 F8 i& X4 s
<DIV id=lrc42 style="COLOR: #000000">我不会让伤心的泪挂满你的脸 </DIV>' K! T, d7 @9 H6 d* \& D, |
<DIV id=lrc43 style="COLOR: #000000">我在等一分钟 </DIV> W9 N, |7 @, O% s
<DIV id=lrc44 style="COLOR: #000000">或许下一分钟 </DIV>) ?+ l$ S, ~# Y- M b) b
<DIV id=lrc45 style="COLOR: #000000">能够感觉你也心痛 </DIV>
5 P5 d) } T- ]/ i: g. n* W<DIV id=lrc46 style="COLOR: #000000">那一年我不会让离别成永远 </DIV>
. R9 {0 v8 d6 h6 |: ^8 W& f5 t<DIV id=lrc47 style="COLOR: #000000">我在等一分钟 </DIV>
- q0 ?; _" s: k, ?. J0 B<DIV id=lrc48 style="COLOR: #000000">或许下一分钟 </DIV>! `, m: ^4 [; M% p$ J9 L- a9 q% |
<DIV id=lrc49 style="COLOR: #000000">看到你不舍的眼 </DIV>
+ f/ ]3 T H9 b" B* Q& K1 K<DIV id=lrc50 style="COLOR: #000000">我会用一个拥抱换取你的转身 </DIV>7 W$ g! q/ W5 W
<DIV id=lrc51 style="COLOR: #000000">我在等一分钟 </DIV>& g9 X6 M' q. z. p
<DIV id=lrc52 style="COLOR: #000000">或许下一分钟 </DIV>5 N+ c8 p) n: `$ ^, V5 q u" G1 o
<DIV id=lrc53 style="COLOR: #000000">如果你真的也心痛 </DIV>8 g6 m; M; {! Z6 I2 u
<DIV id=lrc54 style="COLOR: #000000">我会告诉你我的胸膛依旧暖
S2 N3 f( j/ ], x<DIV id=lrc style="DISPLAY: none"></DIV># K* F+ R8 ?. o* a
<SCRIPT type=text/javascript>
& @- s0 [' Y i0 ~document.domain="1ting.com";
5 N& B, f i0 P3 m+ B. |var colorPasted="#666666";
* |' h" ~6 O0 |" Hvar colorPlaying="#ff3300";
7 w% M) R4 M: C( S* I9 Ovar colorNormal="#000000";
5 w+ K/ @2 }: b$ = function (a,g){
8 i+ c! w* O/ ^+ k6 _ var o = new Array();
2 D9 c" d- g) Q& }' \" K5 T) M var c = new Array(); ' }8 Z* A p6 ]/ z4 g$ o
var r; ) g2 j7 X( x- F, {4 k
var u; # ^, G3 l0 Q1 j8 q$ n7 x/ p
var a = a.split(';'); / q* Z$ F2 M' C i( l- f; m |+ T
, W2 V2 f3 Q) q) F# {) G) X var e = "keydowns,resize,load,dblclick,click,mouseout,mouseover,mousemove,mouseup,mousedown,inputchange,inputfocus,inputblur".split(",");1 e6 _: F4 w1 X- e
for(var i=0;i<e.length;i++){6 Z# q- z a( k& R" U
eval(e<i>+" = function (s){eval($event('on"+e<i>.replace("input","")+"'))}")
+ ?, r! E9 C L }
$ @9 R3 U* P4 C R
y5 k0 |, t# e, k7 J- ]) G after = function (t,d,s){+ O, F! G1 W3 U. ]9 v( q6 ~
$after = function (){4 q# _7 B- ]1 v" d' Q: C
var $n=document.createElement(t);
4 D7 U, p0 D; ]; p/ p" g' X+ Z if(d!=null){, Q- P0 Q! K# t0 Y# G2 ]4 f9 h: O
$n.id=d;
. I0 e& K. |' N4 Y }- V. w U0 l/ Y9 P* m9 U1 c1 g
Y4 i9 {2 h1 A) K. p5 F
u.insertBefore($n,null) : s- K# U$ F6 M' x% L3 D7 C2 m
r = $n;
/ _1 c/ B) m; i! S! i u = $n; % j7 T3 C" E; z5 c% E
}
8 q" R6 P2 M" `% @5 l1 G $for(s,"$after")
/ s/ R( d: R( V3 W }
2 i0 Y% l- p5 }
7 p# W; k1 r& {3 x! T @! Q3 G show = function (s){5 z, V' J. {$ o% L7 N# U( X
$show = function (){
" M6 V4 }4 X% d1 f1 `) y) d l u.style.display!="none" ? style("display:none") : style("display:block") ;) o- s6 |3 P d. ?" ? D
}
: Z2 `$ o" Z4 v: H" X) k8 C $for(s,"$show")
) K- S5 a' ~) r+ e7 D }6 [" C$ X& g# G! h& R
0 C& c& E. A# z' F/ o check = function (t,s){
) o; p+ ?( u4 v( {' T* r. p" V $check = function (){2 ~" S* O# r; g) J
if(t=="2"){- A5 M% ]* M( S: F
if(u.checked){
9 k6 @- v+ r+ P$ y u.checked = false;
: L, j( t1 _# Q- R }else{
# b0 y5 [( j+ J/ a- `7 E4 V u.checked = true;
0 y( |+ ~% ?4 Y% u8 H }; g) O0 y& }& F$ t6 E- P/ f; u# S" X
}else{. N2 w1 p% e$ ?5 M- \( C; y- x1 Y
u.checked = t*1 ;) {, a3 k8 K9 Q
}
8 v/ X0 @9 S4 R% B6 E }
; Z7 a$ ^9 r4 L1 n3 c: ] $for(s,"$check")
+ L# c" U5 i+ Z& M4 W }# @: A' O% C; L5 _. w( u
6 T( M1 ~8 S7 {" H5 x style = function (v,s){
) ~' m2 i7 Q5 d7 D) o $style = function (){* R- r# J9 `- p& h8 F1 O# K
var $n = v.split(",")
' e' M! [: E# S* [$ J1 n, \ for (var i=0;i<$n.length;i++ ){$ b0 \* S4 x5 Q- I1 h) [; D; {+ M
var $m = $n<i>.split(":")
! ~1 V8 {: h& t; p A eval("u.style."+$m[0]+"='"+$m[1]+"'");+ M; U9 G* F7 W
}9 Z* }) V9 s6 _2 |5 c( N) p
}
4 o" P. m, |/ i v" l, H $for(s,"$style")
2 E. k8 T4 ]4 C' E0 K$ b }6 j' X0 h9 c7 b/ `. o* _
7 }% S$ X# r! G2 X0 m7 _3 K
value = function (v,s){
- A+ R( H% p0 k$ n var $n= $this (v);0 N! e( |$ q- M& [4 V
$value = function (){
- h# K" w) Y% ~3 n7 v8 n* j u.value = $n
( b( f, W3 R0 } }
( `. H$ ?0 F8 j2 ?) n! n $for(s,"$value")
( d( A$ w& V3 k8 r: ^ }
; `1 { j- T' I1 Q% w: q1 v, O$ E$ a3 u; I8 b
text = function (v,s){% f+ ~/ ?6 Q2 S/ F2 _: n
var $n= $this (v);
1 @$ h) B6 y; H+ k8 G# ^ $text = function (){" c1 T+ |9 v5 H) y3 H
$ X9 }/ P: A1 l* ^' P! k u.text = $n
& x# Y9 r; C4 A4 C' c$ Q, K3 m! a }9 `$ O1 b( p/ o8 e9 W, }% d
$for(s,"$text") - {! ]7 v1 x- a' j4 g7 }) x
}
" n3 i% {1 G7 A( z- f1 ?- {7 ?! M
innerhtml = function (v,s){) G. C* Y$ E$ | A% _' m
var $n= $this (v);9 k% v p4 e$ ^9 q
$innerhtml = function (){
[! c7 n1 L9 |- K u.innerHTML = $n
1 M* _3 G7 h. g! H+ ?: S }/ R# ~* j; i$ E6 L8 W. n
$for(s,"$innerhtml")
~* m; g* ?0 o7 ~6 ~ }
" M* \; E/ h" V# {9 i4 W. ^7 p / w n8 Q% ^' y5 U6 E- \
removechild = function (s){
7 u# ^- Q% k0 ~6 n+ q/ e0 s $removechild = function (){% s, M# j5 Z7 |
u.parentNode.removeChild(u)( j. i2 f' m7 V$ T, z& b
}
$ B% U M, X7 L4 z9 Q $for(s,"$removechild")1 ~- d/ o' e4 W0 i) d8 ^7 f4 U' u( }
}) f1 a1 @3 g# Q2 V6 n2 b
+ E, \% A7 F; b1 O2 R2 t" k! v) G $this =function(v){
4 T# J. N8 U; Z" R- \* E; O if(v.indexOf("this") == 0){: r; k7 |" q+ n6 o' \+ |
return eval(v.replace("this","u"))
1 T s/ S2 j0 S3 W9 _9 Y2 q+ y& [ }. s; Y3 y3 t5 Q/ f: o
return v;
: ]8 R, m* m- _. |- P& ^6 L }
+ j6 j& o5 v0 V0 O
' X9 V9 H! r& Z6 w& r $event = function (s){+ e4 W9 S+ f. H" d' D% F* h& l+ h8 o
var $n ="u."+s+" = function(){$work(this,s);}"
7 M( E2 | ]7 K3 d return $n;
+ g g" P/ o; e* A. Z }& i# L0 Y* ?4 ^1 \' p1 b. M
% H: V0 K d0 R$ C" A& [ $replace = function (s){
: t* {& C% \8 J2 [0 M
& p! \8 y p/ i$ X }
2 }. l% W- A5 f+ C, K" j7 L( U# v5 ^$ J$ I3 t' y
$for = function (s,c){9 Z: s) R# b9 q' y7 C) J
var $n="this."+c+"()" ;$ f1 W1 Z9 @7 I1 p, t6 ? R3 t6 i
if(s!=null){4 g0 d3 i7 Z' F: S
var $m =$test(s);
* K* l' U; }* g for (var i=0;i<$m.length ;i++ ){
4 U9 k6 y/ s# r! T$ s6 {7 U, r/ a u = $m<i>;
; [+ G( d' c: y0 U& l" ?5 d/ j5 | eval($n);
7 {! W2 u; H# h) s! X& k4 v }* Y. R6 O. h: }+ `" i9 v
}- O, t3 l( I3 L; m4 u- S
else{
. C8 f" [- F U( R eval($n);
j9 B6 C$ g G# f* a }
# z( H3 d" t" p# ` }3 [9 [4 f& W* v0 @( K# h
* f, g! K+ S# s1 K' j
$test = function (a){
' [( H+ ? y- F: r var o = new Array();$o(a.split(';'),o);
* M n: D7 M1 K3 M' b( e return o;# t$ g" |1 M+ U1 Y7 X) q$ F
}3 o" z4 T7 ?: J: \
/ v* y, |7 J$ l $format = function(s){
: ~% m$ n# T1 A while (s.indexOf("'")>0){
, L3 ?( q9 d; E s=s.replace("'","\"");8 h4 ?6 L1 Z8 `! P+ n, [
}
2 d1 A8 n( o2 L while (s.indexOf("][")>0){
! ]' b7 @! c$ v! { s=s.replace("][","','")
: X: q, b* c/ G } i1 G( g; t& g$ S4 V( b, s3 b+ f; V
while (s.indexOf("[")>0){
& E! Q( a+ B) K9 W s=s.replace("[","'").replace("]","'")7 X1 W/ s6 z& V1 E- E- a
}
* _7 S) \& F" l return s;
. c* b p# x2 E1 X- J }
( O3 v( e B6 X- k# c# J+ f2 D! l. L: a7 v" h5 B9 F
$work = function(w,s){! U6 P+ [; B l$ m- m
u=w;eval(s)0 C7 t) R- | K' r7 a0 V. K6 a
}
n- }1 l j5 ]% R, J$ ^0 Q7 F" H6 \) a% r) S* V" C/ V" m6 m5 @3 P
$id = function (s){! |7 Q8 J! \3 U |% O
return document.getElementById(s);
; p, E$ g$ r$ i }
4 D# ]7 n& {! |% s; R* g' C. D' `, s
$name = function (s){4 L' v2 n7 c# m0 F
return document.getElementsByName(s);' Q8 _( A, j3 ^* S6 w5 C
}4 R% u9 t5 K! y# n( {- s+ R7 S
* O' W, J- d" s* K/ Z $tagname = function (s){
' j1 G8 A1 [4 t2 y# P' C return document.getElementsByTagName(s);
5 y( L/ j2 |% t% F4 O }7 C5 } L C' |# \' g8 N
$ Y; S- R. s( _8 S7 y1 p
$o = function (a,o,c){
, D4 S. M' l. |$ g $push = function (n) {7 k) d' i; ?8 @3 f& N
for (var i=0;i< n.length;i++ ){
/ i2 r+ o0 D* R% |8 w' F) | o.push(n<i>);$ E" G+ [) B* i2 R' y6 D
}
. R2 Y, P8 X; I/ ]6 h! B* D }9 c% f H: Y3 H$ w9 Z) l1 F" {
for(var i=0;i<a.length;i++){- D) q4 o- z6 L* D7 I, t8 E
if(a<i>.indexOf("(") >= 0){ W+ Q/ i' \/ o% V
c.push(a<i>);
. D, o; c4 H$ U/ T [, V0 s }' ~0 |2 {* K8 `: i
if(a<i>.indexOf("~") > 0){
, o( a" P0 |2 U4 t( c# N/ n" U try {
5 [4 Y* ^" h3 s/ Z2 z. v $push(eval(a<i>.replace("#","document.getElementById('").replace(" ~ @","').getElementsByTagName('")+"')"));( q' e& V; |: h) [8 d9 h
}catch(e)
+ _1 O1 [) m4 v3 @2 n* d {}
X* n1 @5 s/ C4 j- w1 n0 x }
0 Y7 P1 J, P, ]$ r+ }/ ]/ w* q else{
& `2 y& ^+ k- T' w. M; {3 b if(a<i>.indexOf("#")==0){ D+ W/ U8 W: v; J
o.push($id(a<i>.replace("#","")));4 F2 m& j) S) L8 e6 Y9 ]) I& u2 f
}
* _0 u2 J* l6 h9 a. q6 v if(a<i>.indexOf(".")==0){
- W7 n' Q0 n; ]9 q $push($name(a<i>.replace(".","")));- z; w1 {3 G5 N% S+ r
}
& }" h' N' h* y# i* E if(a<i>.indexOf("@")==0 ){% b( T1 i* d! j3 I5 K. I0 {
$push($tagname(a<i>.replace("@","")));
# l& |" W0 N( p7 N }
0 B; W$ _9 {9 I1 ^3 x& m if(a<i>.indexOf("*")==0){
- A* A7 p2 m' k $p= a<i>;2 \( U: x2 } K" Y! r$ z
if($p.indexOf(".")< 0){
$ | _( U+ b0 H0 a+ ], { Y, q7 u- K $p = $p.replace("parent","parentNode")7 @& h( m: F: e( `
}0 ~1 j/ `% z& M) M" y+ U
var $p ="u."+$p.replace("*","");# F6 q7 I0 P# y5 ?3 p+ B
while ($p.indexOf("parent.")> 0){, l0 e) ~5 M8 S0 \- g3 ]4 Z- \1 a
$p = $p.replace("parent.","parentNode.")
0 v; Z: w1 R9 i* U- { }
$ w& p' m* l, @3 L3 r while ($p.indexOf("child{")> 0){
5 p! t, e7 z5 U6 U. K$ c $p = $p.replace("child{","childNodes[").replace("}","]")9 `, `- q" a& T2 d5 m
}
- o, C- S0 [* o) U o.push(eval($p));6 r( Q _5 u' y! {8 D9 r& B
}
9 W& h" d& z' A% }/ l$ }1 Y if(a<i>.indexOf("document")==0 || a<i>.indexOf("window")==0){
# H+ ~" {0 Q! L0 I5 P o.push(eval(a<i>));
9 v1 j9 s8 F- W7 p, f4 ]) O }
0 ?/ |6 [1 ~! } }
9 A5 w8 _9 q& t2 q. G' E if(g!=null){
* L3 r( @; b4 ^- b+ S! \" ] o.push(g);g=null/ U5 M q# x! h& R. [, I2 I
}
* ?( M$ i. _' N# L! T( h }( m3 N. J+ |- [
}4 _9 C- o. u) F
6 g% X7 r/ X8 O- ?! ?4 o- N
$o(a,o,c);1 |% A" h# x6 x( m `7 `+ M5 p
9 L D0 ?' R. ]4 d
for(var i = 0;i<o.length;i++){- [& h$ \1 ]/ y# ]
for(var j=0;j<c.length;j++){, Q. n* x2 a2 t# |" o
u = o<i>;eval($format(c[j]));
$ i$ q3 n) K) Z [9 d% c }
" w! [+ O" A9 n# v1 ` ^) ^& l* | }
* d0 C' F; ]! o( H' j( w) y) L6 Q3 L" w6 S
if(o.length == 0){
5 n$ Q& g2 j* X& W3 X; M for(var i=0;i<c.length;i++){
( G6 R: z1 W0 D7 v- o eval($format(c<i>));
" |% g; O$ d- n3 u/ S$ n2 n }
& I# N3 Z/ q8 G }
8 g+ E; {2 a) g9 ^; Y + @* I- H. I& R3 f* d$ W h* U
if(r!=null){
4 H. S$ c: u1 `( a/ z! w return r;
4 U" U5 Q( g4 o$ A m' R }% b6 ]) D' Y+ r, i
# M3 Q1 D2 i9 h# G
if(o.length==1){
7 S! E( I) \3 `9 @4 O" Y return o[0];2 a& g$ o; z6 X, s" x
}
4 M0 a- P+ B t$ \+ l- g5 g. o else{
1 M" k5 k) b0 b1 D return o
" k7 h/ ]* ?$ _( I } I2 K$ ?' Z$ V& z$ S
0 k; u0 B( \# U. _+ w, |
}4 {8 g% r$ E( g9 W( y
var lrc =$("#lrc;show()").innerHTML.split("[");6 p0 R+ g9 P+ j
if(lrc.length>5){
* u. i/ j) x+ u; k8 _$ i# pvar array = new Array();/ w+ |. Y2 {6 r. O5 U
for (var i=0;i<lrc.length ;i++ )6 T; n' r5 H1 W* T; {6 n
{" p% [, J) ]# o8 S5 j, @
var g = new Object();
" R0 m+ Z, e, ^- ]/ m, E t= lrc<i>.split("]");4 N% p+ }) }+ m: M3 ]+ j. `! p a* ?
g.time = getTime(t[0]);: e( N( f* H( B0 e+ E5 ^1 s
if(isNaN(g.time))
6 k4 O& ~8 ^' v$ @/ s- G! e! D continue;" N: u/ `+ k6 H( i! b6 m, T
g.c = t[1];
^3 n% W& N+ o3 t if(g.c == "")* p `( @7 m( q" f9 g3 s
g.c = getNext(i);) e4 y9 g. f3 X8 U# A2 G
array.push(g);& v3 [' J/ t! e& N& @
}( g9 p; a" E: Y9 a
array.sort(function(x, y) {
* z/ |0 e* q! o' k2 Q7 u- | if (x.time>y.time)
1 r L4 k# Z2 Z$ K. Z d. r return 1;
- ~, Q x1 I/ j! \ else if(x.time<y.time)) G, W# e$ o8 t. B8 g" y
return -1;0 V) l# j/ i; J' E5 _
else
1 M* n P* F9 O return 0;0 I! r) u+ w; D* D k0 z' e8 j
}
: q. Z4 V% x. I* G2 b, m/ R);
g& } _+ D% x/ n! c/ Xfor(var i = 0;i<array.length;i++)
/ D- x* x7 f% n{; I, f# }! D) a' J4 C3 E
var g = array<i>; L- s m% t @( p6 J6 z
if(!g.c){
) o2 Z/ u8 L7 k/ _ g.c="";
& n. {, q6 u5 D5 a" `$ ? }
# t8 ?- J% o, `( X% Y $("#list").innerHTML+="<div id=lrc"+i+">"+g.c+"</div>";
2 h3 u( E$ x- j& K}
0 R# t ^, b* e6 A2 s: @var time = setInterval("lrcList()",500); 8 a4 r9 u5 x! ?6 A+ T/ [* g- N( }% u
}else{
9 l% D8 S |( n4 _ $("#list").innerHTML=$("#lrc").innerHTML;! r7 J( l3 Y# [$ t
}
" f5 b. _: ^$ f lfunction getNext(i)
8 ^5 l! g3 \2 ?7 M' w{* q; m0 q7 l9 N8 a
var result = "";
; J8 d8 z1 b0 V1 v; K/ y3 T var i = i+1;
- I }& H) q/ a8 u& c' a/ m3 f t = lrc<i>.split("]");
3 h" S( H1 e# m' \ if(t[1]=="")" g4 t u6 c4 s
result = getNext(i);( K2 j0 k4 Y" n: l( g3 V A
else
8 J$ ^9 ~( m& R" W result = t[1]
6 Z( K. m+ a8 B return result;
+ B+ L! p( _6 y) [5 Q: ?: I}6 E- C8 C5 s. q* @+ H+ V
% H4 {/ D( [4 dfunction getTime(str)
) t [. [8 s; _2 M1 y& R' U{
6 h: ?+ u* ]# G8 z; N. x' @ var time =0;6 v% x0 H: }" E% A4 A
var ta = str.split(":");
+ Q0 T4 o2 @# x1 x: I' e if(ta.length<2)$ G" ~$ ]8 y6 m$ }! T+ g
return time;
% n$ \4 V: X2 [! M! \
8 X* I* P1 x9 X3 J$ @! ?5 E if(ta[1].indexOf(".")>0){* Z3 X- S+ ~3 e( _) ]) i
var tb = ta[1].split(".");
2 `5 A; N6 S: s time = ta[0]*60*1000+tb[0]*1000+tb[1]*10;! Z* w$ m6 |7 |
}
$ ]8 S3 b0 r+ m( Y$ M4 O; l5 g% T: U else$ |) ^4 R2 a3 f3 H& R. R+ O& `: v. {8 Z
time =ta[0]*60*1000+ta[1]*1000;4 u$ w6 j4 v1 p+ X8 Z4 W
return time;/ ?6 @& i8 n& E+ D; W1 R
}: l1 H3 H" u4 e1 X, B7 V
var preTime = 0;
/ W% B) {. _3 t5 U0 ?7 evar nextTime = 0;$ n7 \6 q# }: X6 R
var currIndex =0;' D3 B+ J; S: Q( ?1 f
function lrcList(){
- C! O3 T' M% t2 r$ s var s = parent.document.getElementById("MediaPlayer").controls.currentPosition;- \/ P+ V( K9 p' i, T0 O5 k" a
s = s*1000;
8 f2 k) q, `, n+ o8 n if(s==0){4 K s( }5 ?4 g3 q/ [9 r: n2 N( [
currIndex =0;* P+ @! c Z, }+ W P" U4 h' L
$("#list").scrollTop = $("#lrc"+currIndex).offsetTop-30;
( T0 {! R. A* {+ V) L) ?' ^ for(var i=0;i<array.length;i++){
+ |' O& q6 Y6 x( E# j, W document.getElementById("lrc"+i).style.color=colorNormal;
# V( G- ?6 I/ q; |4 h: ^/ c, v }
5 h/ ?3 X+ a; S! k7 W$ G, @! v return;1 @+ S2 q+ z6 t! f ^5 h2 ~
}( k# Q8 [2 J3 Y& M. {
if(s>0&&currIndex<array.length-1)) Y& K I2 J1 a/ n
{
7 l. b% \" P3 y/ a preTime = array[currIndex].time;
# t2 L& G: s9 T) U " J# j3 v* s& C6 ~: |$ ]
nextTime = array[currIndex+1].time;
0 Z9 Y6 u9 L% U- z4 d+ o( Q# S
: F0 I4 M3 @% d! c' G if(s>=preTime&&s<nextTime){$ B* J3 P! f8 n5 A# R
}
- s0 L+ t" J g, \: O else if(s>=nextTime)4 B' H8 {, d& n- K9 E2 h9 N
{2 r8 t. E( B0 }4 l' N8 D7 t
document.getElementById("lrc"+currIndex).style.color=colorPasted;* Z, @1 [# l" i: d7 ^' Z, ~2 s
currIndex++;9 w j. X' K4 z
$("#list").scrollTop = $("#lrc"+currIndex).offsetTop-30;# o0 a7 S' V3 H0 v/ o
document.getElementById("lrc"+currIndex).style.color=colorPlaying;' a; x H, U9 Y; {* t
lrcList();# U A- x. ^1 C5 T3 R- F- Y
}
" v$ f7 u4 \0 O$ F8 r# a; }0 G else{4 U o8 y$ m6 ` B7 M
document.getElementById("lrc"+currIndex).style.color=colorNormal;1 j \9 O& K% T2 S2 V
currIndex--;3 ^5 Q, R# n8 D6 ?) _2 g
$("#list").scrollTop = $("#lrc"+currIndex).offsetTop-30; ^! y" L) f1 v" Y8 @% X
document.getElementById("lrc"+currIndex).style.color=colorPlaying;6 |, K& Q6 d8 F* I/ s) |
lrcList();
5 r8 x; y$ W! ^* Z, D% [' W* T }
" A b. n+ ?$ B# W: T# G! _ }
+ Q [6 a6 f. A+ f/ Q else
( }7 Z( K2 v) h& y' g' F {( q4 ]" m. p5 S3 Q' n
if(s<array[array.length-1].time){5 x) ?/ H+ |" g' T `
currIndex = 0;
% n/ [" W0 _' p) ] $("#list").scrollTop = $("#lrc"+currIndex).offsetTop-30;
& _. Y" X- Y9 j! Y for(var i=0;i<array.length;i++){
: D$ ] e) U5 S% ` document.getElementById("lrc"+i).style.color=colorNormal;8 G2 s$ q, v2 k2 r$ O# N
}# x# K# I' C S( g# E! f4 n
lrcList();3 U- E5 M% t: v) m2 @
}9 n7 E2 W2 z* A9 L2 b
}- a+ R* X$ v) a M- R8 ~
}/ F& w, w! |7 i% W- }- V+ u
</SCRIPT>: l9 P$ z; t( w; R: j2 n# q
</DIV></DIV>4 s+ U9 p3 w5 p7 s* j
: L, Z7 R* V0 |$ {) u# \5 X% t[ 本帖最后由 幽谷兰 于 2008-9-18 17:36 编辑 ] |
|