
MenuMachine 2 only
GoLive CS, CS2
Mac, Windows
Article ID: 000070
Category: Browser Issues
Submenus are hard to select when they drop down over an iFrame.
This is due to a browser limitation with DHTML layers, which is what the menu consists of.
iFrames are technically a different page shown inside another page and most browsers will not show the menu in front of an iFrame. This is a problem with all DHTML menu systems.
It is possible but not easy to make submenus work in an iFrame. Ultimately, it is better and easier if you design your pages so that the menus do not cross the iFrame border.
If you need to have the submenus cross the iFrame area, you must specifically turn on cross-frame support in MenuMachine 2 so the submenus are shown inside the iFrame, otherwise the browser will "force" the iFrame to the front.
You need to tell the menu to open its submenus in the iFrame using MenuMachine's cross-frame support feature. (Click on the menu in the page, and set the frame settings in the MenuMachine Inspector). This will make all the submenus show in the iFrame.
However, things are further complicated because in order to work with an iFrame, the menu code must be loaded after the iFrame has loaded.
In order to do this the menu code must come after the iFrame in the page. The only way to do this is to place the menu into a layer and then place the layer placeholder (the little yellow box) at the end of the page.
Note: If you use cross-frame support, you will not be able to use other in-page settings such as menu highlighting or actions attached to menu items.
Last updated: July 29, 2006
This article has been viewed 7681 times.