Opening a link in a new window
When developing your department website, you may wish to have a link from your navigation menu pop up in a new window. To accomplish this in Toolkit 2, simply place an additional parameter on the line in the navbar.txt file for that link.
For example, the screenshot below shows a portion of a navbar.txt file.
Notice the menu item labeled Code of Ethics. A semicolon separates the label (Code of Ethics) from it's URL (ethics.cfm). To add an additional parameter to this line, we will place another semicolon after the URL, and then type the value of the parameter. This is shown below:
We've added a semicolon, the word "other." This is all that is required to cause a link to pop up in a new window. When the page is generated, the value of the parameter becomes the relationship attribute of the link. In other words, the link that will be generated in HTML for this menu item will be:
<a href="ethics.cfm" rel="other">Code of Ethics</a>