Problems & Solutions

Here are some of the common problems users experience, based on posts to the DHTML Menu Forum:

It is important that you use the latest version of the program so that your menus will be compatible with the latest browser releases. You can find the latest version number and get upgrade information here.

Every HTML or XHTML document should begin with a DOCTYPE (document type declaration). A missing or incorrect DOCTYPE can cause a browser to revert to "quirks" mode, and it will try to parse the page in a backward-compatible fashion. The browser will revert to a proprietary, browser-specific DOM (Document Object Model), and JavaScripts may not function as intended. There is a good article on the DOCTYPE here.

See the "Getting Started" page for our recommendation on where to store menu files and resources and how to set up the Web path.

CSS conflicts are one of the major causes of menu problems. Try "commenting out" your stylesheet or stylesheet link. If that eliminates the problem with your menu, it will take some detective work to determine which stylesheet specification is causing the problem. Table tags in a stylesheet can cause problems because DHTML Menu uses tables internally. Also, look for a universal selector (represented by an asterisk *). They can cause problems.

There may be a conflict between your menu and other JavaScripts on the page. Try "commenting out" other JavaScripts or JavaScript links. Once you determine which JavaScript is causing the problem, you can edit or delete it.