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: Can a menu item that expands the submenu items when selected also work as a link?
A: Actually you cannot use links for the top items in the XP Style.
But you can write:
["<a href='index.html' class='home'>Home</a>","", "", "", "", "Return to Index page", "", "0", "", ],
["<a href='http://www.domain.uk' class='home'>About Us</a>","", "", "", "", "", "", "0", "", ],
["|Introduction","http://www.domain.uk/introduction.htm", "", "", "", "", "", "", "", ],
And create styles
.home{
color: #FFFFFF;}
.home:hover{
color: #FFBEBE;}
But in that case the submenu and link open when you press "About Us" item. I think that it is not verygood behaviour. You can also try to specify target parameter
["<a href='index.html' class='home'>Home</a>","", "", "", "", "Return to Index page", "", "0", "", ],
["<a href='http://www.domain.uk' class='home' target="_blank">About Us</a>","", "", "", "", "", "", "0", "", ],
["|Introduction","http://www.domain.uk/introduction.htm", "", "", "", "", "", "", "", ],
Q: Is there a way to hide a menu options using either CSS or the java api based on the site user for the mouseover menu?
A: Deluxe Menu supports Javascript API.
You can find more info here:
http://deluxe-menu.com/dynamic-functions-sample.html
You can try to use API functions in that case:
function dm_ext_changeItemVisibility (menuInd, submenuInd, itemInd, visibility)
To disable items you should set the target parameter to "_".
You can try to use the following function
function disable() {
dm_ext_changeItem(0, 1, 1, ["", "", "", "", "", "_"]);
}
to disable your items.
Q: I am using the dhtml-tabs code. I have 2 tabs that I use for a basic form and an advanced form. The advanced form is on the second tab. When I submit, I get results. When I click the back button, the selected drop menu bar tab is the first one, and not the second. Is there a way to configure the tabs to be persistent or sticky. Such that clicking on the back button will result on being on the second tab, which was the last tab before going to a new page?
A: You can try to use the following function:
dtabs_itemClick(0,1)
To open your second tab.