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