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