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