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