jgordon
Jun 27 2002, 11:33 AM
I am having 2 main problems with the menus on my site. Before I describe the situation, let me just note that the site was created in Photoshop 7.0 and the rollovers were created with ImageReady 3.0. I am using DHTML Builder 3.5.002 (lastest) and using the "Support for ImageReady Rollovers" in the Global Settings of Project Properties.
Now, with that said, the first problem I am experiencing is that the menus are generating errors such as the following:
"document[...] is null or not an object"... This happens when I click on a menu item or do any number of other things.
The other problem I am having (and this is something I used to have problems with in older versions) is that the menu group image (the image from which the menu pops out) does not stay in its 'over' state when the mouse moves over the menu. I thought that with the "Support for ImageReady Rollovers" checked, this would work. Maybe ImageReady 3.0 has changed its code? I'm not sure.
In any event, if someone could offer me some assistance with this, I would appreciate. I'd be happy to email an xFX my files to work with. Let me know.
Thanks!
xfx
Jun 27 2002, 08:38 PM
First of all I'd recommend you recompiling the project without any "extra settings".
So disable the support for the rollovers created with ImageReady and recompile your project.
If you continue to receive the same javascript error message, try to reproduce the error while in preview mode (Tools->Preview).
If you cannot reproduce the error in preview mode please provide some way that I can test your menus: either a URL or a ZIP file containing part of your web site.
jgordon
Jul 2 2002, 10:25 AM
Xavier,
I unchecked all the extra settings and recompiled the menus. Now the javascript errors have disappeared. However, when I pass the mouse over the menu, the 'over state' for the button that launches the menu goes off. How can I make it so the button stays in its over state while the mouse is over the menus and then goes off when I go to another button OR my mouse leaves the menu?
I'm using ImageReady 3.0.
Thanks!
Ok, now that everything is working try re-enabling the ImageReady Rollovers support.
Recompile your project (Tools->Compile) and test them.
If you get .js errors, please create a ZIP file and include the HTML document you're testing, the generated .js file(s) and your .dmb porject.
Then post this ZIP file here.
jgordon
Jul 2 2002, 11:18 PM
Xavier,
I enabled the ImageReady feature but that caused errors. Can you take a look at this for me and let me know what's up? I really want the button to stay in the over state until I go to another button or move the mouse away from the menu.
Let me know. Here's the zip.
Did you put the code on the onmouseover/onmouseout events by hand?
When using DMB thes trigger code for the menus will always be placed before any other script. On your page appears after ImageReady's code and this is what's causing the problem.
Here's how the trigger code on the WINE hotspot should look like:
CODE
<a href="#"
"cFrame.ShowMenu('WINE', 0, 0, false,'wine|3',0);changeImages('wine', 'images/wine-over.jpg');return true;"
"cFrame.tHideAll();changeImages('wine', 'images/wine.jpg');return true;">
<img name="wine" src="images/wine.jpg" width="68" height="20" border="0" alt=""></a>
jgordon
Jul 3 2002, 10:40 AM
Xavier,
I didn't put it in by hand but after a bit of messing around, it's certainly possible that things got shifted. The menus work fine with the DHTML MB code first, as you suggested. However, I still cannot get the WINE button to stay in its over state when the mouse is over its menu.
I remember doing something in the js file a year or so ago, when I was trying to do something similar with Dreamweaver rollovers. How can I make this work?
Just making the suggested changes works for me.
Attached is the modified version of what you sent me.
jgordon
Jul 3 2002, 02:36 PM
Xavier,
I noticed that it works too, but NOW, once the WINE menu is down and then you move your mouse to another button next to WINE, you get JS errors...
How can I get rid of this??
I forgot to make some changes as explained on the documentation.
Click on File->Project Properties->Global Settings and press the F1 key.
Then, click on the "Extended features" areas and read about the special requirements to make the "ImageRollover Support" work.
Attached is a version of your files with the applied tweak.
jgordon
Jul 4 2002, 12:08 PM
Xavier,
That's the ticket. It makes complete sense that you'd need the HideAll(); on rollovers that don't use menus. I'll remember that for the future.
As usual, your suppot is unparalled. Hence the reason for my email of praise to you a few weeks back. Thanks for the assistance with this.
I appreciate it!
Joshua Gordon
I'm really glad it’s finally working!
And I'm glad that you're glad with the support
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please
click here.