Add a New Window Button on the Dropdown Menus

This support page contains outdated information for Allwebco templates that are copyright dated before 2008 only. Refer to your template "help.html" for links to the correct menu editing pages.

NOTE: This update is NOT for css drop menus. If your template includes either a "menu.css" or a "css" folder then see the target link support page.

This is not an easy edit and is for more experienced users. We do not provide support for this edit but have added it to the support area as a service to menu users. Be sure to back up your menu.js before you start this edit.

Adding a New Window Drop Menu Button:

Step #1:
Find the following code in the menu.js:

r="'>";

Add this line just below that line of code:

nw="' target='_blank'>";

Step #2:
To make one of the links open in a new window, here is the edit. The about.htm is used as an example.

Here is how the menu code appears now in the menu.js:

+l+"about.htm"+r+" About Us "+c

Now, change the +r+ part to +nw+ like the following:

+l+"about.htm"+nw+" About Us "+c

Now open one of the template pages in your web browser and the "About Us" link should open in a new browser window.



Related Topics:
Editing Drop Down Menus
Adding and Removing Pages
Editing .js Files


Allwebco Template Support


Allwebco Website Template Support


See Also...
Menu Editing
CSS Drop Menus



Drop Menu Web Templates
Complete websites with built in scripts.
AllwebcoDesign.com
Web Template Support
Business Web Templates
Drop menu templates with built in scripts.
AllwebcoDesign.com
Web Template Support
Nature Templates
Drop menus with nature earth themes.
AllwebcoDesign.com
Web Template Support
Shopping Cart Templates
Professional templates with built-in Paypal.
AllwebcoDesign.com



Website Template Support
Website Template Support