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