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