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