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