返回列表 发帖

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

<script language=JavaScript>+ c# l. `  E/ f3 o/ p
<!-- Beginning of JavaScript Code -------------------
$ }8 P) p4 s  ^4 R, r
* S1 e2 f' `8 r8 L1 ]# xnereidFadeObjects = new Object();( O0 S, |$ x  K% p- S  F# p: y" A
nereidFadeTimers = new Object();
" B7 @2 C! x, i, \/ |$ D* Sfunction nereidFade(object, destOp, rate, delta){
* `  V0 I, T( K. `/ mif (!document.all)! \4 ]. l: q5 }3 M2 c( A
return
% C6 ^0 p) V1 g$ R7 R    if (object != "[object]"){ setTimeout("nereidFade("+object+","+destOp+","+rate+","+delta+")",0);1 [/ u9 K. @6 t. l; e) F- N
        return;
1 Q9 s! c; z( r( T* L* V" j    }8 N) d! c* k# z8 n: q# V
    clearTimeout(nereidFadeTimers[object.sourceIndex]);3 i  n8 M* N) ~, b2 v6 s" p) X
    diff = destOp-object.filters.alpha.opacity;  y0 K: j2 j* v, g7 i2 o
    direction = 1;
( x/ v) Y. Z9 e1 V3 i+ K    if (object.filters.alpha.opacity > destOp){
0 m% P, S) P" @2 A- g        direction = -1;
* b; v& k4 A# `* v* R+ e    }
0 M( f/ E. K3 ], M    delta=Math.min(direction*diff,delta);
4 B! K3 b9 Q( _" ~# J5 b/ m& h    object.filters.alpha.opacity+=direction*delta;
. f+ s9 O2 `1 s* m, U8 o2 X5 b; g    if (object.filters.alpha.opacity != destOp){
+ n: I! {, ^8 m1 i5 z8 e        nereidFadeObjects[object.sourceIndex]=object;
* x5 t4 s3 f' h3 C' N2 k! S        nereidFadeTimers[object.sourceIndex]=setTimeout("nereidFade(nereidFadeObjects["+object.sourceIndex+"],"+destOp+","+rate+","+delta+")",rate);
6 C# ~& L' b' C  f5 o9 w    }- @- z3 L% m. M+ Z( L. r; @
}
) I2 M% ]1 d, |/ H' T: Y// -- End of JavaScript Code -->8 e/ F4 f0 K# u1 j
</script>
/ G- Y# U, U) l5 b/ _+ }+ l' A3 W //修改下面的图像地址和大小
- k& g9 ^/ |& J+ N<TABLE align=center border=0 cellPadding=0 cellSpacing=1>3 _, u, V* G6 M2 C8 @4 Q# \) \
        <TBODY>. X4 R: Y- V% Z8 _
        <TR align=middle>7 z  Z9 g2 f- X! w
          <TD background=files/index_dreamweaver2.gif
% _3 B+ U' L# j% R          height=60 width=60><A
9 }0 E( K0 C, W2 g            href="http://www.hooji.com/java/display.asp?id=542#"><IMG
8 c; b  b( V* J            alt="Dreamweaver 资源" border=0 height=60
! U+ K9 M3 t7 T0 j' T) E5 l3 c7 u+ I            onmouseout=nereidFade(this,01,7,5)
2 q2 t6 `* I5 V# I            onmouseover=nereidFade(this,100,5,7) , c) v) w7 f" B2 }$ M! F
            src="files/index_dreamweaver.gif" 3 C. W. h+ j# J) f6 n0 f
            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)"
# N) y* a% F) z! V( X& @3 S' l            width=60></A></TD>
- w* q8 p, d' {5 X2 t7 O% y6 z          <TD background=files/index_fireworks2.gif height=60 1 F" R5 U( C3 R) V" e) X
          width=60><A 4 h7 ]( c; Q+ d: V; R
            href="http://www.hooji.com/java/display.asp?id=542#"><IMG
% x9 g" ?$ B0 Q4 S5 Q            alt="Fireworks 资源" border=0 height=60 $ c, `. D% g, Q. N
            onmouseout=nereidFade(this,01,7,5)
- N! H% t" U; W. C3 w9 C            onmouseover=nereidFade(this,100,5,7)
5 h6 `4 y; k) p0 C! r            src="files/index_fireworks.gif" $ e8 ^. U* O1 V, \7 i+ f5 g1 V
            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)" * h6 ]4 a1 W- I
            width=60></A></TD>
% V; b; J. G) ~* l( u- g          <TD background=files/index_flash2.gif height=60
/ u' F+ o- k& V4 G  }. X3 {  I          width=60><A
9 ]" ]* \6 T! l" y4 |1 @  g            href="http://www.hooji.com/java/display.asp?id=542#p"><IMG % {: k. c, c4 c/ q' O4 b6 o
            alt="Flash 资源" border=0 height=60 onmouseout=nereidFade(this,01,7,5)
; |1 _; g/ j- F3 M. @5 n5 u: L" _7 V            onmouseover=nereidFade(this,100,5,7) 9 ], j, v4 Q# Y. |, ~. P. j$ P3 W
            src="files/index_flash.gif"
& p6 h+ m& p! A  k            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)"
! s2 r; W: p+ [& E5 T            width=60></A></TD>) T& C" P1 ]2 o, x* y
          <TD background=files/index_photoshop2.gif height=60
0 v" i( Y4 Y5 R& H" m5 j2 c; d          width=60><A
! I/ L( C9 j. F' |. m            href="http://www.hooji.com/java/display.asp?id=542#"><IMG ! [& s" Y" c1 o1 T! Y8 u
            alt="Photoshop 资源" border=0 height=60
( H9 v8 J; o6 n            onmouseout=nereidFade(this,01,7,5)
0 D6 `" u4 m, r! L4 o            onmouseover=nereidFade(this,100,5,7)
  f' c/ c4 V$ c, y            src="files/index_photoshop.gif"
  i4 X- }2 |$ o8 P+ ^            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)" , C& C$ [/ W5 m2 s6 d
            width=60></A></TD>& s: Q/ s# S, P) z* D9 t- n
        </TR></TBODY></TABLE>

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