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