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