Recent Questions
Q: In my script, I did not have [<script type="text/javascript"language="JavaScript1.2" src="dmenu.js"></script>].
I did have something like [<script type="text/javascript" src="dmenu.js"></script>].
What does that mean?
Also, my client is still seeing the "incorrect key" notice.
A: Regina, you can see "Incorrect Key" message if you use the wrong reg.
key or if you forgot to paste your reg. key into your data file.
I've checked your reg. key. It is correct.
So, you cannot see such message on your website.
Your client should clear browser cache.
> In my script, I did not have [<script type="text/javascript"> language="JavaScript1.2" src="dmenu.js"></script>].
>> I did have something like [<script type="text/javascript" src="dmenu.js"></script>].
Both these lines mean the same.
Please, paste <noscript> tag
<noscript><a href="http://deluxe-menu.com">Javascript Menu by Deluxe-Menu.com </a></noscript>
into the <head> tag on the pages with your menu.
Q: How can I have the option for the navbar tabs that initiated the action highlighted once the new page is reloaded?
I want to highlight the tab which is done with 'bselectedItem', please tell me about thesub-tab option.
A: See you cannot create subitems in:
var tabMode=0;
it is not correct.
You should set
var tabMode=1;
The following parameters set the pressed items for top items andsubitems:
var bselectedItem=0; //top items
var bselectedSmItem=2; //subitems
where 0,1,2... is the index of the item in bmenuItems.
- delete var bselectedItem=1; and var bselectedSmItem=2; parameters from your data file
- set correct parameters on each page before you call data file, forexample:
<noscript><a href="http://deluxe-tabs.com">Javascript Menu by Deluxe-Tabs.com</a></noscript>
<script type="text/javascript" src="menudir/dtabs.js"></script>
<script type="text/javascript"> var bselectedItem=3;
var bselectedSmItem=5; </script>
...
<script type="text/javascript" src="menudir/data.js"></script>
Q: Is there maybe a way that I can set up the menu so that it does not load at all until someone clicks on, say, a link, such as 'Products' and clicking on that link would then load the java menu buttons onto the page in the desired position?
A: Yes, you can do it.
Delete dm_init(); function from data file and use OnClick event foryour 'Products' link.
<a href="products.html" OnClick="dm_init();">Products</a>
Q: I am setting a menu up for popupMode=1 and adding the javascript to respond to the onContextMenu action. When it pops up I am having to immediately move the mouse over the menu to keep it visible. Is there any way to keep the menu from doing this?
A: You can try to play with these parameters:
var smShowPause=200;
var smHidePause=1000;