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