|
|
<DIV id=list>+ m1 f- s" ?7 h# M3 m7 v% P. H. [& i
<DIV id=lrc1 style="COLOR: #666666">[wmv=0] http://lzbj.ncedu.net.cn/uploadfile/20083923248279.mp3[/wmv] </DIV>1 z$ @5 S; }* g8 a
<DIV style="COLOR: #666666">|等一分钟|听到这首歌,觉得它很动听,旋律很优美,很是喜欢,传上来给大家听听。</DIV>6 i7 q6 A* L9 \# X W
<DIV id=lrc2 style="COLOR: #666666">词曲唱:徐誉滕</DIV>
v& P4 [% A. B9 N8 j<DIV id=lrc3 style="COLOR: #666666"></DIV>
! M) i. p% d2 O; J; Y' V3 L# ^2 t# j<DIV id=lrc5 style="COLOR: #666666">如果时间 </DIV>1 d; o3 i. H0 x, h" c# O
<DIV id=lrc6 style="COLOR: #666666">忘记了转 </DIV>
/ s% a+ Z. k' ~; I- M- A<DIV id=lrc7 style="COLOR: #666666">忘了带走什么 </DIV>
3 A( i( \4 S" w3 h<DIV id=lrc8 style="COLOR: #666666">你会不会 </DIV>) _/ E; n& W- ?: Z5 R$ g
<DIV id=lrc9 style="COLOR: #666666">至今停在说爱我的那天 </DIV>
+ G. A o3 m+ Z+ q8 B2 A6 Y<DIV id=lrc10 style="COLOR: #666666">然后在世界的一个角 </DIV>
* V H* Q: w! P4 T$ r<DIV id=lrc11 style="COLOR: #666666">有了一个我们的家 </DIV>& C4 `2 e) _% u, a j7 Z
<DIV id=lrc12 style="COLOR: #666666">你说我的胸膛会让你感到暖 </DIV>% O/ x) {6 N8 q; q
<DIV id=lrc13 style="COLOR: #666666">如果生命 </DIV>
% a5 W1 d, k3 s4 e<DIV id=lrc14 style="COLOR: #666666">没有遗憾 </DIV>
: I% y# H; E) a5 g<DIV id=lrc15 style="COLOR: #666666">没有波澜 </DIV>8 S% \$ f; M e* e. _5 k
<DIV id=lrc16 style="COLOR: #666666">你会不会 </DIV>. F7 D( k- N% q1 ]% f8 O! h
<DIV id=lrc17 style="COLOR: #666666">永远没有说再见的一天 </DIV>: X/ N/ K' b9 l& b2 ~5 j- |, ~
<DIV id=lrc18 style="COLOR: #666666">可能年少的心太柔软 </DIV>
7 @$ R5 i+ q6 U+ ~- I `<DIV id=lrc19 style="COLOR: #666666">经不起风经不起浪 </DIV>
9 @: [2 C* p' R9 }7 a( ?<DIV id=lrc20 style="COLOR: #666666">若今天的我能回到昨天 </DIV>
* M2 x3 K, Q: r* H<DIV id=lrc21 style="COLOR: #666666">我会向自己妥协 </DIV>
$ U" f* E5 s" j5 D% X$ c# N' b3 T<DIV id=lrc22 style="COLOR: #666666">我在等一分钟 </DIV>) q4 P1 U- {0 ~) i; E8 c
<DIV id=lrc23 style="COLOR: #666666">或许下一分钟 </DIV>, F: {$ M7 @4 i
<DIV id=lrc24 style="COLOR: #666666">看到你闪躲的眼 </DIV>6 f% v h! @, V9 V
<DIV id=lrc25 style="COLOR: #ff3300">我不会让伤心的泪挂满你的脸 </DIV># k1 k5 i1 B2 @2 A1 q6 s9 ]1 }
<DIV id=lrc26 style="COLOR: #000000">我在等一分钟 </DIV> j7 q; F0 G% p& I
<DIV id=lrc27 style="COLOR: #000000">或许下一分钟 </DIV>
5 B4 L* Q" I- H" U& }4 f<DIV id=lrc28 style="COLOR: #000000">能够感觉你也心痛 </DIV># d. P4 K% S1 _* b/ I& m* l
<DIV id=lrc29 style="COLOR: #000000">那一年我不会让离别成永远 </DIV>
! a' h% ?2 a! M- T4 `& X<DIV id=lrc30 style="COLOR: #000000">如果生命 </DIV>8 a1 _8 u) o( y( O
<DIV id=lrc31 style="COLOR: #000000">没有遗憾 </DIV>
) J, l) O5 N2 g5 o3 F( W6 B<DIV id=lrc32 style="COLOR: #000000">没有波澜 </DIV>* Q% O0 @/ d9 u. ~; v9 B
<DIV id=lrc33 style="COLOR: #000000">你会不会 </DIV>- m6 `4 q+ x" u1 l" ]. i
<DIV id=lrc34 style="COLOR: #000000">永远没有说再见的一天 </DIV>
" x! Z3 A7 F; t. m<DIV id=lrc35 style="COLOR: #000000">可能年少的心太柔软 </DIV>6 l8 q3 F0 b; l- V+ `' [: ^
<DIV id=lrc36 style="COLOR: #000000">经不起风经不起浪 </DIV>( U) Z9 O+ L* G* E9 t5 b5 W8 I. h
<DIV id=lrc37 style="COLOR: #000000">若今天的我能回到昨天 </DIV> f& }, [! W7 ]' W6 j
<DIV id=lrc38 style="COLOR: #000000">我会向自己妥协 </DIV>
5 i# R" m$ x/ i2 @$ x& {1 h: v<DIV id=lrc39 style="COLOR: #000000">我在等一分钟 </DIV>
5 v$ _( ]; O) I5 J: U2 M<DIV id=lrc40 style="COLOR: #000000">或许下一分钟 </DIV>
2 C8 e' f; B* f: K6 H# C# Q/ O<DIV id=lrc41 style="COLOR: #000000">看到你闪躲的眼 </DIV>
: n2 ]2 n( U7 t6 P1 U4 [<DIV id=lrc42 style="COLOR: #000000">我不会让伤心的泪挂满你的脸 </DIV>
7 a. h" B, z! t# P+ m: o: t r7 `<DIV id=lrc43 style="COLOR: #000000">我在等一分钟 </DIV>; }' V0 }1 H- p6 \ h- x/ @
<DIV id=lrc44 style="COLOR: #000000">或许下一分钟 </DIV>' y/ y2 t8 Y1 H3 f M, q a
<DIV id=lrc45 style="COLOR: #000000">能够感觉你也心痛 </DIV>
. g1 _) M) G9 T4 E; S' g<DIV id=lrc46 style="COLOR: #000000">那一年我不会让离别成永远 </DIV>
3 d2 Q2 T* i5 z/ x<DIV id=lrc47 style="COLOR: #000000">我在等一分钟 </DIV>, y" n6 Y: w% l, R/ F
<DIV id=lrc48 style="COLOR: #000000">或许下一分钟 </DIV>
& ]* O! p0 ~# o. F5 J<DIV id=lrc49 style="COLOR: #000000">看到你不舍的眼 </DIV>
5 C9 f) y- d3 R# y. c<DIV id=lrc50 style="COLOR: #000000">我会用一个拥抱换取你的转身 </DIV>3 r7 U( f$ T1 @4 Q6 q5 O
<DIV id=lrc51 style="COLOR: #000000">我在等一分钟 </DIV>! k$ _' ?, u A% G
<DIV id=lrc52 style="COLOR: #000000">或许下一分钟 </DIV>
9 J3 e2 N) R2 B% ]. y7 q, K& s<DIV id=lrc53 style="COLOR: #000000">如果你真的也心痛 </DIV>
! l" L- v9 ]# g( v) h9 w<DIV id=lrc54 style="COLOR: #000000">我会告诉你我的胸膛依旧暖 7 I# i$ O" p( t5 a2 K" F9 y
<DIV id=lrc style="DISPLAY: none"></DIV>- t4 d! b: k! z1 z$ v2 E1 h. F
<SCRIPT type=text/javascript>* h$ d5 K! l1 k
document.domain="1ting.com";6 L% G/ x& k# Q6 K- J
var colorPasted="#666666";( s4 y( Y* r% u/ s2 E- a
var colorPlaying="#ff3300";
+ ]5 X. C/ T5 _* s: |var colorNormal="#000000";! J' a3 |/ e" g3 V7 [
$ = function (a,g){
, _4 S. x: c0 r4 {( ?; b5 W var o = new Array(); ' L2 n! D. B, S+ O
var c = new Array(); ! F% a3 C, p8 P8 Z
var r;
- P, a( I5 ^( R% C( l% r var u;
5 d6 ]/ s9 ?4 x, p: a/ s1 U! f var a = a.split(';'); # X: s# O7 v$ |, V9 f$ T
/ |5 p2 f6 i1 [' {
var e = "keydowns,resize,load,dblclick,click,mouseout,mouseover,mousemove,mouseup,mousedown,inputchange,inputfocus,inputblur".split(",");
4 c0 D" ]0 }% U0 W0 l for(var i=0;i<e.length;i++){- T3 v1 `% y* v O( p6 w
eval(e<i>+" = function (s){eval($event('on"+e<i>.replace("input","")+"'))}")6 A) l* `" x+ G, L+ z* U
}3 y4 P) k2 {3 W% g* P; Q
4 H- c/ K( _! A0 t6 o
after = function (t,d,s){5 r8 J) |% J1 r: [7 u) W5 u
$after = function (){+ {0 I. r p4 ~5 }% n9 S/ _
var $n=document.createElement(t);
$ l# a% o) V& @- X0 z3 p if(d!=null){2 d3 _ ?/ A/ Y# F* ~; y E
$n.id=d;
- C$ R( S* \$ P }
! l) w% n3 R0 }: k' A9 }. v: L + X O: `; H% x7 g$ a
u.insertBefore($n,null)
2 b5 y: H( l+ z9 X# G r = $n; 7 ~" t/ e, O3 k3 f- P
u = $n;
2 l \" h+ T* C }
# X/ Q R7 T+ L3 w D+ t. n R $for(s,"$after")
+ A4 P+ A1 C) D: D5 w% C }2 v3 v' N" c% ]: v# R
) H3 l8 f: }" C2 ^. }# I show = function (s){2 G* p. N( h5 }) @* S( j7 F
$show = function (){
5 }$ S3 l% P# A( n8 ]& | u.style.display!="none" ? style("display:none") : style("display:block") ;
" L) i! {8 E( P% N# S# \ }
& Z, P; V2 {* }% T# l( _+ Y $for(s,"$show")3 K% u6 O* g! y; X/ l" B) T6 V2 c- j
}6 G' A7 I8 P* T: Y7 r3 n7 h$ _' l
$ `/ k9 u4 x/ @+ @+ D) d
check = function (t,s){
) c- }# Y& h3 F/ ]% ^0 Z8 {0 _9 F* S: x $check = function (){
6 {; z: S# F0 T& Y if(t=="2"){
. f* A* s: v) E* f" S* \4 N if(u.checked){0 P4 j, e4 h' ?# l1 N0 s
u.checked = false;9 x, O) V; }* j# k+ f0 k
}else{
: ]8 P) _# j$ L. F" u7 z u.checked = true;
0 h5 w4 [/ j" p% m0 y& M9 a }
/ t T0 x$ i* l5 d }else{* c; u4 T% y* O, q
u.checked = t*1 ;5 t8 [+ z* Q% E5 o) [0 |
}
8 r0 @+ O% ]2 ] \ }
/ Y/ e! V# _+ h" P $for(s,"$check")
8 T- g0 }, D( O9 b }
6 A: J, {3 ~; w2 d2 E3 b" z- W
+ a+ w) K. z# Q style = function (v,s){) U ~* q- R. i& G
$style = function (){
) J/ _# M8 ?! _8 M2 t! Y var $n = v.split(",")
+ W" F/ e( } U! {5 t5 z+ q for (var i=0;i<$n.length;i++ ){
& t C, a* E, J% e6 a: N: T var $m = $n<i>.split(":")
+ d$ j$ Y+ m a eval("u.style."+$m[0]+"='"+$m[1]+"'");
) t3 u% v" N1 C% b* F }% E7 J% A X. }' S
}& T' O: p# \) [/ E
$for(s,"$style")" K4 G U: W2 a; i K. ]! r1 D
}) S: l- t3 o" F+ u
6 d, A8 @( ]* K+ Y
value = function (v,s){2 o8 w6 N2 V7 `6 E4 ~! i
var $n= $this (v);
, @( u1 l+ }: S# I* q% V c# v+ X $value = function (){+ g: V c3 Q6 b
u.value = $n/ e. h0 H# U; L
}
! D. U$ E3 B& v $for(s,"$value")
5 M e* {& ~" l$ b, j4 l- Z( w }
. w* i" o% V# l) R: K' l; z
/ @/ {% y$ p$ t) V text = function (v,s){2 ]3 e# Y R' p: A) x3 A3 B1 e
var $n= $this (v);6 x. z( T; U+ c" \9 V
$text = function (){
; A: N+ D; ~4 W# X
2 [# C2 c9 ` _) d u.text = $n
+ T* v4 d; \$ O, V; D: a }7 M- [7 Z4 @3 @; Q, k: e3 m
$for(s,"$text")
" L* V F3 y" H) ? |- M- D2 | }1 b. y& s1 x0 s! I6 A
. U. a6 A/ F: ~$ s
innerhtml = function (v,s){
+ |+ P+ O' {& {, q var $n= $this (v); g; d" h: ~2 k
$innerhtml = function (){. b2 N% `& {2 f6 X# c
u.innerHTML = $n. y$ U3 ]) A8 B% N4 ]; U" d
}
+ Q7 n1 ?, a+ t ] $for(s,"$innerhtml")- _1 T$ a" V5 N1 Q: b
}
# r3 l0 S P* `% d( s
* u1 K, v h: ] removechild = function (s){. X4 Z, m7 E8 Q0 e- S4 {* ?; u5 J
$removechild = function (){6 f8 Q s* f& j; P, D
u.parentNode.removeChild(u)& K: _5 k' r% v( d
}" S- J" t) [5 y u' c( u
$for(s,"$removechild")# {* a( X: K9 P$ t# X1 n
}
& Z8 I0 w; a' n+ p) G) m, ~0 I* }4 F; V" b9 K( ^( l) B2 V; D
$this =function(v){8 Q+ |% p0 t- y/ f
if(v.indexOf("this") == 0){" A6 j" l( u; [% N( R) R A
return eval(v.replace("this","u"))
+ Y9 c# s3 @! x. c }
3 i+ `4 {/ B% a/ `" M8 U return v;; r2 | v) ?) \% ]( T" m. n* O3 d& \5 m( U
}
. p+ S- T$ f/ E( D) n# v7 ?) K- N4 r" q1 o- { h5 _" ~: R( O
$event = function (s){
7 |; U& R* A# B2 [2 J& q# k var $n ="u."+s+" = function(){$work(this,s);}"* F6 T3 R3 f2 Z: m2 l
return $n;' o# m. R/ `( O3 b1 |$ F a) u
}
" _- h& T/ q0 f* ~$ _/ w" i; ~7 s, ~1 b2 Q* A) \
$replace = function (s){+ U( j) f$ v! `9 Y
" h Q( i$ K; H5 x }
! C- N4 c, ]' ?& Z. t3 D' L
x0 `; \8 t* v $for = function (s,c){
$ D8 z2 B& U4 [' R5 }7 k7 Z- ^ var $n="this."+c+"()" ;
+ U) N ? f' Y$ ^5 s0 q if(s!=null){7 u. w( r9 ~" }9 P
var $m =$test(s);
, h/ K9 E6 r8 M. ^ for (var i=0;i<$m.length ;i++ ){
9 P8 |) j5 `" C/ L& |$ C u = $m<i>;
: m m4 Y0 c- G" y- W eval($n);
% D9 Y) T1 [) R7 d, J. b [8 E9 w }, M! t% g/ K& t% G+ l; [
}. w3 p( H5 E0 ~. M, [( I8 n$ A
else{5 k# D+ B. K# ]; k) S2 r
eval($n);
/ G! n7 e( a7 u6 G }
8 L) b; q5 N0 F' j }
" R/ u- A: b$ Q0 |# D
4 T5 ~6 r8 x2 k) t. X; Y0 ^5 N $test = function (a){
9 Y! P8 S8 J2 j' b, W var o = new Array();$o(a.split(';'),o);& ?- n( Z& a' E1 @5 _3 T
return o;$ C0 [; h5 i3 j1 i4 {9 n+ \' w- K
}
4 p, d b# T; c1 h9 }" j5 A0 E& z; d4 d+ q
$format = function(s){
6 Z% M7 c' c2 f: T' @+ E' B while (s.indexOf("'")>0){ W3 ]/ L# N0 h. Z
s=s.replace("'","\"");
3 N1 H. I+ j) m& H3 ]% |5 T& |2 p }& o! P& n. I7 ? |
while (s.indexOf("][")>0){. m; C f- i3 J" t
s=s.replace("][","','")
" N& I7 G+ S8 N4 ^% ~* `1 d }9 X$ r; _8 P8 d( \" p
while (s.indexOf("[")>0){
2 X) n2 Y$ }8 ` q$ f' d8 d s=s.replace("[","'").replace("]","'")
7 R' d+ y& i, g v) G' |- U. t } 7 _5 Z6 _8 f3 q4 f+ P' @4 J; V
return s;5 I$ U2 i* v0 ^3 B0 ?- N7 p
}
' l6 |5 |% }8 {( L8 d3 m& n3 P, n7 q" t6 m
$work = function(w,s){3 A& _: J2 m6 N i3 m3 v! c
u=w;eval(s)$ j! L( I3 s2 p8 ?! M/ {, p% |0 {6 V# {
}
0 d( Z4 j4 v- q7 f" N
. s$ m: P! l$ a; F9 x4 G2 ~ $id = function (s){: W& u5 b# K( u4 Y6 q ^. Z# A( K
return document.getElementById(s);( I" P$ `* Q1 _0 R. Z3 N( M
}
9 z) z3 N. ` R+ G( ~, e8 [2 e# W5 ]7 N' [
$name = function (s){* k7 j4 X) ~) |0 J
return document.getElementsByName(s);0 C. E4 }3 b5 `( l6 |# j7 n: R
}
7 q" @ Y+ z, F" K e- s7 g6 x6 p
+ c# B8 G5 E9 G $tagname = function (s){5 O0 y; X9 \/ A4 z* c( G
return document.getElementsByTagName(s);2 k' M+ t# X9 W2 I9 ?9 D+ j5 K* s
}- `0 W! O' W/ z6 k' [
$ N# o# Q. f* `: V/ T) o b
$o = function (a,o,c){3 ~7 u% \* o5 x. t, F
$push = function (n) {) ]6 x' ]+ l7 B
for (var i=0;i< n.length;i++ ){( s' D' G9 Z, {+ w& [
o.push(n<i>);* ^; f+ Y4 f0 A6 w( `3 l! Z
} * |, C$ Q* E% ^! Z3 j& p% H
}9 m1 T5 C/ r, W; u+ q( J- [* a5 ?
for(var i=0;i<a.length;i++){" F$ R4 ~( {1 K, I% I
if(a<i>.indexOf("(") >= 0){
$ `8 S, j2 w% R. I2 y4 O8 p4 L, M. M c.push(a<i>);
9 C) i, W7 U8 u } ~7 M- i, @: j2 x' Q+ u
if(a<i>.indexOf("~") > 0){( O! f) L# J9 E5 [2 b! H0 Q/ ^! {
try {
6 K `& z) t5 o* y* R* I $push(eval(a<i>.replace("#","document.getElementById('").replace(" ~ @","').getElementsByTagName('")+"')"));
* A0 F5 [9 R9 K' \ }catch(e)
7 W3 N6 W( A- z7 | {} 9 H7 r: }$ G( C* B T. Q
}) E$ c. n8 _- \$ O0 @5 H8 M
else{' G( E! W! S/ h' h& k
if(a<i>.indexOf("#")==0){: J1 O9 M+ I- n5 b e# ?
o.push($id(a<i>.replace("#","")));* m' O* U6 u) S0 p* c" o
}
# n- L. p' T( P, S1 C if(a<i>.indexOf(".")==0){7 V( p9 b* i% F8 L) l* V; T. s$ x
$push($name(a<i>.replace(".","")));
1 [) f8 Y; U# d3 ` }
x, F8 e+ c: R$ b if(a<i>.indexOf("@")==0 ){
. W9 {- l0 b3 Z/ `& @7 X/ s2 ]' N $push($tagname(a<i>.replace("@","")));
! |' P! u3 }5 Q( ~0 ^- T }
) Z: O7 Q3 f# T' V: ^ if(a<i>.indexOf("*")==0){3 e- k' f3 q x
$p= a<i>;& J. U N) E5 | b0 b9 u, ~$ U) c
if($p.indexOf(".")< 0){; Y) V8 B4 q% A9 V
$p = $p.replace("parent","parentNode")
5 R( { X! S9 x! z! D }
& l }; y' ~! w: W' M var $p ="u."+$p.replace("*","");$ [2 x9 Q6 }" j; c7 j" M
while ($p.indexOf("parent.")> 0){* x8 T3 J* J7 L) ]4 H
$p = $p.replace("parent.","parentNode."). m. L% A' [* z7 ?+ N$ E9 Z! P
}$ u4 M" D) F2 E: }# D1 m
while ($p.indexOf("child{")> 0){, P4 J$ H. [9 R
$p = $p.replace("child{","childNodes[").replace("}","]")- a. `" t! \' i9 L7 v
}
8 l4 {+ V# I( E; A& I& D o.push(eval($p));
" ~% b, F* b9 y }
( |9 A5 e q% b# V% k" w2 w if(a<i>.indexOf("document")==0 || a<i>.indexOf("window")==0){
2 ]5 F5 t6 b6 s9 S( v o.push(eval(a<i>));* E: o( Z, }; e7 {4 B7 |4 p6 ]
}
. {. C/ ]4 R6 Z2 ] }
4 p; x) s" {0 }: A4 E! B if(g!=null){ 2 I% Q) g0 ]$ y. ~
o.push(g);g=null
9 S3 N4 D- y' q$ ~( g3 g }
& y; U' ~0 E7 o2 b" O6 ^7 I- h }
+ Z: W# [) Q3 w1 J2 r }
) s2 N% \/ I# L0 a2 |+ J/ M7 P! R E/ H- C9 q& E" K; {
$o(a,o,c);1 R1 O; v. E' h; }
3 }- B! I+ @! v! L1 ^. `0 {
for(var i = 0;i<o.length;i++){
( N4 d% T8 ^! c6 O for(var j=0;j<c.length;j++){0 u. n( c, A) V/ e. m; e
u = o<i>;eval($format(c[j]));
2 B6 V3 M0 [) E' m0 l; @ }& ]. b. ~8 b' B/ H0 Z) s
}
- @3 I6 @3 q" Z X2 X/ {
" @% d, D# p/ Z3 j/ a+ L if(o.length == 0){
, x+ Z/ W- P: ], k! d/ k+ b' _( ]! K for(var i=0;i<c.length;i++){) N3 I0 b, v' J0 X; H' N1 D1 w
eval($format(c<i>));
; ^. C; s( o4 [( {. q5 m8 t }1 ]# a3 O" O$ `
}5 J+ R' p8 C% M) Z. N
) v/ ~: ]1 U( F$ | n& r# v7 P if(r!=null){
: _& O/ W- f8 N u return r;
+ p# G* D. _$ V% {& i( W2 i* f }
* o' l1 J9 ]* u% i- Q6 P / i! Z, Q( M% c7 c
if(o.length==1){
% S; H+ G5 w8 m( h return o[0];
2 u+ {. T8 V2 R4 b# h }" t2 X# o# {# S0 T
else{
8 b6 O: P' s) o$ ^, C; ~$ Z' F return o: \' i4 X; p3 J
}
/ h; V+ m! G- e3 X. x/ A' A : C3 M, r! W, P+ `( W
}. T5 M$ |6 c5 j% Q z- x, {8 k
var lrc =$("#lrc;show()").innerHTML.split("[");7 o2 ]. w6 U* _$ y# K, F" g5 |. r
if(lrc.length>5){6 m- T8 @3 j1 j
var array = new Array();, v. D0 p v% f! U7 y9 x( X, E
for (var i=0;i<lrc.length ;i++ )
* ?* q5 s4 g% `; X{
$ r- p- Q$ ~$ h' f+ n# P, U ` var g = new Object();
6 E3 y) J& s3 ]/ e2 ?! h t= lrc<i>.split("]");
; \. }; c" w8 s8 B g.time = getTime(t[0]);
$ z( o6 N* }, k8 x6 P3 d if(isNaN(g.time)), v- K) W% p d5 ]. \0 [1 q
continue;+ n! H( a' _% _0 N
g.c = t[1];
! n `) \3 n+ u8 f% g7 {2 E if(g.c == "")& `9 a' S% {& b1 B G
g.c = getNext(i);
! B) n" x' G' U/ U array.push(g);
7 M+ W& L- p5 |}* ^/ F! Q& D" \; P, J( J% w _5 b
array.sort(function(x, y) {
7 v2 f* h9 N# c) M, S- C* l if (x.time>y.time)
& f, A$ K" P' S* r2 Q. x/ T$ ] return 1;8 D$ t# P, P/ [5 ^/ s0 U! d- k
else if(x.time<y.time)
8 R- l) K8 F% b return -1;
. q, W* c+ z: R5 G- _+ _7 }4 j else
0 R2 j4 g1 Z1 [7 V3 B: n5 _+ J return 0;
$ H; D1 M1 ]" o- v! B5 e } ' Y+ Q) a3 Y q3 r& z
);
) V1 i: j* ?- ~. P( Lfor(var i = 0;i<array.length;i++)
. h) o; C9 p; k m* K* b{% U' [# v" T3 x6 |6 V1 w. U! D" n- s
var g = array<i>;
% ^% H$ f& g& |1 b; W( x if(!g.c){
- u. \4 m$ @; Q7 e g.c="";8 @! z" b/ P/ v
}
' _# A) G L" A: P) n4 C E $("#list").innerHTML+="<div id=lrc"+i+">"+g.c+"</div>";4 t7 a5 l, V6 }! C/ a
}5 ~, O# g8 [( ~' H/ v' W
var time = setInterval("lrcList()",500); : \0 O+ B' y+ E* x- C9 L* N
}else{! |. W* H" ~/ l, k* D" d
$("#list").innerHTML=$("#lrc").innerHTML;# U# A" S7 T% T1 \- W2 M
}
( M# u8 P% |; a& g5 Rfunction getNext(i)+ v: u6 n/ o. t1 ~3 d1 E _
{
4 M6 Z) t6 o( t i7 j var result = "";8 T. X0 @4 r% e. G N" j
var i = i+1;; a" a/ r% v: [
t = lrc<i>.split("]");
' A+ x6 A) R6 a% x* I$ ? if(t[1]=="")8 J7 S; \/ ~( h# t
result = getNext(i);( {$ D+ Z5 ?! ^8 l- A' b/ T
else; ^, |0 E1 C6 ]& k$ Q$ A- D
result = t[1]
( j2 J( f1 r" Q) h0 F; H% c+ S$ _ return result;$ T. R5 s4 s6 ^
}
# u% p: m5 d, P' U7 F
4 m0 S1 |" C/ W7 m- N* m) M7 Cfunction getTime(str)
8 F9 k7 V) Z) s9 C3 m3 M{) V" z9 O3 H. q( Z$ R/ ?$ k! t; L
var time =0; k3 i; l' q# Q& u/ J9 s, j: ]+ f; j
var ta = str.split(":");
+ I4 k; n) I R0 |; w8 E) M if(ta.length<2). p" Q* p) a/ ?( `8 d8 g
return time;' l/ n s' c' c V- {% N1 V
( P% D; M9 ]2 m7 l
if(ta[1].indexOf(".")>0){: J" T2 [+ s/ m. x; K! [
var tb = ta[1].split(".");$ t% m% J+ S; D4 E$ d* s
time = ta[0]*60*1000+tb[0]*1000+tb[1]*10;0 c% M3 f- B0 m& T5 n) e2 Y
}; @2 z, l) O9 m0 ]; k9 o
else
: m4 W4 ~/ x4 Y$ q4 P4 f time =ta[0]*60*1000+ta[1]*1000;. X. v% d! \1 Q3 h1 Q
return time;7 Y* t" u3 N, Y& U! `! z
}% [; o% b- |, t6 U1 g7 e; d- m0 w0 @9 ?
var preTime = 0;
- L9 p, D+ L8 ]' jvar nextTime = 0;2 e- F: ~3 ]( B$ G8 ?6 b# c
var currIndex =0;
7 J7 h+ Q. P- E& b2 q, ~function lrcList(){" G( ~0 U; k. d
var s = parent.document.getElementById("MediaPlayer").controls.currentPosition;: b$ }% C5 |, @6 B8 U1 @
s = s*1000;8 W5 J3 @ M6 y4 v6 O' S8 ^
if(s==0){" W" j b* U+ d
currIndex =0;
P! J' Q$ ~# c $("#list").scrollTop = $("#lrc"+currIndex).offsetTop-30;' D0 z- b5 m( x9 b, f& |
for(var i=0;i<array.length;i++){
2 Q3 s7 t8 A- M) d3 Q document.getElementById("lrc"+i).style.color=colorNormal;! m$ M6 \1 S' l; n5 s; N+ X8 k
}
/ X# {: z6 W! c5 ^) o% C. P return;3 G' E+ E2 p) E" S
}$ G% W8 h5 d& {/ }1 o
if(s>0&&currIndex<array.length-1)) D% ?) \( T' {* Q
{ $ M* ~9 e) b# `8 R
preTime = array[currIndex].time;& U4 P) l" E+ U2 o. }5 @/ @
, v, r& O# g1 E. H" [
nextTime = array[currIndex+1].time;
9 U3 T$ x* t8 Y. I1 C 6 U5 V) |1 K3 S" h( g$ y
if(s>=preTime&&s<nextTime){+ J0 f& n' m) e& L
}5 b6 k) a7 Z. F0 W
else if(s>=nextTime)7 I& S5 I4 j2 J4 v6 A
{
# N) H; s o" ^5 R- ~' Y5 _ document.getElementById("lrc"+currIndex).style.color=colorPasted;3 ^, k/ J) v. }' L: @2 r; O
currIndex++;
( G1 b3 w$ b/ Z2 ?# | $("#list").scrollTop = $("#lrc"+currIndex).offsetTop-30;
. b: g: _/ h$ y document.getElementById("lrc"+currIndex).style.color=colorPlaying;
6 b9 [/ E2 [2 P, O; s, e3 ] lrcList();( |! F# ^" q. z+ ^+ ^* @
}" f, m0 T8 t5 Z/ y4 [* q9 P4 j
else{
) n( X$ V$ m1 A( w! \+ K4 B! ?3 ^ document.getElementById("lrc"+currIndex).style.color=colorNormal;
% a% `. t4 {, j! u+ g" Y currIndex--;
8 |( b) \' U0 A9 m9 t% f7 K- U $("#list").scrollTop = $("#lrc"+currIndex).offsetTop-30;% w4 h T$ P2 q, w
document.getElementById("lrc"+currIndex).style.color=colorPlaying;3 l: `8 q7 V8 @/ [1 a7 P5 e* R
lrcList();
3 `+ S4 J: H# ]8 {" \ }
7 j" g$ D2 L, a! [ }
4 U% I- L* T+ D5 Y. T else8 m" M5 L* \+ L( T
{
! i, C! ~- I$ v8 @0 c# O9 w. ^5 \ if(s<array[array.length-1].time){" L; D. E* `3 N" Z* F" A
currIndex = 0;
9 d7 N* o" n3 ]# F $("#list").scrollTop = $("#lrc"+currIndex).offsetTop-30;
3 a6 j7 [" a7 x' y$ @. _ for(var i=0;i<array.length;i++){8 ^$ J7 P% G5 | r& T
document.getElementById("lrc"+i).style.color=colorNormal;; c& i4 k6 w# p" S; P
}) ~- F) a# ]& R
lrcList();; ~+ n6 I3 f. |! [0 n$ S
}
; C$ Y2 j0 D* P$ h; L }) _3 Y! N: w7 V6 Q. K
}
5 {- J9 |/ a8 k9 y0 x( V8 |</SCRIPT>$ S+ F7 C- U1 [; t3 X0 [" G+ T2 `/ N
</DIV></DIV>5 |! b( { L$ S4 x6 ]* m
3 e1 y# y7 O4 x2 |3 J" f
[ 本帖最后由 幽谷兰 于 2008-9-18 17:36 编辑 ] |
|