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