返回列表 发帖

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

<script language=JavaScript>) k4 z& i) ?  z. r6 R: {+ z; V) w/ z
<!-- Beginning of JavaScript Code -------------------
$ R8 A5 M3 C1 E! `( |+ ?, Y* T. O* b- ?( B4 V  Z% D
nereidFadeObjects = new Object();
9 |- Q2 M. b8 N/ S. I( e2 bnereidFadeTimers = new Object();' V* h3 j$ F, i# _+ w2 w
function nereidFade(object, destOp, rate, delta){
3 N. I: U: h8 jif (!document.all)
3 ?) t) P! n( V2 jreturn6 S4 E( b; n, d3 a, A0 a1 Z/ I. V
    if (object != "[object]"){ setTimeout("nereidFade("+object+","+destOp+","+rate+","+delta+")",0);& f1 H. [' ~, A5 f0 ~8 J/ x+ d
        return;
" H$ `" n: _. y3 [' x" H" d    }
& |6 g+ P3 c" n    clearTimeout(nereidFadeTimers[object.sourceIndex]);# S$ W5 z. R( [8 m) X
    diff = destOp-object.filters.alpha.opacity;# [. L- r5 s" R0 y' O
    direction = 1;7 ^# j4 m, x, Q" }7 `; a1 H) w" J0 R
    if (object.filters.alpha.opacity > destOp){+ }: b8 {( d& S# [8 A
        direction = -1;1 z$ t" K. ~2 i3 k
    }
1 B% [) {' h0 x3 v6 K    delta=Math.min(direction*diff,delta);
" m/ a  {/ `6 W$ x6 N. \) h    object.filters.alpha.opacity+=direction*delta;2 P3 W+ h9 R* j& K9 s
    if (object.filters.alpha.opacity != destOp){
8 f1 l  o( X2 x        nereidFadeObjects[object.sourceIndex]=object;! S( h" h' w7 k  I* |$ u" e1 H( R/ g
        nereidFadeTimers[object.sourceIndex]=setTimeout("nereidFade(nereidFadeObjects["+object.sourceIndex+"],"+destOp+","+rate+","+delta+")",rate);1 U4 j( q) ]9 R- d7 |0 u8 f
    }( k4 H* _% S* {- s# [/ |
}3 |; M/ E+ T# C+ o7 w
// -- End of JavaScript Code -->: G# h5 c8 y) f; g: o/ @9 H
</script>  Z1 O2 e9 H2 a
//修改下面的图像地址和大小
  u: b9 j1 J  @. t! `<TABLE align=center border=0 cellPadding=0 cellSpacing=1>
' O$ ^. G" a* P% K: E& b        <TBODY>/ W" ?+ I" |1 Z$ ~& M+ {
        <TR align=middle>% X" j4 d* R$ P. n0 M
          <TD background=files/index_dreamweaver2.gif ! V+ ?/ i5 f, ^8 E: |
          height=60 width=60><A
# S! W4 D, j- e9 \/ D. H            href="http://www.hooji.com/java/display.asp?id=542#"><IMG : w4 S5 f! G" @; f2 C8 p
            alt="Dreamweaver 资源" border=0 height=60 6 I1 X. O  W2 y* `- @/ a* A6 L
            onmouseout=nereidFade(this,01,7,5)
2 w0 J+ G/ m1 [8 J# u+ r            onmouseover=nereidFade(this,100,5,7)
0 t/ p# v# ]- d            src="files/index_dreamweaver.gif" ( ~% I& ~) m' }% C7 W' M. 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)" 0 w* I( ]2 e% q' G, ^
            width=60></A></TD>
* q: t9 H. C- u( N4 r* P$ J, y$ s4 w          <TD background=files/index_fireworks2.gif height=60
3 y! s4 }' Q' Z5 e3 S! ^8 f8 P          width=60><A
5 c5 @+ w9 t! }3 }) g            href="http://www.hooji.com/java/display.asp?id=542#"><IMG
, U0 a+ [" d+ K4 y% [& ^            alt="Fireworks 资源" border=0 height=60
8 b4 R( S$ y! K, C; m2 t* y            onmouseout=nereidFade(this,01,7,5)
6 M0 d4 u  T8 k# O            onmouseover=nereidFade(this,100,5,7) ' J. Q" J9 f2 _) a  g5 q+ }7 }  B
            src="files/index_fireworks.gif" 9 _6 `% ]3 e9 R$ B$ L% p9 L
            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)"
4 k+ t9 t; }( T+ r0 K0 s            width=60></A></TD>
4 K( U5 S* @% X0 U2 M5 }3 f6 r          <TD background=files/index_flash2.gif height=60
) U' \, A' j7 o+ d& u          width=60><A 3 t/ e6 t6 Q  `. v6 V1 N
            href="http://www.hooji.com/java/display.asp?id=542#p"><IMG ; H, F/ x4 g( @$ ~5 L& g5 @5 i" Y* A5 b
            alt="Flash 资源" border=0 height=60 onmouseout=nereidFade(this,01,7,5) / V/ r4 B5 `3 D. d! S( x% b
            onmouseover=nereidFade(this,100,5,7) , N6 e5 l  T  z% v9 i" X8 L% Q: F0 m
            src="files/index_flash.gif" $ b7 U3 z. O( e' N5 O" s# J
            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)" / S, G: P" @  J
            width=60></A></TD>* c8 z) V0 p; f, \; @6 u
          <TD background=files/index_photoshop2.gif height=60
: ]3 W0 [+ y' x          width=60><A " {! a: K) d- ~$ u' e( u1 h
            href="http://www.hooji.com/java/display.asp?id=542#"><IMG % G6 X8 g3 u' u0 J8 E7 x3 A
            alt="Photoshop 资源" border=0 height=60 : b9 P; c6 d. h' ^0 U
            onmouseout=nereidFade(this,01,7,5) : n" k, @) ?2 S: d1 J7 D
            onmouseover=nereidFade(this,100,5,7) 4 E, Z. `7 T+ T1 z
            src="files/index_photoshop.gif"
2 m5 O. _- e7 r* d            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)"
. X( W3 l/ u) o3 M3 r' J            width=60></A></TD>
( v4 z( q# {+ s; j  O        </TR></TBODY></TABLE>

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