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