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