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