Recent Questions
Q: I just purchased your Deluxe Menu maker. Wonderful tool!
I have made a menu, uploaded it to my HTML folder at Typepad in the correct place and tried several OTHER places too.
I have inserted the js snips into the head and body in all permutations of combinations.
I checked it each time by both opening my site and viewing source.
The menu is there. But it cannot be seen on the page. Never has been seen. Not even a hint of it being there.
I tried .js .file AND .js AND CSS.
No menu.
I checked on four browsers.
No menu.
I verified the files are in my index place by copying them to notebook.
I have done all of the above about 20 times EACH.
A: See, now you have:
<title>The Steel Deal - an oasis of reason in a sea of insanity.</title>
<!-- Deluxe Menu -->
<noscript><a href="http://deluxe-menu.com">Javascript Menu by Deluxe-Menu.com</a></noscript>
<script type="text/javascript"> var dmWorkPath = "/";</script>
<script type="text/javascript" src="dmenu.js"></script>
<!-- (c) 2007, by Deluxe-Menu.com -->
....
<meta name="verify-v1" content="VP25uY4F2NriQQhn7R3wK4aeYoMZpbafF+kkwx+vze4=" />
<!-- Deluxe Menu -->
<noscript><a href="http://deluxe-menu.com">Javascript Menu by Deluxe-Menu.com</a></noscript>
<script type="text/javascript"> var dmWorkPath = "/";</script>
<script type="text/javascript" src="/dmenu.js"></script>
<!-- (c) 2007, by Deluxe-Menu.com -->
</head>
It is not correct. You should call dmenu.js file only once.
Please, delete the second code.
There is now engine .js files
dmenu.js
dmenu4.js
dmenu_add.js
dmenu_dyn.js
dmenu_key.js
dmenu_cf.js
dmenu_popup.js
dmenu_ajax.js
and data file on your server.
Q: I evaluated Deluxe Menu over the weekend and I really like it. I believe I'll be buying it this week. I have one question. Is it possible for the menu to be aware of what page you have selected and highlight the corresponding menu item on that page.
A: You should 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: The contact page drop down menu examples would not work with the Firefox browser. And the submenu would show a white bg in the Internet Explorer browser.
A: Your color parameters are incorrect:
var itemBackColor=["91C24D","8B3A96"];
var itemBorderColor=["ffffff","ffffff"];
You should write them in the following way:
var itemBackColor=["#91C24D","#8B3A96"];
var itemBorderColor=["#ffffff","#ffffff"];
Q: Is it possible to have menu items act like regular hyperlinks?
For instance in Firefox I like to "middle click" hyperlinks to open them in a new tab, or in IE right click and open in new window.
However with Deluxe-Menu this does not seem to work.
A: If you want to open your links in the new window you should set the item target parameter to "_blank", for example:
var menuItems = [
["Home","testlink.html", , , , "_blank", , , , ],
...
You can include also any html code in the Item Text.
For example:
["<a href='http://deluxe-menu.com/'>Home</a>","", , , , , , , , ],