Advanced Techniques
Many of the techniques listed below are available from the program's help file, the DHTMLMenu forum, or from examples on the Sothink site. However, it can be difficult to find specific information when you need it, and we thought it might be helpful to consolidate some of the information on this site. Click on one of the links below for an explanation of the technique.
If you are an experienced DHTMLMenu user, you may discover that code snippets you have used no longer work in Version 8. Where a new code snippet is required, we have prefaced the link with a symbol like the one to the left of this paragraph.
Flash
It can be difficult to add Flash content to HTML/XHTML pages and have
the page code remain valid. A solution we like and use on this site
is a small JavaScript called SWFObject.
Floating Menus
A floating menu appears to "float" as the
page is scrolled so that the menu always remains visible.
You can see examples of a floating DHTMLMenu on this site. Sothink DHTMLMenu
makes it easy to create horizontal or vertical floating menus. Go to
Global Settings - Menu Type, select Float, and specify the X and Y
coordinates for the menu. There are a couple of advanced techniques
you may want to consider if you use a floating menu. You can change
the vertical position of the menu as a page is scrolled, and you can center
a horizontal floating menu.
Resetting the vertical menu position
iFrame
The use of an iFrame makes it possible to display another page on your
site or from an external site without reloading the entire page. You can target
an iFrame from a DHTMLMenu.
Lytebox
In an effort to answer a question on the DHTMLMenu forum,we developed
an example of how to call the Lytebox function from a menu. We don't think
we answered the person's question, but we hate to waste the effort, so we are
including it here.
Opening Links In A New Customized Window
There are times when you may want to open a customized window from a DHTMLMenu. Perhaps you want to specify the window size, whether or not it has scrollbars, whether it's resizeable, etc. The link below will show you how to to that.
Popups For Various Purposes
DHTMLMenu can be used to create popup menus for mouse-over illustrations,
maps,tooltips,
and similar applications.
Tables
We know that we should stop using table layouts, but old habits can be hard
to break. This section is for those who have not quite broken the "table habit".
Anchoring a menu in a table cell
Transparent Background
Creating a menu with a transparent background

