|
Property: Item Link Target (version Pro only) |
|
Specifies the frame or window where the page specified by the <Link> property opens.
If you do not use frames then just leave this field blank OR choose _blank to open the <Link> into a new browser window.
If you use frames, you can find additional information on how to properly setup a cross-frame menu at the following topic:
Commands -> Tools -> Project Properties -> Compile Properties: Cross-Frame Support
Values:
Leave it blank (none) to open the <Link> into the same frame or window where the menu is located (default for non-framed pages).
Choose _blank to open the <Link> into a new browser window.
Choose _top to open the <Link> in the whole area of the current browser window (not to a specific frame).
Choose the frame name where you want the <Link> to open in.
Example with Frames:
Let's assume that we have the following Frameset Definition inside the source code of the home page:
<frameset framespacing="0" border="0" cols="171,*" frameborder="0">
<frame name="left" target="main" src="left_page.htm" scrolling="auto">
<frame name="main" src="main_page.htm" target="_self">
<noframes>
<body>
<p>You need a browser that supports frames to see this site </p>
</body>
</noframes>
</frameset>
Let's also assume that we have placed our menu at the left_page.htm page (opening at the "left" frame). We want the menu items to open their pages specified by their <Link> property inside the main frame.
As we can see from the <frameset> tag, the frame where the main_page.htm opens has been assigned the following name:
main
This is exactly what you need to enter into the <Link Target> property of the menu items. Do not get confused and use the content of the src attribute (eg: main_page); this will not work. You need to use the content of the name attribute (eg: main).
A wizard will help you choose the correct value by pressing the related button shown below:
![]()
| Note! | If you use the frame option the frame name will have no effect inside the Menu Preview window, so that it does not produce any errors related to a frame name that does not exist. The <Link Target> property does work when your menu is compiled and linked to your actual pages. |
| Values: | Text |
| Applies to: | Item |
| Type: | Content Property |
See also
Commands -> Tools -> Project Properties -> Compile Properties: Cross-Frame Support