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