|
|
<DIV id=list>
% T9 j% |, U! g<DIV id=lrc1 style="COLOR: #666666">[wmv=0] http://lzbj.ncedu.net.cn/uploadfile/20083923248279.mp3[/wmv] </DIV>
* K, h+ h' j8 n1 P `) B) [. ^8 t<DIV style="COLOR: #666666">|等一分钟|听到这首歌,觉得它很动听,旋律很优美,很是喜欢,传上来给大家听听。</DIV>" ^9 u8 s& ]' }9 Z' P
<DIV id=lrc2 style="COLOR: #666666">词曲唱:徐誉滕</DIV>8 E8 y F8 U& k5 P, c" c
<DIV id=lrc3 style="COLOR: #666666"></DIV>- q' f: q/ {; B6 C2 V
<DIV id=lrc5 style="COLOR: #666666">如果时间 </DIV>! N7 l: l% j" E) H: q$ e: O
<DIV id=lrc6 style="COLOR: #666666">忘记了转 </DIV>
% y+ ^+ j0 S. A: g9 o<DIV id=lrc7 style="COLOR: #666666">忘了带走什么 </DIV>" ^$ O$ j3 R a5 x. ^
<DIV id=lrc8 style="COLOR: #666666">你会不会 </DIV>7 v8 K) F) Q! X) s; a) J5 X
<DIV id=lrc9 style="COLOR: #666666">至今停在说爱我的那天 </DIV>3 e/ M$ g8 H9 }, H' T, n3 W
<DIV id=lrc10 style="COLOR: #666666">然后在世界的一个角 </DIV>9 B& {8 s8 V( k& E3 T( A
<DIV id=lrc11 style="COLOR: #666666">有了一个我们的家 </DIV>. _, Y: u4 L- {1 x$ w
<DIV id=lrc12 style="COLOR: #666666">你说我的胸膛会让你感到暖 </DIV>' Z+ J, |& R; x- ~" E& v
<DIV id=lrc13 style="COLOR: #666666">如果生命 </DIV>2 z9 y' G7 @, E+ q8 c7 q- G* M; D7 j
<DIV id=lrc14 style="COLOR: #666666">没有遗憾 </DIV>
& S9 x3 j" V9 B% m; e" z7 w& p* s<DIV id=lrc15 style="COLOR: #666666">没有波澜 </DIV>+ J1 |7 Z) {3 f
<DIV id=lrc16 style="COLOR: #666666">你会不会 </DIV>. C" f b1 S- _9 h
<DIV id=lrc17 style="COLOR: #666666">永远没有说再见的一天 </DIV>
# L T" [- H9 Q" c' ?0 o<DIV id=lrc18 style="COLOR: #666666">可能年少的心太柔软 </DIV>
8 _ ` v7 B4 [<DIV id=lrc19 style="COLOR: #666666">经不起风经不起浪 </DIV>
, v& |0 U7 H+ g5 |; t<DIV id=lrc20 style="COLOR: #666666">若今天的我能回到昨天 </DIV>' z/ B, D! x7 p1 Q
<DIV id=lrc21 style="COLOR: #666666">我会向自己妥协 </DIV>3 W! g: Y" C% c* c9 x6 V% f- p
<DIV id=lrc22 style="COLOR: #666666">我在等一分钟 </DIV>
, K4 `+ M% w2 z<DIV id=lrc23 style="COLOR: #666666">或许下一分钟 </DIV>: r, y0 }$ O" ^) `+ {( j' u
<DIV id=lrc24 style="COLOR: #666666">看到你闪躲的眼 </DIV>5 w6 e3 a7 R% a3 l
<DIV id=lrc25 style="COLOR: #ff3300">我不会让伤心的泪挂满你的脸 </DIV> Z& Y; H/ n- D$ a K
<DIV id=lrc26 style="COLOR: #000000">我在等一分钟 </DIV>" I2 ?; f' l+ b# k- j/ N. q8 e- m
<DIV id=lrc27 style="COLOR: #000000">或许下一分钟 </DIV>
! M2 F7 {( Q0 Q Z<DIV id=lrc28 style="COLOR: #000000">能够感觉你也心痛 </DIV>, C9 { \* t" ?$ R! c Y
<DIV id=lrc29 style="COLOR: #000000">那一年我不会让离别成永远 </DIV>
3 w. }" Z- X3 B- _2 T% T% h( l<DIV id=lrc30 style="COLOR: #000000">如果生命 </DIV>
! A5 n, T U) `$ e5 s<DIV id=lrc31 style="COLOR: #000000">没有遗憾 </DIV>
+ @ f2 L1 S H* l" b4 v<DIV id=lrc32 style="COLOR: #000000">没有波澜 </DIV> E. `' S# F8 @2 n+ T
<DIV id=lrc33 style="COLOR: #000000">你会不会 </DIV>0 g, ^; I5 ?, g! r2 ?+ U; S; L
<DIV id=lrc34 style="COLOR: #000000">永远没有说再见的一天 </DIV>
]1 ]. D4 N3 n7 r2 ?6 m& s% y' }& s1 J<DIV id=lrc35 style="COLOR: #000000">可能年少的心太柔软 </DIV>1 I+ K4 w1 D& a) \! w* A( u" r
<DIV id=lrc36 style="COLOR: #000000">经不起风经不起浪 </DIV>
( x$ U* V+ [$ U1 l" g$ f( X! Q<DIV id=lrc37 style="COLOR: #000000">若今天的我能回到昨天 </DIV>
/ s5 }$ |+ G' ^ D<DIV id=lrc38 style="COLOR: #000000">我会向自己妥协 </DIV>
8 g8 \) {" W; b; F, T+ V<DIV id=lrc39 style="COLOR: #000000">我在等一分钟 </DIV>
+ g1 r. |. ]9 P" W7 O, Q<DIV id=lrc40 style="COLOR: #000000">或许下一分钟 </DIV>
8 F+ C, _& a ?4 }3 Z0 w<DIV id=lrc41 style="COLOR: #000000">看到你闪躲的眼 </DIV>0 x' n/ D. B$ P9 a. P! S9 X
<DIV id=lrc42 style="COLOR: #000000">我不会让伤心的泪挂满你的脸 </DIV>* N+ n2 Q2 `9 n" ?* D
<DIV id=lrc43 style="COLOR: #000000">我在等一分钟 </DIV>
8 J$ E1 P1 Q9 \<DIV id=lrc44 style="COLOR: #000000">或许下一分钟 </DIV>
/ j' a/ `' `1 V5 j2 A<DIV id=lrc45 style="COLOR: #000000">能够感觉你也心痛 </DIV>
: _% H3 w( Y2 C" _<DIV id=lrc46 style="COLOR: #000000">那一年我不会让离别成永远 </DIV>
! l9 o9 x1 j: j5 R<DIV id=lrc47 style="COLOR: #000000">我在等一分钟 </DIV>% `- p4 f( `5 b
<DIV id=lrc48 style="COLOR: #000000">或许下一分钟 </DIV>' u3 ~; Z; K! b4 c3 x
<DIV id=lrc49 style="COLOR: #000000">看到你不舍的眼 </DIV>7 L( a# e9 R6 |* Y
<DIV id=lrc50 style="COLOR: #000000">我会用一个拥抱换取你的转身 </DIV>
0 F9 X: E9 @2 n<DIV id=lrc51 style="COLOR: #000000">我在等一分钟 </DIV>
" l1 ]" l" M- y. m<DIV id=lrc52 style="COLOR: #000000">或许下一分钟 </DIV>
; O. N( n: @3 S% a* d6 n+ }6 P) c<DIV id=lrc53 style="COLOR: #000000">如果你真的也心痛 </DIV>2 V% k" e. B8 v% W2 g [. c
<DIV id=lrc54 style="COLOR: #000000">我会告诉你我的胸膛依旧暖 : s! ~6 [ i; f- R! y7 L
<DIV id=lrc style="DISPLAY: none"></DIV>" w3 B9 @: I5 ?" [4 T
<SCRIPT type=text/javascript>
5 b& w0 \3 ^$ l, W! v Zdocument.domain="1ting.com";
/ u8 ?) I# K( n1 J) K0 O- Lvar colorPasted="#666666";; \, c( j* `' s
var colorPlaying="#ff3300";
* b4 ~, {: |1 B% M0 V5 [2 A% y* ]var colorNormal="#000000";# D( a( k- n, \2 }$ E
$ = function (a,g){% t8 B0 V L# ]# U/ `% ]$ J+ c
var o = new Array(); ! T' o, z$ p# w% B9 {
var c = new Array();
( j0 t+ g0 F5 U var r;
$ K1 R- U* ?" |& S ] var u;
1 J [" g8 I* c* | l, I var a = a.split(';');
, ] k% E; s6 l1 ~ ^# Y8 Q
3 C) u* I$ T) c4 U var e = "keydowns,resize,load,dblclick,click,mouseout,mouseover,mousemove,mouseup,mousedown,inputchange,inputfocus,inputblur".split(",");
; Q$ c/ ]$ [4 a) a2 Q for(var i=0;i<e.length;i++){
2 I, ?# L6 V; Y _ eval(e<i>+" = function (s){eval($event('on"+e<i>.replace("input","")+"'))}")! z' p/ p! c4 j* [& ?) t
}" P3 } ~1 i$ c$ t
5 \8 t: b6 `$ v# Z7 Q( `$ p' D after = function (t,d,s){
+ g/ F+ s# Y( ?+ D9 ]; N- _ $after = function (){2 e: t5 L$ o2 O' y
var $n=document.createElement(t);# I, {; ^' ]4 t( f1 N9 o
if(d!=null){
' z. |# M9 h/ l' I8 [4 y $n.id=d; . P U: ^$ `# K0 \) P; D
}
% y5 @9 ? ^+ j9 M / I/ A( g6 H% ]$ h# A
u.insertBefore($n,null)
& ~1 I! X/ e3 r% o! q/ z1 S r = $n;
* a2 l |1 |6 k9 o4 c9 R2 } u = $n;
7 c/ ^9 l3 l- z% i6 n }! k/ U8 S5 C$ u/ P% l) X5 e, z/ I
$for(s,"$after")- v; U, |- ]1 g0 p7 q/ z
}
) `% f0 K; i) R% A# J" O1 H
# f3 I" R6 ^! @8 K show = function (s){; |" `) Q! m8 w8 }0 x1 q
$show = function (){
1 H; [, W! d$ A u.style.display!="none" ? style("display:none") : style("display:block") ;
+ R2 [& e* c: V( p; S }
2 p( R! H+ g" W3 Y; C4 l $for(s,"$show")' i% ^; E. w: C5 L; M( B4 s- c
}% o L: T$ L( N* e% X- N, l
' f% U& i: P$ m! s
check = function (t,s){
" U. O8 z5 h9 X( o $check = function (){
4 d$ q% u) E* }, r" d/ \ if(t=="2"){
% a5 a) l. z# _7 n: G- O: n if(u.checked){
# u$ j3 s; \5 B0 D1 B N u.checked = false;
: f, p7 v7 v! A. P; h8 M/ e }else{
* o; F* F, B+ n( ]$ l4 Z u.checked = true;- c5 `8 A& ^% s. s
}
+ O& W+ ~# x, q- a/ l }else{. [" b% {3 v' l6 F. ]. D( F5 v: B
u.checked = t*1 ;
8 V# ^' t: `9 D. [8 F }
0 u& J" `& ~. |$ k2 K8 h: S }7 A/ s; I; {8 a5 f
$for(s,"$check")0 O& J0 @3 ~0 H
}1 l/ u% W: d6 L6 ~, t
* o6 u- Y" h+ S& a- k# B x9 s5 e style = function (v,s){/ v8 `. g. n0 n% T5 G. x- r
$style = function (){) v+ s% |, y) K8 U1 y8 G1 ?. t
var $n = v.split(",")
/ o; m% R' J2 I; _6 Q; J for (var i=0;i<$n.length;i++ ){
2 L- s, }2 @% j3 b6 U$ g var $m = $n<i>.split(":") 8 K3 Z& ^8 m. e/ f
eval("u.style."+$m[0]+"='"+$m[1]+"'");
. _( ?# @8 |! O b2 \4 u9 C, M }
% p2 F# o8 m6 S- l( }; R- ` }
; i1 b. I5 [0 G4 ~ $for(s,"$style")0 X- E4 b* t0 ]/ H. z$ x" X9 l
}
& S, x6 g0 S; s# ~( Z9 D( J0 s/ R4 H
value = function (v,s){+ n Q8 X# N3 `4 Q* [
var $n= $this (v);
8 f- f% m n1 w3 z( N $value = function (){" K' O1 j' K5 F. J/ i
u.value = $n4 d& X4 T/ u# J0 o7 W* j3 ^
}
, t( o0 h9 C) ~: T* L# [4 F $for(s,"$value")
h. w6 {3 n7 s x ] F# T }" h; J7 j" {* A
( ^' r' H: i4 E3 {& }
text = function (v,s){
3 b% B+ ]; h; U0 L2 [ var $n= $this (v);" ^4 W. n* o" n! r. g0 `
$text = function (){
6 I4 H" H" ~9 J+ P$ j' z " f& ~ m( G0 e7 D' ~1 C( B
u.text = $n- x5 j: m( R$ _( ~
}) |3 t5 \6 U) T- ]9 s& _) g
$for(s,"$text")
" r R' a8 w# f- _2 x# F! r }
% a/ l* Q" P( e9 a# M4 n2 j3 | B3 r2 k) {
innerhtml = function (v,s){ N& d% p# l" Z8 Z& {) K
var $n= $this (v);+ {" x# u! s4 G. u
$innerhtml = function (){# i, k4 z; e/ w8 ?, f3 T
u.innerHTML = $n1 [& F7 E9 ^, R9 ]: Z* q/ Z- u% l
}& U, N) S- u4 W9 ]' W
$for(s,"$innerhtml")
* N2 U& h0 l: n! P. [% Y1 U6 U }* W+ Y4 v' [4 P2 |! p
. o* [ u: A) [* h: D; I removechild = function (s){
, [+ j% R' R( p) w) ?7 r( v$ L $removechild = function (){
, I, n: E1 V, S/ ^ u.parentNode.removeChild(u)
. ^6 s: z% E, L T }; A. F4 V% y2 R* B
$for(s,"$removechild")
$ v3 ^, \5 r: U. p* ]' ^9 M1 { }: \3 l# X8 s$ o3 y: [5 ]4 Z
. K; m* `5 J$ W% f. i7 P, g
$this =function(v){
8 C( V0 l7 g1 n, N4 v if(v.indexOf("this") == 0){; N. x6 ]: L; k1 N7 h" h: U# d5 G
return eval(v.replace("this","u"))* A' X/ M' W2 \% m. M! I
}2 |. f$ S d6 {6 g6 p4 _' J( }2 F
return v;; T5 _1 X" Z N R
}( G, ~' U7 n* h5 T+ `7 X {( j& S6 z2 n
+ y2 s, a$ A% J4 a, c! J& Z' E [
$event = function (s){
; B$ q, K; P, f* z1 D0 Y' L var $n ="u."+s+" = function(){$work(this,s);}"$ l# l8 V( O/ i# a+ i4 `: T! R/ C
return $n;
" R9 E& ?$ t% U, \" t' N } }" H! M# @# v
* [0 {* L4 { s; [* F
$replace = function (s){
6 }" t7 ?) {# _# p
1 E1 z* ]8 S$ S% d: x }
& x* P' X" w/ \& l- _
3 v; H5 O0 Q. W6 o $for = function (s,c){+ T# h) X# V( X9 I
var $n="this."+c+"()" ;) n; [& W+ C4 h& B2 z7 h6 e
if(s!=null){
+ I0 r4 B. l& K' V. M# ?0 M var $m =$test(s);
" ?7 b) s& S5 ]6 i7 {' g+ H: A for (var i=0;i<$m.length ;i++ ){
, j0 s4 _! f# m# l$ @1 A u = $m<i>;
1 f+ e3 o+ t F# D. f* G. f* @7 c eval($n);
$ R% {$ @! L' Q7 E }
4 f9 V4 {8 h* Q7 ^. o4 y }
$ j( D/ `% }8 r" W else{
( w$ K7 M4 J0 D eval($n);
4 R! q! W! |& P2 z }0 ?: e Y, \3 x/ D
}
0 P# ^0 j7 B$ p6 d0 N# X [1 {4 s
" A v4 A( x5 Z1 L$ o; S* j $test = function (a){/ W* _1 c* d( U& b+ T& _3 m# N
var o = new Array();$o(a.split(';'),o);
@7 k; {& V1 V/ o% j9 e return o;& B9 Z9 D; x- k0 y
}- x# h/ ? D9 l6 y
0 L0 Z: o `6 |% w8 j7 J. p$ r, p $format = function(s){
2 V! l" V$ T: ~9 F while (s.indexOf("'")>0){
& d/ K1 {/ |4 @: _: Y3 I# H: v9 j s=s.replace("'","\"");* f# Z3 }* X1 r l" [3 Z
}
1 y% u: m6 G! [5 |) u while (s.indexOf("][")>0){
: F% r2 Y- j6 p( ]1 Z s=s.replace("][","','")
& c7 C( \: L' ]4 i$ r* s' x }( N4 U2 O, k, R' U3 V6 _
while (s.indexOf("[")>0){
" U E; Q* X( A3 B' v0 \ s=s.replace("[","'").replace("]","'")
4 N4 l+ f4 P# h. K* E* b }
) g: B- \5 a6 `6 z( `8 J) O return s;
. E" ~# _* K* a1 X }! M! i( j: C. W- w' T
! q8 c; e1 o! [2 j: g/ l1 \2 A& l
$work = function(w,s){; L5 ?5 l$ T5 C. m. p% }
u=w;eval(s)
, J+ {# K8 i, p }" M2 H) ~/ E ~7 x1 d: y
9 H9 l/ t& \6 R# H $id = function (s){
. c( c" ]: K- L, S: C2 L, u) q return document.getElementById(s);% X) o3 O$ ?: @: f3 r
}6 ]; @. I% f& w2 P! [
2 |( X7 i2 ~& z' i. B) Q/ i# i! z $name = function (s){
( J/ ]# r; Z B G return document.getElementsByName(s);% N2 S Z- S+ J8 n! H0 [$ y
}
. X9 s8 ?1 f- `% G$ j5 i( x* s! Q4 c: O! ]; V" P% Z6 X T( I& F
$tagname = function (s){
, `2 j5 f e8 z return document.getElementsByTagName(s);
- Z0 s# N: [/ r) q }
+ A+ |' c/ `# j* ?6 F! Q2 u. I( n* W: d9 N+ s
$o = function (a,o,c){
0 N* } G: t0 A! b4 U8 `" z $push = function (n) {
) E# R9 v9 w5 L" i for (var i=0;i< n.length;i++ ){
" x) i# f/ m7 H: h! h7 v# o2 P; i o.push(n<i>);1 J8 F# ?. V, [+ c) w
}
3 m B2 c7 }9 }. `2 Y }3 [! Q% o0 i3 e' o( K
for(var i=0;i<a.length;i++){
+ q: s6 e6 l& k; E+ {. i if(a<i>.indexOf("(") >= 0){
, O- L& Y+ o w5 z" d/ X3 S; v( m c.push(a<i>);9 N" D$ Y- m a0 c" ]. n
}2 X$ c3 x# G* j
if(a<i>.indexOf("~") > 0){
6 K1 |; t2 |# V* i/ a: t try {! {6 V8 P, N- V8 o
$push(eval(a<i>.replace("#","document.getElementById('").replace(" ~ @","').getElementsByTagName('")+"')"));
0 s# j* p t8 u }catch(e)
* g0 z9 i4 g( G {} 2 [8 T2 z/ x) k* D
}
5 Z6 a9 S* x$ u: G2 l7 u; @2 j! f else{
: J a4 P2 q$ N' i/ a6 V if(a<i>.indexOf("#")==0){
Q8 r1 |4 [6 H2 C! W: z5 {9 C o.push($id(a<i>.replace("#","")));4 h- l! f7 Q& K3 W
}
9 c \; |( D! e4 @$ w$ F if(a<i>.indexOf(".")==0){8 i' V) e: ^. Y) P3 b
$push($name(a<i>.replace(".","")));
& P) ?4 S- Z! h$ _. b) z }
, W' S7 ^: T# ? if(a<i>.indexOf("@")==0 ){
5 Z. p& P3 C1 ]2 W6 q s; m4 p/ i $push($tagname(a<i>.replace("@","")));) n4 U& O; [ b6 D
}
0 P; ?+ Q; h9 {/ d if(a<i>.indexOf("*")==0){
" J6 V7 c' o+ G' T, \ $p= a<i>;
( u+ i9 l5 j7 A& u+ ]9 E; T) l if($p.indexOf(".")< 0){+ S( `2 U0 a/ M- V$ n
$p = $p.replace("parent","parentNode")$ a. c( U. \5 Q. i: s
}
- O t7 b# w; s9 l9 Z var $p ="u."+$p.replace("*","");
8 y. w) Z& R. P while ($p.indexOf("parent.")> 0){
& v5 `. M' N* j% o6 @ $p = $p.replace("parent.","parentNode.")) P8 A: @+ J. a1 u" S# f \
}
4 k R* \4 I/ ~/ |- L while ($p.indexOf("child{")> 0){
; v" X; _8 A/ S, f$ O+ W $p = $p.replace("child{","childNodes[").replace("}","]")7 V' g/ _7 [. K
}4 x( j M" U& s! K% p" b# O
o.push(eval($p));
7 t& p3 j& C' T& s( c }
8 k2 ]2 ^" c" o' M if(a<i>.indexOf("document")==0 || a<i>.indexOf("window")==0){
# l0 y2 C; y" z1 i0 w& y o.push(eval(a<i>));: d# } @/ O) _3 a
}4 p! b6 b6 R g# j, t6 ]
}
0 x* Q" m' _. W- P' |9 T4 X* m4 ` if(g!=null){
4 O) e- H. Y* D8 n, k, _2 X o.push(g);g=null
- e5 }9 L: Q7 F% R: i! ~# Z }
1 V: Q. M* W3 z; v6 F. ~% ?4 W' ? }) z0 P5 ~& i: e, ?4 Q5 \4 p+ R
}
; L4 _9 [/ I7 J# c' j7 G' X( q1 u- b. g2 N8 p' N; t3 x
$o(a,o,c);2 f; p/ ?% ?5 }3 F3 D
8 K. a6 s" s! g* D% ]# y$ c
for(var i = 0;i<o.length;i++){2 b% G/ R `6 C4 q+ c$ p0 G
for(var j=0;j<c.length;j++){( G4 l! g9 D& @
u = o<i>;eval($format(c[j]));
- x( d- p7 T5 `" V7 T* k }: o9 `. |7 X2 [3 I3 G
}) ]3 m) P& I K" k3 e) ~, [; [9 K7 K
# ^; _& j9 h& i- Y5 q0 j1 r if(o.length == 0){
4 O7 _% L6 G& p' B for(var i=0;i<c.length;i++){
* n; `$ h8 J/ a2 Y; G& I+ F) `) U eval($format(c<i>));3 N& X w9 L; l9 A. w8 J& y, p
}7 W+ t/ h$ M4 n% P) Z! u: k5 n! c U
}, x8 b: K( C: {% i+ N
0 g$ [9 f$ ^2 _
if(r!=null){) x: l+ q' D% M0 J) E1 S
return r;
8 e4 Z4 h5 [1 }7 Q }8 K4 m) o3 Y+ ]0 a
9 d& d/ ] ]* \6 F
if(o.length==1){
2 z; E2 W4 G9 Z: d! g return o[0];
: I4 I5 k% o3 s. T }
1 A: P, {; G: T' z else{
4 [( {/ S6 ^0 p1 P return o
! p; M5 N# x* k) e } . e0 _1 q$ |8 d+ B
, h6 O' o! v( m }
, U8 L2 v# C z) y* ]2 ]. K6 Pvar lrc =$("#lrc;show()").innerHTML.split("[");: i/ N4 G- w$ T3 K$ `+ `
if(lrc.length>5){" I0 Z0 o- g/ w, b! S
var array = new Array();
2 J. ?. Z4 k5 l, Y& ]. dfor (var i=0;i<lrc.length ;i++ )
) q2 B [1 [3 ^1 L: e{
' T( ]) E# u8 ] v. X5 N var g = new Object();) S0 l M; U; m- R- k6 [6 R- ~( y! r
t= lrc<i>.split("]");! A. g# z2 W, e( {' s& Y
g.time = getTime(t[0]);9 H! o, L3 }0 l; @7 q, {( r3 Y
if(isNaN(g.time))
: v% ]8 ]; b; A9 h. U% s continue;3 {8 d5 c" v j3 A
g.c = t[1];! x) k4 X3 n; ?+ J$ v3 w) ]- c
if(g.c == "")( S/ x$ |5 g5 M( T6 S, r
g.c = getNext(i);2 n6 T7 g1 G9 F3 Q" o" a$ f4 d
array.push(g);- C' c' B/ ]% M) F! @8 a1 b
}
7 S. L$ l8 ?, H! Marray.sort(function(x, y) {
6 [5 S9 L7 N$ Y if (x.time>y.time) 9 e9 o5 P! [. s9 \3 y+ F6 o, `$ [
return 1;: g+ N. `# f& }4 a, [
else if(x.time<y.time)
: g# n; g! P0 U' G' W return -1;
" p% q9 E. \' i' _, v6 {7 v6 G+ U else
! i6 w# }$ Q5 x4 N+ M) p return 0;
2 G9 h# O' j, j5 B/ a }
3 N% g8 x- m+ n) N9 P);
0 X" m9 b, s wfor(var i = 0;i<array.length;i++)
. [* l5 n: H5 P" k r# G7 I{, B9 Z9 i1 B6 a
var g = array<i>;
5 x# {+ C" b$ v2 A$ y4 b. Z* K if(!g.c){" ^5 t) s: ]7 U1 {1 q( I7 G
g.c=""; f* @9 P, F: \1 e! b1 [' [2 ]9 n
}" b p( o% i* H- d/ F& a4 I
$("#list").innerHTML+="<div id=lrc"+i+">"+g.c+"</div>";) W' K/ m4 |0 A/ W
}: ]7 S6 y. f& ]! U2 `8 p
var time = setInterval("lrcList()",500); : l6 `& I+ s: \' g
}else{
: D7 Y, s* V9 f& o $("#list").innerHTML=$("#lrc").innerHTML;
+ F6 B5 Y3 z* m5 L2 @6 Z3 v}
! [7 g) b& p( F$ r) J: r. ~function getNext(i)
. r! G5 m, J, B b! Q/ M{4 ^) y& t G' t' V
var result = "";
# I) D6 U1 |( l4 D1 M# ]5 G u0 L# T var i = i+1;
! i0 k# |# K4 H" x+ x t = lrc<i>.split("]");
' y8 d: `. J \. Z if(t[1]=="")) h5 s6 H+ c% [% K7 x
result = getNext(i);
v& u$ G+ ?; M else
& ~7 X' ]; X2 z8 i- a/ r result = t[1] H" G2 Y9 S( n3 K- z2 G. g# c
return result;
6 H0 p- U6 P. |7 K4 V/ m}
5 Q3 g" ^' {; z( n5 N6 r3 z/ b n- G0 d: ~
function getTime(str)2 g, K, W8 B! S
{
$ V- _! {) F7 G. C! A var time =0;! _% Z7 c7 g+ ^1 f- m
var ta = str.split(":");5 B' j# B0 j& H+ V( U$ A
if(ta.length<2)0 C8 m2 g7 O5 [' X( y, }7 h! V; Q
return time;
/ y3 M% v1 ]" i) ~2 e) G
5 M B5 w1 u+ m. K if(ta[1].indexOf(".")>0){
$ H( g3 `) L5 l& U% u: g var tb = ta[1].split(".");
5 J9 j$ Q' n* z y4 Z$ T: V time = ta[0]*60*1000+tb[0]*1000+tb[1]*10;
. w+ K2 O5 Y' A- v. i5 m) ] }9 z. v* |, ]' F1 _5 {/ Q
else0 j) \2 l1 X- I
time =ta[0]*60*1000+ta[1]*1000;7 B E" n- @1 @- F/ F( m
return time;: S* L% A( s3 I+ u
}& L( E8 C* u: \3 |8 N) H
var preTime = 0;# Y2 c$ I) C& X3 L- u
var nextTime = 0;" v" L- e$ ~( ]" m
var currIndex =0;
A9 o: J x/ B/ W/ `function lrcList(){
7 s: ~4 l/ { O- d. }" t; g4 o var s = parent.document.getElementById("MediaPlayer").controls.currentPosition;
! I+ \# I }0 f' J4 d$ u+ ~+ V s = s*1000;9 `" Q$ {8 B8 v
if(s==0){, H# Y0 K& Q0 b: x
currIndex =0;8 _3 m* \+ ^0 p7 Q
$("#list").scrollTop = $("#lrc"+currIndex).offsetTop-30;9 ~+ C0 v1 W9 U! \& r- N
for(var i=0;i<array.length;i++){9 _; h+ {( Z+ `+ a- C, \9 Y( E
document.getElementById("lrc"+i).style.color=colorNormal;
- z. N( s$ f) S, P }4 M' w' J, k( y9 i6 Z
return;) l- x# \# c$ }* U
}
: w) d' [1 |+ E0 B% S+ @# V4 T if(s>0&&currIndex<array.length-1)
0 G/ P' Z- L* i' M3 w* w- q1 }, e { , G! Q/ w" g' h2 F+ a
preTime = array[currIndex].time;( f m# H: P! L- \5 M
' m) q* x7 ^0 ~. f2 }
nextTime = array[currIndex+1].time;1 G" R" [3 D- f0 C% E
- l: w" x0 s7 M) i if(s>=preTime&&s<nextTime){
* W+ a |* s% l }
5 Y0 r1 S3 @& N& o else if(s>=nextTime)! K* L% s2 M, }: j% @
{( |* h& F" t; t
document.getElementById("lrc"+currIndex).style.color=colorPasted;- X4 O: D# r: _9 M4 h
currIndex++; i) ^, ]$ x' q- S# g
$("#list").scrollTop = $("#lrc"+currIndex).offsetTop-30;$ Z% `' o0 E6 c
document.getElementById("lrc"+currIndex).style.color=colorPlaying;
E) ~# h6 O7 I lrcList();3 U' H- K I0 h# w, k6 b7 V
}
6 @1 g& q; h; y; d) Y else{1 u5 A& ~3 P' n/ C, b
document.getElementById("lrc"+currIndex).style.color=colorNormal; G; n) T" @+ }# t* l5 l+ D
currIndex--;$ ?! Q/ u: I5 ?# K4 [
$("#list").scrollTop = $("#lrc"+currIndex).offsetTop-30;
- a% F& T6 |7 d5 r+ F' k! x* C# S document.getElementById("lrc"+currIndex).style.color=colorPlaying;4 E) e0 S, {8 z0 v8 S9 |+ N. S
lrcList();* r! @6 C$ R& z& Q6 y4 ^
}
" r( {. ?+ F/ @% s }( u+ e8 }& N* s5 x% {4 j
else8 t2 a! E0 [! d- Q- l# w6 i
{
) ~# T; \4 T6 l2 U if(s<array[array.length-1].time){& z% j+ ~3 ~% X. }5 h
currIndex = 0;9 l4 B, A* U# ~# k
$("#list").scrollTop = $("#lrc"+currIndex).offsetTop-30;8 h4 c4 T9 e4 `) C3 j
for(var i=0;i<array.length;i++){9 a- [6 z. n; X# U
document.getElementById("lrc"+i).style.color=colorNormal;
- f9 l/ d* k' z, u }
* k7 e7 t" h$ a* q* W ?" X1 r lrcList();
# h* ^: j$ \! D) e( j }2 `! u* S7 L' p
}
5 Z" v1 F) j1 j8 Z/ y$ [9 D}4 m! h7 K, I8 U9 y: b' |+ u
</SCRIPT>
8 s" o4 G" L8 A4 {. o</DIV></DIV>
) Z0 I; t2 h0 G/ F' R( U }/ V& E9 t9 P7 M2 `& J3 p& X
[ 本帖最后由 幽谷兰 于 2008-9-18 17:36 编辑 ] |
|