Recent Questions
Q: I would like to have the dhtml sliding menu save the state when reloading or refreshing the browser.Can this be done with the expandable menu? If so, what is the syntax?
A: You should use the following parameter:
var tsaveState = 1;
Example, you can find here:
http://deluxe-tree.com/data-samples/tree-menuxp-save-state.htmlQ: Hello, Could you please help me with an alignnment issue with my website. If you go to mt website you will see the problem. I set the x alignment to=266 but the y alignment is left blank because I would like to keep the menu centered on the site.
A: If you want to center the menu paste itwithin the <div> or <table> with a static position and specify a center alignment for it, for example:
<DIV align=center>
<SCRIPT src="data/data.js" type=text/javascript>
</SCRIPT>
</DIV>
Please, set exact value for var menuWidth parameter, for example:
var menuWidth = "300px";
This can help to align your menu correctly in all browsers.
Try also to specify units in "px".
Set also:
var absolutePos = 0;
Try that.
Q: Can I install the menu using my buttons? I might be able to do it if the buttons used only one image, but they use two images. One is light and the other dark.
I also have some questions:
1) Will the menu stay in view when the user scrolls down?
2) I'm not even sure I care if the menu stays in view, because I believe that is done using php and is not good for SEO. The file that the search engines see is index.html while the file that visitors see is home.php. I think it would be better for SEO to have a normal .html page. Are you able to do that?
A: See how you should make image-based menus: if item text is empty, icon fields will be used as item images.
For example:
["", "index.html", "menu1a.gif", "menu1b.gif", "Home Page"]
1) You should use floatable feature.
See the following parameter:
var floatable=1;
2) You can generate search engine friendly code using Deluxe Tuner:
"Tools/Generate SE-friendly Code".
Q: I am using a licensed copy of Deluxe Menu and am extremelyhappy with the dhtml mouseover menu and the functionalities provided. Great Work!!
I wanted to know how to hide/ disable a dhtml mouseover menu item for a particular user/roleid in .ASP.Net1.1
Kindly help me out with this problem as soon as possible.
A: 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 dhtml mouseover menu items.