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