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