Recent Questions
Q: How can I make top items different colors in the dhtml pop up menu?
A: You should create 6 Individual Styles and assign them to you topitems.
var itemStyles = [
["itemBackColor=#0000ff,#0000ff","showByClick=0"], //style 0
["itemBackColor=#FF00FF,#FF00FF","showByClick=0"], //style 1
["itemBackColor=#00ffff,#00ffff","showByClick=0"], //style 2
["itemBackColor=#00ff00,#00ff00","showByClick=0"], //style 3
["itemBackColor=#FFFF00,#FFFF00","showByClick=0"], //style 4
["itemBackColor=#FF0000,#FF0000","showByClick=0"], //style 5
];
["Find out Who we are","http://www.yoursite.org/", "", "", "", "", "0", "0", "", "", "", ], //style 0
["Apply For Fellowship","http://www.yoursite.org/info.html", "", "", "", "_blank", "1", "", "", "", "", ], //style 1
["Fellows Corner","", "", "", "", "", "2", "", "", "", "", ], //style 2
["Enroll in a course","", "", "", "", "", "3", "", "", "", "", ], //style 3
["Engage in a discussion","", "", "", "", "", "4", "", "", "", "", ], //style 4
["Read The Bulletin","", "", "", "", "", "5", "", "", "", "", ], //style 5
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’m very interested in your script of deluxe-menu.
I tryed your script out and have some questions now:
How do I highlight main menu items when I selected a main category?
How do I highlight submenu items when I selected a sub category?
How can I have a submenu unfoldet when I selected the matching main category?
I would be pleased to have answers to my questions as soon as possible.
Thank you for support!
A: The menu has only two states normal and mouseover. We'll try to add the pressed state in the future.
You can 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 attempting to use the deluxe menu with frames. After click a few links the popup part of the menu stops showing up. This especially happens if the content of the main frame requires scrolling. In this case the scroll bar just flickers when I put the mouse over the menu.
Do you know why this would happen?
A: We need to check your menu.
Please, send us a direct link to your website, so we can check it.
Please, notice also that Deluxe Menu can work within 1 frameset only.
It can't work within nested framesets. It is possible that you'll havesome errors.
The menu will work correctly in the cross-frame mode if you load pages into the sub frame from the same domain.If you load pages from another domain submenus won't be shown in the subframe - they will be shown in the frame with the top-menu.It's caused by a security policy of browsers - a script can't modify a content of pages from another domain.