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