返回列表 发帖

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

<script language=JavaScript>
1 o9 I2 X7 d4 y9 A. K8 t<!-- Beginning of JavaScript Code -------------------
# M9 M2 ^7 s- F! ?& k% e- O! s7 E9 w: N  Y
nereidFadeObjects = new Object();% P0 G$ b* A! q' g+ t
nereidFadeTimers = new Object();2 e, e! X# \" g- N" D, D" I
function nereidFade(object, destOp, rate, delta){# }0 R( y5 l2 p4 m. n
if (!document.all)3 v; h  d) G- Y6 I0 `5 o
return
6 p/ p7 G& H4 A# u" ~    if (object != "[object]"){ setTimeout("nereidFade("+object+","+destOp+","+rate+","+delta+")",0);
/ M1 \5 G" k3 s3 d$ n5 W% t        return;8 K; E9 A$ A; O/ Y' Z: B
    }
" \" i) N1 S* c% p% v: |, P    clearTimeout(nereidFadeTimers[object.sourceIndex]);
& a1 T+ b, N7 [) Z    diff = destOp-object.filters.alpha.opacity;
5 x5 v2 h2 i  y1 J; ?9 m: q- U    direction = 1;' m' S+ Y4 m& ]% |* x/ r+ O
    if (object.filters.alpha.opacity > destOp){: t, h! P9 U& M- m
        direction = -1;+ E& l. \& V) V2 ~; U2 T- l6 x
    }, z# [) i4 }% m" P7 t- o
    delta=Math.min(direction*diff,delta);
; z) \  g$ B1 k7 k  z    object.filters.alpha.opacity+=direction*delta;
3 }5 Y3 W# F# `0 b    if (object.filters.alpha.opacity != destOp){
* I# X- Z0 c) H2 H0 W  V1 F! N        nereidFadeObjects[object.sourceIndex]=object;
; \0 _1 ?8 U. E+ x        nereidFadeTimers[object.sourceIndex]=setTimeout("nereidFade(nereidFadeObjects["+object.sourceIndex+"],"+destOp+","+rate+","+delta+")",rate);5 T2 @4 w1 B+ L0 N( k9 g
    }9 v3 L, L! R/ c6 u' b" ^4 c4 [
}- O( n2 j$ I7 Z% n+ H2 @  A
// -- End of JavaScript Code -->& v. G& x1 o( s# S9 u/ V
</script>, m; v$ Y/ Y3 K8 M( ?' t/ r/ i
//修改下面的图像地址和大小
! \' r- H# N8 n( x' R& n% R* A  D<TABLE align=center border=0 cellPadding=0 cellSpacing=1>
) a5 H# l8 Q( a* `        <TBODY>
, I5 [) u2 A+ [* [        <TR align=middle>- d; G& c% S3 P2 t" V
          <TD background=files/index_dreamweaver2.gif , l6 D# x" [2 H, k4 i# T  N
          height=60 width=60><A
- ^/ \/ g/ v8 G: Y  {) B( I            href="http://www.hooji.com/java/display.asp?id=542#"><IMG
- }( a5 \8 Z: P% D3 X            alt="Dreamweaver 资源" border=0 height=60 9 b" I6 m6 S* g9 p9 B2 D0 H( D8 n
            onmouseout=nereidFade(this,01,7,5)
( |+ m" |0 a) C' o8 ~" F( e            onmouseover=nereidFade(this,100,5,7) & g* H( F" X# I4 p2 D; m* r
            src="files/index_dreamweaver.gif"
+ `$ \& i& W' ^9 M+ z, N8 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)"
' g+ `- ^+ Y4 }, m6 }, z            width=60></A></TD>
: D/ m  j- m( _: x, U& D          <TD background=files/index_fireworks2.gif height=60 ' |! e! @! |$ w. N, G; J
          width=60><A 4 U5 l$ ~: t) }. A: t% K) t, m
            href="http://www.hooji.com/java/display.asp?id=542#"><IMG
) N! v& z8 h7 H1 K            alt="Fireworks 资源" border=0 height=60
% v7 {* `- I. T) m: I0 Y! P) M            onmouseout=nereidFade(this,01,7,5) ! w6 i" D0 V# D. P7 H
            onmouseover=nereidFade(this,100,5,7) & v' ^$ c; k/ _; H. b6 ~2 r
            src="files/index_fireworks.gif" " S+ m3 g4 @3 d; b( s, J- N
            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)"
; R5 M; s9 I1 I, ]: h            width=60></A></TD>1 ~* D1 J3 v+ X  _4 ^
          <TD background=files/index_flash2.gif height=60
+ Q8 S; h: J4 V  X/ @; w          width=60><A
- a7 [+ F5 M1 v8 c& }            href="http://www.hooji.com/java/display.asp?id=542#p"><IMG
: i2 u2 ?* ^( Q, Z/ l. |! E            alt="Flash 资源" border=0 height=60 onmouseout=nereidFade(this,01,7,5)
, G2 {6 I! _; c! n! W8 u            onmouseover=nereidFade(this,100,5,7) 9 z/ C5 ]/ j! s0 X: b
            src="files/index_flash.gif" % x9 K) S' W* e
            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)"
7 K; y: T9 W; e            width=60></A></TD>+ x8 y$ U0 @8 W; C1 ^. d# ^2 M
          <TD background=files/index_photoshop2.gif height=60 8 R" I8 {( V  t. Q% v
          width=60><A
' j1 r% e5 B. ^6 k/ c+ I            href="http://www.hooji.com/java/display.asp?id=542#"><IMG 4 `* K  O$ A$ Y6 x* [: _2 Z; x9 J$ Q0 v
            alt="Photoshop 资源" border=0 height=60 % }! }0 M5 n6 |; h; S
            onmouseout=nereidFade(this,01,7,5) . S& o$ r) `( j- _" F5 W7 S# S( p
            onmouseover=nereidFade(this,100,5,7) ( B9 ^" o" K, l
            src="files/index_photoshop.gif"
( [8 v" R+ @% C9 }+ j. \" 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)" $ |# C1 D/ W$ T- I1 _) f: u
            width=60></A></TD>" _  H# }4 Y+ ]! B" @! J8 [1 j
        </TR></TBODY></TABLE>

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