The menu dhtml opens a new window although I haven't set item's target...
Return to Recent Questions
Q:
So, as you can see, I use "_self" in order to make the menu dhtml
URL open in same window when left-clicked.
If I set it to empty it opens in new window (is that
correct behaviour (I thought we should use _blank to
get that effect).
A:
In the menuItems you can set target parameter for each menu dhtml item
individually.
The following parameter:
var itemTarget="_blank";
sets target for all items, so if you haven't specified target for the
item
["Arbeidsplaner","cp_workplan.php",,,,"","0","0"],
the target for this item will be "_blank".
Return to Recent Questions
Related:
- Apr 06, 2009 - Can the link items NOT open a new window in the dynamic menu javascript?
- May 31, 2009 - I set a target at '_mainFrame' for my java script dropdown menu but it opens in the same window.
- 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?
- Nov 15, 2009 - I didn't find any examples using a target attribute for the link in menu for web...
- Dec 13, 2009 - I want to get the URL or file name to be open in css menu li by click...
- Dec 24, 2009 - Suddenly all the menu link targets don't work anymore in my down menu horizontal.
- Jan 06, 2010 - How can I expand popup menu java and open link in a frame at the same time?
- Jan 10, 2010 - I'm having trouble getting some of my javascript menu select opening in the frm2.
- Jan 28, 2010 - Is there a way to open the link of my drop down menus javascript in the same window?
|