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