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