Recent QuestionsQ: I would like to reduce or remove the indentation between submenus. That way I can save space for the menu. How can I set indentation?
I would like to change the height of the submenu items (no icons used). How can I do that?
A: Unfortunately, you cannot reduce the indent between main items inXP-Style.
To reduce the indentation between submenus you should set thefollowing parameter:
Q: I recently downloaded Deluxe Menu to try before I buy. While it was easy to create a menu, when I followed the directions for pasting in the two lines of code where I wanted the menu to appear, it didn't work. Rather, it always positioned the menu at the very top of the page.
Is this intentionally the case because this is a trial version?
I very much like the program; however, I have to know it's going to work correctly before I buy.
A: Info about installation of the menu on your html page you can findhere:
> Rather, it always positioned the menu at the very
> top of the page.
Please, check that you have
You can also send us a copy of your html page (including .js files) and we will check it.
Q: I want you to start modifying on your menu items in menu.js to get the caption from prestext. If you look at the bottom of commonfooter.html, you will see code like
<a target="_top" class="sidenav" href="<%=strprefex%>WillPlanning.asp?SessionID=<%
=sessionid%>&UserName=<%=Username%>" onclick="RedirectToParentPage=''; return CheckForChanges(1024,'')">
A: You can use any html tags within item text, for example:
var menuItems = [
["<a target='_top' class='sidenav' href='<%=strprefex%>WillPlanning.asp?SessionID=<% =sessionid%>&UserName=<%=Username%>'
onclick='RedirectToParentPage=''; return CheckForChanges(1024,'')'>Home<%=GetPresText('WillCreatorBug',rsmenu)%></a>","", "", "", "", "", "", "", "", ],
Q: Is there a way to change the height of the main buttons in Dhtml Menu. When I use the GUI tool there is nowhere to change the main button height. And when I tried to change it in the script file, it did me no good. I want all of the main buttons to be the same size.
A: You can use standard <img> object to set menu height, for example:
var menuItems = [
[" <img src='blank.gif' width=1 height=50>text"],