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