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