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