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