DHTML Lab: HierMenus CENTRAL: FAQ #3 - dhtmlab.com
Frequently Asked Question #3
|When I use the menus in a frameset, there are some links which I would like to mark so that they break the frameset, loading into the full window. What can I do?
Some of the pages my items link to need to appear in a new window. Can I do this from the menu script?
How can I specify a target for the menu item links, like I do in the A tag with TARGET= attribute?
This feature was introduced and discussed in detail in version 2.1.
IMPORTANT NOTE: All versions since version 2.1 are compatible, with the exception of version 3.05 and versions 4.0 - 4.0.5, which inadvertently introduced related problems.
- Loading a page into the full window.
- Loading a page into a new window.
Use the window.open() method, placing the URL as the first argument. You may also specify any of the other arguments of the open() method:
- Loading a page into any frame (specifying a "target").
Produced by Peter Belesis and
All Rights Reserved. Legal Notices.
Created: June 26, 2001
Revised: October 8, 2003