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