By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
424,837 Members | 1,206 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 424,837 IT Pros & Developers. It's quick & easy.

Dreamweaver Swap Image Behavior Problems: Desperately Need Help

P: n/a
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. 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 --

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

Any help very much appreciated!!
Jul 23 '05 #1
Share this Question
Share on Google+
2 Replies


P: n/a
robert wrote:
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.
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.
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).
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.
Jul 23 '05 #2

P: n/a
In article <ce*******************@news.demon.co.uk>,
"Richard Cornford" <Ri*****@litotes.demon.co.uk> wrote:
<URL: http://jibbering.com/faq/#FAQ4_24 >

Richard.


You could benefit from follow the link in the article Richard mentioned.

See: http://www.useit.com/alertbox/20021223.html

3. Horizontal Scrolling

Why the five inches of grey on the left? This mostly non-used space
forces me to do a horizontal scroll on my monitor. Perhaps you could
put the text below the main picture.

Look at how ebay and yahoo layout their pages.

I do like the artwork.

Robert
Jul 23 '05 #3

This discussion thread is closed

Replies have been disabled for this discussion.