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