Help - Search - Members - Calendar
Full Version: js error: object required
xFX JumpStart Public Forums > DHTML Menu Builder > Frames Implementation > Using HotSpots
danlogo
Hi,
I've started constructing a new d/d menu using the latest version, using it with frames (and button hotspots) for the first time. When checkin the target html page, on mouse rollover I get a JS error 'Description: Object required'. I've checked the configuration many times and it seems fine (all configured within the same root folder) the installer for the frames code shows up the correct files and the various frames are all present as options (top.main or top.above) The code is written to the target html ok, but seems to add _HSImage after some of the image names and these are the ones that activate the error message, the other two are just inactive.
Anybody have any ideas where I'm going wrong or how I can fix it?
Thanks in advance,
danlogo
xfx
DHTML Menu Builder will change the name of your images when it determines that the images have the same name as the groups.

If you try to use a menu containing a group called "Products" but you also have another element on that page called "Products" (such an image, for example) it will cause problems because the browser will not know which element to use, the group or the image so you will end with unexpected results.

To avoid such conflicts the HotSpots Editor will suffix your images with "_HSImage" it if detects that the images have the same name as the group being attached to them.

Its probable that the js error you're getting is caused by some of these conflicts.

This is why its a good idea to give your groups unique names. So for example, a group called Products I would rename it as "grpProducts" or "dmbProducts". These names are unlikely to be used by any other element on your page thus avoiding any conflicts.
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2012 Invision Power Services, Inc.