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