|
The javascript sliding menu 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 javascript sliding menu
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 javascript sliding menu 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 drop down menu navigation?
- May 31, 2009 - I set a target at '_mainFrame' for my javascript menu dhtml but it opens in the same window.
- Oct 12, 2009 - The java navigation 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 menu vertical dynamique?
- Nov 08, 2009 - I want to open links in a new window in the website tabs javascript slider bar?
- Nov 15, 2009 - I didn't find any examples using a target attribute for the link in javascript collapse...
- Dec 13, 2009 - I want to get the URL or file name to be open in dropdown menu css by click...
- Dec 24, 2009 - Suddenly all the menu link targets don't work anymore in my disable popup menu.
- Jan 06, 2010 - How can I expand vertical javascript menu and open link in a frame at the same time?
- Jan 10, 2010 - I'm having trouble getting some of my drop down dhtml menu opening in the frm2.
- Jan 28, 2010 - Is there a way to open the link of my scrolling menu in the same window?
|