JonathanT324
Dec 9 2004, 07:00 PM
I'm again having a problem using the expand menu function with the collapsible menu addin. Sometimes it works and sometimes it doesn't. Refreshing the page sometimes helps, but often it just throws the error:
dmbtbF[...] is null or not an object Source:http://etc.
Line 1791
The offending line is:
dmbtbF[t].height = parseInt(dmbtbF[t].height) + s;
from the menu.js file.
My code optimization is set to none, the function call is at the end of the body tag, and I'm not sure what else to try.
See http://dev4.t324.com/main/firmoverview.htm for an example.
An additional thing that is less important is I also haven't been able to get the highlight function to work with the collapsible menus. Is that possible?
Thanks in advance,
Jonathan
JonathanT324
Dec 16 2004, 02:51 PM
I've found what triggers the error I've been having. I started over from scratch, new project, loader code, etc., and the error started appearing as soon as I anchored the menu to an image (Bottom/Left, no offsets). When it was just aligned to the top center of the page it worked well.
I read in the topic above this one that offsets could lead to problems, and this appears to be a related positioning-related thing. Any suggestions? This is driving me nuts.
Thanks,
Jonathan
xfx
Dec 16 2004, 06:33 PM
Here's a link to version 4.9.012:
http://software.xfx.net/ftp/dmb49012setup.exe
This version has not been officialy released yet but the version of the CollapsibleMenus AddIn that it includes should solve many of the problems that have been reported here in the forums.
Please download it, install it and recompile your project.
Do you still receive that error message?
JonathanT324
Dec 17 2004, 02:56 PM
Thanks for the sneak peak, but I got the same error again when I anchored one of my toolbars to an image. That toolbar doesn't even need to be displayed to have the error appear and the links stop working. I did remember to change the loader code, too.
The site can be found at dev.t324.com, and it's the interior pages that have the problem. I've attached the project file, but I'm going to go back to anchoring the menus without the image because we have a client working on the site now.
Thanks,
Jonathan
seaghan
Dec 17 2004, 06:47 PM
Jonathan, Xavier, hopefully I can throw a little bit of light on this (though I have not solved it)
1. I'm having a similar problem (if I remove the highlight function from the bottom of the page - ExpandMenu - then it works OK). I downloaded the new version, but no better, and again I'm attaching the menu to a named image and using an offset
2. However, while testing, I've discovered that:
a) The page displays 100% OK on my local machine
It throws up that dmbtbF [..] error when I load the files online.
This is strange that both files are identical, being viewed in the same browser, yet, only one throws up the error.
anyway, any suggestions as to how to workaround? TIA
PS Or instead of 'attaching' to an image, what's the best way to position in the same place (of avoiding browser differences etc.) - thanks!
xfx
Dec 18 2004, 09:15 PM
Jonathan / seaghan,
Would it be possible that you create a ZIP file, include one of your HTML documents, all the images used by the document and the .dmb project you're working on so I can test it here?
xfx
Dec 20 2004, 05:35 PM
Let's try something:
- Start DHTML Menu Builder and load your project
- Click Tools->AddIn Editor
- Locate the "ExpandMenu" function
- Delete the code on the function and copy/paste this one:
CODE
if(emHnd!=0)
window.setTimeout("ExpandMenu('"+escape(c)+"')", 100);
else
emHnd = window.setTimeout('var c = dmbGOBC("'+unescape(c)+'", cFrame);c.onmouseover();var ou=execURL;execURL=new Function("");GetObj("O"+c.id.substr(1)).onclick();execURL=ou;emHnd = 0', rmDelay+smDelay+(IX?100:0));
- Click File->Exit (select YES when asked to save the changes)
- Recompile the project
Did this fix the problem?
seaghan
Dec 20 2004, 06:40 PM
OK Xavier - I will try this shortly and get back to you immediately! Thanks for your wonderful help!!
seaghan
Dec 20 2004, 08:13 PM
Sorry Xavier -
I did exactly as requested, but it gave the same error once I attached the menu to an image (the Description: 'dmbtbF[...]' is null or not an object at Line 2)
Thanks for trying ...
xfx
Dec 21 2004, 12:35 PM
Here's a sample that I created using DHTML Menu Builder 4.9.012 (yet unreleased) and the latest version of the AddIn.
Could you please confirm if it works as expected?
NOTE: This sample uses two of the main features of the AddIn:
- The toolbar is attached to an image
- The image is resized along with the toolbar
seaghan
Dec 21 2004, 08:03 PM
Xavier,
here are the results:
* Works fine offline
* Throws up same JS error when uploaded, unedited, online (eg. www.jcpe.ie/test/index.htm)
I'm using IE 6 on Win XP SP2
Sorry for negative results :(
xfx
Dec 26 2004, 11:59 AM
Yes, I'm getting quite a few javascript errors.
Let's wait until 4.9.012 has been officialy released and then I'll re-start working on this bug (which I'm pretty sure is a timing issue).
seaghan
Dec 26 2004, 09:59 PM
OK Xavier -
Have a lovely Christmas
xfx
Dec 29 2004, 10:45 AM
seaghan,
The official version 4.9.012 has been released.
Try to delete the "CollapsibleMenus.ext" file from your computer before you install the official 012 release. This will ensure that your AddIn is properly updated.
Let me know if you notice any improvements at all with this new release.
seaghan
Dec 29 2004, 08:40 PM
Hi Xavier -
Happy New Year to you 
Unfortunately, the update had no effect and still gives a JS error. Sorry
tromansky
Feb 22 2005, 09:54 AM
Just wondering if there is a fix for this javascript error? I also am experiencing the same error when I publish remotely. My build is with version 4.9.013, and I am viewing with IE 6.0.29
tsmith35
Feb 23 2005, 07:40 AM
Latest is 4.9.015 -- does it occur with the latest as well?
Tom
Toaster
Mar 19 2005, 07:14 AM
Help! I have the same Javascript error and I have a website that needs to get launched ASAP. Has there been a fix?
I have also tried importing a working sample. As soon as I preview it it dreamweaver and start clicking around on the menu items, I get the following error:
'ImcHS' is null or not an object
Line:1
Any Ideas?
xfx
Mar 19 2005, 10:51 AM
Toaster,
Re-download DHTML Menu Builder 4.9.015 and let me know if you still receive this error.
NOTE: Do not test the menus from within Dreamweaver; instead, to make sure the AddIn is working properly, preview the menus right from within DHTML Menu Builder (Tools->Preview).
Toaster
Mar 19 2005, 07:18 PM
Will do, Xavier.
Thanks so much for the quick response and for the tip about DW! I'll let you know how it goes.
Rich
Toaster
Mar 22 2005, 02:02 PM
Xavier,
I downloaded and did a clean install the latest version. The problem is still occuring although, it seems, not as much as before.
Mainly it seems to happen when collapsing and uncollapsing the menus multiple times. Here's an example:
- - - - - -
Most of the links arent active yet but Click on 'portfolio' and 'company' to expand and collapse the menus. After I do it a few times, jumping back and forth, I get the javascript error. Most users probably won't do this but ya never know.
xfx
Mar 23 2005, 10:20 AM
Toaster,
In the upcoming days I will be releasing version 4.9.016 which includes a new version of the CollapsibleMenus.
I would suggest that we wait a few days for this new release and then begin troubleshooting again in case the new release of the CollapsibleMenus still throws that error message.
Would that be OK with you?
Toaster
Mar 23 2005, 12:46 PM
Sounds great, Xavier!
I'll keep an eye out for the update.
Thanks again.
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please
click here.