robert wrote:
Quote:
I've made a gallery site for an artist and it works well -- the
gallery page has a central large image which is swapped when
thumbnail images are clicked. I'm using Dreamweaver's "SwapImage"
behavior. |
Ah, Dreamweaver; so much easier than learning to write web pages.
Quote:
The problem is that this fails under certain versions
of IE and possibly NN on PCs and Macs -- I haven't gotten my
client to send me details of what version he's using (sorry) or
any of my 'beta testers' -- but I'm really getting frustrated.
The code works fine on my Mac, under IE 5.5 and Safari -- |
You also haven't bothered to describe what it is that is happening that
you consider constitutes failure.
Quote:
I really am stumped, and could use any advice. I've tried
preloading images, but that doesn't seem to help. It works
fine on my machine, so it's difficult for me to track down.
Here's a page with preloading:
http://www.benpritchard.com/gallery/index.htm
and one without (for comparison):
http://www.benpritchard.com/gallery/index.htm |
Those two are identical URLs. And both exhibit the same behaviour
(unsurprisingly).
Quote:
Any help very much appreciated!! |
You are using javascript pseudo protocol HREFs in links. These are known
to cause problems with image swapping (and much else) on some browsers.
The particular formulation that you are using - href="javascript
:;" -
can even be demonstrated to produce an internally suppressed syntax
error on Windows IE 4 & 5.
<URL: http://jibbering.com/faq/#FAQ4_24 >
Richard.