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