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