Recent Questions
Q: Looks like submenu text for the rollover menus is too long for the background.
How can I ensure the background is the same length as the longest word in my submenu list for the rollover menus?
A: Try to change the following parameter:
var smWidth="100%";
Set it:
var smWidth="";
Q: I'm trying out the cross-browser (top to bottom) drop down menu and I was wondering if it was possible to have the top bar (the main items) use a background image while the sub-items beneath used a plain background color and no image?
So far I've gotten them to either both use a background image, or both use a background color. Any advice would be greatly appreciated. :)
A: Actually you can create any menu you like with Deluxe Menu.
You can use Individual Styles to set background image for the items
var itemStyles = [
["itemWidth=92px","itemBackImage=deluxe-menu.files/btn_black.gif,deluxe-menu.files/btn_black_blue.gif"],
];
oryou can use images instead of icons (you should delete item's text).
["","", "deluxe-menu.files/btn_black.gif", "deluxe-menu.files/btn_black_green.gif", "", "", "", "", "", ],
Q: How can we predefine the COLOR of the pressed item for the css tree menu?
A: See the following parameter:
var tpressedFontColor="#AA0000";
Q: I would love to buy your product BUT, I am not sure if it will do what I want - can I call javascript within the dynamic menu?
For example my old page for disaster recovery we have inserted a URL substitution :
The javascript function is called at the top of the nav page:
<script LANGUAGE = "JavaScript" SRC = "../urlSub.js"> </script>
then the link on the nav menu
<a> href="#" ONCLICK = "urlSubstitution('transco/sheet.asp?stype=1')">Table of Contents </a>
-----------------------------------------------------------------------------------------------------
HOWEVER, Im not sure if this is possible with your product?
A: Yes, it is possible.
Actually you can use your own Javascript code instead standard links and html code inside item text. For example:
var menuItems = [
["text", "javascript:your_code_here"]
];
or
var menuitems = [
["<div onClick='urlSubstitution(\'transco/sheet.asp?stype=1\')'>Table of Contents</div>", ""]
];