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