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