|
Can the link items NOT open a new window in the click menu javascript?
Return to Recent Questions
Q:
I want to use this click 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:
click menu javascript uses window.open or href-method depending on the target parameter.
If you set "" or "_self" target the click menu javascript uses href-method and if you
set "_blank" or frame name the click 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 javascript dropdown menus but it opens in the same window.
- Jul 04, 2009 - My html files still open in a new window in my popup menu right click...
- Jul 22, 2009 - How to use a dhtml menu tree 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 dhtml meny item.
- Aug 20, 2009 - How can I open a new window of a specific size in the web menu download?New Window with Specific Size in Web menu download
- Oct 09, 2009 - I want to open the new html window with a certain size only 800x400 using html side menu
- Oct 12, 2009 - I do not see any option in html tab menu to open the URL in new window on right-click
- Oct 12, 2009 - The script pull down menu 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 simple css menu?
- Nov 08, 2009 - I want to open links in a new window in the website tabs menu java script?
- Dec 06, 2009 - I want to open the new html window with a certain size only 800x400 using net drop down menu...
|