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