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