|
  
- UID
- 133
- 帖子
- 51
- 精华
- 1
- 积分
- 186
- 金币
- 55
- 威望
- 2
- 贡献
- 0

|
网页之非常漂亮的图象效果
<script language=JavaScript>
, a5 {( E0 U1 P, O& z3 v<!-- Beginning of JavaScript Code -------------------
' P7 \1 \" Y9 ^4 I% Q( I0 m1 }, z- E$ ]+ g
. v) _! M( k, m3 R! nnereidFadeObjects = new Object();; |5 H G, N/ D. }) {
nereidFadeTimers = new Object();
1 |/ a3 e: B+ r5 y% x( Gfunction nereidFade(object, destOp, rate, delta){9 H% X* I) Y- H: Y& N
if (!document.all)
8 ?6 O/ K8 M" w+ i/ {return1 j% r& a5 W H; `
if (object != "[object]"){ setTimeout("nereidFade("+object+","+destOp+","+rate+","+delta+")",0);) n4 k# Q) C6 {1 l& J
return;
; ^/ c V3 i Y h& I3 h( z }
Z, Y8 U8 x& y. `1 _3 u$ K clearTimeout(nereidFadeTimers[object.sourceIndex]);! U5 Y( Z9 B' a2 d$ w
diff = destOp-object.filters.alpha.opacity;
6 [- d# x$ t& ` direction = 1;
$ j- a3 o8 k5 y% E% \, h if (object.filters.alpha.opacity > destOp){6 u# w( I9 {5 d b" r# K7 S
direction = -1;6 Q- S: F5 e3 y
}3 b q7 \4 y0 F( }& h) b& [
delta=Math.min(direction*diff,delta);/ G/ ~9 I. m% X
object.filters.alpha.opacity+=direction*delta;( m* o0 V4 b$ B& a* {
if (object.filters.alpha.opacity != destOp){
I" ~& H6 ?8 Y nereidFadeObjects[object.sourceIndex]=object;
3 y7 W/ Y- e4 Z; b: Z5 C/ l, q nereidFadeTimers[object.sourceIndex]=setTimeout("nereidFade(nereidFadeObjects["+object.sourceIndex+"],"+destOp+","+rate+","+delta+")",rate);! O4 W; S2 x$ B0 g5 y
}
6 M; F9 O: c# s% c9 M# ?/ f! P}
7 h/ h: C1 L( I2 J1 ^7 o// -- End of JavaScript Code --># S: A& k8 l9 q- `
</script>- ~+ m; m+ w- r0 ]/ F% i, ]* o
//修改下面的图像地址和大小9 U7 E, h8 h0 {4 v$ C6 `- K
<TABLE align=center border=0 cellPadding=0 cellSpacing=1>6 ^& C# B$ o' u4 b9 p# @- Y
<TBODY>
5 K& D3 c' _ s( r- Q; l0 p+ t! U <TR align=middle>' a) s+ D' x5 b1 a% j: ]8 J1 Z
<TD background=files/index_dreamweaver2.gif : p# P1 Y4 }- H d6 E
height=60 width=60><A ) e: T6 ~7 S% _8 h4 d" ?- b( l- q+ F
href="http://www.hooji.com/java/display.asp?id=542#"><IMG ( Q/ T1 ?; E7 d% V
alt="Dreamweaver 资源" border=0 height=60 1 C) a* \+ ]7 G+ x! X
onmouseout=nereidFade(this,01,7,5)
+ Q3 M$ S8 {2 {3 }7 }( P" C onmouseover=nereidFade(this,100,5,7)
" g1 I; m# e# F' A* Q9 L src="files/index_dreamweaver.gif" ~) e t3 \1 |
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 E: j1 w: |/ b& f2 A width=60></A></TD>
8 u5 \) V, d" s5 @6 D <TD background=files/index_fireworks2.gif height=60 , X& ]" U( U+ ~% L& S: x
width=60><A # `) \, {9 ~+ S5 z5 n4 R
href="http://www.hooji.com/java/display.asp?id=542#"><IMG , @3 J/ I6 d3 [- t9 ?. f# G
alt="Fireworks 资源" border=0 height=60
& q8 U) R2 ?+ K2 d" k3 j0 G3 g onmouseout=nereidFade(this,01,7,5)
4 ?1 P- W' d" ^. [) U: `5 V onmouseover=nereidFade(this,100,5,7)
) b* l& Y6 W6 r* r% v" P src="files/index_fireworks.gif"
: f. O+ q; [/ \) a: T% q/ 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)"
$ t5 l2 M1 G. \2 q% {7 Q width=60></A></TD>
9 F0 t1 I, ~1 V0 N; f <TD background=files/index_flash2.gif height=60
0 Y- q% ^/ ~% \2 J/ r5 F1 v width=60><A % M; _ \2 A; p7 c& Z# W
href="http://www.hooji.com/java/display.asp?id=542#p"><IMG Y" p9 H! q. r) S7 b0 r' R
alt="Flash 资源" border=0 height=60 onmouseout=nereidFade(this,01,7,5) . N' h5 N& }/ `8 V! T9 r9 h
onmouseover=nereidFade(this,100,5,7)
, Q' I. v1 n( n# n src="files/index_flash.gif"
; J* e8 \4 Q+ A8 ?3 r 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)"
& R1 j# t2 N$ @4 r6 `) F$ ` width=60></A></TD>& s1 Q$ X2 z, N4 m3 g7 Q# a
<TD background=files/index_photoshop2.gif height=60 0 Z) O5 G" j, k, P4 _& j
width=60><A ) u: c6 n' o) ^: d
href="http://www.hooji.com/java/display.asp?id=542#"><IMG
$ y$ u# M/ Q8 ^! M' i- P" Q alt="Photoshop 资源" border=0 height=60
# ?9 s- W& }4 f3 P) q0 h1 G4 n onmouseout=nereidFade(this,01,7,5) ) a; ]6 g7 T0 X2 L% \( o
onmouseover=nereidFade(this,100,5,7) 3 D+ R0 b& T" \/ j4 b) p7 }
src="files/index_photoshop.gif"
* W2 r; M1 P/ z 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)"
1 O3 j4 Z% Q' K width=60></A></TD>
' V. x% |7 E/ o6 m </TR></TBODY></TABLE> |
|