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