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