Recent Questions
Q: I've seen, that it's possible to open the linked contents for the javascript floating menu in the same or in a new window or in a frame ,but is it possible, too, to generate a new tab?Open a new tab seems to be less risky ... is there any solution to beused with Drop Down Menu? I tried to use "_tab" instead of "_self" or"_parent", but it did not work!
A: You should use _blank.
If your browser supports tabs your link will beopened in a new tab (except IE, in IE it will be opened in a newwindow).
Q: I can’t seem to figure out how to keep last clicked item in my java menu script marked.
I use these options:
pressedItem = -1
var saveNavigationPath = 1;
Where and how do I determine the background color of the clicked item?
I also have this problem on Deluxe Tree.
A: The menu has only two states normal and mouseover.
Try to do the following things:
- delete var pressedItem=1; parameter from your data file
- set correct parameter on each page before you call data file, forexample:
<noscript><a href="http://deluxe-menu.com">Javascript Menu by Deluxe-Menu.com</a></noscript>
<script type="text/javascript"> var dmWorkPath = "menudir/";</script>
<script type="text/javascript" src="menudir/dmenu.js"></script>
<script type="text/javascript"> var pressedItem=3;</script>
...
<script type="text/javascript" src="menudir/data.js"></script>
You can also set a pressed item using Javascript API:
function dm_ext_setPressedItem (menuInd, submenuInd, itemInd, recursion)
Sets a current pressed item.
menuInd - index of a menu on a page, >= 0.
submenuInd - index of a submenu, >= 0.
itemInd - index of an item, >=0.
recursion = true/false - highlight parent items.
But notice, to use dm_ext_setPressedItem() you should know ID of selected item and subitem.
You can't get this ID after you reload your page. That is why you should write your own code on PHP.
Q: I am a web developer and evaluating your product using the Trial Version. I created navigation bar using your application (see attached files). Simple drop menu appears to be displaying OK (centered) when using Internet Explorer 7.0, but I can't move it below the header. Also when I access the same sample page using FireFox Browser, the Navigation Bar aligns on the Top-left. Ideally, the navigation bar shall be displaying below the header and centered.
Can you help please?
A: You are using absolute position for the menu now. You should userelative position if you want to center your menu. Set the followingparameter:
var absolutePos=0;
Q: I'm trying to display the submenus to the left of the menu. I searched your questions and found one that said to use the following:
var smViewType=2;
I added this but it didn't do anything.
A: Try to use this parameter:
var subMenuAlign = "left";