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