|
Can the link items NOT open a new window in the html menu javascript?
Return to Recent Questions
Q:
I want to use this html menu javascript with ASP.
For ASP the current window needs to be used with whatever value
is in the link parameter.
Can the link items NOT open a new window?
A:
html menu javascript uses window.open or href-method depending on the target parameter.
If you set "" or "_self" target the html menu javascript uses href-method and if you
set "_blank" or frame name the html menu javascript uses window.open and opens your link in a new window.
You should use the following parameter
var titemTarget = "_self";
or
var titemTarget = "";
See also individual items targets, for example:
{|The Team, http://www.domain.co.uk/receptionist.htm, _blank,}
Change "_blank" to "" or to "_self".
Return to Recent Questions
Related:
- May 31, 2009 - I set a target at '_mainFrame' for my script menu bar but it opens in the same window.
- Jul 04, 2009 - My html files still open in a new window in my rollover dropdown menu...
- Jul 22, 2009 - How to use a page drop down menu item so that it opens a window at a certain size?
- Aug 07, 2009 - I can not create new popup windows by clicking on a pulldown menus item.
- Aug 20, 2009 - How can I open a new window of a specific size in the menus in javascript?New Window with Specific Size in Menus in javascript
- Oct 09, 2009 - I want to open the new html window with a certain size only 800x400 using dhtml vertical menu
- Oct 12, 2009 - I do not see any option in script tree menu to open the URL in new window on right-click
- Oct 12, 2009 - The javascript menu bars opens a new window although I haven't set item's target...
- Nov 06, 2009 - How can I open the link in a new window with your up menu html?
- Nov 08, 2009 - I want to open links in a new window in the website tabs java rollover?
- Dec 06, 2009 - I want to open the new html window with a certain size only 800x400 using list menu javascript...
|