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