|
|
<DIV id=list>
) B7 Z+ [: s0 w<DIV id=lrc1 style="COLOR: #666666">[wmv=0] http://lzbj.ncedu.net.cn/uploadfile/20083923248279.mp3[/wmv] </DIV>( U( {' Y7 G3 z5 i; C W' i
<DIV style="COLOR: #666666">|等一分钟|听到这首歌,觉得它很动听,旋律很优美,很是喜欢,传上来给大家听听。</DIV>7 P" ? u+ m2 ?! ]
<DIV id=lrc2 style="COLOR: #666666">词曲唱:徐誉滕</DIV>
8 f; {0 H$ Z. \' c Y0 Z<DIV id=lrc3 style="COLOR: #666666"></DIV>2 \! p+ G9 s1 v! y R2 |7 N
<DIV id=lrc5 style="COLOR: #666666">如果时间 </DIV>0 V, B, a$ Y2 }' R1 f X
<DIV id=lrc6 style="COLOR: #666666">忘记了转 </DIV>, A9 Z" o( k) N+ h
<DIV id=lrc7 style="COLOR: #666666">忘了带走什么 </DIV>& m( s( _7 O: [) l- d7 ?
<DIV id=lrc8 style="COLOR: #666666">你会不会 </DIV>! O% r5 R( R+ E' w5 \7 B
<DIV id=lrc9 style="COLOR: #666666">至今停在说爱我的那天 </DIV>; p0 m5 i, \% s- u
<DIV id=lrc10 style="COLOR: #666666">然后在世界的一个角 </DIV>7 |2 k( S' u( P y
<DIV id=lrc11 style="COLOR: #666666">有了一个我们的家 </DIV>* q/ \' F3 C) ]4 p( a/ v
<DIV id=lrc12 style="COLOR: #666666">你说我的胸膛会让你感到暖 </DIV>- @* ~! {! N2 V" V
<DIV id=lrc13 style="COLOR: #666666">如果生命 </DIV>' [9 |* Q1 W0 @' @8 |& }- e
<DIV id=lrc14 style="COLOR: #666666">没有遗憾 </DIV>
3 i- e. R* y6 H/ L<DIV id=lrc15 style="COLOR: #666666">没有波澜 </DIV>! c+ p8 n9 D. J: e. p" a6 W
<DIV id=lrc16 style="COLOR: #666666">你会不会 </DIV>1 t- j* {/ D) `8 F1 w6 u' y
<DIV id=lrc17 style="COLOR: #666666">永远没有说再见的一天 </DIV>+ i* f. y$ ~2 {& [
<DIV id=lrc18 style="COLOR: #666666">可能年少的心太柔软 </DIV>6 q' w+ S; F( R! n1 l% E
<DIV id=lrc19 style="COLOR: #666666">经不起风经不起浪 </DIV>1 j% U) y2 b& d! B0 ^& p& L
<DIV id=lrc20 style="COLOR: #666666">若今天的我能回到昨天 </DIV>; D3 k) i4 _8 ]9 H" |
<DIV id=lrc21 style="COLOR: #666666">我会向自己妥协 </DIV># G( a( x. {9 \8 j
<DIV id=lrc22 style="COLOR: #666666">我在等一分钟 </DIV>; F8 k+ E8 v8 R" Q/ S2 [
<DIV id=lrc23 style="COLOR: #666666">或许下一分钟 </DIV>
. Q) a& @+ @% @) p# z! ?<DIV id=lrc24 style="COLOR: #666666">看到你闪躲的眼 </DIV>
, j+ G" U( t" q+ Y n<DIV id=lrc25 style="COLOR: #ff3300">我不会让伤心的泪挂满你的脸 </DIV>
/ o. m. L2 x7 e<DIV id=lrc26 style="COLOR: #000000">我在等一分钟 </DIV>
* \" T, d" i) g1 U$ I<DIV id=lrc27 style="COLOR: #000000">或许下一分钟 </DIV>8 k6 K( B n4 Y+ v8 y
<DIV id=lrc28 style="COLOR: #000000">能够感觉你也心痛 </DIV>
6 o. w* i7 w O% \5 A9 _7 a2 v<DIV id=lrc29 style="COLOR: #000000">那一年我不会让离别成永远 </DIV>$ m' h$ i ^/ f4 i1 X
<DIV id=lrc30 style="COLOR: #000000">如果生命 </DIV>
1 B j; Q/ H: h/ ~# P7 g6 i<DIV id=lrc31 style="COLOR: #000000">没有遗憾 </DIV>
0 S: j+ V! z: e& v; r1 }/ r<DIV id=lrc32 style="COLOR: #000000">没有波澜 </DIV>
! ?/ X1 p) R* w) l( ` C<DIV id=lrc33 style="COLOR: #000000">你会不会 </DIV>" n' v* L) p* f3 Z
<DIV id=lrc34 style="COLOR: #000000">永远没有说再见的一天 </DIV>, T; t# @2 c) C2 Q s
<DIV id=lrc35 style="COLOR: #000000">可能年少的心太柔软 </DIV>
6 `2 n4 }1 D7 J8 J1 r9 c<DIV id=lrc36 style="COLOR: #000000">经不起风经不起浪 </DIV>' f( `: m" }# F. F' A* V
<DIV id=lrc37 style="COLOR: #000000">若今天的我能回到昨天 </DIV>6 B' w5 y6 Z i; J0 R# z" x
<DIV id=lrc38 style="COLOR: #000000">我会向自己妥协 </DIV>
. h+ }, P( ~/ g5 y<DIV id=lrc39 style="COLOR: #000000">我在等一分钟 </DIV>; \* z1 N7 z5 u
<DIV id=lrc40 style="COLOR: #000000">或许下一分钟 </DIV> v0 H% r( q0 y* T2 E! }2 p5 w
<DIV id=lrc41 style="COLOR: #000000">看到你闪躲的眼 </DIV>
6 e. _$ S3 W$ q3 J<DIV id=lrc42 style="COLOR: #000000">我不会让伤心的泪挂满你的脸 </DIV>
' x! ^& v: }% U' {<DIV id=lrc43 style="COLOR: #000000">我在等一分钟 </DIV>1 O7 U5 Z( z* R6 z% t: o
<DIV id=lrc44 style="COLOR: #000000">或许下一分钟 </DIV>* j6 E, w6 \( X5 ~+ S
<DIV id=lrc45 style="COLOR: #000000">能够感觉你也心痛 </DIV>
- k' F9 \; ~5 A" t<DIV id=lrc46 style="COLOR: #000000">那一年我不会让离别成永远 </DIV>; |! T/ R1 b& H# h \% S
<DIV id=lrc47 style="COLOR: #000000">我在等一分钟 </DIV># m2 }/ ]: A3 E0 j' E2 H* S
<DIV id=lrc48 style="COLOR: #000000">或许下一分钟 </DIV>. Q4 h- F4 @& U5 H/ }
<DIV id=lrc49 style="COLOR: #000000">看到你不舍的眼 </DIV>
/ x5 l6 E; u( C& ?5 g$ x<DIV id=lrc50 style="COLOR: #000000">我会用一个拥抱换取你的转身 </DIV>! y: v+ F( y& O
<DIV id=lrc51 style="COLOR: #000000">我在等一分钟 </DIV>4 \5 I& T7 z) L) c6 B% l+ s- b
<DIV id=lrc52 style="COLOR: #000000">或许下一分钟 </DIV>
2 Z+ e: x+ g, E, _( e4 M<DIV id=lrc53 style="COLOR: #000000">如果你真的也心痛 </DIV>
9 ~: d5 W! b% i; v<DIV id=lrc54 style="COLOR: #000000">我会告诉你我的胸膛依旧暖
: ]" T$ L7 F; \# l<DIV id=lrc style="DISPLAY: none"></DIV>
3 `& n% d. p/ x W4 j# B<SCRIPT type=text/javascript>
% H- N" N: d1 X( }document.domain="1ting.com";
! v% L* C; i9 {2 vvar colorPasted="#666666";
g0 L' D* `; ivar colorPlaying="#ff3300";
2 M! E! a( K# i) A# Y5 ^var colorNormal="#000000";
$ v2 J4 O3 y) i; ?! _% ^% R' F$ = function (a,g){
' R. e- I* j7 L* M5 R+ _' i var o = new Array();
" `1 e+ E% D" i/ B# a var c = new Array();
( L; y' q3 A7 h var r; " O9 Y, u6 q6 c) B: K1 b0 {: \
var u; ) s) K3 N0 _3 M' j1 E3 i* \1 y1 [
var a = a.split(';'); ( s2 j3 G. D4 t4 n/ m4 | A# A
( Z- V; W- c( a# z4 i
var e = "keydowns,resize,load,dblclick,click,mouseout,mouseover,mousemove,mouseup,mousedown,inputchange,inputfocus,inputblur".split(",");$ q* Q# r( i6 `. W1 U1 z) r& S
for(var i=0;i<e.length;i++){
: \! H( Z! q7 C$ j; X$ ~: ]2 d eval(e<i>+" = function (s){eval($event('on"+e<i>.replace("input","")+"'))}")
/ n) O, l: E( k1 v6 f8 ~) O9 T5 } }. A0 q+ W7 K2 l" P/ v1 }8 T9 V
; x* i' z1 @" S1 m+ q5 n
after = function (t,d,s){
; ^. _4 s7 E @5 O $after = function (){8 P- I$ q" V& T
var $n=document.createElement(t);' m8 [7 H1 [: S# C
if(d!=null){
! I1 @/ ~* f% d; ?6 x& T- s $n.id=d;
% a/ a( |* M7 z: e } m) r6 D$ k: K
. b, i5 Q% y8 c& g* j. T5 l
u.insertBefore($n,null) 7 a5 R# \- r1 W4 r0 ]* A9 ~7 X
r = $n; ; [+ n7 Z9 m/ W/ w1 i" S' \
u = $n;
0 b0 {- J# c# f }" A- z4 u. W9 u- d0 n* E' M" c
$for(s,"$after")! b; o1 E% z# D3 F
}& k2 a$ W( C/ N
! E5 |6 d2 m3 D show = function (s){
& W+ o# m1 w% o4 f: p7 e2 d $show = function (){
- X3 S( W% v! m$ D3 e w u.style.display!="none" ? style("display:none") : style("display:block") ;
5 v* X+ ]! O8 R! @5 `8 ` }9 v+ X. g& E9 M
$for(s,"$show")
J; \( M7 K# N" x D0 o! E0 V: q }
4 J/ P9 M2 R" U' m0 u1 y
# S( g/ l$ n5 X" x$ H+ p7 f check = function (t,s){
0 W4 [6 H, Y7 X2 Z5 Q( @: ] $check = function (){0 N$ j1 k2 G B% G- o1 q( V' n
if(t=="2"){
: C2 F5 N5 c: | if(u.checked){
3 G7 U4 n! F2 Z; S) A8 n: y! I, o$ a$ o u.checked = false;
' H7 B' ^) ^9 d& b$ T }else{2 S& u: c1 f3 ]# {
u.checked = true; _0 g! s6 Z$ X+ t% d' M# E( v& V
}. ~- _9 N, m, N, i, Z) ?
}else{$ g8 h9 p/ l3 A4 |
u.checked = t*1 ;
( x' o1 o' J, L: T: ` }# ^' E% I- c( U) A* W
}
6 q* t) N% s0 v _% N E $for(s,"$check")7 b& z E( ] Y7 z, w* J3 ?
}
* b h- Z9 c1 }5 k6 r9 C& Q/ |8 h" R W( i6 `
style = function (v,s){% X! A+ X& Z8 ^0 G; O
$style = function (){
8 d4 k3 Z6 B/ f7 z8 n var $n = v.split(",")
4 e) w* _# G, Y4 o% z9 s+ d for (var i=0;i<$n.length;i++ ){, h8 Y; g: {0 [: n
var $m = $n<i>.split(":") " o' o$ E0 [- {
eval("u.style."+$m[0]+"='"+$m[1]+"'");5 e: T, D, a+ H( ?
}$ j. Z/ N9 D: P" X9 x
}
7 S L8 G* \. ], ?; I4 @& C $for(s,"$style")$ }/ A( {4 T! z, t
}
2 [0 M2 }* j0 o; W# N# g l) f! \
value = function (v,s){
' m3 W# L- d0 c* }( {+ q var $n= $this (v);
9 b' h g9 N7 | \2 j* K $value = function (){
3 [5 S) \3 J4 S u.value = $n6 Z G; ^0 M. f
}
* @; k2 Q: a3 |2 a4 p4 }2 X9 | $for(s,"$value") " ~0 w: ^/ N6 D+ s# M3 J
}
0 z% B! G; m$ a
2 J/ Y6 `0 `6 R" U+ s5 K text = function (v,s){9 V8 |9 a" \) n( l; s" m! [
var $n= $this (v);
3 a J8 _4 j J" ^ $text = function (){. @# K/ |* ]- g* l \
% {- L" c" R6 p! G3 f5 G q9 w u.text = $n+ A( d' F' E0 E3 p! V
}5 [6 p) r$ t' M$ O2 v
$for(s,"$text") 0 x/ J& ~$ V) K( G) J/ y
}' P3 L% o& I3 d3 C; u
+ i) z. W) [+ {* O; X( u. u innerhtml = function (v,s){0 Y: u0 |. K+ t* l% n
var $n= $this (v);
! D2 u$ u' ^% c u+ L1 { $innerhtml = function (){
0 m: F: T3 a! }1 i8 ^0 l u.innerHTML = $n+ r `9 R# i; ?+ u; e
}4 h6 Y D$ y# U) _+ i, ~% R
$for(s,"$innerhtml")( Y, f+ Q; K0 Y( p6 e( p: r
}
' u% B; h1 p+ r* C/ c ) C4 P8 _" {* c
removechild = function (s){- c/ j3 p4 k. w- ~5 l6 J
$removechild = function (){
' d3 @8 @' O. x& v u.parentNode.removeChild(u): a9 o) | {( }1 p& N
}' J5 b; v* L/ w8 m6 K6 i9 u
$for(s,"$removechild")
- s6 B( S& A: J. ` }
% @6 D" k$ q' @* J
7 k. X/ j: A. m! T7 t" } $this =function(v){2 n8 N# Z5 ~# W) x- f+ |3 y4 [
if(v.indexOf("this") == 0){
6 w, B! h8 V3 X return eval(v.replace("this","u"))
1 t8 T; C0 g7 q" Y }2 F" H( \& N; ? ]+ {0 P4 J
return v;! R, S! i/ j' h9 }
}
- w# r9 C1 ]& Z0 L8 n+ V
/ x" S( N5 R5 P) y $event = function (s){8 R+ d; u1 J1 M! s/ ?7 w7 Y
var $n ="u."+s+" = function(){$work(this,s);}"+ Y* `. N3 k `
return $n;. a: A' T* [* B% @, D
}
4 S2 w; m4 j6 T8 q& }/ q5 E+ Y2 i! E7 G$ |, [) S: w5 c2 m+ U" l
$replace = function (s){) }7 }" v8 ~* a- k) [# y( C
8 { g) V. ^9 z' O& \$ M; J
}/ B. K" m' i( B0 `
) E2 ~- L5 B# Y $for = function (s,c){* J& H' ^9 l/ d* Q# _$ m
var $n="this."+c+"()" ;' h6 H& `' ?5 a8 s+ m/ C
if(s!=null){/ U4 X9 n- t& A. n
var $m =$test(s);* s9 J7 H9 _3 x. }- t" U n* V
for (var i=0;i<$m.length ;i++ ){2 c! k" v+ l7 o% D- Z* y6 J* {
u = $m<i>;) n- z" Y/ k8 Q# {: d% h* ^
eval($n);8 x3 W$ \1 T0 P8 J" M( Y9 q
}
8 x) v' {7 ^! c# y/ A8 ^ }
! P- l" A6 h+ J& M! K( k2 G* F else{
9 e- Z5 T6 q( E- t8 {2 B, c3 ^ eval($n);
8 C9 _8 S+ L( J* F+ O& m }
$ C" G+ {" \; _) `$ w: k }( z$ @: S6 M6 K3 z2 G% V/ O
/ N# h$ ?7 V5 z0 m2 Z, H5 c# k' M $test = function (a){
7 |" B% ]2 q! g9 O# D) E% W var o = new Array();$o(a.split(';'),o); u, W: Z; I2 Z
return o;* V; b V0 Z# `1 E/ |
}
. }! _. i+ @: ~* \1 u; ^ p$ J/ E) n1 K; u. F& J( C- t1 D) G
$format = function(s){! M/ m5 R& B; q- e$ q2 E) u, W
while (s.indexOf("'")>0){( q# X$ ^2 S) f# I1 E
s=s.replace("'","\"");0 n k- j! p4 ^$ x. ?
}
6 t* Z5 K! i9 D while (s.indexOf("][")>0){4 V0 w/ Z" S, A
s=s.replace("][","','")' t& U- ?- y" x9 _4 X
}
7 R7 R* |/ T1 y! K: Y while (s.indexOf("[")>0){4 p: i3 Q; |! K; V0 p. w
s=s.replace("[","'").replace("]","'")
' P8 N. M6 ~3 @( t2 T" l4 J( g# [, a2 F } 7 J5 r0 M, n& f8 @; _
return s;
+ ?& G2 K, P4 G/ i }
& s( R% S2 z/ ]) h& _7 _6 B6 R0 E' a* J& ~8 |$ q* y u7 e
$work = function(w,s){; N# I. O6 T- {7 R' V
u=w;eval(s)2 K, W' j l$ L4 Y8 ~, z
}* a& {$ |1 `& z) M( ?
2 U% y- Z9 E) w) p& [
$id = function (s){
& L @0 c. Z4 \+ D& s5 ^ return document.getElementById(s);" C) Y& f! R' J1 E( q Q. ~# W
}
8 {, f2 e2 U( o! S7 @/ U: ?
5 \. K, F( g" j8 H. N { $name = function (s){8 g8 ]0 X4 q8 C ]7 h; |8 Z9 W; Z! s
return document.getElementsByName(s);
( E3 q9 G3 Q7 L! Q }
O; |" P# b& F& X; q5 V
9 r% `( y' g+ J( B$ f $tagname = function (s){% e+ @9 f7 w. J
return document.getElementsByTagName(s);$ J3 K' @/ X: }) h
}
. H/ ` ^, f- p
6 H: [+ \2 M2 ~2 J( d( g $o = function (a,o,c){0 F. T9 a3 E- K% g$ }
$push = function (n) {
! X. \8 g3 |% r* N for (var i=0;i< n.length;i++ ){( T' [' ^5 E n5 U8 V: f4 ?, j
o.push(n<i>);
* P. Y" e" h: @7 J: Z }
' p6 R& Z1 {0 ]; G+ D }6 P x" F/ v6 ?! b" H. t" i6 W
for(var i=0;i<a.length;i++){: J* Z* ]( S1 [# C6 f) L. N- A C4 {
if(a<i>.indexOf("(") >= 0){+ H; P0 n1 d. A) N; E: Z3 m7 Y. m
c.push(a<i>);; n6 c' a; e/ g" N. v' r8 ]9 R
}3 }# i! ?' P3 }4 Y h# M) t
if(a<i>.indexOf("~") > 0){
7 Z; r5 R9 p! t try {, ]1 ^, m) I/ Z, p. F9 T3 S
$push(eval(a<i>.replace("#","document.getElementById('").replace(" ~ @","').getElementsByTagName('")+"')"));
- c" n0 O, L7 ?# c2 h3 ]* P }catch(e) E: s& _# A0 |* M1 F! X0 p
{} + ]: Z5 ^1 x5 W7 q% E
}
) a* R' C# E; L2 U, q else{
0 I) l- ^% V, T$ {* s# w if(a<i>.indexOf("#")==0){
0 T9 ]0 x( R, E5 ]8 E4 W3 P! @( q D o.push($id(a<i>.replace("#","")));+ M. o9 J1 u* w* h7 Z8 |5 r
}$ p* a. ~6 h! l+ J
if(a<i>.indexOf(".")==0){, a" W0 y' n: j# c8 Z z M
$push($name(a<i>.replace(".","")));2 V M3 F, x; U; }- b; Q
}
& s! p/ t$ n# F" K: P% J) j3 G+ S if(a<i>.indexOf("@")==0 ){6 p. O+ \0 E, z$ o) Q5 U8 V) ]
$push($tagname(a<i>.replace("@","")));
) f0 a# ~ l$ u N& z6 q }( N& W$ R* A9 D5 t+ ]7 @; w! u5 l
if(a<i>.indexOf("*")==0){
# H9 d/ p$ \/ i# D $p= a<i>;
) j7 h) s, p# i5 V+ r if($p.indexOf(".")< 0){7 V4 w# n% r. F5 z' d5 y; c
$p = $p.replace("parent","parentNode") a( l+ A7 E. Q" w1 E: d
}% Y4 S p2 G4 P3 m" s
var $p ="u."+$p.replace("*","");0 e/ C' L5 I$ w9 [- M
while ($p.indexOf("parent.")> 0){
: p* @" r4 D2 f $p = $p.replace("parent.","parentNode.")
! h6 r. H( I" q7 h }( q- M" O' p& g- b; t
while ($p.indexOf("child{")> 0){8 Q9 v; ?# d; z3 o9 s8 P
$p = $p.replace("child{","childNodes[").replace("}","]")
/ F P' J: h: ^, [9 q5 j+ i0 G }
$ J z* d2 [6 N2 S6 K- @& b& {% S o.push(eval($p));8 e0 a `- ^9 l+ N7 T% H1 P3 a
}/ H K2 a' y) C7 j# A; W. p! Q: u% z! G
if(a<i>.indexOf("document")==0 || a<i>.indexOf("window")==0){( C# s: |/ z0 E. Y9 h$ Z6 N6 |$ V
o.push(eval(a<i>));
8 |& T. N3 H8 ]) ?: a; r% Q }7 Z& e1 f p$ e! s. o) ~/ w
}
9 U8 n& i" W- C/ V1 ? if(g!=null){ 7 ~+ H" s& v3 A8 q- A
o.push(g);g=null
t5 B$ n& u' v }
9 M% p6 y2 J* f9 f G }/ |% z2 p0 Z6 m; o, d
}
) l" d+ g% v' G$ I! e% O8 w( O4 G$ Q6 i6 c ^8 f2 m
$o(a,o,c); F3 a+ r5 i, L! M
5 i5 n) E% {# k. Z4 }+ k- ^" s
for(var i = 0;i<o.length;i++){
& [# C+ v2 O% ]& P" x for(var j=0;j<c.length;j++){
; N; D/ w+ k% v: a2 @ u = o<i>;eval($format(c[j]));( {! u, c5 L& J I. V7 a& h
}
6 C# [; [) Q* l. h }5 m5 b( k6 `; ], e [; |
8 Q# s% b2 r+ j8 [ if(o.length == 0){
9 u) c+ {' G6 S! N/ ^/ @ for(var i=0;i<c.length;i++){* Q+ o& \. A/ _' b7 Z5 x
eval($format(c<i>));0 R4 `0 ^$ w. |! W; b
}
6 j4 T5 l$ ~: e: d9 W }
; F3 R. c1 P* J# j' }1 ]! y / ~8 e' o9 C: D3 I6 x* X! P
if(r!=null){" t) F/ `- Y# G9 v* [
return r;
% H/ k( F$ L+ J& C9 P7 X1 T }
5 M2 P0 u8 ~; q$ U) j 2 g1 B" y: { }* r; a
if(o.length==1){
4 d# {/ J3 q; R return o[0];- p0 B/ V Y0 T
}- z. o9 m1 g: Q* ?6 H4 d3 J
else{
! z8 m T" \% ]7 i" }' {1 R return o
5 C* K8 n1 U2 t( a' [ } + ?. n2 D0 f" E% v! G& o
9 }" J7 A1 O7 G2 y
}7 [ [. O% k) }0 t4 _8 v( x
var lrc =$("#lrc;show()").innerHTML.split("[");
5 m8 Q2 w% T' v$ {+ R) r7 Nif(lrc.length>5){
, L! |" W% w/ R0 G' }% `var array = new Array();8 ^1 |7 H$ ~: k; n7 s, C7 t6 P) w
for (var i=0;i<lrc.length ;i++ )
3 x4 k: n+ D( k{8 z4 c- q3 j6 ]1 v' }3 h
var g = new Object();
4 u0 [$ p5 W9 E% n! a t= lrc<i>.split("]");
! p: a$ W$ V5 f* m g.time = getTime(t[0]);0 U* @' {: t* D' J: o+ }& `3 }, t
if(isNaN(g.time))' [& t: Z# V+ k+ I
continue;9 K y6 Z2 [) E% e P
g.c = t[1];1 ^+ e* |: Q' Y1 o% b0 n
if(g.c == "")
8 w- q9 K- ?) @( K! H g.c = getNext(i);2 F1 c( P6 |2 R& p, x, n u% f
array.push(g);, i& P5 {- u, J" U" _
}% M: b y, K) r$ @8 Q6 k% d1 E. d# F
array.sort(function(x, y) {1 ?( A" c/ x* |$ l6 u0 \; f
if (x.time>y.time) 7 _7 C" k2 Q2 f% J m" S+ D
return 1;- n1 ~0 Y) k& N
else if(x.time<y.time)
+ e' A, G1 V+ G6 @6 }- _6 w% z return -1;
! l+ k/ v9 {+ u& Z/ c, S6 a else7 w$ V7 c+ q8 J
return 0;
9 L# P0 o; \" ?% }: L } $ G; S" l6 @9 t$ s
);% g! p1 X% ~; \1 J. j' u! _& h
for(var i = 0;i<array.length;i++)
' i7 r3 _8 S( |' I% v{* g2 n" B3 |' ?4 D. e: D- s
var g = array<i>;
" C! \( I: Q/ `/ y# l# }7 u: h if(!g.c){' k3 m: g- s) G, F- y7 F
g.c="";6 S) n- `3 b) C+ V _
}2 v" I* g2 H9 E* S5 R
$("#list").innerHTML+="<div id=lrc"+i+">"+g.c+"</div>";
* S. Z/ G) L2 j2 y2 K7 {8 B7 W}
, Z' s1 l' z. o) q2 {+ z( `var time = setInterval("lrcList()",500);
$ p: ~% |. }* n}else{, P7 j9 t' d# M+ i% z! p
$("#list").innerHTML=$("#lrc").innerHTML;
: q# T/ I* O( l) j$ }7 u$ t}/ }/ D5 @6 K3 [. t
function getNext(i)
$ U+ f9 n8 H& ]4 D8 N5 h% w9 i7 F7 G{% O' r5 w3 `/ e
var result = "";) l4 I! D, t, A2 @. n! m
var i = i+1; j% q( c: R0 U2 t
t = lrc<i>.split("]");+ u/ q1 M4 p2 I+ Y- A( @
if(t[1]=="")
?2 n: V& ^2 E" G result = getNext(i);! q8 }+ b' o' F, L2 `2 R& }0 _+ H- P
else
; G+ M% a, C: d result = t[1]
7 S) Q6 Z% K/ D) M- U" {1 {/ A8 W7 M return result;3 W% v: d* N l5 k$ Q. L; ~
}
& w& w9 v! e1 F; e, u6 Y! n3 {/ m# c n- J6 q& s
function getTime(str)8 B D8 N D) `# y4 |9 x
{8 f! u# Q4 j3 Z5 P+ V% G
var time =0;1 u5 O: E- B" `
var ta = str.split(":");
5 X: l1 o+ B; x9 @- C if(ta.length<2)
* p, q& I: y, s# F* f+ F+ k return time;
' N2 `2 u8 l8 T2 K& |* h
/ A3 L, d* B6 [ if(ta[1].indexOf(".")>0){3 W" F: D$ ]! n* R
var tb = ta[1].split(".");7 ~ f8 d8 I/ E J
time = ta[0]*60*1000+tb[0]*1000+tb[1]*10;
6 z; c( F6 \- y7 y }# h4 F( y7 U' } n9 e) S8 ]
else5 F1 `6 c# D' \ R" A* t
time =ta[0]*60*1000+ta[1]*1000;
0 `& V/ y1 T) V; R$ R0 P: M return time;$ Q2 X" I( ]/ ^4 ]/ _0 r3 y
}/ s. M# p* {* C$ m+ {
var preTime = 0;
. A/ H+ L& p- j9 c0 hvar nextTime = 0;
5 m: [. v- C' W7 Z2 @var currIndex =0;) A! o u$ i* f* @9 e& v1 g9 R
function lrcList(){ j0 G8 G$ n; {0 R$ `
var s = parent.document.getElementById("MediaPlayer").controls.currentPosition;
5 ?1 i* V$ r0 v s = s*1000;
) u' e* z/ }) f, |: h4 Z! K$ d; J if(s==0){. I5 g8 a% f5 o1 V/ y! B, } I. a
currIndex =0;
# h% Z5 _+ H/ F( i9 [7 { $("#list").scrollTop = $("#lrc"+currIndex).offsetTop-30;
4 [4 R' \3 K6 I# P" y+ T. L for(var i=0;i<array.length;i++){
1 D$ h: R& R2 |2 ] document.getElementById("lrc"+i).style.color=colorNormal;
/ } F" K4 N( z( X5 }6 }7 h }
R; m% F$ `( _% a4 B* Q6 G return;6 \% [" g3 P" q1 a% ~
}
3 Z) ]4 C% b9 n! c) Y5 y1 ?7 H$ w if(s>0&&currIndex<array.length-1)7 E" A/ d/ n; J8 ~* R
{ , U$ o: S% O- D/ O8 ~6 S3 k
preTime = array[currIndex].time;
, F/ v/ ?5 y; j8 Z6 ~9 r* \1 P ^ / K; w/ M: r, D
nextTime = array[currIndex+1].time;* U' Z2 g+ T6 T2 }
7 H$ m2 K. V8 G; m! u3 G+ R2 ~+ }) F
if(s>=preTime&&s<nextTime){7 M" v3 E. u3 i1 N
}5 t' C3 Q6 A! h4 }2 U
else if(s>=nextTime). `4 P" b! A# s# G& {
{
4 G3 F/ K$ \/ n7 U document.getElementById("lrc"+currIndex).style.color=colorPasted;- E6 R( V% s* U v! D
currIndex++;
) E' F- o' g% n7 h/ F $("#list").scrollTop = $("#lrc"+currIndex).offsetTop-30;1 j* i1 N; y: t) S' v
document.getElementById("lrc"+currIndex).style.color=colorPlaying;: K" c% A, d% `7 ?
lrcList();
/ |6 d; A; Z0 G }- p6 S3 j5 X8 t+ L8 G
else{. g. p& \% ]) ~. S
document.getElementById("lrc"+currIndex).style.color=colorNormal;
4 P2 p2 [' B$ s h currIndex--;/ |. i" E& f% f! F1 A" q
$("#list").scrollTop = $("#lrc"+currIndex).offsetTop-30;
0 r3 `8 z3 a* v$ k% u3 k document.getElementById("lrc"+currIndex).style.color=colorPlaying; C$ x( \( p0 o7 P' v
lrcList();- E" I; M- d% H. \+ W- q
} 0 p$ ~8 V2 c' g; e- O) M
}
8 q4 H; t8 ~9 A% T else: c7 R/ F! B7 I1 R0 P
{
# e: R; w* ~4 p! O/ _' e* |8 J if(s<array[array.length-1].time){. c9 I& b/ Z, T. b e5 Z2 t
currIndex = 0;
$ z. f E/ V% B) Q $("#list").scrollTop = $("#lrc"+currIndex).offsetTop-30;
" ~! P1 h3 K3 ?. W* b1 m% e for(var i=0;i<array.length;i++){
6 g* o8 V* K5 d& U/ F" v+ @ document.getElementById("lrc"+i).style.color=colorNormal;0 T6 K2 b- |+ z# L4 ?* A
}/ J9 g ?1 p' s: J7 y1 l7 K! _
lrcList();
% R/ B. `+ Q' n6 U }
5 k3 t$ a( n9 g/ n }# x0 t# Y$ a2 }' h/ ?& V0 Z+ k
}
% s8 i0 \* y: l9 s' B$ y</SCRIPT>$ l' g1 T$ m: X" _/ ?6 q
</DIV></DIV>
: L" k; u/ K& T/ B
) f. \% O3 P Q1 p[ 本帖最后由 幽谷兰 于 2008-9-18 17:36 编辑 ] |
|