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