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