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