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