Recent Questions
Q: I will buy your Deluxe Menu with an Multiple Website License.
Can I create websites for clients with the javascript collapsible tree?
A: Yes, you will be able to create and use Deluxe Menuon the client's websites.
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 using XP style tree menu and would like to have top level menu item with no submenu items. However, the right double arrow icon still show up. Is there a way to hide it for the item without submenu items in css javascript tree menu?
See the attached document, I want to remove the double arrow icon at right for "Mission Statement", "History", "Direction" and "Contact Us".
Any help will be appreciated.
A: You can create Individual XP Style and use it for items with submenus:
var tXPExpandBtn=["left.files/blank-arrow.gif","left.files/blank-arrow.gif","left.files/blank-arrow.gif","left.files/blank-arrow.gif"];
var tXPStyles = [
["tXPExpandBtn=left.files/menu-arrow.gif,left.files/menu-arrow.gif,left.files/menu-arrow01.gif,left.files/menu-arrow01.gif"],
];
and assign this style for all top items with submenus:
["Home","", "", "", "", "", "", "0", "", "", ],
["+Company Profile","", "", "", "", "", "", "0", "0", "", ], //style 0
["|Item 25","", "", "", "", "", "", "1", "", "", ],
["|Item 26","", "", "", "", "", "", "1", "", "", ],
["+Projects","", "", "", "", "", "", "0", "0", "", ], //style 0
["|Item 27","", "", "", "", "", "", "1", "", "", ],
["|Item 28","", "", "", "", "", "", "1", "", "", ],
Q: I still am having no luck with Firefox showing an Incorrect Copyright nag (Again, just Firefox for Mac; no problem with other browsers.)
Also, I am still requiring a long delay to keep the pop-up window open from loading as the page loads. Script reads:
deluxePopupWindow.attachToEvent(win,'openAfter=,,onClick=Image2,,,') }, 'load')
A: Delete 'openAfter=' at all from deluxePopupWindow.attachToEventfunction (in all files):
deluxePopupWindow.attachToEvent(win,',,onClick=Image2,,,')
deluxePopupWindow.attachToEvent(win,',,onClick=Image21,,,')
deluxePopupWindow.attachToEvent(win,',,onClick=Image22,,,')
deluxePopupWindow.attachToEvent(win,',,onClick=Image23,,,')
deluxePopupWindow.attachToEvent(win,',,onClick=Image24,,,')
In that case popup windows won't show till you click on the images.
You should write NOSCRIPT tag in the following way:
<noscript><a href="http://deluxepopupwindow.com">menu drop down by DeluxePopupWindow.com</a></noscript>
I've just checked it. There is no nag message in Firefox in that case.But notice that you won't have nag message on your website only. On alocal machine you'll have nag message.