New Window Links on Pages, in Menus and in Search Forms
To have a link open in it's own window so people won't be leaving your site, follow these directions:
New window link inside a menu.js:
In most cases to add a new target link inside a menu.js just add target="_blank" as outlined above. See below for special menu.js cases.
Sidebar link from an IFrame:
Some Allwebco templates include a "sidebar.htm" or "sidebar-left.htm". Links inside these IFrame pages should use either the blank target above or, a target="_top" like the following.
For search forms:
Some Allwebco templates use external .js files for the search forms on the link pages, some have the code right on the page.
If your template uses .js files open each search_ .js file and add the following code. If your template has the code on the page you must edit the page itself:
The form code now:
<form action="http://www.google.com/search" name=f target="_top">
Change this to:
<form action="http://www.google.com/search" name=f target="_blank">
Special cases in some menu.js files:
In some special cases if you have menu.js code like the following:
onClick="location.href=\'about.htm\';"
You may need to edit that like this for a new window link: