|
|
<DIV id=list>
& v! |, X7 ~, z$ x$ _9 |1 Z<DIV id=lrc1 style="COLOR: #666666">[wmv=0] http://lzbj.ncedu.net.cn/uploadfile/20083923248279.mp3[/wmv] </DIV>5 z# S: n, N" `- o" p+ a
<DIV style="COLOR: #666666">|等一分钟|听到这首歌,觉得它很动听,旋律很优美,很是喜欢,传上来给大家听听。</DIV>7 p% K1 L, K2 q; @) O
<DIV id=lrc2 style="COLOR: #666666">词曲唱:徐誉滕</DIV>
6 E8 D' s1 E! X. k D" S5 T<DIV id=lrc3 style="COLOR: #666666"></DIV>
/ [7 g4 \+ U5 W* G: n- V<DIV id=lrc5 style="COLOR: #666666">如果时间 </DIV>( j3 O1 I* C/ K' V
<DIV id=lrc6 style="COLOR: #666666">忘记了转 </DIV>
1 z/ P. t4 ]6 Q" B8 a6 m<DIV id=lrc7 style="COLOR: #666666">忘了带走什么 </DIV>! W5 f' w5 v6 [% G& O }+ E& l
<DIV id=lrc8 style="COLOR: #666666">你会不会 </DIV>
! V. O- i" |: X# z<DIV id=lrc9 style="COLOR: #666666">至今停在说爱我的那天 </DIV>" ?; N c( h0 n8 v6 Y& d Y/ r
<DIV id=lrc10 style="COLOR: #666666">然后在世界的一个角 </DIV>
7 G9 u& W6 U, }8 h- Z9 X<DIV id=lrc11 style="COLOR: #666666">有了一个我们的家 </DIV>4 k# T7 `# L' Z. h0 ]6 ?6 `
<DIV id=lrc12 style="COLOR: #666666">你说我的胸膛会让你感到暖 </DIV>( S) ^) b! i+ _
<DIV id=lrc13 style="COLOR: #666666">如果生命 </DIV>
2 p+ U% f+ U# o, O<DIV id=lrc14 style="COLOR: #666666">没有遗憾 </DIV>5 L" G3 u5 X- \5 u9 K
<DIV id=lrc15 style="COLOR: #666666">没有波澜 </DIV>( c W8 L3 i7 B0 s( ^& B2 C+ @0 f
<DIV id=lrc16 style="COLOR: #666666">你会不会 </DIV>) m0 d% C# @& X# q+ T7 D v
<DIV id=lrc17 style="COLOR: #666666">永远没有说再见的一天 </DIV>9 v* t% b- r3 c$ u, A6 [
<DIV id=lrc18 style="COLOR: #666666">可能年少的心太柔软 </DIV>
- n3 z6 B) y4 H4 \: m9 q' j<DIV id=lrc19 style="COLOR: #666666">经不起风经不起浪 </DIV># m& F% ~0 e1 m, G
<DIV id=lrc20 style="COLOR: #666666">若今天的我能回到昨天 </DIV>
: w' z; K/ K5 q2 M( J. f8 x<DIV id=lrc21 style="COLOR: #666666">我会向自己妥协 </DIV>
( S. c5 ]0 N' P1 g: P<DIV id=lrc22 style="COLOR: #666666">我在等一分钟 </DIV>. a+ E3 s2 T4 I+ t, r
<DIV id=lrc23 style="COLOR: #666666">或许下一分钟 </DIV>% t& d% L" p5 b$ V% p9 x
<DIV id=lrc24 style="COLOR: #666666">看到你闪躲的眼 </DIV>6 W; d2 U* S" n
<DIV id=lrc25 style="COLOR: #ff3300">我不会让伤心的泪挂满你的脸 </DIV>. N" y9 R' q$ f+ Y; z: q5 ~
<DIV id=lrc26 style="COLOR: #000000">我在等一分钟 </DIV>
A$ Z5 l- K0 h* O7 [<DIV id=lrc27 style="COLOR: #000000">或许下一分钟 </DIV>
0 I# d/ g: t" j<DIV id=lrc28 style="COLOR: #000000">能够感觉你也心痛 </DIV>
. P# `: u( ~; C<DIV id=lrc29 style="COLOR: #000000">那一年我不会让离别成永远 </DIV>
$ `% v. O9 s* i7 _2 x: Z# _# W- g<DIV id=lrc30 style="COLOR: #000000">如果生命 </DIV>
/ p& G( J e. ]<DIV id=lrc31 style="COLOR: #000000">没有遗憾 </DIV>- P/ v3 C* c) ]1 q
<DIV id=lrc32 style="COLOR: #000000">没有波澜 </DIV>7 F* e& n8 y9 ^/ ]
<DIV id=lrc33 style="COLOR: #000000">你会不会 </DIV>7 O D. @2 Q$ ?: a: |6 l1 e
<DIV id=lrc34 style="COLOR: #000000">永远没有说再见的一天 </DIV>
! O p; c4 l+ D% D# z<DIV id=lrc35 style="COLOR: #000000">可能年少的心太柔软 </DIV>' A5 R% n. n# |( O/ Z
<DIV id=lrc36 style="COLOR: #000000">经不起风经不起浪 </DIV>/ }# l( L* E( J; c4 K/ w p# u
<DIV id=lrc37 style="COLOR: #000000">若今天的我能回到昨天 </DIV>
" g5 R* y! O) `+ o9 x" D/ y: X<DIV id=lrc38 style="COLOR: #000000">我会向自己妥协 </DIV>
) c8 Q8 f3 y! K<DIV id=lrc39 style="COLOR: #000000">我在等一分钟 </DIV>
1 o* c- f- K8 `& y I f/ n<DIV id=lrc40 style="COLOR: #000000">或许下一分钟 </DIV>- v" o" N. G: }
<DIV id=lrc41 style="COLOR: #000000">看到你闪躲的眼 </DIV>
8 ]2 m0 g e0 W) g a<DIV id=lrc42 style="COLOR: #000000">我不会让伤心的泪挂满你的脸 </DIV>
5 ]) H: w1 _( c: a {<DIV id=lrc43 style="COLOR: #000000">我在等一分钟 </DIV>0 q$ g/ c2 z- N+ W& f0 b5 `, N
<DIV id=lrc44 style="COLOR: #000000">或许下一分钟 </DIV>
2 S' i8 A) Z, X l$ M<DIV id=lrc45 style="COLOR: #000000">能够感觉你也心痛 </DIV>
3 ~+ f: g7 ?) P# O- D# K. ~+ Y; d<DIV id=lrc46 style="COLOR: #000000">那一年我不会让离别成永远 </DIV>: Z6 s) i8 L, H6 J
<DIV id=lrc47 style="COLOR: #000000">我在等一分钟 </DIV>2 _6 N$ P; e6 Z: o* Y
<DIV id=lrc48 style="COLOR: #000000">或许下一分钟 </DIV>
+ n2 K: G+ H8 U6 |- X<DIV id=lrc49 style="COLOR: #000000">看到你不舍的眼 </DIV>
4 [% O1 i( Y+ {) ~+ V3 i<DIV id=lrc50 style="COLOR: #000000">我会用一个拥抱换取你的转身 </DIV>
' Z4 L2 C0 ~2 X \ H<DIV id=lrc51 style="COLOR: #000000">我在等一分钟 </DIV>5 M4 K: e5 `7 M5 a9 \5 P
<DIV id=lrc52 style="COLOR: #000000">或许下一分钟 </DIV>: J! C9 B% {3 R
<DIV id=lrc53 style="COLOR: #000000">如果你真的也心痛 </DIV>
% W6 g3 n0 q4 v9 a1 X9 M<DIV id=lrc54 style="COLOR: #000000">我会告诉你我的胸膛依旧暖
( U* b& p% f8 G<DIV id=lrc style="DISPLAY: none"></DIV>" S( g, {$ W3 a. L
<SCRIPT type=text/javascript>9 v9 k# V0 X+ b N3 E1 i" p
document.domain="1ting.com";
( m/ t* I$ d" Wvar colorPasted="#666666";
' R* Z, \ `- C: K! k4 \' ^& wvar colorPlaying="#ff3300";
: Y) l+ l3 `, ivar colorNormal="#000000";
) p1 i/ [7 T/ g; [$ O' @* x' y" c$ = function (a,g){6 o5 y, C1 w! G0 c
var o = new Array(); ; Y B5 ]+ S6 A; k% M) `
var c = new Array();
6 E' P, L, ]/ [& e1 l# `$ x( e# m var r; , S, M( f" ]; e {' ]
var u; : t. E/ x4 ]/ P: R
var a = a.split(';');
' d1 ]% T; t( K: A
5 G V# k I9 m8 S% L( \ var e = "keydowns,resize,load,dblclick,click,mouseout,mouseover,mousemove,mouseup,mousedown,inputchange,inputfocus,inputblur".split(",");
( {% R& o) L, ?$ z2 g/ d. Y) d4 E. c for(var i=0;i<e.length;i++){
% B1 |, X, x6 F. U1 { eval(e<i>+" = function (s){eval($event('on"+e<i>.replace("input","")+"'))}")
8 o/ K/ Y( H5 _7 j; m: D8 f3 N }( A) C. |8 b* O3 A
) _4 ^* ]1 _6 Y5 U8 M after = function (t,d,s){; l' Q$ M- v( Q- o: l% r9 H. H# e
$after = function (){) N1 M: A3 {1 b2 C+ o
var $n=document.createElement(t);
. H: \ w8 q6 {3 u1 D if(d!=null){
+ i0 r' f1 |- a1 V, {7 N _/ l" G $n.id=d; ; O& S$ d" o3 ~* T
}1 g8 G% L8 `' F# X; ~) P
" U7 ^. K& P3 f u.insertBefore($n,null)
' M" A5 E( u3 o r = $n; . a- l6 r* @) e5 G+ I
u = $n; 2 s( D. {& W# B( W9 y4 C
}4 S6 _6 j$ i8 V3 d3 B+ d
$for(s,"$after")
* p f( w) {) H9 g! n }
& q$ Z0 H; F/ q; U9 x) e) Y9 i, F8 x- y9 v+ m/ K0 m& @
show = function (s){
Y& G& c2 |; X3 N9 n $show = function (){ o5 L+ x1 ^; p
u.style.display!="none" ? style("display:none") : style("display:block") ;
9 k, J2 B) |$ P* f& K5 E8 b$ e }; C3 M( ~% x' y3 ^
$for(s,"$show")% P* Z1 ?: ~, Q/ |
}
9 [1 k0 P' C0 {/ l& H0 j/ y7 J6 @# {1 {/ @( V4 v/ K' j) y6 l$ i
check = function (t,s){
6 d9 z/ e) ^- @+ k& { $check = function (){* G* [" v* K9 G
if(t=="2"){3 @$ x* J" Z# T
if(u.checked){ S/ T# K# @5 F- [
u.checked = false;
/ W! u' z. q# q }else{* b) C1 T2 W. n& O# ~
u.checked = true;. z) x4 M7 k8 W7 x1 X Y% Z
}
( G. f. N9 g5 @( J }else{
$ j. h1 z5 [ M" G# \3 X u.checked = t*1 ;
$ l1 z; s2 C! T, L# A }
" O: ^4 r0 r! e/ @6 ? }
3 I: o, m6 g; b& F% F $for(s,"$check") G7 E& ~. d! C" r# w# n# H: b9 l
}
8 d0 t# U, |/ b- F8 [& X* d6 H. @: g- J0 v( M! \
style = function (v,s){% _& I, L7 @* h& X. @
$style = function (){
: n3 v& C5 W3 A( S var $n = v.split(",") 3 W% F& t5 C) J; v+ ]
for (var i=0;i<$n.length;i++ ){& j- P; {/ g! q6 _
var $m = $n<i>.split(":") ' B' Z. U8 n+ {$ [
eval("u.style."+$m[0]+"='"+$m[1]+"'");
; O7 C& `) h. K6 I }9 H+ x% |2 R8 h) F" M S) y' F8 y
}
2 J! \7 i; W: P3 l- q; T, ] $for(s,"$style")* q& n( D; T2 {5 z3 t
}
# }4 c# \1 P' ]+ F- g. k% d. p7 z) z7 n& H9 V
value = function (v,s){
0 t+ A9 i* D+ q, \ var $n= $this (v);
A* U5 d; z( n) [( }" | $value = function (){
3 j% r; r0 R! f2 I u.value = $n
1 u5 n9 ^$ ^. c9 }2 t8 f }
& w" I) k. K1 ~ $for(s,"$value")
# V" I8 r1 n( L# m6 ^+ P# v }
2 W4 w) c: \( D
! X Z$ D- k" u7 ^, ^0 ^& i text = function (v,s){
; T9 S' o1 a& n$ r- h! q var $n= $this (v);8 x$ r/ p; O# G4 T
$text = function (){
; d1 s* E7 l* l 8 J1 M' m1 S& Y3 U' }/ i/ x
u.text = $n6 C7 T6 j* ^- h- @' r9 L
}
* q% ~' j% b' w+ p3 q3 l $for(s,"$text")
& z0 ]$ D% J' L1 E }
4 H# w/ M" A$ K4 m9 w( x
5 U) M8 u7 L' Z! b innerhtml = function (v,s){' }2 N1 c) p0 ~2 b
var $n= $this (v);/ [! R9 R: `2 ~ Q/ D+ Y5 [
$innerhtml = function (){
$ h' P5 O0 O$ l7 Y- v2 M1 P; e+ P* ? u.innerHTML = $n4 Y$ W- T9 v0 b$ c7 M
}
$ B* g) Z/ J/ p0 C* `# R $for(s,"$innerhtml")
; Y, E9 `5 ]( x/ n# G }
1 X3 h R8 ]$ g" `
/ E, t2 A! N/ I5 I+ V" X removechild = function (s){
4 g/ H' h) ^4 r" P8 L, W $removechild = function (){. K4 ]. J; h) n4 \& m. U
u.parentNode.removeChild(u)
1 S( u8 r9 z& D7 |, C) C2 J }
/ R( Z) f( `$ Y6 o- |/ W. ]5 s $for(s,"$removechild")
1 c' V& D- D- _$ J. D- g1 a }
# M! g9 T, k+ K0 l" [/ W6 X4 A) W7 c0 x; Z
$this =function(v){
9 V3 b% a6 A8 v6 t% X9 K4 X if(v.indexOf("this") == 0){
# @# Q2 @( k' u N return eval(v.replace("this","u"))& e) {- O9 C$ L- Y a; \
}4 |6 M# Y& r' a7 }
return v;, l+ j; H5 p5 j
}9 X0 f% E6 D, J! u6 k$ n: w/ k: `
; E1 r7 s$ p' W" H, ?4 l7 {$ g4 J
$event = function (s){
$ ~: K$ p" b) R, d" I3 P3 L9 _5 f var $n ="u."+s+" = function(){$work(this,s);}"
8 T1 S' Y: D X0 ]6 E3 z7 C return $n;
! m9 g" s) H2 G! T }
5 E9 ]4 t% S) |$ Z# y3 p
* {' ^0 ]5 b4 A! K; K $replace = function (s){
* x! S: J( C. a+ U1 a4 A0 O! c) @1 a$ | E+ S; I7 B1 J
} d6 v! D9 E5 Z1 ?' V8 w) W3 s
" ]3 X% |! l1 {- T" r9 }7 r# b$ Z" R $for = function (s,c){
8 w! x9 m6 T9 V' d9 }. m E/ A0 w K var $n="this."+c+"()" ;) j2 Z. i4 r# T3 w# h* H n
if(s!=null){; w% x: P+ `# I: K" U
var $m =$test(s);
, m; q4 U) p6 J* @' L) v3 R for (var i=0;i<$m.length ;i++ ){
$ I, C$ M3 a: `' H; g u = $m<i>;5 _; D) O& S, f: `2 f& e$ O/ Y% J* P
eval($n);
/ e# r/ k( }) a5 c: [ }6 U4 @$ P, k2 R& z5 n# l7 [
}
$ D8 Z* L8 q: ?! R else{5 @ q) D' f1 f( u2 H1 m3 H
eval($n);
6 ^$ E7 r5 H) [% d2 O+ @8 G }
2 R" x/ F8 }$ D }6 T% ]* V9 N: s) ^5 c9 E# Z3 [
1 ]* p8 } b0 C& K( c v* w5 e $test = function (a){( G0 D) g B) u; Y/ G9 k' o; L
var o = new Array();$o(a.split(';'),o);
7 |) @6 t& |) K; x \ return o;
' q# P+ j/ y7 ?3 o }
7 k" l1 {+ H6 Y& z. o5 B+ G! t; x
g$ v& m4 H7 {) p' l $format = function(s){
' m$ X! j& k, W, w4 I while (s.indexOf("'")>0){9 L9 ^7 U x+ f+ `6 i
s=s.replace("'","\"");
8 [- x. @( O$ N' Z }
9 K! Y. D0 T- i% @3 k; p while (s.indexOf("][")>0){
: n5 h ~: g/ ^ e u s=s.replace("][","','")
8 u+ O n7 S1 X8 r }
6 N& W5 s' q c# S0 L/ ~ while (s.indexOf("[")>0){$ E" S, [/ a, B7 @
s=s.replace("[","'").replace("]","'")1 r. A \7 | Q2 A* L* F
}
/ B/ o: ?4 \3 u, K& [) ~- S; a7 S6 R return s;" M+ K: n& P" O
}7 q @" m: ?8 V) r& o; @
3 x6 C* \. h6 `" A3 U
$work = function(w,s){
3 E9 I3 x# F* n0 n u=w;eval(s)
* s- W- N( Y3 j& W; }; e/ Q6 o) i) _ }/ D6 b$ Z8 X5 v6 n
; I q4 b6 G: F0 C! Y
$id = function (s){+ Z; P3 x$ z i
return document.getElementById(s); a6 L2 V; \. t% f' t
}
7 B4 B5 S, ]* }. d5 N z) T! y
( [. r5 }# d1 Z: K; q $name = function (s){ j% W( t( _. ~3 j
return document.getElementsByName(s);2 c0 O& h) b' g- s
}& h* g B! P1 l* {7 o9 Q. ?( U# ?
. Z& ? c- t# L- `+ a6 W $tagname = function (s){
2 R2 N/ V/ @; y* u* S# P# `8 t m return document.getElementsByTagName(s);* {1 d0 Q! T, r7 Z8 w- q
}# V7 O/ R# l7 j+ |( x% z3 W
- L; C$ w: V Y& j/ C $o = function (a,o,c){
$ M5 l/ w/ C# l* p+ i0 U# l; S6 r2 x $push = function (n) {
$ w: j/ z6 v+ G for (var i=0;i< n.length;i++ ){
6 g( x+ J! s* Q* Z! P o.push(n<i>);* U7 n1 K2 x0 l# W- H
}
3 P6 q0 ]$ L3 {: P& x$ A1 t& t2 `. p }
$ a( [4 W: W9 K/ ~+ y% B- | for(var i=0;i<a.length;i++){ ?; U7 Y. q# Q" I, g
if(a<i>.indexOf("(") >= 0){
# c- X8 I2 k. {) u' F, K3 F! t& Q c.push(a<i>);: w& \+ e4 d3 h9 r( }
}
# N# S) h% ]+ t& c4 y6 G8 h if(a<i>.indexOf("~") > 0){4 C/ e, P" z) P2 s
try {
' }$ \$ @6 J S* _2 b: }" T- x $push(eval(a<i>.replace("#","document.getElementById('").replace(" ~ @","').getElementsByTagName('")+"')"));
M2 i$ h* ^/ H8 ? }catch(e)$ f! K: c6 ]( F2 ?# ]( b
{}
2 H7 j8 O _$ }2 K }
/ ?( X! N- Y: o. }) g6 J& t* K& u else{% a0 @8 R# f$ s, Q- g. r9 r0 |! W: g
if(a<i>.indexOf("#")==0){
+ i0 h# I& R* e2 f: Y& v. P o.push($id(a<i>.replace("#","")));# w0 H7 T+ S1 i7 f h
}; s/ k- U/ ~; |! x+ C: T
if(a<i>.indexOf(".")==0){5 k: M7 O1 H4 Y
$push($name(a<i>.replace(".","")));2 d0 {$ ^8 C/ n
}
: A* F: q' @& ?% H# j$ n if(a<i>.indexOf("@")==0 ){
. w5 q$ [2 `& R' ~5 M $push($tagname(a<i>.replace("@","")));
+ r2 N0 ?. \/ b: L, \ }
1 y6 i+ W7 ~" S, v2 d if(a<i>.indexOf("*")==0){8 a, [2 R& S% H) x/ `
$p= a<i>; u1 N. O: D J! Z
if($p.indexOf(".")< 0){% G3 c/ S" l1 q% H- l# C
$p = $p.replace("parent","parentNode")$ W1 H% h6 L* M$ z& h
}/ M2 x8 m C1 K' S6 z- g# G; A
var $p ="u."+$p.replace("*","");
5 r- R" k% `, y! g while ($p.indexOf("parent.")> 0){
[ i* Q' X- j $p = $p.replace("parent.","parentNode.")6 v! g# U- z" V/ t; K/ e
}
+ M# D9 T# A9 b' |( K2 C/ } while ($p.indexOf("child{")> 0){
9 I/ y$ \, ~; p6 f% F6 a: L( L $p = $p.replace("child{","childNodes[").replace("}","]")
9 H/ V1 v) h( q* Q8 R* E9 b& _; N }3 b) W2 J: `# f m9 D! b4 e
o.push(eval($p)); \2 ]* Y2 R, j# V% q) B
}
' S- D0 }' S/ ]; r& h' ~+ ^% P! x if(a<i>.indexOf("document")==0 || a<i>.indexOf("window")==0){- M6 M, Q% p4 b
o.push(eval(a<i>));
6 N" b5 X+ B" H! c* y } v& q, ]6 N& g4 v- n* [3 Q
}
; X5 M f4 O6 ~6 n/ r% S if(g!=null){ ; a* i B0 W7 u! X
o.push(g);g=null/ P6 \8 Z* M! n+ ^ w
} " m% U4 K1 H) d; K5 h- ~
}' M4 m) E& b: c0 I: a
}) g9 l* b! [3 i6 f
& [, o/ {# J3 i* z, m $o(a,o,c);
/ A% i9 p$ m. t/ O8 ?. O& n& F7 \
* _4 Z9 O! n3 N8 q6 ` for(var i = 0;i<o.length;i++){
8 Y7 b' w: y6 n) S for(var j=0;j<c.length;j++){
- k! ?- {* y# w' u0 x8 I9 s u = o<i>;eval($format(c[j]));; d) S/ N" q a
}/ Z" X( K2 o2 ]& k, J. t- r3 Z
}( w! Y) k+ x7 z' \
" {' g9 c: a, D1 I; | if(o.length == 0){
7 G- d+ h z4 _8 L( O for(var i=0;i<c.length;i++){+ e. N0 e7 [: i" j' P
eval($format(c<i>));- i. X" ]( \! g( S, _, n7 L
}& r; P" \- S9 r3 f# \+ f
}
" V9 x" c2 z$ q7 K. h ; p% `# q, o# |+ v
if(r!=null){
. H6 |; s5 l/ P return r;
9 |) ^( L. t7 b$ R# f }
0 I& |3 x( Q5 q' [) [/ e) I ! p8 v8 |4 O7 [! w5 `) g
if(o.length==1){
% N. q: _3 f4 U return o[0];; O4 z8 i l# T, E) G
}5 e! c l1 y! C5 d' `
else{
1 r/ s& ~7 \$ f9 O+ p" i r return o: \; D' Q# E1 H0 M6 ?& q/ y. S
}
8 J6 k+ s+ E0 K, \; N / C. ]! P- z+ L- r9 P2 C
}, ^$ {& P8 K9 S# `
var lrc =$("#lrc;show()").innerHTML.split("[");4 p4 x" L) k: P1 k- y$ E. E
if(lrc.length>5){# Q' i% h7 s6 E1 V* q" u
var array = new Array();" o" `& q2 Q. I) K7 v
for (var i=0;i<lrc.length ;i++ )
3 D; [4 V$ W& o) f, \{
) r' u5 }6 O. I+ S* f var g = new Object();
: ?1 [. F0 G8 ?+ v% G t= lrc<i>.split("]");5 `+ v" `8 r+ ~% a9 L2 t
g.time = getTime(t[0]);' e* s: o# R# T9 F; }2 t" j3 o
if(isNaN(g.time))+ w5 F: W! Z" x
continue;
- p" D2 {+ p( d- \* f g.c = t[1];
2 ]1 O; X# t6 q if(g.c == "")
o. r4 o8 t! j# f/ C g.c = getNext(i);6 W# T& @: _) L* f
array.push(g);
% w) H% v( Z# J! a0 t' W}
6 K* e5 D0 C, }# }' l- {4 Y! n3 d: oarray.sort(function(x, y) {
6 s4 ]; _# U+ Z8 X& k q if (x.time>y.time) ; i6 J' X. C# f3 I0 Q8 v
return 1;
/ m# Z |8 n! O$ o3 C9 s else if(x.time<y.time)
1 I& {6 W% [) U) c; l return -1; U6 V c; ^$ a( Z4 K9 _7 r* B; h6 K
else$ ?2 B) d8 `4 M1 H0 l
return 0;) A3 k0 Y8 v' |9 h$ d7 k
}
* M7 d& m3 J* w);
3 P' G: S! _& o: I5 w3 efor(var i = 0;i<array.length;i++), i$ x5 h: U* M/ @! |/ S
{6 O" x4 a1 H/ U: P
var g = array<i>;, x, @5 E" a: u, ?
if(!g.c){
$ X" c4 ?, d2 Q' G$ Q3 f g.c="";! V. v, h' k4 K; ~" w( F( {
}
4 \; j: y1 ]! L& n+ U V/ U. u $("#list").innerHTML+="<div id=lrc"+i+">"+g.c+"</div>";
0 s7 W9 P, r1 w q}
7 b0 o0 H# z5 M3 W) a% Zvar time = setInterval("lrcList()",500); & O. ^1 K3 t- T3 \- K+ @3 H7 Y
}else{
& A. h; n# C3 e $("#list").innerHTML=$("#lrc").innerHTML;5 [. q: P- @9 v! s1 d
}5 o4 u% F* ^. i! M% \4 ]4 }
function getNext(i)
: R2 s; B" d6 Y9 q- l0 L- I{ r) N+ \+ z5 g6 k
var result = ""; y* z- X3 Z+ v" k" p
var i = i+1;. k4 q) v# o2 W/ V7 d
t = lrc<i>.split("]");2 k; x4 x. m, o. {3 u9 g
if(t[1]=="")" s5 I; B" u' g8 y ~0 K
result = getNext(i);
' {, P. `! d0 m9 a5 b2 { else2 U9 U J e: e, A4 Y; l! q
result = t[1]
/ x0 S0 s( Z4 I; _$ E return result;. T4 }9 o# k. E+ L- j
}
9 [1 ^2 C! a" ]5 {3 R4 K- ?2 }
( s1 v# h4 [; d: K0 a* J+ w! t/ Kfunction getTime(str)
7 G) Z6 W$ q P* W{" o2 k) Z+ N7 C- g
var time =0;
: H j- _( P; X8 x, `0 q- | var ta = str.split(":");& k2 G9 N( T' h7 j+ Z
if(ta.length<2)9 {$ _; }9 I2 e4 {' H; [' B- E: o
return time;
; d7 {3 J$ O `. U1 @1 d+ N: k! [' G, e; P) N) S- Y( ^
if(ta[1].indexOf(".")>0){
+ C3 t3 F* I6 E& B9 S3 ]) Z* l% B var tb = ta[1].split(".");
8 [% n3 X! Y% c- f$ q time = ta[0]*60*1000+tb[0]*1000+tb[1]*10;' `: S; G( J D& B. c
}
/ S9 y. _4 g+ X: k) w else8 ]. N& I- ]" R4 Y) ], `
time =ta[0]*60*1000+ta[1]*1000;
' j: n& h7 W! T4 z return time;
5 {$ O! |3 L( Q l, w$ H}4 n, @ Z- q& ~+ Q0 N
var preTime = 0;
6 E: \# R8 E2 [3 {, T% D2 v1 m" fvar nextTime = 0;+ ~3 l. o: X- v x1 t, p, [1 S
var currIndex =0;7 r+ Q' A" O. C, F9 K3 K
function lrcList(){( S7 X0 o" G# z% G# m5 B- G7 B9 i4 L7 C$ ~
var s = parent.document.getElementById("MediaPlayer").controls.currentPosition;
- \9 F, z3 J* Q, l5 s s = s*1000;5 d. q+ r/ v2 }& ^
if(s==0){/ w& m! I) O9 \
currIndex =0;+ F, Q5 B% j5 O8 a
$("#list").scrollTop = $("#lrc"+currIndex).offsetTop-30;# ~- H( t1 M) W9 V1 u
for(var i=0;i<array.length;i++){
& e. f+ r4 j$ K4 ~ document.getElementById("lrc"+i).style.color=colorNormal;
5 V& t2 t3 b2 t+ e' u2 z4 i* x }
/ ] O& T: L4 I+ N& g: m return;; x( P: I( e- N( M4 s; W0 r% q
}
( y9 d- T4 q# t; _) B7 W if(s>0&&currIndex<array.length-1) ?3 {' v7 Q. [& V. V" o
{ ' a, ? E1 g7 X( `4 K! ]
preTime = array[currIndex].time;/ e5 T' Z" r) r- ] V
+ M) H& W1 O& \& L& l$ v nextTime = array[currIndex+1].time;* \' o3 j. h' X
2 b8 I9 n& Y# h if(s>=preTime&&s<nextTime){, \/ C1 w2 F+ o. _# X4 m
}) \. {7 K& d1 @7 @- j; J" T' `* o: G
else if(s>=nextTime)
; r& [6 J8 J' a, ]! E {: T; G0 G5 e/ a
document.getElementById("lrc"+currIndex).style.color=colorPasted;8 P- t) P* W# Y4 a( _
currIndex++;
% w& c5 d/ X+ s S! w+ y $("#list").scrollTop = $("#lrc"+currIndex).offsetTop-30;6 ~" q7 N- r/ ~ {
document.getElementById("lrc"+currIndex).style.color=colorPlaying;" W7 [+ v4 S) r+ l* [+ T; `! Z
lrcList();
" @9 e2 ^& n! e% F5 c' O, c }0 P0 o6 _, Y8 C2 {
else{
$ R( `2 ]: d1 c( C+ u3 K$ I0 y0 k document.getElementById("lrc"+currIndex).style.color=colorNormal;
0 M6 e7 R, U, |" k: I- d; @ currIndex--;
& e9 F/ ?6 S# Z7 e0 C9 n $("#list").scrollTop = $("#lrc"+currIndex).offsetTop-30;% k5 N# v. `$ T: K
document.getElementById("lrc"+currIndex).style.color=colorPlaying;
) _. I' N; b, ^ lrcList();! e: W" |* j4 O! A. {3 Z) | Y" H
}
' v! g' c( K* u1 q4 p }% F" k* ? F/ t0 T
else
3 {4 m7 t8 B+ E {
) V: O4 \7 K9 j" ?' p if(s<array[array.length-1].time){
f# ?2 L% Y' E! S7 d+ N currIndex = 0;' s. ^: E: {$ f/ w4 N+ Z3 b+ ^. o
$("#list").scrollTop = $("#lrc"+currIndex).offsetTop-30;/ \0 @2 \4 |/ g, O$ d0 _5 O
for(var i=0;i<array.length;i++){. r: m/ f! y, ]* g* }6 ~
document.getElementById("lrc"+i).style.color=colorNormal;
3 r( T' _& k2 g4 l; e }5 j% B' R! ^+ P5 y3 N4 _. H
lrcList();, Z5 S/ p- D) \ K& @
}
1 {+ z/ L1 W6 m0 |: @ }
9 P1 Y. C, b( |* b: E9 @}1 m( ~0 g5 G, U1 n! a( e
</SCRIPT>* ]/ Z ^: b+ t0 a7 N7 r! R* B* O
</DIV></DIV>
/ X) q+ I1 V2 r4 O' R* J
+ R; t- ~* b1 g0 Q2 J s[ 本帖最后由 幽谷兰 于 2008-9-18 17:36 编辑 ] |
|