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