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