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