获得本站免费赞助空间请点这里
返回列表 发帖

网页之非常漂亮的图象效果

<script language=JavaScript>
) z+ ~8 v  H: |# U4 }) r7 X<!-- Beginning of JavaScript Code -------------------: {4 T: T( P& t. i

; v. T; u1 R7 w3 r7 MnereidFadeObjects = new Object();
9 z/ P" l  A8 [' H+ CnereidFadeTimers = new Object();
% @* _7 \3 a6 ]% F  N$ y. kfunction nereidFade(object, destOp, rate, delta){
5 S/ |3 H0 t' u% \- f/ Vif (!document.all)
+ X( O; p( r+ b" }9 C* Yreturn* s5 B% R4 W8 Q( c$ E8 H5 {+ B. _
    if (object != "[object]"){ setTimeout("nereidFade("+object+","+destOp+","+rate+","+delta+")",0);' H, m% j5 u9 \3 ]) B
        return;
9 f. L6 N* S0 @* `9 k- J& C    }
- i4 \- H- U5 X+ G& _5 M. Q    clearTimeout(nereidFadeTimers[object.sourceIndex]);$ S, h, @) u6 g) \7 b, @
    diff = destOp-object.filters.alpha.opacity;
2 w6 i4 c  p. N    direction = 1;1 R7 z+ I/ n1 u7 L2 M7 @, D& z# M
    if (object.filters.alpha.opacity > destOp){
" i1 b1 t  x% K        direction = -1;
3 C9 z( h9 @; q    }
1 O4 |5 O, O* @6 t    delta=Math.min(direction*diff,delta);
3 }. q! |1 d' a, @    object.filters.alpha.opacity+=direction*delta;
: P/ F9 n: t& _+ U    if (object.filters.alpha.opacity != destOp){
  w! `7 s$ q; x7 c: U, z, f        nereidFadeObjects[object.sourceIndex]=object;* r1 ]' V1 k# ^+ O# ~
        nereidFadeTimers[object.sourceIndex]=setTimeout("nereidFade(nereidFadeObjects["+object.sourceIndex+"],"+destOp+","+rate+","+delta+")",rate);6 ^' A$ W- W6 B- J* L' e
    }
1 I4 r' O+ n" O. r}! ?" d3 a' l& G: @2 \
// -- End of JavaScript Code -->1 S9 @% D# @2 t" \, G3 w/ k5 N
</script>0 [. j9 V0 I4 |  P3 I
//修改下面的图像地址和大小
6 }' q4 P1 _; r  J7 e, P# N0 N5 u<TABLE align=center border=0 cellPadding=0 cellSpacing=1>
% F4 O: B/ @! z        <TBODY>
/ ]2 h- v1 J+ W        <TR align=middle>
: P- \  @( I" y# n          <TD background=files/index_dreamweaver2.gif
- W. q$ h: T$ _% b$ i9 Z2 D          height=60 width=60><A
# R5 \( O5 i8 V, {* Y5 u            href="http://www.hooji.com/java/display.asp?id=542#"><IMG
+ Q$ n! J0 d" |/ K% e( c            alt="Dreamweaver 资源" border=0 height=60 ' Z( q+ `+ B, A3 t
            onmouseout=nereidFade(this,01,7,5)
- @3 Z* g5 W! x9 h5 y$ _$ f            onmouseover=nereidFade(this,100,5,7)   @& x% k- v9 c/ M
            src="files/index_dreamweaver.gif" 8 m- E- g5 Y4 V- G
            style="BORDER-BOTTOM: #000000 1px solid; BORDER-LEFT: #000000 1px solid; BORDER-RIGHT: #000000 1px solid; BORDER-TOP: #000000 1px solid; FILTER: alpha(opacity=0)"
( g, P" c5 {6 Q4 y            width=60></A></TD>
8 M2 v# t5 \. p! |5 f2 M/ g          <TD background=files/index_fireworks2.gif height=60 2 W" N" j, W, @# a- b
          width=60><A $ ?3 i: v6 p  A) b
            href="http://www.hooji.com/java/display.asp?id=542#"><IMG / n. k! I! G) v( w+ l0 Q% q' d3 J
            alt="Fireworks 资源" border=0 height=60 : \8 L2 ^+ E# b7 `$ t
            onmouseout=nereidFade(this,01,7,5) , {2 `- v1 y2 U( a
            onmouseover=nereidFade(this,100,5,7)
5 f9 K. g  J% g& f* t            src="files/index_fireworks.gif" , B; }3 E' H8 l  t1 J7 ~5 S
            style="BORDER-BOTTOM: #000000 1px solid; BORDER-LEFT: #000000 1px solid; BORDER-RIGHT: #000000 1px solid; BORDER-TOP: #000000 1px solid; FILTER: alpha(opacity=0)"
! H  F) R7 v  Z% B% e            width=60></A></TD>9 U! n2 K$ }- x% q
          <TD background=files/index_flash2.gif height=60 3 B5 u, ]6 ?3 H8 o( S
          width=60><A
1 u. u+ H5 F! A5 R# b; {  W' B/ L2 D& L$ \            href="http://www.hooji.com/java/display.asp?id=542#p"><IMG , p) R" K" l4 I* \
            alt="Flash 资源" border=0 height=60 onmouseout=nereidFade(this,01,7,5)
6 g+ X. F1 P) r4 A# q! G3 o8 K            onmouseover=nereidFade(this,100,5,7) ) Q% K6 }# J7 `& G
            src="files/index_flash.gif"
/ w0 Q# Z- c0 {( a0 |; q$ {            style="BORDER-BOTTOM: #000000 1px solid; BORDER-LEFT: #000000 1px solid; BORDER-RIGHT: #000000 1px solid; BORDER-TOP: #000000 1px solid; FILTER: alpha(opacity=0)" 8 _- X" {3 [$ {) `! v2 l
            width=60></A></TD>5 z0 V* ]; T+ a8 c# x2 V
          <TD background=files/index_photoshop2.gif height=60 1 l) ]- ]' A2 a+ x
          width=60><A
+ H4 J: e9 a* o            href="http://www.hooji.com/java/display.asp?id=542#"><IMG
, P" H: d: x! _, M& b/ R            alt="Photoshop 资源" border=0 height=60 ' P1 l  q1 t- L; d2 O: n  L
            onmouseout=nereidFade(this,01,7,5)   M4 i+ _4 U1 C1 o5 a4 R  e
            onmouseover=nereidFade(this,100,5,7)
) Q! E8 _# o7 x3 V- Y% J  I$ z% m: ^            src="files/index_photoshop.gif" 2 i! {/ H/ {6 b& h
            style="BORDER-BOTTOM: #000000 1px solid; BORDER-LEFT: #000000 1px solid; BORDER-RIGHT: #000000 1px solid; BORDER-TOP: #000000 1px solid; FILTER: alpha(opacity=0)"
+ k3 {9 j6 N6 O) O* Z) j' i            width=60></A></TD>
  h, Q: F8 P0 ]* i: l" T! T  w. H8 s        </TR></TBODY></TABLE>

返回列表
【捌玖网络】已经运行: