image fader... - need to have 2 images fade in and out

They have: 88 posts

Joined: Jun 1999

I need to display 2 images in the same spot on a page... they each need a link

I just need some thing simple

----------
e n d u r a d e z i n e
endura.co.nz

John Pollock's picture

He has: 628 posts

Joined: Mar 1999

Not quite sure how to make them fade, but you could place two images in the same spot with style sheets.

<A HREF="url"><IMG SRC="url" style="position:absolute;left:100;top:100"></A>

<A HREF="url"><IMG SRC="url" style="position:absolute;left:100;top:100"></A>

Perhaps someone can help with the trick after that. It might aslo be possible to switch back and forth like an animation using the z-index or visibility properties.

----------
Page Resource: http://www.pageresource.com
JavaScript City: http://www.javascriptcity.com

They have: 88 posts

Joined: Jun 1999

I know CSS... how does that work in netscape?

----------
e n d u r a d e z i n e
endura.co.nz

They have: 5,633 posts

Joined: Jan 1970

For the fading part, this can only be achieved in IE4 or above. Netscape does not support this feature. Take a look at my index page, vegas.com.au/~jasper. I have two images that fade into the page.

View the source to get the script.

Want to join the discussion? Create an account or log in if you already have one. Joining is fast, free and painless! We’ll even whisk you back here when you’ve finished.