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