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