Contents / How can I create a menu which will work across frames?

DHTML Menu Studio allows you to easily insert a menu into an existing frame-based web site no matter what kind of frameset configuration you use. After populating the menu with items and setting graphical options, you should open the Template window (you will find it in the Window menu) and click 'Import template (source) file'. After selecting the main frameset definition page, the template window should display your frameset configuration in a visual way so you can simply use the mouse to select the top-level, pop-up and default target frames. After setting all the frame names as well as the insertion point (the spot where the menu bar is physically inserted into HTML page), all you need to do is generate the menu by selecting Menu / Generate Menu / Save To Disk.

Note that if in options/output/physical location of generated (output) files you selected 'output page location same as template file used' (this is recommended), generating the menu will automatically insert the menu code into the top-level frame of the template file used. You are normally also asked whether this option is to be switched on automatically whenever importing a template file.

If you have a complicated frame structure, and the popups are not displayed directly under the top-level menus, you'll need to set an offset in options / graphical appearance / pop-up menus / horizontal offset + vertical offset of popups.

Important limitation of frameset use!

If popups are displayed in a different frame than the top-level menu and when a user chooses an item linked to an external web site (that is, a web page from a different domain), a problem occurs preventing the menu from working (only while visiting the external domain-- the menu works again when going back to the original domain). This is a standard security feature of web browsers preventing scripts from accessing web pages located on external domains. The only solution is a work-around which will open these external links in a new browser window. To do this, you need to set the 'target frame' property of every external item to '_blank' (you will find this property in the 'Item Properties' window). Please note: you don't have to do this for menu items linked to the same domain.