PDA

View Full Version : Image Hide/Show oddity


Worm
11-29-2002, 02:53 AM
Can someone take a look at this and see if you get the same results I seem to.

When clicking on the button 1-5 somteimes the image that is shown for the ON value will not hide until you move your mouse a little bit. Same goes for the Prev and Next buttons. It seemes to work if you start out by clicking the Next and Prev, but if you randomly click a 1-5 button, and then use Next and Prev you should see what I'm describing.

Maybe I'm doing something wrong in the script?

Thanks for any help

14643-ImageSwap.zip (http://www.indigorose.com/ubbthreads/uploads/14643-ImageSwap.zip)

Derek
11-29-2002, 12:16 PM
I get the same. It's as if refresh isn't really refreshing as it should .. or as one may expect it to.
I did find the following to be true, however, and may work. Tho I am not sure if this is gonna work on all machines or if it's a good idea ....:

Have ImgOff1 - 5 showing all the time and not hidden:
Supposing you have ImgOff1 -5 showing and then ImgOn1 showing as well, ImgOn1 shows over ImgOff1, so you get the desired look. If then you click Img2, you simply show ImgOn2 and hide ImgOn1 [or ImgOn%page%] and it seems to work.
So you're never actually hiding the 'off images', your simply showing the 'on images' over the top of them.

Worm
11-30-2002, 07:49 AM
Thanks Derek, I'll try that and see id it makes a difference.

I guess the question is, Does the Z-Order stay the same from when you build the project to distirbution?