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