473,657 Members | 2,496 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Dreamweaver Swap Image Behavior Problems: Desperately Need Help

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
2 2523
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="javascrip t:;" -
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
In article <ce************ *******@news.de mon.co.uk>,
"Richard Cornford" <Ri*****@litote s.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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

4
3320
by: davidshook | last post by:
I am a begginer with not too much time on my hand. I do some html pages with Dreamweaver and with some minor Flash actionscript and I have a minor ability (with the help of lots of tutorials) to do some PHP. I love Dreamweaver MX since it realy simplifies the visual part of the process of making a page and also help with code typos since it generates alot of the basic code automatically (for example, I don't have to know how to write a...
3
6152
by: Randell D. | last post by:
Folks, I'm still learning javascript - I've invested in a couple of books and reading online as much as possible. I'm pretty sure what I am suggesting is possible though I'm trying to weigh up the faults that might go with the suggestion... all opinions welcome. My question: I have a list of links that go to pages that have a similar layout. Could I have a text swap, similar to what I've seen with image swaps (or an image switch)...
5
1952
by: I.P. Freely | last post by:
Hi, I've been using Visual Studio.NET for a while to design WinForms and Console apps and love it. Recently I had to a WebForms app. Because I have no artistic skill whatsoever, I enlisted the help of one of our web designers. She's a DreamWeaver expert, but I insisted that she use Visual Studio because I was under the mistaken impression that DW doesn't support WebForms, Visual Source Safe, and the other essential features that are...
2
4483
by: broms10 | last post by:
I need help. I have a little button that says "next" below a big image, let´s call it "image1", when I press the button I want to swap the big image to "image2". And then if I press it again I want it to swap to "image3" and the next time to "image4" and so on. I´m not so good at javascripts but I found a script that can make the button swap "image1" to "image2" when I click it, but the problem comes when I want the same button to swap...
4
1703
by: Adam Knight | last post by:
Hi all, I am using a dreamweaver template for a web app i am working on. Each time i update the template my page directives at the top of the associated pages gets removed. Anyone had problems with this? Know how to fix? Fill me in on what is going on?
12
1640
by: LAshooter | last post by:
I have a portfolio page which loads a dozen thumbnails and one large image. A friend helped me code a script (below) which will swap out the large image (named "imgLarg") when a different thumbnail is clicked. Both the thumbnail and the enlargement are identically named, one is in /thumbs/ and one is in /enlargements/ - tricky, huh? ;-) What's the easiest way to make this work in other browsers as well? <script language="JavaScript">...
6
3186
by: Karl | last post by:
Hi, Ok so on a given page I have 4 text links: see it in black see it in blue see it in red see it in green using the standard swap image behavior, clicking on one of the above links
4
1742
by: Joachim | last post by:
Hi. I have a function that swap images. But in the image element i use the tag "name" to give name that i send to my java script function: <img src="greensmiley.jpg" name="smiley" alt="gubbe" onmouseover="swapImage('smiley', 'CoolSmiley.jpg')" onmouseout="swapImage('smiley','greensmiley.jpg')" /> But to have a valid xhtml1.1 document you cant use the "name" tag. I've tried with the id tag but then my function dont work. Is there any...
1
19663
by: swc76801 | last post by:
I desperately need help. My understanding of CSS is non-existent. I have a store http://astore.amazon.com/texasheat-20 with Amazon.com. According to the information from Amazon.com "Write your own overriding CSS to customize your aStore." Their setup page is divided into two sections. On the right they show the existing CSS. On the left there is a box where you can add the new code. They have tabs for "Global", "Category Page", "Detail Page",...
0
8421
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
8844
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
8742
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
8518
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
1
6177
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
4173
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
4330
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
2743
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
1971
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.