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