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