Scroll To Top

Enter a query to search our site. Note that you can use "*" and "?" as wildcards. Enclosing more than one word in double quotes ("CSS Layout") will search for the exact phrase.

PVII Knowledge Base

1. Select a product ...
2. Select category ...
3. Search the Knowledge Base...

Question #324

In Tree Menu Magic 3 (TMM3) is there a way to assign the target attribute? so the link will open in a new window, or the link will open the page in a different frame.

The Answer

Prepared Mar. 2014 by Gerry Jacobsen, PVII

There is no support for the target attribute in the Tree Menu Magic 3 (TMM3) user interface so you will need to assign the target attribute manually.

To assign the target attribute:

1. In Dreamweaver, click on the link in the menu, if it is a submenu link that is not visible in Design View then switch to Code View and click within the link (x)html markup.

2. Locate the Target drop down selector in the Properties Panel, select the target that you want:

(a) To open the linked page in a new browser window choose "_blank", the link will now look like this:

<li><a href="myPage.htm" target="_blank">Menu Item</a></li>

_blank - opens the page in a new browser window

(b) To target a frame within a frameset, select the name if the frame, the menu link will look like this:

<li><a href="myPage.htm" target="mainFrame">Menu Item</a></li>

3. Repeat for any other menu links that you wish to target.

Note: The TMM3 system will preserve any user-defined attributes on the menu link, including the target attribute, so you do not have to be concerned about loosing these when using the Modify system.

Back to the questions list